update_payment_manager
¶
update_payment_manager(
payment_manager_id: PaymentManagerId,
*,
config_overrides: Optional[BedrockAgentCoreControlClientConfig] = None,
description: Optional[PaymentsDescription] = None,
authorizer_type: Optional[PaymentsAuthorizerType] = None,
authorizer_configuration: Optional[AuthorizerConfiguration] = None,
role_arn: Optional[RoleArn] = None,
client_token: Optional[ClientToken] = None,
kms_key_arn: Optional[KmsKeyArn] = None,
) -> UpdatePaymentManagerResponse
Updates an existing payment manager. This operation uses PATCH semantics, so you only need to specify the fields you want to change.
Parameters:
-
payment_manager_id(PaymentManagerId) –The unique identifier of the payment manager to update.
-
description(Optional[PaymentsDescription], default:None) –The updated description of the payment manager.
-
authorizer_type(Optional[PaymentsAuthorizerType], default:None) –The updated authorizer type for the payment manager.
-
authorizer_configuration(Optional[AuthorizerConfiguration], default:None) –The updated authorizer configuration for the payment manager.
-
role_arn(Optional[RoleArn], default:None) –The updated Amazon Resource Name (ARN) of the IAM role for the payment manager.
-
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.
-
kms_key_arn(Optional[KmsKeyArn], default:None) –The updated Amazon Resource Name (ARN) of the customer managed KMS key used to encrypt sensitive payment manager data at rest.
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
-
ResourceNotFoundException–This exception is thrown when a resource referenced by the operation does not exist
-
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
10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 | |