list_payment_sessions¶
Operation¶
list_payment_sessions
¶
list_payment_sessions(request: ListPaymentSessionsInput | ListPaymentSessionsInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[ListPaymentSessionsInputDict]) -> ListPaymentSessionsOutput
List payment sessions.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
ListPaymentSessionsInput | ListPaymentSessionsInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
**kwargs
|
Unpack[ListPaymentSessionsInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
ListPaymentSessionsOutput
|
An instance of |
list_payment_sessions
async
¶
list_payment_sessions(request: ListPaymentSessionsInput | ListPaymentSessionsInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[ListPaymentSessionsInputDict]) -> ListPaymentSessionsOutput
List payment sessions.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
ListPaymentSessionsInput | ListPaymentSessionsInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
**kwargs
|
Unpack[ListPaymentSessionsInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
ListPaymentSessionsOutput
|
An instance of |
Input¶
Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.
ListPaymentSessionsInputDict
¶
Bases: TypedDict
Dictionary form of ListPaymentSessionsInput.
Attributes¶
agent_name
instance-attribute
¶
agent_name: str | None
The agent name associated with this request, used for observability.
max_results
instance-attribute
¶
max_results: int | None
Maximum number of results to return in a single response.
next_token
instance-attribute
¶
next_token: str | None
Token for pagination to retrieve the next set of results.
payment_manager_arn
instance-attribute
¶
The ARN of the payment manager that owns the sessions.
ListPaymentSessionsInput
dataclass
¶
Bases: _SerdeShape
Request structure for listing payment sessions.
Attributes¶
agent_name
class-attribute
instance-attribute
¶
agent_name: str | None = ...
The agent name associated with this request, used for observability.
max_results
class-attribute
instance-attribute
¶
max_results: int | None = ...
Maximum number of results to return in a single response.
next_token
class-attribute
instance-attribute
¶
next_token: str | None = ...
Token for pagination to retrieve the next set of results.
Output¶
ListPaymentSessionsOutput
dataclass
¶
Bases: _SerdeShape
Response structure for listing payment sessions.
Attributes¶
next_token
class-attribute
instance-attribute
¶
next_token: str | None = ...
Token for pagination to retrieve the next set of results.
payment_sessions
instance-attribute
¶
payment_sessions: list[PaymentSessionSummary]
List of payment session summaries matching the request criteria.
response_metadata
class-attribute
instance-attribute
¶
Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.