IAMRolesAnywhere.Paginator.
ListSubjects
¶paginator = client.get_paginator('list_subjects')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from IAMRolesAnywhere.Client.list_subjects()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
pageSize=123,
PaginationConfig={
'MaxItems': 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.
A token to specify where to start paginating. This is the NextToken
from a previous response.
dict
Response Syntax
{
'subjects': [
{
'createdAt': datetime(2015, 1, 1),
'enabled': True|False,
'lastSeenAt': datetime(2015, 1, 1),
'subjectArn': 'string',
'subjectId': 'string',
'updatedAt': datetime(2015, 1, 1),
'x509Subject': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
subjects (list) --
A list of subjects.
(dict) --
A summary representation of Subject resources returned in read operations; primarily ListSubjects.
createdAt (datetime) --
The ISO-8601 time stamp of when the certificate was first used in a CreateSession operation.
enabled (boolean) --
The enabled status of the Subject.
lastSeenAt (datetime) --
The ISO-8601 time stamp of when the certificate was last used in a CreateSession operation.
subjectArn (string) --
The ARN of the resource.
subjectId (string) --
The id of the resource.
updatedAt (datetime) --
The ISO-8601 timestamp when the subject was last updated.
x509Subject (string) --
The x509 principal identifier of the authenticating certificate.
NextToken (string) --
A token to resume pagination.