:doc:`FIS <../../fis>` / Client / update_target_account_configuration

***********************************
update_target_account_configuration
***********************************



.. py:method:: FIS.Client.update_target_account_configuration(**kwargs)

  

  Updates the target account configuration for the specified experiment template.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/UpdateTargetAccountConfiguration>`_  


  **Request Syntax**
  ::

    response = client.update_target_account_configuration(
        experimentTemplateId='string',
        accountId='string',
        roleArn='string',
        description='string'
    )
    
  :type experimentTemplateId: string
  :param experimentTemplateId: **[REQUIRED]** 

    The ID of the experiment template.

    

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

    The Amazon Web Services account ID of the target account.

    

  
  :type roleArn: string
  :param roleArn: 

    The Amazon Resource Name (ARN) of an IAM role for the target account.

    

  
  :type description: string
  :param description: 

    The description of the target account.

    

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

    
    ::

      {
          'targetAccountConfiguration': {
              'roleArn': 'string',
              'accountId': 'string',
              'description': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **targetAccountConfiguration** *(dict) --* 

        Information about the target account configuration.

        
        

        - **roleArn** *(string) --* 

          The Amazon Resource Name (ARN) of an IAM role for the target account.

          
        

        - **accountId** *(string) --* 

          The Amazon Web Services account ID of the target account.

          
        

        - **description** *(string) --* 

          The description of the target account.

          
    
  
  **Exceptions**
  
  *   :py:class:`FIS.Client.exceptions.ValidationException`

  
  *   :py:class:`FIS.Client.exceptions.ResourceNotFoundException`

  