Mpp

data class Mpp(val value: MppPaymentInput) : PaymentInput

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.

Constructors

Link copied to clipboard
constructor(value: MppPaymentInput)

Properties

Link copied to clipboard

Inherited functions

Link copied to clipboard
Link copied to clipboard

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.

Link copied to clipboard

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.