Class: Aws::BedrockAgentCore::Types::PaymentInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgentCore::Types::PaymentInput
- Defined in:
- gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb
Overview
Note:
PaymentInput is a union - when making an API calls you must set exactly one of the members.
The payment input details, which vary by payment type.
Defined Under Namespace
Classes: CryptoX402, Mpp, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#crypto_x402 ⇒ Types::CryptoX402PaymentInput
Input for a crypto X402 payment.
-
#mpp ⇒ Types::MppPaymentInput
Contains the payment challenge from a 402 Payment Required response.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#crypto_x402 ⇒ Types::CryptoX402PaymentInput
Input for a crypto X402 payment.
8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 8225 class PaymentInput < Struct.new( :crypto_x402, :mpp, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class CryptoX402 < PaymentInput; end class Mpp < PaymentInput; end class Unknown < PaymentInput; end end |
#mpp ⇒ Types::MppPaymentInput
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.
8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 8225 class PaymentInput < Struct.new( :crypto_x402, :mpp, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class CryptoX402 < PaymentInput; end class Mpp < PaymentInput; end class Unknown < PaymentInput; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
8225 8226 8227 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 8225 def unknown @unknown end |