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

*******************************************
get_experiment_target_account_configuration
*******************************************



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

  

  Gets information about the specified target account configuration of the experiment.

  

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


  **Request Syntax**
  ::

    response = client.get_experiment_target_account_configuration(
        experimentId='string',
        accountId='string'
    )
    
  :type experimentId: string
  :param experimentId: **[REQUIRED]** 

    The ID of the experiment.

    

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

    The Amazon Web Services account ID 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.ResourceNotFoundException`

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

  