Class: Aws::BedrockAgentCore::Types::PaymentInput

Inherits:
Struct
  • Object
show all
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

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

Returns:

  • (Object) —

    the current value of unknown



8225
8226
8227
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 8225

def unknown
  @unknown
end