Skip to content

BedrockAgentCoreControlClient.create_payment_connector

rboto-bedrock-agentcore-control==0.4.0 · Service index · Types

Model summary (excerpt): Creates a new payment connector for a payment manager. A payment connector integrates with a supported payment provider to enable payment processing capabilities.

Install and imports

python -m pip install "rboto[bedrock-agentcore-control]==0.4.0"
from rboto import BedrockAgentCoreControlClient
from collections.abc import Sequence
from rboto_bedrock_agentcore_control.types import (
    CreatePaymentConnectorOutput,
    CredentialsProviderConfiguration,
    PaymentConnectorProvisionMode,
    PaymentConnectorType,
)

Signature

async def create_payment_connector(
    *,
    payment_manager_id: str,
    name: str,
    type: PaymentConnectorType,
    description: str | None = None,
    credential_provider_configurations: Sequence[CredentialsProviderConfiguration] | None = None,
    provision_mode: PaymentConnectorProvisionMode | None = None,
    client_token: str | None = None,
) -> CreatePaymentConnectorOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
payment_manager_id Yes The unique identifier of the payment manager to create the connector for.
name Yes The name of the payment connector.
type Yes The type of payment connector, which determines the payment provider integration.
description No A description of the payment connector.
credential_provider_configurations No The credential provider configurations for the payment connector. These configurations specify how the connector authenticates with the payment provider. For an AwsBilling payment connector, omit this parameter or specify an empty list. The service uses the AWS Marketplace service-linked role in your account, which must exist before you create the connector, and you must have permission to...
provision_mode No 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 No 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 .

Output

CreatePaymentConnectorOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

Field Type Presence References
payment_connector_id str Always present —
payment_manager_id str Always present —
name str Always present —
type PaymentConnectorTypeOutput Always present PaymentConnectorTypeOutput
credential_provider_configurations list[CredentialsProviderConfigurationOutput] Always present CredentialsProviderConfigurationOutput
created_at str Always present —
status PaymentConnectorStatusOutput Always present PaymentConnectorStatusOutput
authorization_url str | None Always present —

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

CreatePaymentConnectorOutput, CredentialsProviderConfiguration, PaymentConnectorProvisionMode, PaymentConnectorType

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

No generated paginator for this operation.

No output stream.

Errors

Import from rboto_bedrock_agentcore_control.exceptions:

AccessDeniedError, ConflictError, InternalServerError, ResourceNotFoundError, ServiceQuotaExceededError, SubscriptionRequiredError, ThrottlingError, ValidationError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model