aws-sdk-bedrockagentcore 1.47.0 → 1.48.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 +16 -7
- data/lib/aws-sdk-bedrockagentcore/client_api.rb +38 -0
- data/lib/aws-sdk-bedrockagentcore/errors.rb +26 -0
- data/lib/aws-sdk-bedrockagentcore/types.rb +128 -1
- data/lib/aws-sdk-bedrockagentcore.rb +1 -1
- data/sig/client.rbs +10 -4
- data/sig/errors.rbs +5 -0
- data/sig/types.rbs +33 -5
- 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: 7530bc9569d34f20c7a600e475b548e2c8a47562311db483977d04f663e94e32
|
|
4
|
+
data.tar.gz: 52d55b219088f69f1e412503d5841ceae88cf57900b34efa2f9afeee57e4d066
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a72b4dafda37e091f4ac3b3395c3cd6409f591ffc8eb858c9dd871f965007f972425c92e84f24b4baabbb6eddb2b01a5233b0e708559824bfcf6324c07138e5c
|
|
7
|
+
data.tar.gz: 427f60338cd64f67c6dbe6d49427d263d1f8d9dfe514eb17d0fac89178b531446a4709f4625e28a87540ff050a8fa3990c56030e7f81475f2b2f3bdf7dbf22e6
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.48.0 (2026-08-14)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Add support for the Machine Payments Protocol (MPP) and x402 upto scheme payments protocol in Amazon Bedrock AgentCore Payments. Customers can now pay for MPP-gated resources and also pay services which requires upto scheme in x402
|
|
8
|
+
|
|
4
9
|
1.47.0 (2026-08-11)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.48.0
|
|
@@ -1064,7 +1064,7 @@ module Aws::BedrockAgentCore
|
|
|
1064
1064
|
# resp.payment_instrument.payment_instrument_details.embedded_crypto_wallet.wallet_address #=> String
|
|
1065
1065
|
# resp.payment_instrument.payment_instrument_details.embedded_crypto_wallet.redirect_url #=> String
|
|
1066
1066
|
# resp.payment_instrument.created_at #=> Time
|
|
1067
|
-
# resp.payment_instrument.status #=> String, one of "INITIATED", "ACTIVE", "FAILED", "DELETED"
|
|
1067
|
+
# resp.payment_instrument.status #=> String, one of "INITIATED", "ACTIVE", "FAILED", "DELETED", "BLOCKED"
|
|
1068
1068
|
# resp.payment_instrument.updated_at #=> Time
|
|
1069
1069
|
#
|
|
1070
1070
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/CreatePaymentInstrument AWS API Documentation
|
|
@@ -1364,7 +1364,7 @@ module Aws::BedrockAgentCore
|
|
|
1364
1364
|
#
|
|
1365
1365
|
# @example Response structure
|
|
1366
1366
|
#
|
|
1367
|
-
# resp.status #=> String, one of "INITIATED", "ACTIVE", "FAILED", "DELETED"
|
|
1367
|
+
# resp.status #=> String, one of "INITIATED", "ACTIVE", "FAILED", "DELETED", "BLOCKED"
|
|
1368
1368
|
#
|
|
1369
1369
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/DeletePaymentInstrument AWS API Documentation
|
|
1370
1370
|
#
|
|
@@ -2156,7 +2156,7 @@ module Aws::BedrockAgentCore
|
|
|
2156
2156
|
# resp.payment_instrument.payment_instrument_details.embedded_crypto_wallet.wallet_address #=> String
|
|
2157
2157
|
# resp.payment_instrument.payment_instrument_details.embedded_crypto_wallet.redirect_url #=> String
|
|
2158
2158
|
# resp.payment_instrument.created_at #=> Time
|
|
2159
|
-
# resp.payment_instrument.status #=> String, one of "INITIATED", "ACTIVE", "FAILED", "DELETED"
|
|
2159
|
+
# resp.payment_instrument.status #=> String, one of "INITIATED", "ACTIVE", "FAILED", "DELETED", "BLOCKED"
|
|
2160
2160
|
# resp.payment_instrument.updated_at #=> Time
|
|
2161
2161
|
#
|
|
2162
2162
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/GetPaymentInstrument AWS API Documentation
|
|
@@ -4690,7 +4690,7 @@ module Aws::BedrockAgentCore
|
|
|
4690
4690
|
# resp.payment_instruments[0].payment_connector_id #=> String
|
|
4691
4691
|
# resp.payment_instruments[0].user_id #=> String
|
|
4692
4692
|
# resp.payment_instruments[0].payment_instrument_type #=> String, one of "EMBEDDED_CRYPTO_WALLET"
|
|
4693
|
-
# resp.payment_instruments[0].status #=> String, one of "INITIATED", "ACTIVE", "FAILED", "DELETED"
|
|
4693
|
+
# resp.payment_instruments[0].status #=> String, one of "INITIATED", "ACTIVE", "FAILED", "DELETED", "BLOCKED"
|
|
4694
4694
|
# resp.payment_instruments[0].created_at #=> Time
|
|
4695
4695
|
# resp.payment_instruments[0].updated_at #=> Time
|
|
4696
4696
|
# resp.next_token #=> String
|
|
@@ -4929,12 +4929,18 @@ module Aws::BedrockAgentCore
|
|
|
4929
4929
|
# payment_manager_arn: "PaymentManagerArn", # required
|
|
4930
4930
|
# payment_session_id: "PaymentSessionId", # required
|
|
4931
4931
|
# payment_instrument_id: "PaymentInstrumentId", # required
|
|
4932
|
-
# payment_type: "CRYPTO_X402", # required, accepts CRYPTO_X402
|
|
4932
|
+
# payment_type: "CRYPTO_X402", # required, accepts CRYPTO_X402, MPP
|
|
4933
4933
|
# payment_input: { # required
|
|
4934
4934
|
# crypto_x402: {
|
|
4935
4935
|
# version: "String", # required
|
|
4936
4936
|
# payload: { # required
|
|
4937
4937
|
# },
|
|
4938
|
+
# permit2_allowance_limit: "Permit2AllowanceLimit",
|
|
4939
|
+
# },
|
|
4940
|
+
# mpp: {
|
|
4941
|
+
# version: "Version", # required
|
|
4942
|
+
# www_authenticate_headers: ["WwwAuthenticateHeader"], # required
|
|
4943
|
+
# buyer_pays_gas_fees: false,
|
|
4938
4944
|
# },
|
|
4939
4945
|
# },
|
|
4940
4946
|
# client_token: "ClientToken",
|
|
@@ -4946,9 +4952,12 @@ module Aws::BedrockAgentCore
|
|
|
4946
4952
|
# resp.payment_manager_arn #=> String
|
|
4947
4953
|
# resp.payment_session_id #=> String
|
|
4948
4954
|
# resp.payment_instrument_id #=> String
|
|
4949
|
-
# resp.payment_type #=> String, one of "CRYPTO_X402"
|
|
4955
|
+
# resp.payment_type #=> String, one of "CRYPTO_X402", "MPP"
|
|
4950
4956
|
# resp.status #=> String, one of "PROOF_GENERATED"
|
|
4951
4957
|
# resp.payment_output.crypto_x402.version #=> String
|
|
4958
|
+
# resp.payment_output.mpp.version #=> String
|
|
4959
|
+
# resp.payment_output.mpp.selected_payment_id #=> String
|
|
4960
|
+
# resp.payment_output.mpp.payment_credential #=> String
|
|
4952
4961
|
# resp.created_at #=> Time
|
|
4953
4962
|
# resp.updated_at #=> Time
|
|
4954
4963
|
#
|
|
@@ -6406,7 +6415,7 @@ module Aws::BedrockAgentCore
|
|
|
6406
6415
|
tracer: tracer
|
|
6407
6416
|
)
|
|
6408
6417
|
context[:gem_name] = 'aws-sdk-bedrockagentcore'
|
|
6409
|
-
context[:gem_version] = '1.
|
|
6418
|
+
context[:gem_version] = '1.48.0'
|
|
6410
6419
|
Seahorse::Client::Request.new(handlers, context)
|
|
6411
6420
|
end
|
|
6412
6421
|
|
|
@@ -520,6 +520,10 @@ module Aws::BedrockAgentCore
|
|
|
520
520
|
MouseScrollArgumentsDeltaXInteger = Shapes::IntegerShape.new(name: 'MouseScrollArgumentsDeltaXInteger')
|
|
521
521
|
MouseScrollArgumentsDeltaYInteger = Shapes::IntegerShape.new(name: 'MouseScrollArgumentsDeltaYInteger')
|
|
522
522
|
MouseScrollResult = Shapes::StructureShape.new(name: 'MouseScrollResult')
|
|
523
|
+
MppPaymentCredential = Shapes::StringShape.new(name: 'MppPaymentCredential')
|
|
524
|
+
MppPaymentInput = Shapes::StructureShape.new(name: 'MppPaymentInput')
|
|
525
|
+
MppPaymentOutput = Shapes::StructureShape.new(name: 'MppPaymentOutput')
|
|
526
|
+
MppPaymentOutputSelectedPaymentIdString = Shapes::StringShape.new(name: 'MppPaymentOutputSelectedPaymentIdString')
|
|
523
527
|
Name = Shapes::StringShape.new(name: 'Name')
|
|
524
528
|
Namespace = Shapes::StringShape.new(name: 'Namespace')
|
|
525
529
|
NamespacesList = Shapes::ListShape.new(name: 'NamespacesList')
|
|
@@ -575,6 +579,7 @@ module Aws::BedrockAgentCore
|
|
|
575
579
|
PaymentType = Shapes::StringShape.new(name: 'PaymentType')
|
|
576
580
|
PerVariantOnlineEvaluationConfig = Shapes::StructureShape.new(name: 'PerVariantOnlineEvaluationConfig')
|
|
577
581
|
PerVariantOnlineEvaluationConfigList = Shapes::ListShape.new(name: 'PerVariantOnlineEvaluationConfigList')
|
|
582
|
+
Permit2AllowanceLimit = Shapes::StringShape.new(name: 'Permit2AllowanceLimit')
|
|
578
583
|
PhoneNumber = Shapes::StringShape.new(name: 'PhoneNumber')
|
|
579
584
|
ProcessPaymentId = Shapes::StringShape.new(name: 'ProcessPaymentId')
|
|
580
585
|
ProcessPaymentRequest = Shapes::StructureShape.new(name: 'ProcessPaymentRequest')
|
|
@@ -728,6 +733,9 @@ module Aws::BedrockAgentCore
|
|
|
728
733
|
StripePrivyRequestPathType = Shapes::StringShape.new(name: 'StripePrivyRequestPathType')
|
|
729
734
|
StripePrivyTokenRequestInput = Shapes::StructureShape.new(name: 'StripePrivyTokenRequestInput')
|
|
730
735
|
StripePrivyTokenResponseOutput = Shapes::StructureShape.new(name: 'StripePrivyTokenResponseOutput')
|
|
736
|
+
SubscriptionRequiredException = Shapes::StructureShape.new(name: 'SubscriptionRequiredException')
|
|
737
|
+
SubscriptionRequiredExceptionProductNameString = Shapes::StringShape.new(name: 'SubscriptionRequiredExceptionProductNameString')
|
|
738
|
+
SubscriptionRequiredExceptionSubscriptionUrlString = Shapes::StringShape.new(name: 'SubscriptionRequiredExceptionSubscriptionUrlString')
|
|
731
739
|
SyntheticTimestamp_date_time = Shapes::TimestampShape.new(name: 'SyntheticTimestamp_date_time', timestampFormat: "iso8601")
|
|
732
740
|
SystemPromptConfig = Shapes::UnionShape.new(name: 'SystemPromptConfig')
|
|
733
741
|
SystemPromptConfigurationBundle = Shapes::StructureShape.new(name: 'SystemPromptConfigurationBundle')
|
|
@@ -795,11 +803,14 @@ module Aws::BedrockAgentCore
|
|
|
795
803
|
VariantResult = Shapes::StructureShape.new(name: 'VariantResult')
|
|
796
804
|
VariantResultList = Shapes::ListShape.new(name: 'VariantResultList')
|
|
797
805
|
VariantWeightInteger = Shapes::IntegerShape.new(name: 'VariantWeightInteger')
|
|
806
|
+
Version = Shapes::StringShape.new(name: 'Version')
|
|
798
807
|
ViewPort = Shapes::StructureShape.new(name: 'ViewPort')
|
|
799
808
|
ViewPortHeight = Shapes::IntegerShape.new(name: 'ViewPortHeight')
|
|
800
809
|
ViewPortWidth = Shapes::IntegerShape.new(name: 'ViewPortWidth')
|
|
801
810
|
WorkloadIdentityNameType = Shapes::StringShape.new(name: 'WorkloadIdentityNameType')
|
|
802
811
|
WorkloadIdentityTokenType = Shapes::StringShape.new(name: 'WorkloadIdentityTokenType')
|
|
812
|
+
WwwAuthenticateHeader = Shapes::StringShape.new(name: 'WwwAuthenticateHeader')
|
|
813
|
+
WwwAuthenticateHeaderList = Shapes::ListShape.new(name: 'WwwAuthenticateHeaderList')
|
|
803
814
|
|
|
804
815
|
A2aDescriptor.add_member(:agent_card, Shapes::ShapeRef.new(shape: AgentCardDefinition, required: true, location_name: "agentCard"))
|
|
805
816
|
A2aDescriptor.struct_class = Types::A2aDescriptor
|
|
@@ -1217,6 +1228,7 @@ module Aws::BedrockAgentCore
|
|
|
1217
1228
|
|
|
1218
1229
|
CryptoX402PaymentInput.add_member(:version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "version"))
|
|
1219
1230
|
CryptoX402PaymentInput.add_member(:payload, Shapes::ShapeRef.new(shape: PaymentDocument, required: true, location_name: "payload"))
|
|
1231
|
+
CryptoX402PaymentInput.add_member(:permit2_allowance_limit, Shapes::ShapeRef.new(shape: Permit2AllowanceLimit, location_name: "permit2AllowanceLimit"))
|
|
1220
1232
|
CryptoX402PaymentInput.struct_class = Types::CryptoX402PaymentInput
|
|
1221
1233
|
|
|
1222
1234
|
CryptoX402PaymentOutput.add_member(:version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "version"))
|
|
@@ -2563,6 +2575,16 @@ module Aws::BedrockAgentCore
|
|
|
2563
2575
|
MouseScrollResult.add_member(:error, Shapes::ShapeRef.new(shape: String, location_name: "error"))
|
|
2564
2576
|
MouseScrollResult.struct_class = Types::MouseScrollResult
|
|
2565
2577
|
|
|
2578
|
+
MppPaymentInput.add_member(:version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "version"))
|
|
2579
|
+
MppPaymentInput.add_member(:www_authenticate_headers, Shapes::ShapeRef.new(shape: WwwAuthenticateHeaderList, required: true, location_name: "wwwAuthenticateHeaders"))
|
|
2580
|
+
MppPaymentInput.add_member(:buyer_pays_gas_fees, Shapes::ShapeRef.new(shape: Boolean, location_name: "buyerPaysGasFees"))
|
|
2581
|
+
MppPaymentInput.struct_class = Types::MppPaymentInput
|
|
2582
|
+
|
|
2583
|
+
MppPaymentOutput.add_member(:version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "version"))
|
|
2584
|
+
MppPaymentOutput.add_member(:selected_payment_id, Shapes::ShapeRef.new(shape: MppPaymentOutputSelectedPaymentIdString, required: true, location_name: "selectedPaymentId"))
|
|
2585
|
+
MppPaymentOutput.add_member(:payment_credential, Shapes::ShapeRef.new(shape: MppPaymentCredential, required: true, location_name: "paymentCredential"))
|
|
2586
|
+
MppPaymentOutput.struct_class = Types::MppPaymentOutput
|
|
2587
|
+
|
|
2566
2588
|
NamespacesList.member = Shapes::ShapeRef.new(shape: Namespace)
|
|
2567
2589
|
|
|
2568
2590
|
OAuth2Authentication.add_member(:sub, Shapes::ShapeRef.new(shape: OAuth2AuthenticationSubString, required: true, location_name: "sub"))
|
|
@@ -2609,8 +2631,10 @@ module Aws::BedrockAgentCore
|
|
|
2609
2631
|
PayloadTypeList.member = Shapes::ShapeRef.new(shape: PayloadType)
|
|
2610
2632
|
|
|
2611
2633
|
PaymentInput.add_member(:crypto_x402, Shapes::ShapeRef.new(shape: CryptoX402PaymentInput, location_name: "cryptoX402"))
|
|
2634
|
+
PaymentInput.add_member(:mpp, Shapes::ShapeRef.new(shape: MppPaymentInput, location_name: "mpp"))
|
|
2612
2635
|
PaymentInput.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
2613
2636
|
PaymentInput.add_member_subclass(:crypto_x402, Types::PaymentInput::CryptoX402)
|
|
2637
|
+
PaymentInput.add_member_subclass(:mpp, Types::PaymentInput::Mpp)
|
|
2614
2638
|
PaymentInput.add_member_subclass(:unknown, Types::PaymentInput::Unknown)
|
|
2615
2639
|
PaymentInput.struct_class = Types::PaymentInput
|
|
2616
2640
|
|
|
@@ -2644,8 +2668,10 @@ module Aws::BedrockAgentCore
|
|
|
2644
2668
|
PaymentInstrumentSummaryList.member = Shapes::ShapeRef.new(shape: PaymentInstrumentSummary)
|
|
2645
2669
|
|
|
2646
2670
|
PaymentOutput.add_member(:crypto_x402, Shapes::ShapeRef.new(shape: CryptoX402PaymentOutput, location_name: "cryptoX402"))
|
|
2671
|
+
PaymentOutput.add_member(:mpp, Shapes::ShapeRef.new(shape: MppPaymentOutput, location_name: "mpp"))
|
|
2647
2672
|
PaymentOutput.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
2648
2673
|
PaymentOutput.add_member_subclass(:crypto_x402, Types::PaymentOutput::CryptoX402)
|
|
2674
|
+
PaymentOutput.add_member_subclass(:mpp, Types::PaymentOutput::Mpp)
|
|
2649
2675
|
PaymentOutput.add_member_subclass(:unknown, Types::PaymentOutput::Unknown)
|
|
2650
2676
|
PaymentOutput.struct_class = Types::PaymentOutput
|
|
2651
2677
|
|
|
@@ -3112,6 +3138,11 @@ module Aws::BedrockAgentCore
|
|
|
3112
3138
|
StripePrivyTokenResponseOutput.add_member(:basic_auth_token, Shapes::ShapeRef.new(shape: StripePrivyBasicAuthTokenType, required: true, location_name: "basicAuthToken"))
|
|
3113
3139
|
StripePrivyTokenResponseOutput.struct_class = Types::StripePrivyTokenResponseOutput
|
|
3114
3140
|
|
|
3141
|
+
SubscriptionRequiredException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
3142
|
+
SubscriptionRequiredException.add_member(:subscription_url, Shapes::ShapeRef.new(shape: SubscriptionRequiredExceptionSubscriptionUrlString, location_name: "subscriptionUrl"))
|
|
3143
|
+
SubscriptionRequiredException.add_member(:product_name, Shapes::ShapeRef.new(shape: SubscriptionRequiredExceptionProductNameString, location_name: "productName"))
|
|
3144
|
+
SubscriptionRequiredException.struct_class = Types::SubscriptionRequiredException
|
|
3145
|
+
|
|
3115
3146
|
SystemPromptConfig.add_member(:text, Shapes::ShapeRef.new(shape: SystemPromptText, location_name: "text"))
|
|
3116
3147
|
SystemPromptConfig.add_member(:configuration_bundle, Shapes::ShapeRef.new(shape: SystemPromptConfigurationBundle, location_name: "configurationBundle"))
|
|
3117
3148
|
SystemPromptConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
@@ -3345,6 +3376,8 @@ module Aws::BedrockAgentCore
|
|
|
3345
3376
|
ViewPort.add_member(:height, Shapes::ShapeRef.new(shape: ViewPortHeight, required: true, location_name: "height"))
|
|
3346
3377
|
ViewPort.struct_class = Types::ViewPort
|
|
3347
3378
|
|
|
3379
|
+
WwwAuthenticateHeaderList.member = Shapes::ShapeRef.new(shape: WwwAuthenticateHeader)
|
|
3380
|
+
|
|
3348
3381
|
|
|
3349
3382
|
# @api private
|
|
3350
3383
|
API = Seahorse::Model::Api.new.tap do |api|
|
|
@@ -3462,7 +3495,9 @@ module Aws::BedrockAgentCore
|
|
|
3462
3495
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
3463
3496
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
3464
3497
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
3498
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
3465
3499
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
3500
|
+
o.errors << Shapes::ShapeRef.new(shape: SubscriptionRequiredException)
|
|
3466
3501
|
end)
|
|
3467
3502
|
|
|
3468
3503
|
api.add_operation(:create_payment_session, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -3477,6 +3512,7 @@ module Aws::BedrockAgentCore
|
|
|
3477
3512
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
3478
3513
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
3479
3514
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
3515
|
+
o.errors << Shapes::ShapeRef.new(shape: SubscriptionRequiredException)
|
|
3480
3516
|
end)
|
|
3481
3517
|
|
|
3482
3518
|
api.add_operation(:delete_ab_test, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -4153,8 +4189,10 @@ module Aws::BedrockAgentCore
|
|
|
4153
4189
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
4154
4190
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
4155
4191
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
4192
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
4156
4193
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
4157
4194
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
4195
|
+
o.errors << Shapes::ShapeRef.new(shape: SubscriptionRequiredException)
|
|
4158
4196
|
end)
|
|
4159
4197
|
|
|
4160
4198
|
api.add_operation(:retrieve_memory_records, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -37,6 +37,7 @@ module Aws::BedrockAgentCore
|
|
|
37
37
|
# * {RuntimeClientError}
|
|
38
38
|
# * {ServiceException}
|
|
39
39
|
# * {ServiceQuotaExceededException}
|
|
40
|
+
# * {SubscriptionRequiredException}
|
|
40
41
|
# * {ThrottledException}
|
|
41
42
|
# * {ThrottlingException}
|
|
42
43
|
# * {UnauthorizedException}
|
|
@@ -202,6 +203,31 @@ module Aws::BedrockAgentCore
|
|
|
202
203
|
end
|
|
203
204
|
end
|
|
204
205
|
|
|
206
|
+
class SubscriptionRequiredException < ServiceError
|
|
207
|
+
|
|
208
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
209
|
+
# @param [String] message
|
|
210
|
+
# @param [Aws::BedrockAgentCore::Types::SubscriptionRequiredException] data
|
|
211
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
212
|
+
super(context, message, data)
|
|
213
|
+
end
|
|
214
|
+
|
|
215
|
+
# @return [String]
|
|
216
|
+
def message
|
|
217
|
+
@message || @data[:message]
|
|
218
|
+
end
|
|
219
|
+
|
|
220
|
+
# @return [String]
|
|
221
|
+
def subscription_url
|
|
222
|
+
@data[:subscription_url]
|
|
223
|
+
end
|
|
224
|
+
|
|
225
|
+
# @return [String]
|
|
226
|
+
def product_name
|
|
227
|
+
@data[:product_name]
|
|
228
|
+
end
|
|
229
|
+
end
|
|
230
|
+
|
|
205
231
|
class ThrottledException < ServiceError
|
|
206
232
|
|
|
207
233
|
# @param [Seahorse::Client::RequestContext] context
|
|
@@ -1837,11 +1837,27 @@ module Aws::BedrockAgentCore
|
|
|
1837
1837
|
# The X402 payment payload.
|
|
1838
1838
|
# @return [Hash,Array,String,Numeric,Boolean]
|
|
1839
1839
|
#
|
|
1840
|
+
# @!attribute [rw] permit2_allowance_limit
|
|
1841
|
+
# The maximum on-chain Permit2 allowance to grant before signing the
|
|
1842
|
+
# payment authorization, in the asset's smallest denomination. This
|
|
1843
|
+
# field is valid only for the `upto` (metered) scheme; supplying it
|
|
1844
|
+
# for the `exact` scheme returns a validation error.
|
|
1845
|
+
#
|
|
1846
|
+
# When set, the service approves an ERC-20 allowance for this amount
|
|
1847
|
+
# before processing the payment. The approval sets, rather than adds
|
|
1848
|
+
# to, the wallet's allowance. Set this field only when the wallet
|
|
1849
|
+
# needs approving, for example on its first `upto` payment, to avoid a
|
|
1850
|
+
# redundant on-chain transaction. Omit the field to skip allowance
|
|
1851
|
+
# handling. This is the default, and the only behavior for the `exact`
|
|
1852
|
+
# scheme.
|
|
1853
|
+
# @return [String]
|
|
1854
|
+
#
|
|
1840
1855
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/CryptoX402PaymentInput AWS API Documentation
|
|
1841
1856
|
#
|
|
1842
1857
|
class CryptoX402PaymentInput < Struct.new(
|
|
1843
1858
|
:version,
|
|
1844
|
-
:payload
|
|
1859
|
+
:payload,
|
|
1860
|
+
:permit2_allowance_limit)
|
|
1845
1861
|
SENSITIVE = [:payload]
|
|
1846
1862
|
include Aws::Structure
|
|
1847
1863
|
end
|
|
@@ -7656,6 +7672,75 @@ module Aws::BedrockAgentCore
|
|
|
7656
7672
|
include Aws::Structure
|
|
7657
7673
|
end
|
|
7658
7674
|
|
|
7675
|
+
# Contains the payment challenge from a 402 Payment Required response.
|
|
7676
|
+
# Forward the raw `WWW-Authenticate: Payment` header value verbatim. In
|
|
7677
|
+
# response, you receive a payment credential that satisfies the
|
|
7678
|
+
# challenge. Provide exactly one challenge per request.
|
|
7679
|
+
#
|
|
7680
|
+
# @!attribute [rw] version
|
|
7681
|
+
# The MPP protocol version, for example "1" or "2".
|
|
7682
|
+
# @return [String]
|
|
7683
|
+
#
|
|
7684
|
+
# @!attribute [rw] www_authenticate_headers
|
|
7685
|
+
# The raw `WWW-Authenticate: Payment` header value from the 402
|
|
7686
|
+
# response, passed verbatim. Provide exactly one entry. The service
|
|
7687
|
+
# uses this value to generate the payment credential.
|
|
7688
|
+
# @return [Array<String>]
|
|
7689
|
+
#
|
|
7690
|
+
# @!attribute [rw] buyer_pays_gas_fees
|
|
7691
|
+
# Authorizes the service to sign a payment whose blockchain network
|
|
7692
|
+
# (gas) fees are charged to your wallet, on top of the payment amount.
|
|
7693
|
+
#
|
|
7694
|
+
# The challenge indicates who sponsors the network fees. When the
|
|
7695
|
+
# challenge does not sponsor them, the service signs the payment only
|
|
7696
|
+
# if this field is `true`. Otherwise it returns a validation error, so
|
|
7697
|
+
# you can decide whether to pay the fees or obtain a challenge that
|
|
7698
|
+
# sponsors them.
|
|
7699
|
+
#
|
|
7700
|
+
# Optional. When omitted or `false`, you decline to pay network fees.
|
|
7701
|
+
# This field has no effect on challenges that already sponsor the
|
|
7702
|
+
# fees.
|
|
7703
|
+
# @return [Boolean]
|
|
7704
|
+
#
|
|
7705
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/MppPaymentInput AWS API Documentation
|
|
7706
|
+
#
|
|
7707
|
+
class MppPaymentInput < Struct.new(
|
|
7708
|
+
:version,
|
|
7709
|
+
:www_authenticate_headers,
|
|
7710
|
+
:buyer_pays_gas_fees)
|
|
7711
|
+
SENSITIVE = []
|
|
7712
|
+
include Aws::Structure
|
|
7713
|
+
end
|
|
7714
|
+
|
|
7715
|
+
# Contains the payment credential, ready to retry the request.
|
|
7716
|
+
#
|
|
7717
|
+
# @!attribute [rw] version
|
|
7718
|
+
# The MPP protocol version, for example "1" or "2".
|
|
7719
|
+
# @return [String]
|
|
7720
|
+
#
|
|
7721
|
+
# @!attribute [rw] selected_payment_id
|
|
7722
|
+
# The id of the challenge that was paid, echoed from the input
|
|
7723
|
+
# challenge so you can correlate the result without decoding the
|
|
7724
|
+
# credential.
|
|
7725
|
+
# @return [String]
|
|
7726
|
+
#
|
|
7727
|
+
# @!attribute [rw] payment_credential
|
|
7728
|
+
# Ready-to-send value for the `Authorization` header, in the form
|
|
7729
|
+
# "Payment <base64url-token>". Attach this header and retry
|
|
7730
|
+
# the original request. To inspect the full credential,
|
|
7731
|
+
# base64url-decode the token.
|
|
7732
|
+
# @return [String]
|
|
7733
|
+
#
|
|
7734
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/MppPaymentOutput AWS API Documentation
|
|
7735
|
+
#
|
|
7736
|
+
class MppPaymentOutput < Struct.new(
|
|
7737
|
+
:version,
|
|
7738
|
+
:selected_payment_id,
|
|
7739
|
+
:payment_credential)
|
|
7740
|
+
SENSITIVE = [:payment_credential]
|
|
7741
|
+
include Aws::Structure
|
|
7742
|
+
end
|
|
7743
|
+
|
|
7659
7744
|
# OAuth2 authentication information for third-party providers.
|
|
7660
7745
|
#
|
|
7661
7746
|
# @!attribute [rw] sub
|
|
@@ -7832,16 +7917,25 @@ module Aws::BedrockAgentCore
|
|
|
7832
7917
|
# Input for a crypto X402 payment.
|
|
7833
7918
|
# @return [Types::CryptoX402PaymentInput]
|
|
7834
7919
|
#
|
|
7920
|
+
# @!attribute [rw] mpp
|
|
7921
|
+
# Contains the payment challenge from a 402 Payment Required response.
|
|
7922
|
+
# Forward the raw `WWW-Authenticate: Payment` header value verbatim.
|
|
7923
|
+
# In response, you receive a payment credential that satisfies the
|
|
7924
|
+
# challenge. Provide exactly one challenge per request.
|
|
7925
|
+
# @return [Types::MppPaymentInput]
|
|
7926
|
+
#
|
|
7835
7927
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/PaymentInput AWS API Documentation
|
|
7836
7928
|
#
|
|
7837
7929
|
class PaymentInput < Struct.new(
|
|
7838
7930
|
:crypto_x402,
|
|
7931
|
+
:mpp,
|
|
7839
7932
|
:unknown)
|
|
7840
7933
|
SENSITIVE = []
|
|
7841
7934
|
include Aws::Structure
|
|
7842
7935
|
include Aws::Structure::Union
|
|
7843
7936
|
|
|
7844
7937
|
class CryptoX402 < PaymentInput; end
|
|
7938
|
+
class Mpp < PaymentInput; end
|
|
7845
7939
|
class Unknown < PaymentInput; end
|
|
7846
7940
|
end
|
|
7847
7941
|
|
|
@@ -7979,16 +8073,22 @@ module Aws::BedrockAgentCore
|
|
|
7979
8073
|
# Output from a crypto X402 payment.
|
|
7980
8074
|
# @return [Types::CryptoX402PaymentOutput]
|
|
7981
8075
|
#
|
|
8076
|
+
# @!attribute [rw] mpp
|
|
8077
|
+
# Contains the payment credential, ready to retry the request.
|
|
8078
|
+
# @return [Types::MppPaymentOutput]
|
|
8079
|
+
#
|
|
7982
8080
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/PaymentOutput AWS API Documentation
|
|
7983
8081
|
#
|
|
7984
8082
|
class PaymentOutput < Struct.new(
|
|
7985
8083
|
:crypto_x402,
|
|
8084
|
+
:mpp,
|
|
7986
8085
|
:unknown)
|
|
7987
8086
|
SENSITIVE = []
|
|
7988
8087
|
include Aws::Structure
|
|
7989
8088
|
include Aws::Structure::Union
|
|
7990
8089
|
|
|
7991
8090
|
class CryptoX402 < PaymentOutput; end
|
|
8091
|
+
class Mpp < PaymentOutput; end
|
|
7992
8092
|
class Unknown < PaymentOutput; end
|
|
7993
8093
|
end
|
|
7994
8094
|
|
|
@@ -10120,6 +10220,33 @@ module Aws::BedrockAgentCore
|
|
|
10120
10220
|
include Aws::Structure
|
|
10121
10221
|
end
|
|
10122
10222
|
|
|
10223
|
+
# Returned when you attempt a wallet operation against a Coinbase
|
|
10224
|
+
# Marketplace connector whose account does not hold an active
|
|
10225
|
+
# Marketplace subscription and is not within the legacy exception
|
|
10226
|
+
# period. Subscribe to the Marketplace listing before you retry the
|
|
10227
|
+
# operation.
|
|
10228
|
+
#
|
|
10229
|
+
# @!attribute [rw] message
|
|
10230
|
+
# @return [String]
|
|
10231
|
+
#
|
|
10232
|
+
# @!attribute [rw] subscription_url
|
|
10233
|
+
# The URL to the Marketplace listing where you can subscribe.
|
|
10234
|
+
# @return [String]
|
|
10235
|
+
#
|
|
10236
|
+
# @!attribute [rw] product_name
|
|
10237
|
+
# The name of the product that requires a Marketplace subscription.
|
|
10238
|
+
# @return [String]
|
|
10239
|
+
#
|
|
10240
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/SubscriptionRequiredException AWS API Documentation
|
|
10241
|
+
#
|
|
10242
|
+
class SubscriptionRequiredException < Struct.new(
|
|
10243
|
+
:message,
|
|
10244
|
+
:subscription_url,
|
|
10245
|
+
:product_name)
|
|
10246
|
+
SENSITIVE = []
|
|
10247
|
+
include Aws::Structure
|
|
10248
|
+
end
|
|
10249
|
+
|
|
10123
10250
|
# The system prompt input, either as inline text or from a configuration
|
|
10124
10251
|
# bundle.
|
|
10125
10252
|
#
|
data/sig/client.rbs
CHANGED
|
@@ -388,7 +388,7 @@ module Aws
|
|
|
388
388
|
|
|
389
389
|
interface _DeletePaymentInstrumentResponseSuccess
|
|
390
390
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeletePaymentInstrumentResponse]
|
|
391
|
-
def status: () -> ("INITIATED" | "ACTIVE" | "FAILED" | "DELETED")
|
|
391
|
+
def status: () -> ("INITIATED" | "ACTIVE" | "FAILED" | "DELETED" | "BLOCKED")
|
|
392
392
|
end
|
|
393
393
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#delete_payment_instrument-instance_method
|
|
394
394
|
def delete_payment_instrument: (
|
|
@@ -1271,7 +1271,7 @@ module Aws
|
|
|
1271
1271
|
def payment_manager_arn: () -> ::String
|
|
1272
1272
|
def payment_session_id: () -> ::String
|
|
1273
1273
|
def payment_instrument_id: () -> ::String
|
|
1274
|
-
def payment_type: () -> ("CRYPTO_X402")
|
|
1274
|
+
def payment_type: () -> ("CRYPTO_X402" | "MPP")
|
|
1275
1275
|
def status: () -> ("PROOF_GENERATED")
|
|
1276
1276
|
def payment_output: () -> Types::PaymentOutput
|
|
1277
1277
|
def created_at: () -> ::Time
|
|
@@ -1284,12 +1284,18 @@ module Aws
|
|
|
1284
1284
|
payment_manager_arn: ::String,
|
|
1285
1285
|
payment_session_id: ::String,
|
|
1286
1286
|
payment_instrument_id: ::String,
|
|
1287
|
-
payment_type: ("CRYPTO_X402"),
|
|
1287
|
+
payment_type: ("CRYPTO_X402" | "MPP"),
|
|
1288
1288
|
payment_input: {
|
|
1289
1289
|
crypto_x402: {
|
|
1290
1290
|
version: ::String,
|
|
1291
1291
|
payload: {
|
|
1292
|
-
}
|
|
1292
|
+
},
|
|
1293
|
+
permit2_allowance_limit: ::String?
|
|
1294
|
+
}?,
|
|
1295
|
+
mpp: {
|
|
1296
|
+
version: ::String,
|
|
1297
|
+
www_authenticate_headers: Array[::String],
|
|
1298
|
+
buyer_pays_gas_fees: bool?
|
|
1293
1299
|
}?
|
|
1294
1300
|
},
|
|
1295
1301
|
?client_token: ::String
|
data/sig/errors.rbs
CHANGED
|
@@ -41,6 +41,11 @@ module Aws
|
|
|
41
41
|
class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
|
|
42
42
|
def message: () -> ::String
|
|
43
43
|
end
|
|
44
|
+
class SubscriptionRequiredException < ::Aws::Errors::ServiceError
|
|
45
|
+
def message: () -> ::String
|
|
46
|
+
def subscription_url: () -> ::String
|
|
47
|
+
def product_name: () -> ::String
|
|
48
|
+
end
|
|
44
49
|
class ThrottledException < ::Aws::Errors::ServiceError
|
|
45
50
|
def message: () -> ::String
|
|
46
51
|
end
|
data/sig/types.rbs
CHANGED
|
@@ -553,6 +553,7 @@ module Aws::BedrockAgentCore
|
|
|
553
553
|
class CryptoX402PaymentInput
|
|
554
554
|
attr_accessor version: ::String
|
|
555
555
|
attr_accessor payload: untyped
|
|
556
|
+
attr_accessor permit2_allowance_limit: ::String
|
|
556
557
|
SENSITIVE: [:payload]
|
|
557
558
|
end
|
|
558
559
|
|
|
@@ -651,7 +652,7 @@ module Aws::BedrockAgentCore
|
|
|
651
652
|
end
|
|
652
653
|
|
|
653
654
|
class DeletePaymentInstrumentResponse
|
|
654
|
-
attr_accessor status: ("INITIATED" | "ACTIVE" | "FAILED" | "DELETED")
|
|
655
|
+
attr_accessor status: ("INITIATED" | "ACTIVE" | "FAILED" | "DELETED" | "BLOCKED")
|
|
655
656
|
SENSITIVE: []
|
|
656
657
|
end
|
|
657
658
|
|
|
@@ -2324,6 +2325,20 @@ module Aws::BedrockAgentCore
|
|
|
2324
2325
|
SENSITIVE: []
|
|
2325
2326
|
end
|
|
2326
2327
|
|
|
2328
|
+
class MppPaymentInput
|
|
2329
|
+
attr_accessor version: ::String
|
|
2330
|
+
attr_accessor www_authenticate_headers: ::Array[::String]
|
|
2331
|
+
attr_accessor buyer_pays_gas_fees: bool
|
|
2332
|
+
SENSITIVE: []
|
|
2333
|
+
end
|
|
2334
|
+
|
|
2335
|
+
class MppPaymentOutput
|
|
2336
|
+
attr_accessor version: ::String
|
|
2337
|
+
attr_accessor selected_payment_id: ::String
|
|
2338
|
+
attr_accessor payment_credential: ::String
|
|
2339
|
+
SENSITIVE: [:payment_credential]
|
|
2340
|
+
end
|
|
2341
|
+
|
|
2327
2342
|
class OAuth2Authentication
|
|
2328
2343
|
attr_accessor sub: ::String
|
|
2329
2344
|
attr_accessor email_address: ::String
|
|
@@ -2381,11 +2396,14 @@ module Aws::BedrockAgentCore
|
|
|
2381
2396
|
|
|
2382
2397
|
class PaymentInput
|
|
2383
2398
|
attr_accessor crypto_x402: Types::CryptoX402PaymentInput
|
|
2399
|
+
attr_accessor mpp: Types::MppPaymentInput
|
|
2384
2400
|
attr_accessor unknown: untyped
|
|
2385
2401
|
SENSITIVE: []
|
|
2386
2402
|
|
|
2387
2403
|
class CryptoX402 < PaymentInput
|
|
2388
2404
|
end
|
|
2405
|
+
class Mpp < PaymentInput
|
|
2406
|
+
end
|
|
2389
2407
|
class Unknown < PaymentInput
|
|
2390
2408
|
end
|
|
2391
2409
|
end
|
|
@@ -2398,7 +2416,7 @@ module Aws::BedrockAgentCore
|
|
|
2398
2416
|
attr_accessor payment_instrument_type: ("EMBEDDED_CRYPTO_WALLET")
|
|
2399
2417
|
attr_accessor payment_instrument_details: Types::PaymentInstrumentDetails
|
|
2400
2418
|
attr_accessor created_at: ::Time
|
|
2401
|
-
attr_accessor status: ("INITIATED" | "ACTIVE" | "FAILED" | "DELETED")
|
|
2419
|
+
attr_accessor status: ("INITIATED" | "ACTIVE" | "FAILED" | "DELETED" | "BLOCKED")
|
|
2402
2420
|
attr_accessor updated_at: ::Time
|
|
2403
2421
|
SENSITIVE: []
|
|
2404
2422
|
end
|
|
@@ -2420,7 +2438,7 @@ module Aws::BedrockAgentCore
|
|
|
2420
2438
|
attr_accessor payment_connector_id: ::String
|
|
2421
2439
|
attr_accessor user_id: ::String
|
|
2422
2440
|
attr_accessor payment_instrument_type: ("EMBEDDED_CRYPTO_WALLET")
|
|
2423
|
-
attr_accessor status: ("INITIATED" | "ACTIVE" | "FAILED" | "DELETED")
|
|
2441
|
+
attr_accessor status: ("INITIATED" | "ACTIVE" | "FAILED" | "DELETED" | "BLOCKED")
|
|
2424
2442
|
attr_accessor created_at: ::Time
|
|
2425
2443
|
attr_accessor updated_at: ::Time
|
|
2426
2444
|
SENSITIVE: []
|
|
@@ -2428,11 +2446,14 @@ module Aws::BedrockAgentCore
|
|
|
2428
2446
|
|
|
2429
2447
|
class PaymentOutput
|
|
2430
2448
|
attr_accessor crypto_x402: Types::CryptoX402PaymentOutput
|
|
2449
|
+
attr_accessor mpp: Types::MppPaymentOutput
|
|
2431
2450
|
attr_accessor unknown: untyped
|
|
2432
2451
|
SENSITIVE: []
|
|
2433
2452
|
|
|
2434
2453
|
class CryptoX402 < PaymentOutput
|
|
2435
2454
|
end
|
|
2455
|
+
class Mpp < PaymentOutput
|
|
2456
|
+
end
|
|
2436
2457
|
class Unknown < PaymentOutput
|
|
2437
2458
|
end
|
|
2438
2459
|
end
|
|
@@ -2499,7 +2520,7 @@ module Aws::BedrockAgentCore
|
|
|
2499
2520
|
attr_accessor payment_manager_arn: ::String
|
|
2500
2521
|
attr_accessor payment_session_id: ::String
|
|
2501
2522
|
attr_accessor payment_instrument_id: ::String
|
|
2502
|
-
attr_accessor payment_type: ("CRYPTO_X402")
|
|
2523
|
+
attr_accessor payment_type: ("CRYPTO_X402" | "MPP")
|
|
2503
2524
|
attr_accessor payment_input: Types::PaymentInput
|
|
2504
2525
|
attr_accessor client_token: ::String
|
|
2505
2526
|
SENSITIVE: []
|
|
@@ -2510,7 +2531,7 @@ module Aws::BedrockAgentCore
|
|
|
2510
2531
|
attr_accessor payment_manager_arn: ::String
|
|
2511
2532
|
attr_accessor payment_session_id: ::String
|
|
2512
2533
|
attr_accessor payment_instrument_id: ::String
|
|
2513
|
-
attr_accessor payment_type: ("CRYPTO_X402")
|
|
2534
|
+
attr_accessor payment_type: ("CRYPTO_X402" | "MPP")
|
|
2514
2535
|
attr_accessor status: ("PROOF_GENERATED")
|
|
2515
2536
|
attr_accessor payment_output: Types::PaymentOutput
|
|
2516
2537
|
attr_accessor created_at: ::Time
|
|
@@ -3034,6 +3055,13 @@ module Aws::BedrockAgentCore
|
|
|
3034
3055
|
SENSITIVE: [:authorization_signature, :basic_auth_token]
|
|
3035
3056
|
end
|
|
3036
3057
|
|
|
3058
|
+
class SubscriptionRequiredException
|
|
3059
|
+
attr_accessor message: ::String
|
|
3060
|
+
attr_accessor subscription_url: ::String
|
|
3061
|
+
attr_accessor product_name: ::String
|
|
3062
|
+
SENSITIVE: []
|
|
3063
|
+
end
|
|
3064
|
+
|
|
3037
3065
|
class SystemPromptConfig
|
|
3038
3066
|
attr_accessor text: ::String
|
|
3039
3067
|
attr_accessor configuration_bundle: Types::SystemPromptConfigurationBundle
|