FIS / Client / list_target_account_configurations
list_target_account_configurations#
- FIS.Client.list_target_account_configurations(**kwargs)#
Lists the target account configurations of the specified experiment template.
See also: AWS API Documentation
Request Syntax
response = client.list_target_account_configurations( experimentTemplateId='string', maxResults=123, nextToken='string' )
- Parameters:
experimentTemplateId (string) –
[REQUIRED]
The ID of the experiment template.
maxResults (integer) – The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
nextToken (string) – The token for the next page of results.
- Return type:
dict
- Returns:
Response Syntax
{ 'targetAccountConfigurations': [ { 'roleArn': 'string', 'accountId': 'string', 'description': 'string' }, ], 'nextToken': 'string' }
Response Structure
(dict) –
targetAccountConfigurations (list) –
The target account configurations.
(dict) –
Provides a summary of a 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.
nextToken (string) –
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
Exceptions
FIS.Client.exceptions.ValidationException
FIS.Client.exceptions.ResourceNotFoundException