BedrockAgentCoreControlClient.create_payment_manager
rboto-bedrock-agentcore-control==0.4.0 · Service index · Types
Model summary (excerpt): Creates a new payment manager in your Amazon Web Services account. A payment manager serves as the top-level resource for managing payment processing capabilities, including payment connectors that integrate with supported payment providers. If you specify CUSTOM_JWT as the authorizerType , you must provide an authorizerConfiguration .
Install and imports
from rboto import BedrockAgentCoreControlClient
from rboto_bedrock_agentcore_control.types import (
AuthorizerConfiguration,
CreatePaymentManagerOutput,
PaymentsAuthorizerType,
)
Signature
async def create_payment_manager(
*,
name: str,
authorizer_type: PaymentsAuthorizerType,
role_arn: str,
description: str | None = None,
authorizer_configuration: AuthorizerConfiguration | None = None,
client_token: str | None = None,
tags: dict[str, str] | None = None,
kms_key_arn: str | None = None,
) -> CreatePaymentManagerOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
name |
Yes | The name of the payment manager. |
authorizer_type |
Yes | The type of authorizer to use for the payment manager. CUSTOM_JWT - Authorize with a bearer token. AWS_IAM - Authorize with your Amazon Web Services IAM credentials. |
role_arn |
Yes | The Amazon Resource Name (ARN) of the IAM role that the payment manager assumes to access resources on your behalf. |
description |
No | A description of the payment manager. |
authorizer_configuration |
No | The authorizer configuration for the payment manager. |
client_token |
No | A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see Ensuring idempotency . |
tags |
No | A map of tag keys and values to assign to the payment manager. |
kms_key_arn |
No | The Amazon Resource Name (ARN) of the customer managed KMS key to use for encrypting sensitive payment manager data at rest. If you don't specify a key, the data is encrypted with an Amazon Web Services owned key. |
Output
CreatePaymentManagerOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
payment_manager_arn |
str |
Always present | — |
payment_manager_id |
str |
Always present | — |
name |
str |
Always present | — |
authorizer_type |
PaymentsAuthorizerTypeOutput |
Always present | PaymentsAuthorizerTypeOutput |
authorizer_configuration |
AuthorizerConfigurationOutput | None |
Always present | AuthorizerConfigurationOutput |
role_arn |
str |
Always present | — |
workload_identity_details |
WorkloadIdentityDetailsOutput | None |
Always present | WorkloadIdentityDetailsOutput |
created_at |
str |
Always present | — |
status |
PaymentManagerStatusOutput |
Always present | PaymentManagerStatusOutput |
tags |
dict[str, str] | None |
Always present | — |
kms_key_arn |
str | None |
Always present | — |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
AuthorizerConfiguration, CreatePaymentManagerOutput, PaymentsAuthorizerType
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_bedrock_agentcore_control.exceptions:
AccessDeniedError, ConflictError, InternalServerError, ServiceQuotaExceededError, ThrottlingError, ValidationError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.