ResilienceHubV2 / Paginator / ListResolvedTestRunTargetResources
ListResolvedTestRunTargetResources¶
- class ResilienceHubV2.Paginator.ListResolvedTestRunTargetResources¶
paginator = client.get_paginator('list_resolved_test_run_target_resources')
- paginate(**kwargs)¶
Creates an iterator that will paginate through responses from
ResilienceHubV2.Client.list_resolved_test_run_target_resources().See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( testRunId='string', serviceArn='string', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
testRunId (string) –
[REQUIRED]
The identifier of the test run to list resolved target resources for.
serviceArn (string) –
[REQUIRED]
The ARN of the service the test run belongs to.
PaginationConfig (dict) –
A dictionary that provides parameters to control pagination.
MaxItems (integer) –
The total number of items to return. If the total number of items available is more than the value specified in max-items then a
NextTokenwill be provided in the output that you can use to resume pagination.PageSize (integer) –
The size of each page.
StartingToken (string) –
A token to specify where to start paginating. This is the
NextTokenfrom a previous response.
- Return type:
dict
- Returns:
Response Syntax
{ 'resolvedTargetResources': [ { 'resourceType': 'string', 'targetName': 'string', 'targetInformation': { 'string': 'string' } }, ], 'NextToken': 'string' }
Response Structure
(dict) –
resolvedTargetResources (list) –
The list of resolved target resources.
(dict) –
A single AWS resource that AWS Fault Injection Service (AWS FIS) resolved as a target during a test run.
resourceType (string) –
The AWS FIS resource type the target belongs to, such as aws:ec2:instance, aws:ecs:task, or aws:eks:pod.
targetName (string) –
The name of the target in the AWS FIS experiment template.
targetInformation (dict) –
The raw target information map as returned by AWS FIS.
(string) –
The key of a resolved target information entry.
(string) –
The value of a resolved target information entry.
NextToken (string) –
A token to resume pagination.