FIS / Client / get_target_account_configuration

get_target_account_configuration#

FIS.Client.get_target_account_configuration(**kwargs)#

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

See also: AWS API Documentation

Request Syntax

response = client.get_target_account_configuration(
    experimentTemplateId='string',
    accountId='string'
)
Parameters:
  • experimentTemplateId (string) –

    [REQUIRED]

    The ID of the experiment template.

  • accountId (string) –

    [REQUIRED]

    The Amazon Web Services account ID of the target account.

Return type:

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

  • FIS.Client.exceptions.ResourceNotFoundException

  • FIS.Client.exceptions.ValidationException