create_payment_credential_provider
¶
create_payment_credential_provider(
name: CredentialProviderName,
credential_provider_vendor: PaymentCredentialProviderVendorType,
provider_configuration_input: PaymentProviderConfigurationInput,
*,
config_overrides: Optional[BedrockAgentCoreControlClientConfig] = None,
tags: Optional[TagsMap] = None,
) -> CreatePaymentCredentialProviderResponse
Creates a new payment credential provider for storing authentication credentials used by payment connectors to communicate with external payment providers.
Parameters:
-
name(CredentialProviderName) –Unique name for the payment credential provider.
-
credential_provider_vendor(PaymentCredentialProviderVendorType) –The vendor type for the payment credential provider (e.g., CoinbaseCDP, StripePrivy).
-
provider_configuration_input(PaymentProviderConfigurationInput) –Configuration specific to the vendor, including API credentials.
-
tags(Optional[TagsMap], default:None) –Optional tags for resource organization.
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
-
DecryptionFailure–Exception thrown when decryption of a secret fails.
-
EncryptionFailure–Exception thrown when encryption of a secret fails.
-
InternalServerException–This exception is thrown if there was an unexpected error during processing of request
-
ResourceLimitExceededException–Exception thrown when a resource limit is exceeded.
-
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
-
UnauthorizedException–This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
-
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
10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160 10161 10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 10172 10173 10174 10175 10176 10177 10178 10179 | |