get_payment_connector¶
Operation¶
get_payment_connector
async
¶
get_payment_connector(input: GetPaymentConnectorInput, plugins: list[Plugin] | None = None) -> GetPaymentConnectorOutput
Retrieves information about a specific payment connector.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
GetPaymentConnectorInput
|
An instance of |
required |
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
GetPaymentConnectorOutput
|
An instance of |
Input¶
GetPaymentConnectorInput
dataclass
¶
Output¶
GetPaymentConnectorOutput
dataclass
¶
Dataclass for GetPaymentConnectorOutput structure.
Attributes¶
authorization_url
class-attribute
instance-attribute
¶
authorization_url: str | None = None
The URL that the user must open to complete OAuth consent. This field is
only present when the payment connector status is
PENDING_AUTHENTICATION.
created_at
instance-attribute
¶
created_at: datetime
The timestamp when the payment connector was created.
credential_provider_configurations
instance-attribute
¶
credential_provider_configurations: list[CredentialsProviderConfiguration]
The credential provider configurations for the payment connector.
credentials_updated_at
class-attribute
instance-attribute
¶
credentials_updated_at: datetime | None = None
The timestamp when the payment connector's current service-managed
credentials took effect. It is first set when the credentials are
provisioned and is updated by each rotation. This field is present only
for payment connectors with a provisionMode of QUICK_CREATE.
description
class-attribute
instance-attribute
¶
description: str | None = None
The description of the payment connector.
last_updated_at
instance-attribute
¶
last_updated_at: datetime
The timestamp when the payment connector was last updated.
payment_connector_id
instance-attribute
¶
payment_connector_id: str
The unique identifier of the payment connector.
provision_mode
class-attribute
instance-attribute
¶
provision_mode: str | None = None
Specifies how the payment connector was provisioned. Payment connectors
that were created before this field was available return MANUAL.
-
MANUAL- You provided the credential provider configurations, so you own the credentials. Rotate them with the payment provider, then callUpdatePaymentCredentialProvider. -
QUICK_CREATE- AgentCore provisioned the credential provider for you, so the credentials are service-managed. You can rotate them withRotatePaymentConnectorCredentials.
response_metadata
class-attribute
instance-attribute
¶
response_metadata: ResponseMetadata = field(default=EMPTY_RESPONSE_METADATA, repr=False, compare=False)
Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.