Inspector2.Paginator.
ListAccountPermissions
¶paginator = client.get_paginator('list_account_permissions')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from Inspector2.Client.list_account_permissions()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
service='EC2'|'ECR'|'LAMBDA',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
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 NextToken
will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken
from a previous response.
dict
Response Syntax
{
'permissions': [
{
'operation': 'ENABLE_SCANNING'|'DISABLE_SCANNING'|'ENABLE_REPOSITORY'|'DISABLE_REPOSITORY',
'service': 'EC2'|'ECR'|'LAMBDA'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
permissions (list) --
Contains details on the permissions an account has to configure Amazon Inspector.
(dict) --
Contains information on the permissions an account has within Amazon Inspector.
operation (string) --
The operations that can be performed with the given permissions.
service (string) --
The services that the permissions allow an account to perform the given operations for.
NextToken (string) --
A token to resume pagination.