drs / Paginator / DescribeLaunchConfigurationTemplates

DescribeLaunchConfigurationTemplates#

class drs.Paginator.DescribeLaunchConfigurationTemplates#
paginator = client.get_paginator('describe_launch_configuration_templates')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from drs.Client.describe_launch_configuration_templates().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    launchConfigurationTemplateIDs=[
        'string',
    ],
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • launchConfigurationTemplateIDs (list) –

    Request to filter Launch Configuration Templates list by Launch Configuration Template ID.

    • (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': [
        {
            'arn': 'string',
            'copyPrivateIp': True|False,
            'copyTags': True|False,
            'exportBucketArn': 'string',
            'launchConfigurationTemplateID': 'string',
            'launchDisposition': 'STOPPED'|'STARTED',
            'launchIntoSourceInstance': True|False,
            'licensing': {
                'osByol': True|False
            },
            'postLaunchEnabled': True|False,
            'tags': {
                'string': 'string'
            },
            'targetInstanceTypeRightSizingMethod': 'NONE'|'BASIC'|'IN_AWS'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • items (list) –

      List of items returned by DescribeLaunchConfigurationTemplates.

      • (dict) –

        Account level Launch Configuration Template.

        • arn (string) –

          ARN of the Launch Configuration Template.

        • copyPrivateIp (boolean) –

          Copy private IP.

        • copyTags (boolean) –

          Copy tags.

        • exportBucketArn (string) –

          S3 bucket ARN to export Source Network templates.

        • launchConfigurationTemplateID (string) –

          ID of the Launch Configuration Template.

        • launchDisposition (string) –

          Launch disposition.

        • launchIntoSourceInstance (boolean) –

          DRS will set the ‘launch into instance ID’ of any source server when performing a drill, recovery or failback to the previous region or availability zone, using the instance ID of the source instance.

        • licensing (dict) –

          Licensing.

          • osByol (boolean) –

            Whether to enable “Bring your own license” or not.

        • postLaunchEnabled (boolean) –

          Post-launch actions activated.

        • tags (dict) –

          Tags of the Launch Configuration Template.

          • (string) –

            • (string) –

        • targetInstanceTypeRightSizingMethod (string) –

          Target instance type right-sizing method.

    • NextToken (string) –

      A token to resume pagination.