:doc:`drs <../../drs>` / Client / update_launch_configuration_template

************************************
update_launch_configuration_template
************************************



.. py:method:: drs.Client.update_launch_configuration_template(**kwargs)

  

  Updates an existing Launch Configuration Template by ID.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/UpdateLaunchConfigurationTemplate>`_  


  **Request Syntax**
  ::

    response = client.update_launch_configuration_template(
        copyPrivateIp=True|False,
        copyTags=True|False,
        exportBucketArn='string',
        launchConfigurationTemplateID='string',
        launchDisposition='STOPPED'|'STARTED',
        launchIntoSourceInstance=True|False,
        licensing={
            'osByol': True|False
        },
        postLaunchEnabled=True|False,
        targetInstanceTypeRightSizingMethod='NONE'|'BASIC'|'IN_AWS'
    )
    
  :type copyPrivateIp: boolean
  :param copyPrivateIp: 

    Copy private IP.

    

  
  :type copyTags: boolean
  :param copyTags: 

    Copy tags.

    

  
  :type exportBucketArn: string
  :param exportBucketArn: 

    S3 bucket ARN to export Source Network templates.

    

  
  :type launchConfigurationTemplateID: string
  :param launchConfigurationTemplateID: **[REQUIRED]** 

    Launch Configuration Template ID.

    

  
  :type launchDisposition: string
  :param launchDisposition: 

    Launch disposition.

    

  
  :type launchIntoSourceInstance: boolean
  :param launchIntoSourceInstance: 

    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.

    

  
  :type licensing: dict
  :param licensing: 

    Licensing.

    

  
    - **osByol** *(boolean) --* 

      Whether to enable "Bring your own license" or not.

      

    
  
  :type postLaunchEnabled: boolean
  :param postLaunchEnabled: 

    Whether we want to activate post-launch actions.

    

  
  :type targetInstanceTypeRightSizingMethod: string
  :param targetInstanceTypeRightSizingMethod: 

    Target instance type right-sizing method.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'launchConfigurationTemplate': {
              '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'
          }
      }
      
    **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.

          
        

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

          
    
  
  **Exceptions**
  
  *   :py:class:`drs.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`drs.Client.exceptions.InternalServerException`

  
  *   :py:class:`drs.Client.exceptions.ThrottlingException`

  
  *   :py:class:`drs.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`drs.Client.exceptions.ValidationException`

  
  *   :py:class:`drs.Client.exceptions.UninitializedAccountException`

  