drs / Client / update_launch_configuration_template

update_launch_configuration_template#

drs.Client.update_launch_configuration_template(**kwargs)#

Updates an existing Launch Configuration Template by ID.

See also: AWS API Documentation

Request Syntax

response = client.update_launch_configuration_template(
    copyPrivateIp=True|False,
    copyTags=True|False,
    exportBucketArn='string',
    launchConfigurationTemplateID='string',
    launchDisposition='STOPPED'|'STARTED',
    licensing={
        'osByol': True|False
    },
    postLaunchEnabled=True|False,
    targetInstanceTypeRightSizingMethod='NONE'|'BASIC'|'IN_AWS'
)
Parameters:
  • copyPrivateIp (boolean) – Copy private IP.

  • copyTags (boolean) – Copy tags.

  • exportBucketArn (string) – S3 bucket ARN to export Source Network templates.

  • launchConfigurationTemplateID (string) –

    [REQUIRED]

    Launch Configuration Template ID.

  • launchDisposition (string) – Launch disposition.

  • licensing (dict) –

    Licensing.

    • osByol (boolean) –

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

  • postLaunchEnabled (boolean) – Whether we want to activate post-launch actions.

  • targetInstanceTypeRightSizingMethod (string) – Target instance type right-sizing method.

Return type:

dict

Returns:

Response Syntax

{
    'launchConfigurationTemplate': {
        'arn': 'string',
        'copyPrivateIp': True|False,
        'copyTags': True|False,
        'exportBucketArn': 'string',
        'launchConfigurationTemplateID': 'string',
        'launchDisposition': 'STOPPED'|'STARTED',
        'licensing': {
            'osByol': True|False
        },
        'postLaunchEnabled': True|False,
        'tags': {
            'string': 'string'
        },
        'targetInstanceTypeRightSizingMethod': 'NONE'|'BASIC'|'IN_AWS'
    }
}

Response Structure

  • (dict) –

    • launchConfigurationTemplate (dict) –

      Updated 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.

      • 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.

Exceptions

  • drs.Client.exceptions.ResourceNotFoundException

  • drs.Client.exceptions.InternalServerException

  • drs.Client.exceptions.ThrottlingException

  • drs.Client.exceptions.AccessDeniedException

  • drs.Client.exceptions.ValidationException

  • drs.Client.exceptions.UninitializedAccountException