drs / Client / describe_launch_configuration_templates

describe_launch_configuration_templates#

drs.Client.describe_launch_configuration_templates(**kwargs)#

Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDs

See also: AWS API Documentation

Request Syntax

response = client.describe_launch_configuration_templates(
    launchConfigurationTemplateIDs=[
        'string',
    ],
    maxResults=123,
    nextToken='string'
)
Parameters:
  • launchConfigurationTemplateIDs (list) –

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

    • (string) –

  • maxResults (integer) – Maximum results to be returned in DescribeLaunchConfigurationTemplates.

  • nextToken (string) – The token of the next Launch Configuration Template to retrieve.

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) –

      The token of the next Launch Configuration Template to retrieve.

Exceptions

  • drs.Client.exceptions.ResourceNotFoundException

  • drs.Client.exceptions.InternalServerException

  • drs.Client.exceptions.ThrottlingException

  • drs.Client.exceptions.ValidationException

  • drs.Client.exceptions.UninitializedAccountException