FIS / Client / update_target_account_configuration

update_target_account_configuration#

FIS.Client.update_target_account_configuration(**kwargs)#

Updates the target account configuration for the specified experiment template.

See also: AWS API Documentation

Request Syntax

response = client.update_target_account_configuration(
    experimentTemplateId='string',
    accountId='string',
    roleArn='string',
    description='string'
)
Parameters:
  • experimentTemplateId (string) –

    [REQUIRED]

    The ID of the experiment template.

  • accountId (string) –

    [REQUIRED]

    The Amazon Web Services account ID of the target account.

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

  • description (string) – The description 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.ValidationException

  • FIS.Client.exceptions.ResourceNotFoundException