LambdaMicroVMs / Paginator / ListMicrovmImageBuilds

ListMicrovmImageBuilds

class LambdaMicroVMs.Paginator.ListMicrovmImageBuilds
paginator = client.get_paginator('list_microvm_image_builds')
paginate(**kwargs)

Creates an iterator that will paginate through responses from LambdaMicroVMs.Client.list_microvm_image_builds().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    imageIdentifier='string',
    imageVersion='string',
    architecture='ARM_64',
    chipset='GRAVITON',
    chipsetGeneration='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • imageIdentifier (string) –

    [REQUIRED]

    The unique identifier (ARN or ID) of the MicroVM image.

  • imageVersion (string) –

    [REQUIRED]

    The version of the MicroVM image to list builds for.

  • architecture (string) – Filters builds by target CPU architecture.

  • chipset (string) – Filters builds by target chipset.

  • chipsetGeneration (string) – Filters builds by target chipset generation.

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type:

dict

Returns:

Response Syntax

{
    'items': [
        {
            'imageArn': 'string',
            'imageVersion': 'string',
            'buildId': 'string',
            'buildState': 'PENDING'|'IN_PROGRESS'|'SUCCESSFUL'|'FAILED',
            'architecture': 'ARM_64',
            'chipset': 'GRAVITON',
            'chipsetGeneration': 'string',
            'stateReason': 'string',
            'createdAt': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • items (list) –

      The list of MicroVM image builds.

      • (dict) –

        Contains summary information about a MicroVM image build.

        • imageArn (string) –

          The ARN of the MicroVM image.

        • imageVersion (string) –

          The version of the MicroVM image.

        • buildId (string) –

          The build request ID.

        • buildState (string) –

          The current state of the build.

        • architecture (string) –

          The target CPU architecture for the build. Supported value: ARM_64.

        • chipset (string) –

          The target chipset for the build.

        • chipsetGeneration (string) –

          The target chipset generation for the build.

        • stateReason (string) –

          The reason for the build state, if applicable.

        • createdAt (datetime) –

          The timestamp when the build was created.

    • NextToken (string) –

      A token to resume pagination.