Skip to main content

payment_connectors

Creates, updates, deletes, gets or lists a payment_connectors resource.

Overview

Namepayment_connectors
TypeResource
Idaws.bedrock_agentcore_control.payment_connectors

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringThe name of the payment connector. (pattern: <code>[a-zA-Z][a-zA-Z0-9_]{0,47}</code>)
authorization_urlstringThe URL that the user must open to complete OAuth consent. This field is only present when the payment connector status is PENDING_AUTHENTICATION. (pattern: <code>https:​//[^\p{C}]*</code>)
created_atstring (date-time)The timestamp when the payment connector was created.
credential_provider_configurationsarrayThe credential provider configurations for the payment connector.
descriptionstringThe description of the payment connector. (pattern: <code>[^\p{C}]*</code>)
last_updated_atstring (date-time)The timestamp when the payment connector was last updated.
payment_connector_idstringThe unique identifier of the payment connector. (pattern: <code>([0-9a-z_][-]?){1,100}-[0-9a-z]{10}</code>)
statusstringThe current status of the payment connector. Possible values include CREATING, READY, UPDATING, DELETING, CREATE_FAILED, UPDATE_FAILED, and DELETE_FAILED. (CREATING, UPDATING, DELETING, READY, CREATE_FAILED, UPDATE_FAILED, DELETE_FAILED, AWS_MARKETPLACE_SUBSCRIPTION_REQUIRED, PENDING_AUTHENTICATION, PROVISIONING, AUTHENTICATION_EXPIRED, AUTHENTICATION_FAILED)
type_stringThe type of the payment connector, which determines the payment provider integration. (CoinbaseCDP, StripePrivy)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_payment_connectorselectpayment_manager_id, payment_connector_id, regionRetrieves information about a specific payment connector.
list_payment_connectorsselectpayment_manager_id, regionmaxResults, nextTokenLists all payment connectors for a specified payment manager.
create_payment_connectorinsertpayment_manager_id, region, name, type, credentialProviderConfigurationsCreates a new payment connector for a payment manager. A payment connector integrates with a supported payment provider to enable payment processing capabilities.
update_payment_connectorupdatepayment_manager_id, payment_connector_id, regionUpdates an existing payment connector. This operation uses PATCH semantics, so you only need to specify the fields you want to change.
delete_payment_connectordeletepayment_manager_id, payment_connector_id, regionclientTokenDeletes a payment connector.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
payment_connector_idstringThe unique identifier of the payment connector to delete.
payment_manager_idstringThe unique identifier of the parent payment manager.
regionstringAWS region (default: us-east-1)
clientTokenstringA 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.
maxResultsintegerThe maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results.
nextTokenstringIf the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results.

SELECT examples

Retrieves information about a specific payment connector.

SELECT
name,
authorization_url,
created_at,
credential_provider_configurations,
description,
last_updated_at,
payment_connector_id,
status,
type_
FROM aws.bedrock_agentcore_control.payment_connectors
WHERE payment_manager_id = '{{ payment_manager_id }}' -- required
AND payment_connector_id = '{{ payment_connector_id }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Creates a new payment connector for a payment manager. A payment connector integrates with a supported payment provider to enable payment processing capabilities.

INSERT INTO aws.bedrock_agentcore_control.payment_connectors (
name,
description,
type,
credentialProviderConfigurations,
provisionMode,
clientToken,
payment_manager_id,
region
)
SELECT
'{{ name }}' /* required */,
'{{ description }}',
'{{ type }}' /* required */,
'{{ credentialProviderConfigurations }}' /* required */,
'{{ provisionMode }}',
'{{ clientToken }}',
'{{ payment_manager_id }}',
'{{ region }}'
RETURNING
name,
authorization_url,
created_at,
credential_provider_configurations,
payment_connector_id,
payment_manager_id,
status,
type_
;

UPDATE examples

Updates an existing payment connector. This operation uses PATCH semantics, so you only need to specify the fields you want to change.

UPDATE aws.bedrock_agentcore_control.payment_connectors
SET
description = '{{ description }}',
type = '{{ type }}',
credentialProviderConfigurations = '{{ credentialProviderConfigurations }}',
clientToken = '{{ clientToken }}'
WHERE
payment_manager_id = '{{ payment_manager_id }}' --required
AND payment_connector_id = '{{ payment_connector_id }}' --required
AND region = '{{ region }}' --required
RETURNING
name,
authorization_url,
credential_provider_configurations,
last_updated_at,
payment_connector_id,
payment_manager_id,
status,
type_;

DELETE examples

Deletes a payment connector.

DELETE FROM aws.bedrock_agentcore_control.payment_connectors
WHERE payment_manager_id = '{{ payment_manager_id }}' --required
AND payment_connector_id = '{{ payment_connector_id }}' --required
AND region = '{{ region }}' --required
AND clientToken = '{{ clientToken }}'
;