Class: Aws::BedrockAgentCore::Types::MppPaymentOutput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb

Overview

Contains the payment credential, ready to retry the request.

Constant Summary collapse

SENSITIVE =
[:payment_credential]

Instance Attribute Summary collapse

Instance Attribute Details

#payment_credential ⇒ String

Ready-to-send value for the Authorization header, in the form "Payment <base64url-token>". Attach this header and retry the original request. To inspect the full credential, base64url-decode the token.

Returns:

  • (String)


8022
8023
8024
8025
8026
8027
8028
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 8022

class MppPaymentOutput < Struct.new(
  :version,
  :selected_payment_id,
  :payment_credential)
  SENSITIVE = [:payment_credential]
  include Aws::Structure
end

#selected_payment_id ⇒ String

The id of the challenge that was paid, echoed from the input challenge so you can correlate the result without decoding the credential.

Returns:

  • (String)


8022
8023
8024
8025
8026
8027
8028
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 8022

class MppPaymentOutput < Struct.new(
  :version,
  :selected_payment_id,
  :payment_credential)
  SENSITIVE = [:payment_credential]
  include Aws::Structure
end

#version ⇒ String

The MPP protocol version, for example "1" or "2".

Returns:

  • (String)


8022
8023
8024
8025
8026
8027
8028
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 8022

class MppPaymentOutput < Struct.new(
  :version,
  :selected_payment_id,
  :payment_credential)
  SENSITIVE = [:payment_credential]
  include Aws::Structure
end