create_payment_manager
¶
create_payment_manager(
name: PaymentManagerName,
authorizer_type: PaymentsAuthorizerType,
role_arn: RoleArn,
*,
config_overrides: Optional[BedrockAgentCoreControlClientConfig] = None,
description: Optional[PaymentsDescription] = None,
authorizer_configuration: Optional[AuthorizerConfiguration] = None,
client_token: Optional[ClientToken] = None,
tags: Optional[TagsMap] = None,
kms_key_arn: Optional[KmsKeyArn] = None,
) -> CreatePaymentManagerResponse
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.
Parameters:
-
name(PaymentManagerName) –The name of the payment manager.
-
description(Optional[PaymentsDescription], default:None) –A description of the payment manager.
-
authorizer_type(PaymentsAuthorizerType) –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.
-
-
authorizer_configuration(Optional[AuthorizerConfiguration], default:None) –The authorizer configuration for the payment manager.
-
role_arn(RoleArn) –The Amazon Resource Name (ARN) of the IAM role that the payment manager assumes to access resources on your behalf.
-
client_token(Optional[ClientToken], default:None) –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(Optional[TagsMap], default:None) –A map of tag keys and values to assign to the payment manager.
-
kms_key_arn(Optional[KmsKeyArn], default:None) –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.
Raises:
-
AccessDeniedException–This exception is thrown when a request is denied per access permissions
-
ConflictException–This exception is thrown when there is a conflict performing an operation
-
InternalServerException–This exception is thrown if there was an unexpected error during processing of request
-
ServiceQuotaExceededException–This exception is thrown when a request is made beyond the service quota
-
ThrottlingException–This exception is thrown when the number of requests exceeds the limit
-
ValidationException–The input fails to satisfy the constraints specified by the service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_bedrock_agentcore_control/_services/bedrock_agent_core_control.py
10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 10506 10507 10508 10509 10510 10511 10512 | |