ResilienceHubV2 / Paginator / ListAssertions
ListAssertions¶
- class ResilienceHubV2.Paginator.ListAssertions¶
paginator = client.get_paginator('list_assertions')
- paginate(**kwargs)¶
Creates an iterator that will paginate through responses from
ResilienceHubV2.Client.list_assertions().See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( serviceArn='string', source='AI_GENERATED'|'USER', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
serviceArn (string) –
[REQUIRED]
ARN identifier.
source (string) – Filter assertions by source type.
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
{ 'assertions': [ { 'serviceArn': 'string', 'assertionId': 'string', 'text': 'string', 'source': 'AI_GENERATED'|'USER', 'createdAt': datetime(2015, 1, 1), 'updatedAt': datetime(2015, 1, 1) }, ], 'NextToken': 'string' }
Response Structure
(dict) –
assertions (list) –
The list of assertions.
(dict) –
Represents a resilience assertion for a service.
serviceArn (string) –
ARN identifier.
assertionId (string) –
The unique identifier of the assertion.
text (string) –
The text content of the assertion.
source (string) –
The source of the assertion, indicating whether it was AI-generated or created by a user.
createdAt (datetime) –
The timestamp when the assertion was created.
updatedAt (datetime) –
The timestamp when the assertion was last updated.
NextToken (string) –
A token to resume pagination.