aws-sdk-bedrockagentcore 1.46.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagentcore/client.rb +38 -7
- data/lib/aws-sdk-bedrockagentcore/client_api.rb +46 -0
- data/lib/aws-sdk-bedrockagentcore/errors.rb +26 -0
- data/lib/aws-sdk-bedrockagentcore/types.rb +165 -1
- data/lib/aws-sdk-bedrockagentcore.rb +1 -1
- data/sig/client.rbs +10 -4
- data/sig/errors.rbs +5 -0
- data/sig/params.rbs +5 -0
- data/sig/types.rbs +43 -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,16 @@
|
|
|
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
|
+
|
|
9
|
+
1.47.0 (2026-08-11)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Adding online eval arn as input for recommendation API
|
|
13
|
+
|
|
4
14
|
1.46.0 (2026-08-06)
|
|
5
15
|
------------------
|
|
6
16
|
|
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
|
|
@@ -2329,6 +2329,9 @@ module Aws::BedrockAgentCore
|
|
|
2329
2329
|
# resp.recommendation_config.system_prompt_recommendation_config.agent_traces.cloudwatch_logs.rule.filters[0].value.double_value #=> Float
|
|
2330
2330
|
# resp.recommendation_config.system_prompt_recommendation_config.agent_traces.cloudwatch_logs.rule.filters[0].value.boolean_value #=> Boolean
|
|
2331
2331
|
# resp.recommendation_config.system_prompt_recommendation_config.agent_traces.batch_evaluation.batch_evaluation_arn #=> String
|
|
2332
|
+
# resp.recommendation_config.system_prompt_recommendation_config.agent_traces.online_evaluation.online_evaluation_config_arn #=> String
|
|
2333
|
+
# resp.recommendation_config.system_prompt_recommendation_config.agent_traces.online_evaluation.start_time #=> Time
|
|
2334
|
+
# resp.recommendation_config.system_prompt_recommendation_config.agent_traces.online_evaluation.end_time #=> Time
|
|
2332
2335
|
# resp.recommendation_config.system_prompt_recommendation_config.evaluation_config.evaluators #=> Array
|
|
2333
2336
|
# resp.recommendation_config.system_prompt_recommendation_config.evaluation_config.evaluators[0].evaluator_arn #=> String
|
|
2334
2337
|
# resp.recommendation_config.tool_description_recommendation_config.tool_description.tool_description_text.tools #=> Array
|
|
@@ -2353,6 +2356,9 @@ module Aws::BedrockAgentCore
|
|
|
2353
2356
|
# resp.recommendation_config.tool_description_recommendation_config.agent_traces.cloudwatch_logs.rule.filters[0].value.double_value #=> Float
|
|
2354
2357
|
# resp.recommendation_config.tool_description_recommendation_config.agent_traces.cloudwatch_logs.rule.filters[0].value.boolean_value #=> Boolean
|
|
2355
2358
|
# resp.recommendation_config.tool_description_recommendation_config.agent_traces.batch_evaluation.batch_evaluation_arn #=> String
|
|
2359
|
+
# resp.recommendation_config.tool_description_recommendation_config.agent_traces.online_evaluation.online_evaluation_config_arn #=> String
|
|
2360
|
+
# resp.recommendation_config.tool_description_recommendation_config.agent_traces.online_evaluation.start_time #=> Time
|
|
2361
|
+
# resp.recommendation_config.tool_description_recommendation_config.agent_traces.online_evaluation.end_time #=> Time
|
|
2356
2362
|
# resp.status #=> String, one of "PENDING", "IN_PROGRESS", "COMPLETED", "FAILED", "DELETING"
|
|
2357
2363
|
# resp.created_at #=> Time
|
|
2358
2364
|
# resp.updated_at #=> Time
|
|
@@ -4684,7 +4690,7 @@ module Aws::BedrockAgentCore
|
|
|
4684
4690
|
# resp.payment_instruments[0].payment_connector_id #=> String
|
|
4685
4691
|
# resp.payment_instruments[0].user_id #=> String
|
|
4686
4692
|
# resp.payment_instruments[0].payment_instrument_type #=> String, one of "EMBEDDED_CRYPTO_WALLET"
|
|
4687
|
-
# 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"
|
|
4688
4694
|
# resp.payment_instruments[0].created_at #=> Time
|
|
4689
4695
|
# resp.payment_instruments[0].updated_at #=> Time
|
|
4690
4696
|
# resp.next_token #=> String
|
|
@@ -4923,12 +4929,18 @@ module Aws::BedrockAgentCore
|
|
|
4923
4929
|
# payment_manager_arn: "PaymentManagerArn", # required
|
|
4924
4930
|
# payment_session_id: "PaymentSessionId", # required
|
|
4925
4931
|
# payment_instrument_id: "PaymentInstrumentId", # required
|
|
4926
|
-
# payment_type: "CRYPTO_X402", # required, accepts CRYPTO_X402
|
|
4932
|
+
# payment_type: "CRYPTO_X402", # required, accepts CRYPTO_X402, MPP
|
|
4927
4933
|
# payment_input: { # required
|
|
4928
4934
|
# crypto_x402: {
|
|
4929
4935
|
# version: "String", # required
|
|
4930
4936
|
# payload: { # required
|
|
4931
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,
|
|
4932
4944
|
# },
|
|
4933
4945
|
# },
|
|
4934
4946
|
# client_token: "ClientToken",
|
|
@@ -4940,9 +4952,12 @@ module Aws::BedrockAgentCore
|
|
|
4940
4952
|
# resp.payment_manager_arn #=> String
|
|
4941
4953
|
# resp.payment_session_id #=> String
|
|
4942
4954
|
# resp.payment_instrument_id #=> String
|
|
4943
|
-
# resp.payment_type #=> String, one of "CRYPTO_X402"
|
|
4955
|
+
# resp.payment_type #=> String, one of "CRYPTO_X402", "MPP"
|
|
4944
4956
|
# resp.status #=> String, one of "PROOF_GENERATED"
|
|
4945
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
|
|
4946
4961
|
# resp.created_at #=> Time
|
|
4947
4962
|
# resp.updated_at #=> Time
|
|
4948
4963
|
#
|
|
@@ -5849,6 +5864,11 @@ module Aws::BedrockAgentCore
|
|
|
5849
5864
|
# batch_evaluation: {
|
|
5850
5865
|
# batch_evaluation_arn: "BatchEvaluationArn", # required
|
|
5851
5866
|
# },
|
|
5867
|
+
# online_evaluation: {
|
|
5868
|
+
# online_evaluation_config_arn: "OnlineEvaluationConfigArn", # required
|
|
5869
|
+
# start_time: Time.now, # required
|
|
5870
|
+
# end_time: Time.now, # required
|
|
5871
|
+
# },
|
|
5852
5872
|
# },
|
|
5853
5873
|
# evaluation_config: {
|
|
5854
5874
|
# evaluators: [ # required
|
|
@@ -5908,6 +5928,11 @@ module Aws::BedrockAgentCore
|
|
|
5908
5928
|
# batch_evaluation: {
|
|
5909
5929
|
# batch_evaluation_arn: "BatchEvaluationArn", # required
|
|
5910
5930
|
# },
|
|
5931
|
+
# online_evaluation: {
|
|
5932
|
+
# online_evaluation_config_arn: "OnlineEvaluationConfigArn", # required
|
|
5933
|
+
# start_time: Time.now, # required
|
|
5934
|
+
# end_time: Time.now, # required
|
|
5935
|
+
# },
|
|
5911
5936
|
# },
|
|
5912
5937
|
# },
|
|
5913
5938
|
# },
|
|
@@ -5943,6 +5968,9 @@ module Aws::BedrockAgentCore
|
|
|
5943
5968
|
# resp.recommendation_config.system_prompt_recommendation_config.agent_traces.cloudwatch_logs.rule.filters[0].value.double_value #=> Float
|
|
5944
5969
|
# resp.recommendation_config.system_prompt_recommendation_config.agent_traces.cloudwatch_logs.rule.filters[0].value.boolean_value #=> Boolean
|
|
5945
5970
|
# resp.recommendation_config.system_prompt_recommendation_config.agent_traces.batch_evaluation.batch_evaluation_arn #=> String
|
|
5971
|
+
# resp.recommendation_config.system_prompt_recommendation_config.agent_traces.online_evaluation.online_evaluation_config_arn #=> String
|
|
5972
|
+
# resp.recommendation_config.system_prompt_recommendation_config.agent_traces.online_evaluation.start_time #=> Time
|
|
5973
|
+
# resp.recommendation_config.system_prompt_recommendation_config.agent_traces.online_evaluation.end_time #=> Time
|
|
5946
5974
|
# resp.recommendation_config.system_prompt_recommendation_config.evaluation_config.evaluators #=> Array
|
|
5947
5975
|
# resp.recommendation_config.system_prompt_recommendation_config.evaluation_config.evaluators[0].evaluator_arn #=> String
|
|
5948
5976
|
# resp.recommendation_config.tool_description_recommendation_config.tool_description.tool_description_text.tools #=> Array
|
|
@@ -5967,6 +5995,9 @@ module Aws::BedrockAgentCore
|
|
|
5967
5995
|
# resp.recommendation_config.tool_description_recommendation_config.agent_traces.cloudwatch_logs.rule.filters[0].value.double_value #=> Float
|
|
5968
5996
|
# resp.recommendation_config.tool_description_recommendation_config.agent_traces.cloudwatch_logs.rule.filters[0].value.boolean_value #=> Boolean
|
|
5969
5997
|
# resp.recommendation_config.tool_description_recommendation_config.agent_traces.batch_evaluation.batch_evaluation_arn #=> String
|
|
5998
|
+
# resp.recommendation_config.tool_description_recommendation_config.agent_traces.online_evaluation.online_evaluation_config_arn #=> String
|
|
5999
|
+
# resp.recommendation_config.tool_description_recommendation_config.agent_traces.online_evaluation.start_time #=> Time
|
|
6000
|
+
# resp.recommendation_config.tool_description_recommendation_config.agent_traces.online_evaluation.end_time #=> Time
|
|
5970
6001
|
# resp.status #=> String, one of "PENDING", "IN_PROGRESS", "COMPLETED", "FAILED", "DELETING"
|
|
5971
6002
|
# resp.created_at #=> Time
|
|
5972
6003
|
# resp.updated_at #=> Time
|
|
@@ -6384,7 +6415,7 @@ module Aws::BedrockAgentCore
|
|
|
6384
6415
|
tracer: tracer
|
|
6385
6416
|
)
|
|
6386
6417
|
context[:gem_name] = 'aws-sdk-bedrockagentcore'
|
|
6387
|
-
context[:gem_version] = '1.
|
|
6418
|
+
context[:gem_version] = '1.48.0'
|
|
6388
6419
|
Seahorse::Client::Request.new(handlers, context)
|
|
6389
6420
|
end
|
|
6390
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')
|
|
@@ -541,6 +545,7 @@ module Aws::BedrockAgentCore
|
|
|
541
545
|
Oauth2FlowType = Shapes::StringShape.new(name: 'Oauth2FlowType')
|
|
542
546
|
OnlineEvaluationConfigArn = Shapes::StringShape.new(name: 'OnlineEvaluationConfigArn')
|
|
543
547
|
OnlineEvaluationConfigSource = Shapes::StructureShape.new(name: 'OnlineEvaluationConfigSource')
|
|
548
|
+
OnlineEvaluationTraceConfig = Shapes::StructureShape.new(name: 'OnlineEvaluationTraceConfig')
|
|
544
549
|
OperatorType = Shapes::StringShape.new(name: 'OperatorType')
|
|
545
550
|
OutputConfig = Shapes::UnionShape.new(name: 'OutputConfig')
|
|
546
551
|
PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
|
|
@@ -574,6 +579,7 @@ module Aws::BedrockAgentCore
|
|
|
574
579
|
PaymentType = Shapes::StringShape.new(name: 'PaymentType')
|
|
575
580
|
PerVariantOnlineEvaluationConfig = Shapes::StructureShape.new(name: 'PerVariantOnlineEvaluationConfig')
|
|
576
581
|
PerVariantOnlineEvaluationConfigList = Shapes::ListShape.new(name: 'PerVariantOnlineEvaluationConfigList')
|
|
582
|
+
Permit2AllowanceLimit = Shapes::StringShape.new(name: 'Permit2AllowanceLimit')
|
|
577
583
|
PhoneNumber = Shapes::StringShape.new(name: 'PhoneNumber')
|
|
578
584
|
ProcessPaymentId = Shapes::StringShape.new(name: 'ProcessPaymentId')
|
|
579
585
|
ProcessPaymentRequest = Shapes::StructureShape.new(name: 'ProcessPaymentRequest')
|
|
@@ -727,6 +733,9 @@ module Aws::BedrockAgentCore
|
|
|
727
733
|
StripePrivyRequestPathType = Shapes::StringShape.new(name: 'StripePrivyRequestPathType')
|
|
728
734
|
StripePrivyTokenRequestInput = Shapes::StructureShape.new(name: 'StripePrivyTokenRequestInput')
|
|
729
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')
|
|
730
739
|
SyntheticTimestamp_date_time = Shapes::TimestampShape.new(name: 'SyntheticTimestamp_date_time', timestampFormat: "iso8601")
|
|
731
740
|
SystemPromptConfig = Shapes::UnionShape.new(name: 'SystemPromptConfig')
|
|
732
741
|
SystemPromptConfigurationBundle = Shapes::StructureShape.new(name: 'SystemPromptConfigurationBundle')
|
|
@@ -794,11 +803,14 @@ module Aws::BedrockAgentCore
|
|
|
794
803
|
VariantResult = Shapes::StructureShape.new(name: 'VariantResult')
|
|
795
804
|
VariantResultList = Shapes::ListShape.new(name: 'VariantResultList')
|
|
796
805
|
VariantWeightInteger = Shapes::IntegerShape.new(name: 'VariantWeightInteger')
|
|
806
|
+
Version = Shapes::StringShape.new(name: 'Version')
|
|
797
807
|
ViewPort = Shapes::StructureShape.new(name: 'ViewPort')
|
|
798
808
|
ViewPortHeight = Shapes::IntegerShape.new(name: 'ViewPortHeight')
|
|
799
809
|
ViewPortWidth = Shapes::IntegerShape.new(name: 'ViewPortWidth')
|
|
800
810
|
WorkloadIdentityNameType = Shapes::StringShape.new(name: 'WorkloadIdentityNameType')
|
|
801
811
|
WorkloadIdentityTokenType = Shapes::StringShape.new(name: 'WorkloadIdentityTokenType')
|
|
812
|
+
WwwAuthenticateHeader = Shapes::StringShape.new(name: 'WwwAuthenticateHeader')
|
|
813
|
+
WwwAuthenticateHeaderList = Shapes::ListShape.new(name: 'WwwAuthenticateHeaderList')
|
|
802
814
|
|
|
803
815
|
A2aDescriptor.add_member(:agent_card, Shapes::ShapeRef.new(shape: AgentCardDefinition, required: true, location_name: "agentCard"))
|
|
804
816
|
A2aDescriptor.struct_class = Types::A2aDescriptor
|
|
@@ -856,10 +868,12 @@ module Aws::BedrockAgentCore
|
|
|
856
868
|
AgentTracesConfig.add_member(:session_spans, Shapes::ShapeRef.new(shape: Spans, location_name: "sessionSpans"))
|
|
857
869
|
AgentTracesConfig.add_member(:cloudwatch_logs, Shapes::ShapeRef.new(shape: CloudWatchLogsTraceConfig, location_name: "cloudwatchLogs"))
|
|
858
870
|
AgentTracesConfig.add_member(:batch_evaluation, Shapes::ShapeRef.new(shape: BatchEvaluationTraceConfig, location_name: "batchEvaluation"))
|
|
871
|
+
AgentTracesConfig.add_member(:online_evaluation, Shapes::ShapeRef.new(shape: OnlineEvaluationTraceConfig, location_name: "onlineEvaluation"))
|
|
859
872
|
AgentTracesConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
860
873
|
AgentTracesConfig.add_member_subclass(:session_spans, Types::AgentTracesConfig::SessionSpans)
|
|
861
874
|
AgentTracesConfig.add_member_subclass(:cloudwatch_logs, Types::AgentTracesConfig::CloudwatchLogs)
|
|
862
875
|
AgentTracesConfig.add_member_subclass(:batch_evaluation, Types::AgentTracesConfig::BatchEvaluation)
|
|
876
|
+
AgentTracesConfig.add_member_subclass(:online_evaluation, Types::AgentTracesConfig::OnlineEvaluation)
|
|
863
877
|
AgentTracesConfig.add_member_subclass(:unknown, Types::AgentTracesConfig::Unknown)
|
|
864
878
|
AgentTracesConfig.struct_class = Types::AgentTracesConfig
|
|
865
879
|
|
|
@@ -1214,6 +1228,7 @@ module Aws::BedrockAgentCore
|
|
|
1214
1228
|
|
|
1215
1229
|
CryptoX402PaymentInput.add_member(:version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "version"))
|
|
1216
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"))
|
|
1217
1232
|
CryptoX402PaymentInput.struct_class = Types::CryptoX402PaymentInput
|
|
1218
1233
|
|
|
1219
1234
|
CryptoX402PaymentOutput.add_member(:version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "version"))
|
|
@@ -2560,6 +2575,16 @@ module Aws::BedrockAgentCore
|
|
|
2560
2575
|
MouseScrollResult.add_member(:error, Shapes::ShapeRef.new(shape: String, location_name: "error"))
|
|
2561
2576
|
MouseScrollResult.struct_class = Types::MouseScrollResult
|
|
2562
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
|
+
|
|
2563
2588
|
NamespacesList.member = Shapes::ShapeRef.new(shape: Namespace)
|
|
2564
2589
|
|
|
2565
2590
|
OAuth2Authentication.add_member(:sub, Shapes::ShapeRef.new(shape: OAuth2AuthenticationSubString, required: true, location_name: "sub"))
|
|
@@ -2584,6 +2609,11 @@ module Aws::BedrockAgentCore
|
|
|
2584
2609
|
OnlineEvaluationConfigSource.add_member(:time_range, Shapes::ShapeRef.new(shape: SessionFilterConfig, location_name: "timeRange"))
|
|
2585
2610
|
OnlineEvaluationConfigSource.struct_class = Types::OnlineEvaluationConfigSource
|
|
2586
2611
|
|
|
2612
|
+
OnlineEvaluationTraceConfig.add_member(:online_evaluation_config_arn, Shapes::ShapeRef.new(shape: OnlineEvaluationConfigArn, required: true, location_name: "onlineEvaluationConfigArn"))
|
|
2613
|
+
OnlineEvaluationTraceConfig.add_member(:start_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "startTime"))
|
|
2614
|
+
OnlineEvaluationTraceConfig.add_member(:end_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "endTime"))
|
|
2615
|
+
OnlineEvaluationTraceConfig.struct_class = Types::OnlineEvaluationTraceConfig
|
|
2616
|
+
|
|
2587
2617
|
OutputConfig.add_member(:cloud_watch_config, Shapes::ShapeRef.new(shape: CloudWatchOutputConfig, location_name: "cloudWatchConfig"))
|
|
2588
2618
|
OutputConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
2589
2619
|
OutputConfig.add_member_subclass(:cloud_watch_config, Types::OutputConfig::CloudWatchConfig)
|
|
@@ -2601,8 +2631,10 @@ module Aws::BedrockAgentCore
|
|
|
2601
2631
|
PayloadTypeList.member = Shapes::ShapeRef.new(shape: PayloadType)
|
|
2602
2632
|
|
|
2603
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"))
|
|
2604
2635
|
PaymentInput.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
2605
2636
|
PaymentInput.add_member_subclass(:crypto_x402, Types::PaymentInput::CryptoX402)
|
|
2637
|
+
PaymentInput.add_member_subclass(:mpp, Types::PaymentInput::Mpp)
|
|
2606
2638
|
PaymentInput.add_member_subclass(:unknown, Types::PaymentInput::Unknown)
|
|
2607
2639
|
PaymentInput.struct_class = Types::PaymentInput
|
|
2608
2640
|
|
|
@@ -2636,8 +2668,10 @@ module Aws::BedrockAgentCore
|
|
|
2636
2668
|
PaymentInstrumentSummaryList.member = Shapes::ShapeRef.new(shape: PaymentInstrumentSummary)
|
|
2637
2669
|
|
|
2638
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"))
|
|
2639
2672
|
PaymentOutput.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
2640
2673
|
PaymentOutput.add_member_subclass(:crypto_x402, Types::PaymentOutput::CryptoX402)
|
|
2674
|
+
PaymentOutput.add_member_subclass(:mpp, Types::PaymentOutput::Mpp)
|
|
2641
2675
|
PaymentOutput.add_member_subclass(:unknown, Types::PaymentOutput::Unknown)
|
|
2642
2676
|
PaymentOutput.struct_class = Types::PaymentOutput
|
|
2643
2677
|
|
|
@@ -3104,6 +3138,11 @@ module Aws::BedrockAgentCore
|
|
|
3104
3138
|
StripePrivyTokenResponseOutput.add_member(:basic_auth_token, Shapes::ShapeRef.new(shape: StripePrivyBasicAuthTokenType, required: true, location_name: "basicAuthToken"))
|
|
3105
3139
|
StripePrivyTokenResponseOutput.struct_class = Types::StripePrivyTokenResponseOutput
|
|
3106
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
|
+
|
|
3107
3146
|
SystemPromptConfig.add_member(:text, Shapes::ShapeRef.new(shape: SystemPromptText, location_name: "text"))
|
|
3108
3147
|
SystemPromptConfig.add_member(:configuration_bundle, Shapes::ShapeRef.new(shape: SystemPromptConfigurationBundle, location_name: "configurationBundle"))
|
|
3109
3148
|
SystemPromptConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
@@ -3337,6 +3376,8 @@ module Aws::BedrockAgentCore
|
|
|
3337
3376
|
ViewPort.add_member(:height, Shapes::ShapeRef.new(shape: ViewPortHeight, required: true, location_name: "height"))
|
|
3338
3377
|
ViewPort.struct_class = Types::ViewPort
|
|
3339
3378
|
|
|
3379
|
+
WwwAuthenticateHeaderList.member = Shapes::ShapeRef.new(shape: WwwAuthenticateHeader)
|
|
3380
|
+
|
|
3340
3381
|
|
|
3341
3382
|
# @api private
|
|
3342
3383
|
API = Seahorse::Model::Api.new.tap do |api|
|
|
@@ -3454,7 +3495,9 @@ module Aws::BedrockAgentCore
|
|
|
3454
3495
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
3455
3496
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
3456
3497
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
3498
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
3457
3499
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
3500
|
+
o.errors << Shapes::ShapeRef.new(shape: SubscriptionRequiredException)
|
|
3458
3501
|
end)
|
|
3459
3502
|
|
|
3460
3503
|
api.add_operation(:create_payment_session, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -3469,6 +3512,7 @@ module Aws::BedrockAgentCore
|
|
|
3469
3512
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
3470
3513
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
3471
3514
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
3515
|
+
o.errors << Shapes::ShapeRef.new(shape: SubscriptionRequiredException)
|
|
3472
3516
|
end)
|
|
3473
3517
|
|
|
3474
3518
|
api.add_operation(:delete_ab_test, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -4145,8 +4189,10 @@ module Aws::BedrockAgentCore
|
|
|
4145
4189
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
4146
4190
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
4147
4191
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
4192
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
4148
4193
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
4149
4194
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
4195
|
+
o.errors << Shapes::ShapeRef.new(shape: SubscriptionRequiredException)
|
|
4150
4196
|
end)
|
|
4151
4197
|
|
|
4152
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
|
|
@@ -257,12 +257,18 @@ module Aws::BedrockAgentCore
|
|
|
257
257
|
# Use a completed batch evaluation as the source of agent traces.
|
|
258
258
|
# @return [Types::BatchEvaluationTraceConfig]
|
|
259
259
|
#
|
|
260
|
+
# @!attribute [rw] online_evaluation
|
|
261
|
+
# Agent traces from an online evaluation configuration over a
|
|
262
|
+
# specified time range.
|
|
263
|
+
# @return [Types::OnlineEvaluationTraceConfig]
|
|
264
|
+
#
|
|
260
265
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/AgentTracesConfig AWS API Documentation
|
|
261
266
|
#
|
|
262
267
|
class AgentTracesConfig < Struct.new(
|
|
263
268
|
:session_spans,
|
|
264
269
|
:cloudwatch_logs,
|
|
265
270
|
:batch_evaluation,
|
|
271
|
+
:online_evaluation,
|
|
266
272
|
:unknown)
|
|
267
273
|
SENSITIVE = [:session_spans]
|
|
268
274
|
include Aws::Structure
|
|
@@ -271,6 +277,7 @@ module Aws::BedrockAgentCore
|
|
|
271
277
|
class SessionSpans < AgentTracesConfig; end
|
|
272
278
|
class CloudwatchLogs < AgentTracesConfig; end
|
|
273
279
|
class BatchEvaluation < AgentTracesConfig; end
|
|
280
|
+
class OnlineEvaluation < AgentTracesConfig; end
|
|
274
281
|
class Unknown < AgentTracesConfig; end
|
|
275
282
|
end
|
|
276
283
|
|
|
@@ -1830,11 +1837,27 @@ module Aws::BedrockAgentCore
|
|
|
1830
1837
|
# The X402 payment payload.
|
|
1831
1838
|
# @return [Hash,Array,String,Numeric,Boolean]
|
|
1832
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
|
+
#
|
|
1833
1855
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/CryptoX402PaymentInput AWS API Documentation
|
|
1834
1856
|
#
|
|
1835
1857
|
class CryptoX402PaymentInput < Struct.new(
|
|
1836
1858
|
:version,
|
|
1837
|
-
:payload
|
|
1859
|
+
:payload,
|
|
1860
|
+
:permit2_allowance_limit)
|
|
1838
1861
|
SENSITIVE = [:payload]
|
|
1839
1862
|
include Aws::Structure
|
|
1840
1863
|
end
|
|
@@ -7649,6 +7672,75 @@ module Aws::BedrockAgentCore
|
|
|
7649
7672
|
include Aws::Structure
|
|
7650
7673
|
end
|
|
7651
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
|
+
|
|
7652
7744
|
# OAuth2 authentication information for third-party providers.
|
|
7653
7745
|
#
|
|
7654
7746
|
# @!attribute [rw] sub
|
|
@@ -7737,6 +7829,36 @@ module Aws::BedrockAgentCore
|
|
|
7737
7829
|
include Aws::Structure
|
|
7738
7830
|
end
|
|
7739
7831
|
|
|
7832
|
+
# Contains the configuration for reusing agent traces from an online
|
|
7833
|
+
# evaluation configuration for recommendation analysis. Because online
|
|
7834
|
+
# evaluation is a continuous stream, a time range specifies which
|
|
7835
|
+
# evaluated sessions the recommendation includes.
|
|
7836
|
+
#
|
|
7837
|
+
# @!attribute [rw] online_evaluation_config_arn
|
|
7838
|
+
# The ARN of the online evaluation configuration to reuse sessions
|
|
7839
|
+
# from.
|
|
7840
|
+
# @return [String]
|
|
7841
|
+
#
|
|
7842
|
+
# @!attribute [rw] start_time
|
|
7843
|
+
# The start time of the time range. Only sessions evaluated at or
|
|
7844
|
+
# after this timestamp are included.
|
|
7845
|
+
# @return [Time]
|
|
7846
|
+
#
|
|
7847
|
+
# @!attribute [rw] end_time
|
|
7848
|
+
# The end time of the time range. Only sessions evaluated before this
|
|
7849
|
+
# timestamp are included.
|
|
7850
|
+
# @return [Time]
|
|
7851
|
+
#
|
|
7852
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/OnlineEvaluationTraceConfig AWS API Documentation
|
|
7853
|
+
#
|
|
7854
|
+
class OnlineEvaluationTraceConfig < Struct.new(
|
|
7855
|
+
:online_evaluation_config_arn,
|
|
7856
|
+
:start_time,
|
|
7857
|
+
:end_time)
|
|
7858
|
+
SENSITIVE = []
|
|
7859
|
+
include Aws::Structure
|
|
7860
|
+
end
|
|
7861
|
+
|
|
7740
7862
|
# Output destination configuration.
|
|
7741
7863
|
#
|
|
7742
7864
|
# @note OutputConfig is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of OutputConfig corresponding to the set member.
|
|
@@ -7795,16 +7917,25 @@ module Aws::BedrockAgentCore
|
|
|
7795
7917
|
# Input for a crypto X402 payment.
|
|
7796
7918
|
# @return [Types::CryptoX402PaymentInput]
|
|
7797
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
|
+
#
|
|
7798
7927
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/PaymentInput AWS API Documentation
|
|
7799
7928
|
#
|
|
7800
7929
|
class PaymentInput < Struct.new(
|
|
7801
7930
|
:crypto_x402,
|
|
7931
|
+
:mpp,
|
|
7802
7932
|
:unknown)
|
|
7803
7933
|
SENSITIVE = []
|
|
7804
7934
|
include Aws::Structure
|
|
7805
7935
|
include Aws::Structure::Union
|
|
7806
7936
|
|
|
7807
7937
|
class CryptoX402 < PaymentInput; end
|
|
7938
|
+
class Mpp < PaymentInput; end
|
|
7808
7939
|
class Unknown < PaymentInput; end
|
|
7809
7940
|
end
|
|
7810
7941
|
|
|
@@ -7942,16 +8073,22 @@ module Aws::BedrockAgentCore
|
|
|
7942
8073
|
# Output from a crypto X402 payment.
|
|
7943
8074
|
# @return [Types::CryptoX402PaymentOutput]
|
|
7944
8075
|
#
|
|
8076
|
+
# @!attribute [rw] mpp
|
|
8077
|
+
# Contains the payment credential, ready to retry the request.
|
|
8078
|
+
# @return [Types::MppPaymentOutput]
|
|
8079
|
+
#
|
|
7945
8080
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/PaymentOutput AWS API Documentation
|
|
7946
8081
|
#
|
|
7947
8082
|
class PaymentOutput < Struct.new(
|
|
7948
8083
|
:crypto_x402,
|
|
8084
|
+
:mpp,
|
|
7949
8085
|
:unknown)
|
|
7950
8086
|
SENSITIVE = []
|
|
7951
8087
|
include Aws::Structure
|
|
7952
8088
|
include Aws::Structure::Union
|
|
7953
8089
|
|
|
7954
8090
|
class CryptoX402 < PaymentOutput; end
|
|
8091
|
+
class Mpp < PaymentOutput; end
|
|
7955
8092
|
class Unknown < PaymentOutput; end
|
|
7956
8093
|
end
|
|
7957
8094
|
|
|
@@ -10083,6 +10220,33 @@ module Aws::BedrockAgentCore
|
|
|
10083
10220
|
include Aws::Structure
|
|
10084
10221
|
end
|
|
10085
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
|
+
|
|
10086
10250
|
# The system prompt input, either as inline text or from a configuration
|
|
10087
10251
|
# bundle.
|
|
10088
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/params.rbs
CHANGED
|
@@ -76,6 +76,11 @@ module Aws
|
|
|
76
76
|
cloudwatch_logs: Params::cloud_watch_logs_trace_config?,
|
|
77
77
|
batch_evaluation: {
|
|
78
78
|
batch_evaluation_arn: ::String
|
|
79
|
+
}?,
|
|
80
|
+
online_evaluation: {
|
|
81
|
+
online_evaluation_config_arn: ::String,
|
|
82
|
+
start_time: ::Time,
|
|
83
|
+
end_time: ::Time
|
|
79
84
|
}?
|
|
80
85
|
}
|
|
81
86
|
|
data/sig/types.rbs
CHANGED
|
@@ -82,6 +82,7 @@ module Aws::BedrockAgentCore
|
|
|
82
82
|
attr_accessor session_spans: ::Array[untyped]
|
|
83
83
|
attr_accessor cloudwatch_logs: Types::CloudWatchLogsTraceConfig
|
|
84
84
|
attr_accessor batch_evaluation: Types::BatchEvaluationTraceConfig
|
|
85
|
+
attr_accessor online_evaluation: Types::OnlineEvaluationTraceConfig
|
|
85
86
|
attr_accessor unknown: untyped
|
|
86
87
|
SENSITIVE: [:session_spans]
|
|
87
88
|
|
|
@@ -91,6 +92,8 @@ module Aws::BedrockAgentCore
|
|
|
91
92
|
end
|
|
92
93
|
class BatchEvaluation < AgentTracesConfig
|
|
93
94
|
end
|
|
95
|
+
class OnlineEvaluation < AgentTracesConfig
|
|
96
|
+
end
|
|
94
97
|
class Unknown < AgentTracesConfig
|
|
95
98
|
end
|
|
96
99
|
end
|
|
@@ -550,6 +553,7 @@ module Aws::BedrockAgentCore
|
|
|
550
553
|
class CryptoX402PaymentInput
|
|
551
554
|
attr_accessor version: ::String
|
|
552
555
|
attr_accessor payload: untyped
|
|
556
|
+
attr_accessor permit2_allowance_limit: ::String
|
|
553
557
|
SENSITIVE: [:payload]
|
|
554
558
|
end
|
|
555
559
|
|
|
@@ -648,7 +652,7 @@ module Aws::BedrockAgentCore
|
|
|
648
652
|
end
|
|
649
653
|
|
|
650
654
|
class DeletePaymentInstrumentResponse
|
|
651
|
-
attr_accessor status: ("INITIATED" | "ACTIVE" | "FAILED" | "DELETED")
|
|
655
|
+
attr_accessor status: ("INITIATED" | "ACTIVE" | "FAILED" | "DELETED" | "BLOCKED")
|
|
652
656
|
SENSITIVE: []
|
|
653
657
|
end
|
|
654
658
|
|
|
@@ -2321,6 +2325,20 @@ module Aws::BedrockAgentCore
|
|
|
2321
2325
|
SENSITIVE: []
|
|
2322
2326
|
end
|
|
2323
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
|
+
|
|
2324
2342
|
class OAuth2Authentication
|
|
2325
2343
|
attr_accessor sub: ::String
|
|
2326
2344
|
attr_accessor email_address: ::String
|
|
@@ -2344,6 +2362,13 @@ module Aws::BedrockAgentCore
|
|
|
2344
2362
|
SENSITIVE: []
|
|
2345
2363
|
end
|
|
2346
2364
|
|
|
2365
|
+
class OnlineEvaluationTraceConfig
|
|
2366
|
+
attr_accessor online_evaluation_config_arn: ::String
|
|
2367
|
+
attr_accessor start_time: ::Time
|
|
2368
|
+
attr_accessor end_time: ::Time
|
|
2369
|
+
SENSITIVE: []
|
|
2370
|
+
end
|
|
2371
|
+
|
|
2347
2372
|
class OutputConfig
|
|
2348
2373
|
attr_accessor cloud_watch_config: Types::CloudWatchOutputConfig
|
|
2349
2374
|
attr_accessor unknown: untyped
|
|
@@ -2371,11 +2396,14 @@ module Aws::BedrockAgentCore
|
|
|
2371
2396
|
|
|
2372
2397
|
class PaymentInput
|
|
2373
2398
|
attr_accessor crypto_x402: Types::CryptoX402PaymentInput
|
|
2399
|
+
attr_accessor mpp: Types::MppPaymentInput
|
|
2374
2400
|
attr_accessor unknown: untyped
|
|
2375
2401
|
SENSITIVE: []
|
|
2376
2402
|
|
|
2377
2403
|
class CryptoX402 < PaymentInput
|
|
2378
2404
|
end
|
|
2405
|
+
class Mpp < PaymentInput
|
|
2406
|
+
end
|
|
2379
2407
|
class Unknown < PaymentInput
|
|
2380
2408
|
end
|
|
2381
2409
|
end
|
|
@@ -2388,7 +2416,7 @@ module Aws::BedrockAgentCore
|
|
|
2388
2416
|
attr_accessor payment_instrument_type: ("EMBEDDED_CRYPTO_WALLET")
|
|
2389
2417
|
attr_accessor payment_instrument_details: Types::PaymentInstrumentDetails
|
|
2390
2418
|
attr_accessor created_at: ::Time
|
|
2391
|
-
attr_accessor status: ("INITIATED" | "ACTIVE" | "FAILED" | "DELETED")
|
|
2419
|
+
attr_accessor status: ("INITIATED" | "ACTIVE" | "FAILED" | "DELETED" | "BLOCKED")
|
|
2392
2420
|
attr_accessor updated_at: ::Time
|
|
2393
2421
|
SENSITIVE: []
|
|
2394
2422
|
end
|
|
@@ -2410,7 +2438,7 @@ module Aws::BedrockAgentCore
|
|
|
2410
2438
|
attr_accessor payment_connector_id: ::String
|
|
2411
2439
|
attr_accessor user_id: ::String
|
|
2412
2440
|
attr_accessor payment_instrument_type: ("EMBEDDED_CRYPTO_WALLET")
|
|
2413
|
-
attr_accessor status: ("INITIATED" | "ACTIVE" | "FAILED" | "DELETED")
|
|
2441
|
+
attr_accessor status: ("INITIATED" | "ACTIVE" | "FAILED" | "DELETED" | "BLOCKED")
|
|
2414
2442
|
attr_accessor created_at: ::Time
|
|
2415
2443
|
attr_accessor updated_at: ::Time
|
|
2416
2444
|
SENSITIVE: []
|
|
@@ -2418,11 +2446,14 @@ module Aws::BedrockAgentCore
|
|
|
2418
2446
|
|
|
2419
2447
|
class PaymentOutput
|
|
2420
2448
|
attr_accessor crypto_x402: Types::CryptoX402PaymentOutput
|
|
2449
|
+
attr_accessor mpp: Types::MppPaymentOutput
|
|
2421
2450
|
attr_accessor unknown: untyped
|
|
2422
2451
|
SENSITIVE: []
|
|
2423
2452
|
|
|
2424
2453
|
class CryptoX402 < PaymentOutput
|
|
2425
2454
|
end
|
|
2455
|
+
class Mpp < PaymentOutput
|
|
2456
|
+
end
|
|
2426
2457
|
class Unknown < PaymentOutput
|
|
2427
2458
|
end
|
|
2428
2459
|
end
|
|
@@ -2489,7 +2520,7 @@ module Aws::BedrockAgentCore
|
|
|
2489
2520
|
attr_accessor payment_manager_arn: ::String
|
|
2490
2521
|
attr_accessor payment_session_id: ::String
|
|
2491
2522
|
attr_accessor payment_instrument_id: ::String
|
|
2492
|
-
attr_accessor payment_type: ("CRYPTO_X402")
|
|
2523
|
+
attr_accessor payment_type: ("CRYPTO_X402" | "MPP")
|
|
2493
2524
|
attr_accessor payment_input: Types::PaymentInput
|
|
2494
2525
|
attr_accessor client_token: ::String
|
|
2495
2526
|
SENSITIVE: []
|
|
@@ -2500,7 +2531,7 @@ module Aws::BedrockAgentCore
|
|
|
2500
2531
|
attr_accessor payment_manager_arn: ::String
|
|
2501
2532
|
attr_accessor payment_session_id: ::String
|
|
2502
2533
|
attr_accessor payment_instrument_id: ::String
|
|
2503
|
-
attr_accessor payment_type: ("CRYPTO_X402")
|
|
2534
|
+
attr_accessor payment_type: ("CRYPTO_X402" | "MPP")
|
|
2504
2535
|
attr_accessor status: ("PROOF_GENERATED")
|
|
2505
2536
|
attr_accessor payment_output: Types::PaymentOutput
|
|
2506
2537
|
attr_accessor created_at: ::Time
|
|
@@ -3024,6 +3055,13 @@ module Aws::BedrockAgentCore
|
|
|
3024
3055
|
SENSITIVE: [:authorization_signature, :basic_auth_token]
|
|
3025
3056
|
end
|
|
3026
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
|
+
|
|
3027
3065
|
class SystemPromptConfig
|
|
3028
3066
|
attr_accessor text: ::String
|
|
3029
3067
|
attr_accessor configuration_bundle: Types::SystemPromptConfigurationBundle
|