Skip to content

BedrockAgentCoreClient.get_payment_instrument

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

Model summary (excerpt): Get a payment instrument by ID.

Install and imports

python -m pip install "rboto[bedrock-agentcore]==0.4.0"
from rboto import BedrockAgentCoreClient
from rboto_bedrock_agentcore.types import (
    GetPaymentInstrumentOutput,
)

Signature

async def get_payment_instrument(
    *,
    payment_manager_arn: str,
    payment_instrument_id: str,
    user_id: str | None = None,
    agent_name: str | None = None,
    payment_connector_id: str | None = None,
) -> GetPaymentInstrumentOutput: ...

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_arn Yes The ARN of the payment manager that owns this payment instrument.
payment_instrument_id Yes The ID of the payment instrument to retrieve.
user_id No The user ID associated with this payment instrument.
agent_name No The agent name associated with this request, used for observability.
payment_connector_id No The ID of the payment connector.

Output

GetPaymentInstrumentOutput.

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_instrument PaymentInstrumentOutput | None Always present PaymentInstrumentOutput

| 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.

GetPaymentInstrumentOutput

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.exceptions:

AccessDeniedError, InternalServerError, ResourceNotFoundError, ThrottlingError, ValidationError.

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

Service guide · Pinned model