DescribeFastLaunchImages

class EC2.Paginator.DescribeFastLaunchImages
paginator = client.get_paginator('describe_fast_launch_images')
paginate(**kwargs)

Creates an iterator that will paginate through responses from EC2.Client.describe_fast_launch_images().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    ImageIds=[
        'string',
    ],
    Filters=[
        {
            'Name': 'string',
            'Values': [
                'string',
            ]
        },
    ],
    DryRun=True|False,
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters
  • ImageIds (list) --

    Details for one or more Windows AMI image IDs.

    • (string) --
  • Filters (list) --

    Use the following filters to streamline results.

    • resource-type - The resource type for pre-provisioning.
    • launch-template - The launch template that is associated with the pre-provisioned Windows AMI.
    • owner-id - The owner ID for the pre-provisioning resource.
    • state - The current state of fast launching for the Windows AMI.
    • (dict) --

      A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.

      If you specify multiple filters, the filters are joined with an AND , and the request returns only results that match all of the specified filters.

      • Name (string) --

        The name of the filter. Filter names are case-sensitive.

      • Values (list) --

        The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR , and the request returns all results that match any of the specified values.

        • (string) --
  • DryRun (boolean) -- Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation . Otherwise, it is UnauthorizedOperation .
  • 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

{
    'FastLaunchImages': [
        {
            'ImageId': 'string',
            'ResourceType': 'snapshot',
            'SnapshotConfiguration': {
                'TargetResourceCount': 123
            },
            'LaunchTemplate': {
                'LaunchTemplateId': 'string',
                'LaunchTemplateName': 'string',
                'Version': 'string'
            },
            'MaxParallelLaunches': 123,
            'OwnerId': 'string',
            'State': 'enabling'|'enabling-failed'|'enabled'|'enabled-failed'|'disabling'|'disabling-failed',
            'StateTransitionReason': 'string',
            'StateTransitionTime': datetime(2015, 1, 1)
        },
    ],

}

Response Structure

  • (dict) --

    • FastLaunchImages (list) --

      A collection of details about the fast-launch enabled Windows images that meet the requested criteria.

      • (dict) --

        Describe details about a fast-launch enabled Windows image that meets the requested criteria. Criteria are defined by the DescribeFastLaunchImages action filters.

        • ImageId (string) --

          The image ID that identifies the fast-launch enabled Windows image.

        • ResourceType (string) --

          The resource type that is used for pre-provisioning the Windows AMI. Supported values include: snapshot .

        • SnapshotConfiguration (dict) --

          A group of parameters that are used for pre-provisioning the associated Windows AMI using snapshots.

          • TargetResourceCount (integer) --

            The number of pre-provisioned snapshots requested to keep on hand for a fast-launch enabled Windows AMI.

        • LaunchTemplate (dict) --

          The launch template that the fast-launch enabled Windows AMI uses when it launches Windows instances from pre-provisioned snapshots.

          • LaunchTemplateId (string) --

            The ID of the launch template for faster launching of the associated Windows AMI.

          • LaunchTemplateName (string) --

            The name of the launch template for faster launching of the associated Windows AMI.

          • Version (string) --

            The version of the launch template for faster launching of the associated Windows AMI.

        • MaxParallelLaunches (integer) --

          The maximum number of instances that Amazon EC2 can launch at the same time to create pre-provisioned snapshots for Windows faster launching.

        • OwnerId (string) --

          The owner ID for the fast-launch enabled Windows AMI.

        • State (string) --

          The current state of faster launching for the specified Windows AMI.

        • StateTransitionReason (string) --

          The reason that faster launching for the Windows AMI changed to the current state.

        • StateTransitionTime (datetime) --

          The time that faster launching for the Windows AMI changed to the current state.