LambdaMicroVMs / Paginator / ListMicrovmImages

ListMicrovmImages

class LambdaMicroVMs.Paginator.ListMicrovmImages
paginator = client.get_paginator('list_microvm_images')
paginate(**kwargs)

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

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    nameFilter='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • nameFilter (string) – Filters images whose name contains the specified string.

  • 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',
            'name': 'string',
            'state': 'CREATING'|'CREATED'|'CREATE_FAILED'|'UPDATING'|'UPDATED'|'UPDATE_FAILED'|'DELETING'|'DELETE_FAILED'|'DELETED',
            'latestActiveImageVersion': 'string',
            'latestFailedImageVersion': 'string',
            'createdAt': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • items (list) –

      The list of MicroVM images.

      • (dict) –

        Contains summary information about a MicroVM image.

        • imageArn (string) –

          The ARN of the MicroVM image.

        • name (string) –

          The name of the MicroVM image.

        • state (string) –

          The current state of the MicroVM image.

        • latestActiveImageVersion (string) –

          The latest active version of the MicroVM image.

        • latestFailedImageVersion (string) –

          The latest failed version of the MicroVM image, if any.

        • createdAt (datetime) –

          The timestamp when the MicroVM image was created.

    • NextToken (string) –

      A token to resume pagination.