NetworkSecurityManagerCustomerAPI / Paginator / ListResourceAssociations
ListResourceAssociations¶
- class NetworkSecurityManagerCustomerAPI.Paginator.ListResourceAssociations¶
paginator = client.get_paginator('list_resource_associations')
- paginate(**kwargs)¶
Creates an iterator that will paginate through responses from
NetworkSecurityManagerCustomerAPI.Client.list_resource_associations().See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( resourceIdentifier='string', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
resourceIdentifier (string) –
[REQUIRED]
The identifier of the resource to list associations for. This is the resource’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
{ 'resourceAssociations': [ { 'arn': 'string', 'resourceType': 'Rule'|'Template'|'Policy'|'Deployment'|'Scope' }, ], 'NextToken': 'string' }
Response Structure
(dict) –
resourceAssociations (list) –
The list of resource associations.
(dict) –
Describes an association between a resource and another entity.
arn (string) –
The ARN of the associated resource.
resourceType (string) –
The type of the associated resource, such as
Policy,Template, orDeployment.
NextToken (string) –
A token to resume pagination.