Mpp
Contains the payment challenge from a 402 Payment Required response. Forward the raw WWW-Authenticate: Payment header value verbatim. In response, you receive a payment credential that satisfies the challenge. Provide exactly one challenge per request.
Inherited functions
Casts this PaymentInput as a CryptoX402 and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.CryptoX402PaymentInput value. Throws an exception if the PaymentInput is not a CryptoX402.
Casts this PaymentInput as a CryptoX402 and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.CryptoX402PaymentInput value. Returns null if the PaymentInput is not a CryptoX402.
Casts this PaymentInput as a Mpp and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.MppPaymentInput value. Throws an exception if the PaymentInput is not a Mpp.
Casts this PaymentInput as a Mpp and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.MppPaymentInput value. Returns null if the PaymentInput is not a Mpp.