aws-sdk-bedrockagentcore 1.72.0 → 1.73.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagentcore/client.rb +24 -4
- data/lib/aws-sdk-bedrockagentcore/client_api.rb +31 -0
- data/lib/aws-sdk-bedrockagentcore/types.rb +126 -2
- data/lib/aws-sdk-bedrockagentcore.rb +1 -1
- data/sig/client.rbs +15 -2
- data/sig/types.rbs +34 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 301e34c2d2fa9fc800112aaadd7464bafc631f5320afb896a105c79313f087b1
|
|
4
|
+
data.tar.gz: '038849e5b977de8a82f96c1c8776bf051962c76ae3b489a87f129ee049e6054f'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f8bdfd1a6771c5c932b890527487841b2d6c19194821984a8f3b8d3e3bb88da43bca866e46123c777070a619aecab4fabd732d42146cdce516bbb88f472d94c9
|
|
7
|
+
data.tar.gz: edb12675a18eaa2015131099c08f21bf4173af2213727fd31886b749eac8ce7351d8917f720f8ff202eeb9dd2299c1a25033a8253c82196867015c908b779be0
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.73.0 (2026-11-19)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adds the AWS Billing x402 payment type to ProcessPayment. Agents can purchase x402-enabled AWS Marketplace products and have the charges billed to the AWS account, without a wallet. Requests use the service-managed payment instrument ID aws.agentcorepayments.awsbilling.v1.
|
|
8
|
+
|
|
4
9
|
1.72.0 (2026-11-18)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.73.0
|
|
@@ -5599,7 +5599,12 @@ module Aws::BedrockAgentCore
|
|
|
5599
5599
|
# The ID of the payment session.
|
|
5600
5600
|
#
|
|
5601
5601
|
# @option params [required, String] :payment_instrument_id
|
|
5602
|
-
# The ID of the payment instrument to use.
|
|
5602
|
+
# The ID of the payment instrument to use. For the `CRYPTO_X402` and
|
|
5603
|
+
# `MPP` payment types, specify the ID of a payment instrument that you
|
|
5604
|
+
# created. For the `AWS_BILLING_X402` payment type, specify the
|
|
5605
|
+
# service-managed instrument ID `aws.agentcorepayments.awsbilling.v1`.
|
|
5606
|
+
# You don't create this instrument; it's available for any payment
|
|
5607
|
+
# manager that has an AWS Billing payment connector.
|
|
5603
5608
|
#
|
|
5604
5609
|
# @option params [required, String] :payment_type
|
|
5605
5610
|
# The type of payment to process.
|
|
@@ -5634,7 +5639,7 @@ module Aws::BedrockAgentCore
|
|
|
5634
5639
|
# payment_manager_arn: "PaymentManagerArn", # required
|
|
5635
5640
|
# payment_session_id: "PaymentSessionId", # required
|
|
5636
5641
|
# payment_instrument_id: "PaymentInstrumentId", # required
|
|
5637
|
-
# payment_type: "CRYPTO_X402", # required, accepts CRYPTO_X402, MPP
|
|
5642
|
+
# payment_type: "CRYPTO_X402", # required, accepts CRYPTO_X402, MPP, AWS_BILLING_X402
|
|
5638
5643
|
# payment_input: { # required
|
|
5639
5644
|
# crypto_x402: {
|
|
5640
5645
|
# version: "String", # required
|
|
@@ -5647,6 +5652,19 @@ module Aws::BedrockAgentCore
|
|
|
5647
5652
|
# www_authenticate_headers: ["WwwAuthenticateHeader"], # required
|
|
5648
5653
|
# buyer_pays_gas_fees: false,
|
|
5649
5654
|
# },
|
|
5655
|
+
# aws_billing_x402: {
|
|
5656
|
+
# version: "Version", # required
|
|
5657
|
+
# payload: { # required
|
|
5658
|
+
# },
|
|
5659
|
+
# options: {
|
|
5660
|
+
# dpop_jwk: {
|
|
5661
|
+
# kty: "EC", # required, accepts EC
|
|
5662
|
+
# crv: "P-256", # required, accepts P-256, P-384, P-521
|
|
5663
|
+
# x: "DpopJwkXString", # required
|
|
5664
|
+
# y: "DpopJwkYString", # required
|
|
5665
|
+
# },
|
|
5666
|
+
# },
|
|
5667
|
+
# },
|
|
5650
5668
|
# },
|
|
5651
5669
|
# client_token: "ClientToken",
|
|
5652
5670
|
# })
|
|
@@ -5657,12 +5675,14 @@ module Aws::BedrockAgentCore
|
|
|
5657
5675
|
# resp.payment_manager_arn #=> String
|
|
5658
5676
|
# resp.payment_session_id #=> String
|
|
5659
5677
|
# resp.payment_instrument_id #=> String
|
|
5660
|
-
# resp.payment_type #=> String, one of "CRYPTO_X402", "MPP"
|
|
5678
|
+
# resp.payment_type #=> String, one of "CRYPTO_X402", "MPP", "AWS_BILLING_X402"
|
|
5661
5679
|
# resp.status #=> String, one of "PROOF_GENERATED"
|
|
5662
5680
|
# resp.payment_output.crypto_x402.version #=> String
|
|
5663
5681
|
# resp.payment_output.mpp.version #=> String
|
|
5664
5682
|
# resp.payment_output.mpp.selected_payment_id #=> String
|
|
5665
5683
|
# resp.payment_output.mpp.payment_credential #=> String
|
|
5684
|
+
# resp.payment_output.aws_billing_x402.version #=> String
|
|
5685
|
+
# resp.payment_output.aws_billing_x402.payment_token #=> String
|
|
5666
5686
|
# resp.created_at #=> Time
|
|
5667
5687
|
# resp.updated_at #=> Time
|
|
5668
5688
|
#
|
|
@@ -7377,7 +7397,7 @@ module Aws::BedrockAgentCore
|
|
|
7377
7397
|
tracer: tracer
|
|
7378
7398
|
)
|
|
7379
7399
|
context[:gem_name] = 'aws-sdk-bedrockagentcore'
|
|
7380
|
-
context[:gem_version] = '1.
|
|
7400
|
+
context[:gem_version] = '1.73.0'
|
|
7381
7401
|
Seahorse::Client::Request.new(handlers, context)
|
|
7382
7402
|
end
|
|
7383
7403
|
|
|
@@ -59,6 +59,10 @@ module Aws::BedrockAgentCore
|
|
|
59
59
|
AutomationStreamStatus = Shapes::StringShape.new(name: 'AutomationStreamStatus')
|
|
60
60
|
AutomationStreamUpdate = Shapes::StructureShape.new(name: 'AutomationStreamUpdate')
|
|
61
61
|
AvailableLimits = Shapes::StructureShape.new(name: 'AvailableLimits')
|
|
62
|
+
AwsBillingPaymentOptions = Shapes::StructureShape.new(name: 'AwsBillingPaymentOptions')
|
|
63
|
+
AwsBillingPaymentToken = Shapes::StringShape.new(name: 'AwsBillingPaymentToken')
|
|
64
|
+
AwsBillingX402PaymentInput = Shapes::StructureShape.new(name: 'AwsBillingX402PaymentInput')
|
|
65
|
+
AwsBillingX402PaymentOutput = Shapes::StructureShape.new(name: 'AwsBillingX402PaymentOutput')
|
|
62
66
|
BasicAuth = Shapes::StructureShape.new(name: 'BasicAuth')
|
|
63
67
|
BatchCreateMemoryRecordsInput = Shapes::StructureShape.new(name: 'BatchCreateMemoryRecordsInput')
|
|
64
68
|
BatchCreateMemoryRecordsOutput = Shapes::StructureShape.new(name: 'BatchCreateMemoryRecordsOutput')
|
|
@@ -220,6 +224,9 @@ module Aws::BedrockAgentCore
|
|
|
220
224
|
DomainPattern = Shapes::StringShape.new(name: 'DomainPattern')
|
|
221
225
|
DomainPatterns = Shapes::ListShape.new(name: 'DomainPatterns')
|
|
222
226
|
Double = Shapes::FloatShape.new(name: 'Double')
|
|
227
|
+
DpopJwk = Shapes::StructureShape.new(name: 'DpopJwk')
|
|
228
|
+
DpopJwkXString = Shapes::StringShape.new(name: 'DpopJwkXString')
|
|
229
|
+
DpopJwkYString = Shapes::StringShape.new(name: 'DpopJwkYString')
|
|
223
230
|
DuplicateIdException = Shapes::StructureShape.new(name: 'DuplicateIdException')
|
|
224
231
|
EfsAccessPointArn = Shapes::StringShape.new(name: 'EfsAccessPointArn')
|
|
225
232
|
EfsConfiguration = Shapes::StructureShape.new(name: 'EfsConfiguration')
|
|
@@ -528,6 +535,8 @@ module Aws::BedrockAgentCore
|
|
|
528
535
|
InvokeWebSearchInputMaxResultsInteger = Shapes::IntegerShape.new(name: 'InvokeWebSearchInputMaxResultsInteger')
|
|
529
536
|
InvokeWebSearchInputSearchQueryString = Shapes::StringShape.new(name: 'InvokeWebSearchInputSearchQueryString')
|
|
530
537
|
InvokeWebSearchOutput = Shapes::StructureShape.new(name: 'InvokeWebSearchOutput')
|
|
538
|
+
JwkEllipticCurve = Shapes::StringShape.new(name: 'JwkEllipticCurve')
|
|
539
|
+
JwkKeyType = Shapes::StringShape.new(name: 'JwkKeyType')
|
|
531
540
|
JwtKeyId = Shapes::StringShape.new(name: 'JwtKeyId')
|
|
532
541
|
KeyList = Shapes::ListShape.new(name: 'KeyList')
|
|
533
542
|
KeyPressArguments = Shapes::StructureShape.new(name: 'KeyPressArguments')
|
|
@@ -1096,6 +1105,18 @@ module Aws::BedrockAgentCore
|
|
|
1096
1105
|
AvailableLimits.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, location_name: "updatedAt"))
|
|
1097
1106
|
AvailableLimits.struct_class = Types::AvailableLimits
|
|
1098
1107
|
|
|
1108
|
+
AwsBillingPaymentOptions.add_member(:dpop_jwk, Shapes::ShapeRef.new(shape: DpopJwk, location_name: "dpopJwk"))
|
|
1109
|
+
AwsBillingPaymentOptions.struct_class = Types::AwsBillingPaymentOptions
|
|
1110
|
+
|
|
1111
|
+
AwsBillingX402PaymentInput.add_member(:version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "version"))
|
|
1112
|
+
AwsBillingX402PaymentInput.add_member(:payload, Shapes::ShapeRef.new(shape: PaymentDocument, required: true, location_name: "payload"))
|
|
1113
|
+
AwsBillingX402PaymentInput.add_member(:options, Shapes::ShapeRef.new(shape: AwsBillingPaymentOptions, location_name: "options"))
|
|
1114
|
+
AwsBillingX402PaymentInput.struct_class = Types::AwsBillingX402PaymentInput
|
|
1115
|
+
|
|
1116
|
+
AwsBillingX402PaymentOutput.add_member(:version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "version"))
|
|
1117
|
+
AwsBillingX402PaymentOutput.add_member(:payment_token, Shapes::ShapeRef.new(shape: AwsBillingPaymentToken, required: true, location_name: "paymentToken"))
|
|
1118
|
+
AwsBillingX402PaymentOutput.struct_class = Types::AwsBillingX402PaymentOutput
|
|
1119
|
+
|
|
1099
1120
|
BasicAuth.add_member(:secret_arn, Shapes::ShapeRef.new(shape: SecretArn, required: true, location_name: "secretArn"))
|
|
1100
1121
|
BasicAuth.struct_class = Types::BasicAuth
|
|
1101
1122
|
|
|
@@ -1600,6 +1621,12 @@ module Aws::BedrockAgentCore
|
|
|
1600
1621
|
|
|
1601
1622
|
DomainPatterns.member = Shapes::ShapeRef.new(shape: DomainPattern)
|
|
1602
1623
|
|
|
1624
|
+
DpopJwk.add_member(:kty, Shapes::ShapeRef.new(shape: JwkKeyType, required: true, location_name: "kty"))
|
|
1625
|
+
DpopJwk.add_member(:crv, Shapes::ShapeRef.new(shape: JwkEllipticCurve, required: true, location_name: "crv"))
|
|
1626
|
+
DpopJwk.add_member(:x, Shapes::ShapeRef.new(shape: DpopJwkXString, required: true, location_name: "x"))
|
|
1627
|
+
DpopJwk.add_member(:y, Shapes::ShapeRef.new(shape: DpopJwkYString, required: true, location_name: "y"))
|
|
1628
|
+
DpopJwk.struct_class = Types::DpopJwk
|
|
1629
|
+
|
|
1603
1630
|
DuplicateIdException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
|
1604
1631
|
DuplicateIdException.struct_class = Types::DuplicateIdException
|
|
1605
1632
|
|
|
@@ -3179,9 +3206,11 @@ module Aws::BedrockAgentCore
|
|
|
3179
3206
|
|
|
3180
3207
|
PaymentInput.add_member(:crypto_x402, Shapes::ShapeRef.new(shape: CryptoX402PaymentInput, location_name: "cryptoX402"))
|
|
3181
3208
|
PaymentInput.add_member(:mpp, Shapes::ShapeRef.new(shape: MppPaymentInput, location_name: "mpp"))
|
|
3209
|
+
PaymentInput.add_member(:aws_billing_x402, Shapes::ShapeRef.new(shape: AwsBillingX402PaymentInput, location_name: "awsBillingX402"))
|
|
3182
3210
|
PaymentInput.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
3183
3211
|
PaymentInput.add_member_subclass(:crypto_x402, Types::PaymentInput::CryptoX402)
|
|
3184
3212
|
PaymentInput.add_member_subclass(:mpp, Types::PaymentInput::Mpp)
|
|
3213
|
+
PaymentInput.add_member_subclass(:aws_billing_x402, Types::PaymentInput::AwsBillingX402)
|
|
3185
3214
|
PaymentInput.add_member_subclass(:unknown, Types::PaymentInput::Unknown)
|
|
3186
3215
|
PaymentInput.struct_class = Types::PaymentInput
|
|
3187
3216
|
|
|
@@ -3216,9 +3245,11 @@ module Aws::BedrockAgentCore
|
|
|
3216
3245
|
|
|
3217
3246
|
PaymentOutput.add_member(:crypto_x402, Shapes::ShapeRef.new(shape: CryptoX402PaymentOutput, location_name: "cryptoX402"))
|
|
3218
3247
|
PaymentOutput.add_member(:mpp, Shapes::ShapeRef.new(shape: MppPaymentOutput, location_name: "mpp"))
|
|
3248
|
+
PaymentOutput.add_member(:aws_billing_x402, Shapes::ShapeRef.new(shape: AwsBillingX402PaymentOutput, location_name: "awsBillingX402"))
|
|
3219
3249
|
PaymentOutput.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
3220
3250
|
PaymentOutput.add_member_subclass(:crypto_x402, Types::PaymentOutput::CryptoX402)
|
|
3221
3251
|
PaymentOutput.add_member_subclass(:mpp, Types::PaymentOutput::Mpp)
|
|
3252
|
+
PaymentOutput.add_member_subclass(:aws_billing_x402, Types::PaymentOutput::AwsBillingX402)
|
|
3222
3253
|
PaymentOutput.add_member_subclass(:unknown, Types::PaymentOutput::Unknown)
|
|
3223
3254
|
PaymentOutput.struct_class = Types::PaymentOutput
|
|
3224
3255
|
|
|
@@ -550,6 +550,78 @@ module Aws::BedrockAgentCore
|
|
|
550
550
|
include Aws::Structure
|
|
551
551
|
end
|
|
552
552
|
|
|
553
|
+
# Optional settings for an AWS Billing payment.
|
|
554
|
+
#
|
|
555
|
+
# @!attribute [rw] dpop_jwk
|
|
556
|
+
# The agent's public key for Demonstrating Proof of Possession
|
|
557
|
+
# (DPoP), as described in RFC 9449. If you specify a key, the payment
|
|
558
|
+
# token is bound to it, and the seller can verify that the token is
|
|
559
|
+
# presented by the holder of the matching private key. If you don't
|
|
560
|
+
# specify a key, the payment token isn't bound to a key.
|
|
561
|
+
# @return [Types::DpopJwk]
|
|
562
|
+
#
|
|
563
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/AwsBillingPaymentOptions AWS API Documentation
|
|
564
|
+
#
|
|
565
|
+
class AwsBillingPaymentOptions < Struct.new(
|
|
566
|
+
:dpop_jwk)
|
|
567
|
+
SENSITIVE = []
|
|
568
|
+
include Aws::Structure
|
|
569
|
+
end
|
|
570
|
+
|
|
571
|
+
# The input for an AWS Billing x402 payment. The payment pays an AWS
|
|
572
|
+
# Marketplace seller's x402 (HTTP 402) payment requirement and is
|
|
573
|
+
# billed to the AWS account that owns the payment manager, through the
|
|
574
|
+
# payment manager's AWS Billing payment connector.
|
|
575
|
+
#
|
|
576
|
+
# @!attribute [rw] version
|
|
577
|
+
# The x402 protocol version of the seller's HTTP 402 response, from
|
|
578
|
+
# its `x402Version` field. For example, `2`.
|
|
579
|
+
# @return [String]
|
|
580
|
+
#
|
|
581
|
+
# @!attribute [rw] payload
|
|
582
|
+
# The seller's x402 payment requirement for AWS Billing, passed
|
|
583
|
+
# unchanged as a JSON object. The service reads the seller-signed
|
|
584
|
+
# quote token from `extra.quoteToken` and returns a
|
|
585
|
+
# `ValidationException` if it is missing or invalid. Any change to the
|
|
586
|
+
# quote token invalidates its signature.
|
|
587
|
+
# @return [Hash,Array,String,Numeric,Boolean]
|
|
588
|
+
#
|
|
589
|
+
# @!attribute [rw] options
|
|
590
|
+
# Optional settings for the AWS Billing payment.
|
|
591
|
+
# @return [Types::AwsBillingPaymentOptions]
|
|
592
|
+
#
|
|
593
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/AwsBillingX402PaymentInput AWS API Documentation
|
|
594
|
+
#
|
|
595
|
+
class AwsBillingX402PaymentInput < Struct.new(
|
|
596
|
+
:version,
|
|
597
|
+
:payload,
|
|
598
|
+
:options)
|
|
599
|
+
SENSITIVE = [:payload]
|
|
600
|
+
include Aws::Structure
|
|
601
|
+
end
|
|
602
|
+
|
|
603
|
+
# The output of an AWS Billing x402 payment.
|
|
604
|
+
#
|
|
605
|
+
# @!attribute [rw] version
|
|
606
|
+
# The x402 protocol version. This is the same value as the `version`
|
|
607
|
+
# in the request.
|
|
608
|
+
# @return [String]
|
|
609
|
+
#
|
|
610
|
+
# @!attribute [rw] payment_token
|
|
611
|
+
# The payment token, a signed JSON Web Token (JWT). Include it when
|
|
612
|
+
# you retry your request to the seller. Treat the payment token as a
|
|
613
|
+
# credential: don't log or share it.
|
|
614
|
+
# @return [String]
|
|
615
|
+
#
|
|
616
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/AwsBillingX402PaymentOutput AWS API Documentation
|
|
617
|
+
#
|
|
618
|
+
class AwsBillingX402PaymentOutput < Struct.new(
|
|
619
|
+
:version,
|
|
620
|
+
:payment_token)
|
|
621
|
+
SENSITIVE = [:payment_token]
|
|
622
|
+
include Aws::Structure
|
|
623
|
+
end
|
|
624
|
+
|
|
553
625
|
# Configuration for HTTP Basic Authentication using credentials stored
|
|
554
626
|
# in Amazon Web Services Secrets Manager. The secret must contain a JSON
|
|
555
627
|
# object with `username` and `password` string fields. Username allows
|
|
@@ -2824,6 +2896,37 @@ module Aws::BedrockAgentCore
|
|
|
2824
2896
|
include Aws::Structure
|
|
2825
2897
|
end
|
|
2826
2898
|
|
|
2899
|
+
# An elliptic curve public key in JSON Web Key (JWK) format, as
|
|
2900
|
+
# described in RFC 7518 section 6.2, used to bind a payment token to the
|
|
2901
|
+
# agent.
|
|
2902
|
+
#
|
|
2903
|
+
# @!attribute [rw] kty
|
|
2904
|
+
# The key type. The only valid value is `EC`.
|
|
2905
|
+
# @return [String]
|
|
2906
|
+
#
|
|
2907
|
+
# @!attribute [rw] crv
|
|
2908
|
+
# The elliptic curve of the key.
|
|
2909
|
+
# @return [String]
|
|
2910
|
+
#
|
|
2911
|
+
# @!attribute [rw] x
|
|
2912
|
+
# The x-coordinate of the elliptic curve point, base64url-encoded.
|
|
2913
|
+
# @return [String]
|
|
2914
|
+
#
|
|
2915
|
+
# @!attribute [rw] y
|
|
2916
|
+
# The y-coordinate of the elliptic curve point, base64url-encoded.
|
|
2917
|
+
# @return [String]
|
|
2918
|
+
#
|
|
2919
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/DpopJwk AWS API Documentation
|
|
2920
|
+
#
|
|
2921
|
+
class DpopJwk < Struct.new(
|
|
2922
|
+
:kty,
|
|
2923
|
+
:crv,
|
|
2924
|
+
:x,
|
|
2925
|
+
:y)
|
|
2926
|
+
SENSITIVE = []
|
|
2927
|
+
include Aws::Structure
|
|
2928
|
+
end
|
|
2929
|
+
|
|
2827
2930
|
# An exception thrown when attempting to create a resource with an
|
|
2828
2931
|
# identifier that already exists.
|
|
2829
2932
|
#
|
|
@@ -9728,11 +9831,18 @@ module Aws::BedrockAgentCore
|
|
|
9728
9831
|
# challenge. Provide exactly one challenge per request.
|
|
9729
9832
|
# @return [Types::MppPaymentInput]
|
|
9730
9833
|
#
|
|
9834
|
+
# @!attribute [rw] aws_billing_x402
|
|
9835
|
+
# Input for an AWS Billing x402 payment, which pays an AWS Marketplace
|
|
9836
|
+
# seller's quote and charges it to the AWS account that owns the
|
|
9837
|
+
# payment manager.
|
|
9838
|
+
# @return [Types::AwsBillingX402PaymentInput]
|
|
9839
|
+
#
|
|
9731
9840
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/PaymentInput AWS API Documentation
|
|
9732
9841
|
#
|
|
9733
9842
|
class PaymentInput < Struct.new(
|
|
9734
9843
|
:crypto_x402,
|
|
9735
9844
|
:mpp,
|
|
9845
|
+
:aws_billing_x402,
|
|
9736
9846
|
:unknown)
|
|
9737
9847
|
SENSITIVE = []
|
|
9738
9848
|
include Aws::Structure
|
|
@@ -9740,6 +9850,7 @@ module Aws::BedrockAgentCore
|
|
|
9740
9850
|
|
|
9741
9851
|
class CryptoX402 < PaymentInput; end
|
|
9742
9852
|
class Mpp < PaymentInput; end
|
|
9853
|
+
class AwsBillingX402 < PaymentInput; end
|
|
9743
9854
|
class Unknown < PaymentInput; end
|
|
9744
9855
|
end
|
|
9745
9856
|
|
|
@@ -9881,11 +9992,16 @@ module Aws::BedrockAgentCore
|
|
|
9881
9992
|
# Contains the payment credential, ready to retry the request.
|
|
9882
9993
|
# @return [Types::MppPaymentOutput]
|
|
9883
9994
|
#
|
|
9995
|
+
# @!attribute [rw] aws_billing_x402
|
|
9996
|
+
# Output from an AWS Billing x402 payment.
|
|
9997
|
+
# @return [Types::AwsBillingX402PaymentOutput]
|
|
9998
|
+
#
|
|
9884
9999
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/PaymentOutput AWS API Documentation
|
|
9885
10000
|
#
|
|
9886
10001
|
class PaymentOutput < Struct.new(
|
|
9887
10002
|
:crypto_x402,
|
|
9888
10003
|
:mpp,
|
|
10004
|
+
:aws_billing_x402,
|
|
9889
10005
|
:unknown)
|
|
9890
10006
|
SENSITIVE = []
|
|
9891
10007
|
include Aws::Structure
|
|
@@ -9893,6 +10009,7 @@ module Aws::BedrockAgentCore
|
|
|
9893
10009
|
|
|
9894
10010
|
class CryptoX402 < PaymentOutput; end
|
|
9895
10011
|
class Mpp < PaymentOutput; end
|
|
10012
|
+
class AwsBillingX402 < PaymentOutput; end
|
|
9896
10013
|
class Unknown < PaymentOutput; end
|
|
9897
10014
|
end
|
|
9898
10015
|
|
|
@@ -10078,7 +10195,12 @@ module Aws::BedrockAgentCore
|
|
|
10078
10195
|
# @return [String]
|
|
10079
10196
|
#
|
|
10080
10197
|
# @!attribute [rw] payment_instrument_id
|
|
10081
|
-
# The ID of the payment instrument to use.
|
|
10198
|
+
# The ID of the payment instrument to use. For the `CRYPTO_X402` and
|
|
10199
|
+
# `MPP` payment types, specify the ID of a payment instrument that you
|
|
10200
|
+
# created. For the `AWS_BILLING_X402` payment type, specify the
|
|
10201
|
+
# service-managed instrument ID `aws.agentcorepayments.awsbilling.v1`.
|
|
10202
|
+
# You don't create this instrument; it's available for any payment
|
|
10203
|
+
# manager that has an AWS Billing payment connector.
|
|
10082
10204
|
# @return [String]
|
|
10083
10205
|
#
|
|
10084
10206
|
# @!attribute [rw] payment_type
|
|
@@ -10127,7 +10249,9 @@ module Aws::BedrockAgentCore
|
|
|
10127
10249
|
# @return [String]
|
|
10128
10250
|
#
|
|
10129
10251
|
# @!attribute [rw] payment_instrument_id
|
|
10130
|
-
# The ID of the payment instrument used.
|
|
10252
|
+
# The ID of the payment instrument used. For the `AWS_BILLING_X402`
|
|
10253
|
+
# payment type, this is the service-managed instrument ID
|
|
10254
|
+
# `aws.agentcorepayments.awsbilling.v1`.
|
|
10131
10255
|
# @return [String]
|
|
10132
10256
|
#
|
|
10133
10257
|
# @!attribute [rw] payment_type
|
data/sig/client.rbs
CHANGED
|
@@ -1451,7 +1451,7 @@ module Aws
|
|
|
1451
1451
|
def payment_manager_arn: () -> ::String
|
|
1452
1452
|
def payment_session_id: () -> ::String
|
|
1453
1453
|
def payment_instrument_id: () -> ::String
|
|
1454
|
-
def payment_type: () -> ("CRYPTO_X402" | "MPP")
|
|
1454
|
+
def payment_type: () -> ("CRYPTO_X402" | "MPP" | "AWS_BILLING_X402")
|
|
1455
1455
|
def status: () -> ("PROOF_GENERATED")
|
|
1456
1456
|
def payment_output: () -> Types::PaymentOutput
|
|
1457
1457
|
def created_at: () -> ::Time
|
|
@@ -1464,7 +1464,7 @@ module Aws
|
|
|
1464
1464
|
payment_manager_arn: ::String,
|
|
1465
1465
|
payment_session_id: ::String,
|
|
1466
1466
|
payment_instrument_id: ::String,
|
|
1467
|
-
payment_type: ("CRYPTO_X402" | "MPP"),
|
|
1467
|
+
payment_type: ("CRYPTO_X402" | "MPP" | "AWS_BILLING_X402"),
|
|
1468
1468
|
payment_input: {
|
|
1469
1469
|
crypto_x402: {
|
|
1470
1470
|
version: ::String,
|
|
@@ -1476,6 +1476,19 @@ module Aws
|
|
|
1476
1476
|
version: ::String,
|
|
1477
1477
|
www_authenticate_headers: Array[::String],
|
|
1478
1478
|
buyer_pays_gas_fees: bool?
|
|
1479
|
+
}?,
|
|
1480
|
+
aws_billing_x402: {
|
|
1481
|
+
version: ::String,
|
|
1482
|
+
payload: {
|
|
1483
|
+
},
|
|
1484
|
+
options: {
|
|
1485
|
+
dpop_jwk: {
|
|
1486
|
+
kty: ("EC"),
|
|
1487
|
+
crv: ("P-256" | "P-384" | "P-521"),
|
|
1488
|
+
x: ::String,
|
|
1489
|
+
y: ::String
|
|
1490
|
+
}?
|
|
1491
|
+
}?
|
|
1479
1492
|
}?
|
|
1480
1493
|
},
|
|
1481
1494
|
?client_token: ::String
|
data/sig/types.rbs
CHANGED
|
@@ -172,6 +172,24 @@ module Aws::BedrockAgentCore
|
|
|
172
172
|
SENSITIVE: []
|
|
173
173
|
end
|
|
174
174
|
|
|
175
|
+
class AwsBillingPaymentOptions
|
|
176
|
+
attr_accessor dpop_jwk: Types::DpopJwk
|
|
177
|
+
SENSITIVE: []
|
|
178
|
+
end
|
|
179
|
+
|
|
180
|
+
class AwsBillingX402PaymentInput
|
|
181
|
+
attr_accessor version: ::String
|
|
182
|
+
attr_accessor payload: untyped
|
|
183
|
+
attr_accessor options: Types::AwsBillingPaymentOptions
|
|
184
|
+
SENSITIVE: [:payload]
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
class AwsBillingX402PaymentOutput
|
|
188
|
+
attr_accessor version: ::String
|
|
189
|
+
attr_accessor payment_token: ::String
|
|
190
|
+
SENSITIVE: [:payment_token]
|
|
191
|
+
end
|
|
192
|
+
|
|
175
193
|
class BasicAuth
|
|
176
194
|
attr_accessor secret_arn: ::String
|
|
177
195
|
SENSITIVE: []
|
|
@@ -831,6 +849,14 @@ module Aws::BedrockAgentCore
|
|
|
831
849
|
SENSITIVE: []
|
|
832
850
|
end
|
|
833
851
|
|
|
852
|
+
class DpopJwk
|
|
853
|
+
attr_accessor kty: ("EC")
|
|
854
|
+
attr_accessor crv: ("P-256" | "P-384" | "P-521")
|
|
855
|
+
attr_accessor x: ::String
|
|
856
|
+
attr_accessor y: ::String
|
|
857
|
+
SENSITIVE: []
|
|
858
|
+
end
|
|
859
|
+
|
|
834
860
|
class DuplicateIdException
|
|
835
861
|
attr_accessor message: ::String
|
|
836
862
|
SENSITIVE: []
|
|
@@ -2882,6 +2908,7 @@ module Aws::BedrockAgentCore
|
|
|
2882
2908
|
class PaymentInput
|
|
2883
2909
|
attr_accessor crypto_x402: Types::CryptoX402PaymentInput
|
|
2884
2910
|
attr_accessor mpp: Types::MppPaymentInput
|
|
2911
|
+
attr_accessor aws_billing_x402: Types::AwsBillingX402PaymentInput
|
|
2885
2912
|
attr_accessor unknown: untyped
|
|
2886
2913
|
SENSITIVE: []
|
|
2887
2914
|
|
|
@@ -2889,6 +2916,8 @@ module Aws::BedrockAgentCore
|
|
|
2889
2916
|
end
|
|
2890
2917
|
class Mpp < PaymentInput
|
|
2891
2918
|
end
|
|
2919
|
+
class AwsBillingX402 < PaymentInput
|
|
2920
|
+
end
|
|
2892
2921
|
class Unknown < PaymentInput
|
|
2893
2922
|
end
|
|
2894
2923
|
end
|
|
@@ -2932,6 +2961,7 @@ module Aws::BedrockAgentCore
|
|
|
2932
2961
|
class PaymentOutput
|
|
2933
2962
|
attr_accessor crypto_x402: Types::CryptoX402PaymentOutput
|
|
2934
2963
|
attr_accessor mpp: Types::MppPaymentOutput
|
|
2964
|
+
attr_accessor aws_billing_x402: Types::AwsBillingX402PaymentOutput
|
|
2935
2965
|
attr_accessor unknown: untyped
|
|
2936
2966
|
SENSITIVE: []
|
|
2937
2967
|
|
|
@@ -2939,6 +2969,8 @@ module Aws::BedrockAgentCore
|
|
|
2939
2969
|
end
|
|
2940
2970
|
class Mpp < PaymentOutput
|
|
2941
2971
|
end
|
|
2972
|
+
class AwsBillingX402 < PaymentOutput
|
|
2973
|
+
end
|
|
2942
2974
|
class Unknown < PaymentOutput
|
|
2943
2975
|
end
|
|
2944
2976
|
end
|
|
@@ -3005,7 +3037,7 @@ module Aws::BedrockAgentCore
|
|
|
3005
3037
|
attr_accessor payment_manager_arn: ::String
|
|
3006
3038
|
attr_accessor payment_session_id: ::String
|
|
3007
3039
|
attr_accessor payment_instrument_id: ::String
|
|
3008
|
-
attr_accessor payment_type: ("CRYPTO_X402" | "MPP")
|
|
3040
|
+
attr_accessor payment_type: ("CRYPTO_X402" | "MPP" | "AWS_BILLING_X402")
|
|
3009
3041
|
attr_accessor payment_input: Types::PaymentInput
|
|
3010
3042
|
attr_accessor client_token: ::String
|
|
3011
3043
|
SENSITIVE: []
|
|
@@ -3016,7 +3048,7 @@ module Aws::BedrockAgentCore
|
|
|
3016
3048
|
attr_accessor payment_manager_arn: ::String
|
|
3017
3049
|
attr_accessor payment_session_id: ::String
|
|
3018
3050
|
attr_accessor payment_instrument_id: ::String
|
|
3019
|
-
attr_accessor payment_type: ("CRYPTO_X402" | "MPP")
|
|
3051
|
+
attr_accessor payment_type: ("CRYPTO_X402" | "MPP" | "AWS_BILLING_X402")
|
|
3020
3052
|
attr_accessor status: ("PROOF_GENERATED")
|
|
3021
3053
|
attr_accessor payment_output: Types::PaymentOutput
|
|
3022
3054
|
attr_accessor created_at: ::Time
|