NetworkSecurityManagerCustomerAPI / Paginator / ListScopeSnapshots
ListScopeSnapshots¶
- class NetworkSecurityManagerCustomerAPI.Paginator.ListScopeSnapshots¶
paginator = client.get_paginator('list_scope_snapshots')
- paginate(**kwargs)¶
Creates an iterator that will paginate through responses from
NetworkSecurityManagerCustomerAPI.Client.list_scope_snapshots().See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( scopeIdentifier='string', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
scopeIdentifier (string) –
[REQUIRED]
The identifier of the scope. This is the scope’s Amazon Resource Name (ARN).
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
{ 'snapshots': [ { 'scopeId': 'string', 'scopeArn': 'string', 'scopeName': 'string', 'status': 'DRAFT'|'ACTIVE'|'DISABLED', 'version': 'string', 'hasPublishedVersion': True|False, 'updatedAt': datetime(2015, 1, 1) }, ], 'NextToken': 'string' }
Response Structure
(dict) –
snapshots (list) –
The snapshots of the scope.
(dict) –
Summary information about a scope.
scopeId (string) –
The service-generated id of the scope.
scopeArn (string) –
The Amazon Resource Name (ARN) of the scope.
scopeName (string) –
The name of the scope.
status (string) –
The current status of the resource:
DRAFT(unpublished, editable),ACTIVE(published, in use), orDISABLED(deactivated; changes cannot be published until the resource is re-enabled).version (string) –
The version of the resource.
hasPublishedVersion (boolean) –
Specifies whether a published version of the resource exists.
updatedAt (datetime) –
The time when the resource was last updated. For a snapshot, this is the time when the snapshot was created.
NextToken (string) –
A token to resume pagination.