create_payment_connector
async
¶
create_payment_connector(
payment_manager_id: PaymentManagerId,
name: PaymentConnectorName,
type: PaymentConnectorType,
credential_provider_configurations: CredentialsProviderConfigurations,
*,
config_overrides: Optional[AsyncBedrockAgentCoreControlClientConfig] = None,
description: Optional[PaymentsDescription] = None,
provision_mode: Optional[PaymentConnectorProvisionMode] = None,
client_token: Optional[ClientToken] = None,
) -> CreatePaymentConnectorResponse
Creates a new payment connector for a payment manager. A payment connector integrates with a supported payment provider to enable payment processing capabilities.
Parameters:
-
payment_manager_id(PaymentManagerId) –The unique identifier of the payment manager to create the connector for.
-
name(PaymentConnectorName) –The name of the payment connector.
-
description(Optional[PaymentsDescription], default:None) –A description of the payment connector.
-
type(PaymentConnectorType) –The type of payment connector, which determines the payment provider integration.
-
credential_provider_configurations(CredentialsProviderConfigurations) –The credential provider configurations for the payment connector. These configurations specify how the connector authenticates with the payment provider.
-
provision_mode(Optional[PaymentConnectorProvisionMode], default:None) –The provision mode for creating the payment connector. If you don't specify a value, the default is
MANUAL.-
MANUAL- You provide the credential provider configurations directly. -
QUICK_CREATE- The service orchestrates OAuth consent and provisions the credential provider for you.
-
-
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.
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
-
SubscriptionRequiredException–The request failed because it requires an active Amazon Web Services Marketplace subscription that is not present. Subscribe to the required product in Amazon Web Services Marketplace and try again.
-
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/async_bedrock_agent_core_control.py
10912 10913 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 | |