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,
            'launchConfigurationTemplateID': 'string',
            'launchDisposition': 'STOPPED'|'STARTED',
            'licensing': {
                'osByol': True|False
            },
            'tags': {
                'string': 'string'
            },
            'targetInstanceTypeRightSizingMethod': 'NONE'|'BASIC'
        },
    ],
    '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.

        • launchConfigurationTemplateID (string) –

          ID of the Launch Configuration Template.

        • launchDisposition (string) –

          Launch disposition.

        • licensing (dict) –

          Licensing.

          • osByol (boolean) –

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

        • 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