BedrockAgentCore / Paginator / ListPaymentSessions
ListPaymentSessions¶
- class BedrockAgentCore.Paginator.ListPaymentSessions¶
paginator = client.get_paginator('list_payment_sessions')
- paginate(**kwargs)¶
Creates an iterator that will paginate through responses from
BedrockAgentCore.Client.list_payment_sessions().See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( userId='string', agentName='string', paymentManagerArn='string', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
userId (string) – The user ID associated with the payment sessions.
agentName (string) – The agent name associated with this request, used for observability.
paymentManagerArn (string) –
[REQUIRED]
The ARN of the payment manager that owns the sessions.
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
{ 'paymentSessions': [ { 'paymentSessionId': 'string', 'paymentManagerArn': 'string', 'userId': 'string', 'expiryTimeInMinutes': 123, 'createdAt': datetime(2015, 1, 1), 'updatedAt': datetime(2015, 1, 1) }, ], 'NextToken': 'string' }
Response Structure
(dict) –
Response structure for listing payment sessions.
paymentSessions (list) –
List of payment session summaries matching the request criteria.
(dict) –
Summary information about a payment session.
paymentSessionId (string) –
The unique identifier of the payment session.
paymentManagerArn (string) –
The ARN of the payment manager that owns this session.
userId (string) –
The user ID associated with this session.
expiryTimeInMinutes (integer) –
The session expiry time in minutes.
createdAt (datetime) –
The timestamp when the session was created.
updatedAt (datetime) –
The timestamp when the session was last updated.
NextToken (string) –
A token to resume pagination.