Skip to content

List Payment Sessions

bedrockagentcore_list_payment_sessions R Documentation

List payment sessions

Description

List payment sessions.

Usage

bedrockagentcore_list_payment_sessions(userId, agentName,
  paymentManagerArn, nextToken, maxResults)

Arguments

userId

The user ID associated with the payment sessions.

agentName

The agent name associated with this request, used for observability.

paymentManagerArn

[required] The ARN of the payment manager that owns the sessions.

nextToken

Token for pagination to retrieve the next set of results.

maxResults

Maximum number of results to return in a single response.

Value

A list with the following syntax:

list(
  paymentSessions = list(
    list(
      paymentSessionId = "string",
      paymentManagerArn = "string",
      userId = "string",
      expiryTimeInMinutes = 123,
      createdAt = as.POSIXct(
        "2015-01-01"
      ),
      updatedAt = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_payment_sessions(
  userId = "string",
  agentName = "string",
  paymentManagerArn = "string",
  nextToken = "string",
  maxResults = 123
)