FIS / Client / get_experiment_target_account_configuration

get_experiment_target_account_configuration#

FIS.Client.get_experiment_target_account_configuration(**kwargs)#

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

See also: AWS API Documentation

Request Syntax

response = client.get_experiment_target_account_configuration(
    experimentId='string',
    accountId='string'
)
Parameters:
  • experimentId (string) –

    [REQUIRED]

    The ID of the experiment.

  • 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