aws-sdk-bedrockagentcore 1.47.0 → 1.49.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1bcb5023a4082c676fb42e7bf3bd65ce29c96e484c492f4d4ab840c4e432c7e3
4
- data.tar.gz: 2f514fee3a2249278a2d42f6ee5e1afdc56f469f7e3c1e7c6a2958a9c18a8a7e
3
+ metadata.gz: 82a685e5acc3f76857a8014a04ec20f60165d68dc25d6eb5fcf55089211ae0f6
4
+ data.tar.gz: 58de220cbae844f85c651f0362c3e84e6a6431a748053512d40f15328fa6d9d5
5
5
  SHA512:
6
- metadata.gz: f1f81ab49dc2e07763839b74e2cdf76ee2e8aa3f0f5ad6da6c2b92275ad6b8966c9585760a9ade9c8bdc0c7787279c755ef632e088b8aef02667629e07fd31c1
7
- data.tar.gz: 9dcae51c2d1adb10f618685e6197f837707991db1fd208e4185421070724c1e377d1d6857040b38c882c1c3a8c0f2da5c1b4e9257572f06b88e40cc930ff4f20
6
+ metadata.gz: beab48e474d1f92d91c1e7ff10d4417718b22a04802384f844bfabef58e15b01765807bb917fabe0969b2d45ef0b37d4e55b3b98643d314899f052d36d46acab
7
+ data.tar.gz: 40ad003b385d80824e7268a7712e99561f5d3f9cf547fee6682cd62d3004aee8db7ce75481c47d841cb2c43f71850c93e740f407162a9017bae80c18f34e86af
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.49.0 (2026-08-19)
5
+ ------------------
6
+
7
+ * Feature - AgentCore Memory now supports Flexible Namespaces and Non-Conversational Payloads in CreateEvent API
8
+
9
+ 1.48.0 (2026-08-14)
10
+ ------------------
11
+
12
+ * 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
13
+
4
14
  1.47.0 (2026-08-11)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.47.0
1
+ 1.49.0
@@ -579,6 +579,7 @@ module Aws::BedrockAgentCore
579
579
  # records: [ # required
580
580
  # {
581
581
  # memory_record_id: "MemoryRecordId", # required
582
+ # namespace: "Namespace",
582
583
  # },
583
584
  # ],
584
585
  # })
@@ -634,6 +635,7 @@ module Aws::BedrockAgentCore
634
635
  # text: "MemoryContentTextString",
635
636
  # },
636
637
  # namespaces: ["Namespace"],
638
+ # source_namespaces: ["Namespace"],
637
639
  # memory_strategy_id: "MemoryStrategyId",
638
640
  # metadata: {
639
641
  # "MetadataKey" => {
@@ -849,8 +851,8 @@ module Aws::BedrockAgentCore
849
851
  # time is used.
850
852
  #
851
853
  # @option params [required, Array<Types::PayloadType>] :payload
852
- # The content payload of the event. This can include conversational data
853
- # or binary content.
854
+ # The content payload of the event. This can include conversational
855
+ # data, JSON data, or binary content.
854
856
  #
855
857
  # @option params [Types::Branch] :branch
856
858
  # The branch information for this event. Branches allow for organizing
@@ -873,6 +875,11 @@ module Aws::BedrockAgentCore
873
875
  # long-term memory extraction. If not specified, the event is processed
874
876
  # for extraction as usual.
875
877
  #
878
+ # @option params [Types::ExtractionConfig] :extraction_config
879
+ # The extraction configuration for long-term memory records. Use this
880
+ # parameter to specify namespace variable keys and their values for
881
+ # namespace substitution during extraction.
882
+ #
876
883
  # @return [Types::CreateEventOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
877
884
  #
878
885
  # * {Types::CreateEventOutput#event #event} => Types::Event
@@ -894,6 +901,10 @@ module Aws::BedrockAgentCore
894
901
  # },
895
902
  # blob: {
896
903
  # },
904
+ # json: {
905
+ # content: { # required
906
+ # },
907
+ # },
897
908
  # },
898
909
  # ],
899
910
  # branch: {
@@ -907,6 +918,11 @@ module Aws::BedrockAgentCore
907
918
  # },
908
919
  # },
909
920
  # extraction_mode: "SKIP", # accepts SKIP
921
+ # extraction_config: {
922
+ # namespace_variables: {
923
+ # "NamespaceVariableName" => "NamespaceVariableValue",
924
+ # },
925
+ # },
910
926
  # })
911
927
  #
912
928
  # @example Response structure
@@ -1064,7 +1080,7 @@ module Aws::BedrockAgentCore
1064
1080
  # resp.payment_instrument.payment_instrument_details.embedded_crypto_wallet.wallet_address #=> String
1065
1081
  # resp.payment_instrument.payment_instrument_details.embedded_crypto_wallet.redirect_url #=> String
1066
1082
  # resp.payment_instrument.created_at #=> Time
1067
- # resp.payment_instrument.status #=> String, one of "INITIATED", "ACTIVE", "FAILED", "DELETED"
1083
+ # resp.payment_instrument.status #=> String, one of "INITIATED", "ACTIVE", "FAILED", "DELETED", "BLOCKED"
1068
1084
  # resp.payment_instrument.updated_at #=> Time
1069
1085
  #
1070
1086
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/CreatePaymentInstrument AWS API Documentation
@@ -1307,6 +1323,10 @@ module Aws::BedrockAgentCore
1307
1323
  # @option params [required, String] :memory_record_id
1308
1324
  # The identifier of the memory record to delete.
1309
1325
  #
1326
+ # @option params [String] :namespace
1327
+ # The namespace of the memory record to delete. This value is used for
1328
+ # IAM condition key authorization.
1329
+ #
1310
1330
  # @return [Types::DeleteMemoryRecordOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1311
1331
  #
1312
1332
  # * {Types::DeleteMemoryRecordOutput#memory_record_id #memory_record_id} => String
@@ -1316,6 +1336,7 @@ module Aws::BedrockAgentCore
1316
1336
  # resp = client.delete_memory_record({
1317
1337
  # memory_id: "MemoryId", # required
1318
1338
  # memory_record_id: "MemoryRecordId", # required
1339
+ # namespace: "Namespace",
1319
1340
  # })
1320
1341
  #
1321
1342
  # @example Response structure
@@ -1364,7 +1385,7 @@ module Aws::BedrockAgentCore
1364
1385
  #
1365
1386
  # @example Response structure
1366
1387
  #
1367
- # resp.status #=> String, one of "INITIATED", "ACTIVE", "FAILED", "DELETED"
1388
+ # resp.status #=> String, one of "INITIATED", "ACTIVE", "FAILED", "DELETED", "BLOCKED"
1368
1389
  #
1369
1390
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/DeletePaymentInstrument AWS API Documentation
1370
1391
  #
@@ -2054,6 +2075,10 @@ module Aws::BedrockAgentCore
2054
2075
  # @option params [required, String] :memory_record_id
2055
2076
  # The identifier of the memory record to retrieve.
2056
2077
  #
2078
+ # @option params [String] :namespace
2079
+ # The namespace of the memory record to retrieve. This value is used for
2080
+ # IAM condition key authorization.
2081
+ #
2057
2082
  # @return [Types::GetMemoryRecordOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2058
2083
  #
2059
2084
  # * {Types::GetMemoryRecordOutput#memory_record #memory_record} => Types::MemoryRecord
@@ -2063,6 +2088,7 @@ module Aws::BedrockAgentCore
2063
2088
  # resp = client.get_memory_record({
2064
2089
  # memory_id: "MemoryId", # required
2065
2090
  # memory_record_id: "MemoryRecordId", # required
2091
+ # namespace: "Namespace",
2066
2092
  # })
2067
2093
  #
2068
2094
  # @example Response structure
@@ -2156,7 +2182,7 @@ module Aws::BedrockAgentCore
2156
2182
  # resp.payment_instrument.payment_instrument_details.embedded_crypto_wallet.wallet_address #=> String
2157
2183
  # resp.payment_instrument.payment_instrument_details.embedded_crypto_wallet.redirect_url #=> String
2158
2184
  # resp.payment_instrument.created_at #=> Time
2159
- # resp.payment_instrument.status #=> String, one of "INITIATED", "ACTIVE", "FAILED", "DELETED"
2185
+ # resp.payment_instrument.status #=> String, one of "INITIATED", "ACTIVE", "FAILED", "DELETED", "BLOCKED"
2160
2186
  # resp.payment_instrument.updated_at #=> Time
2161
2187
  #
2162
2188
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/GetPaymentInstrument AWS API Documentation
@@ -4690,7 +4716,7 @@ module Aws::BedrockAgentCore
4690
4716
  # resp.payment_instruments[0].payment_connector_id #=> String
4691
4717
  # resp.payment_instruments[0].user_id #=> String
4692
4718
  # 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"
4719
+ # resp.payment_instruments[0].status #=> String, one of "INITIATED", "ACTIVE", "FAILED", "DELETED", "BLOCKED"
4694
4720
  # resp.payment_instruments[0].created_at #=> Time
4695
4721
  # resp.payment_instruments[0].updated_at #=> Time
4696
4722
  # resp.next_token #=> String
@@ -4929,12 +4955,18 @@ module Aws::BedrockAgentCore
4929
4955
  # payment_manager_arn: "PaymentManagerArn", # required
4930
4956
  # payment_session_id: "PaymentSessionId", # required
4931
4957
  # payment_instrument_id: "PaymentInstrumentId", # required
4932
- # payment_type: "CRYPTO_X402", # required, accepts CRYPTO_X402
4958
+ # payment_type: "CRYPTO_X402", # required, accepts CRYPTO_X402, MPP
4933
4959
  # payment_input: { # required
4934
4960
  # crypto_x402: {
4935
4961
  # version: "String", # required
4936
4962
  # payload: { # required
4937
4963
  # },
4964
+ # permit2_allowance_limit: "Permit2AllowanceLimit",
4965
+ # },
4966
+ # mpp: {
4967
+ # version: "Version", # required
4968
+ # www_authenticate_headers: ["WwwAuthenticateHeader"], # required
4969
+ # buyer_pays_gas_fees: false,
4938
4970
  # },
4939
4971
  # },
4940
4972
  # client_token: "ClientToken",
@@ -4946,9 +4978,12 @@ module Aws::BedrockAgentCore
4946
4978
  # resp.payment_manager_arn #=> String
4947
4979
  # resp.payment_session_id #=> String
4948
4980
  # resp.payment_instrument_id #=> String
4949
- # resp.payment_type #=> String, one of "CRYPTO_X402"
4981
+ # resp.payment_type #=> String, one of "CRYPTO_X402", "MPP"
4950
4982
  # resp.status #=> String, one of "PROOF_GENERATED"
4951
4983
  # resp.payment_output.crypto_x402.version #=> String
4984
+ # resp.payment_output.mpp.version #=> String
4985
+ # resp.payment_output.mpp.selected_payment_id #=> String
4986
+ # resp.payment_output.mpp.payment_credential #=> String
4952
4987
  # resp.created_at #=> Time
4953
4988
  # resp.updated_at #=> Time
4954
4989
  #
@@ -6406,7 +6441,7 @@ module Aws::BedrockAgentCore
6406
6441
  tracer: tracer
6407
6442
  )
6408
6443
  context[:gem_name] = 'aws-sdk-bedrockagentcore'
6409
- context[:gem_version] = '1.47.0'
6444
+ context[:gem_version] = '1.49.0'
6410
6445
  Seahorse::Client::Request.new(handlers, context)
6411
6446
  end
6412
6447
 
@@ -232,6 +232,7 @@ module Aws::BedrockAgentCore
232
232
  ExecutionSummaryClusteringResultContent = Shapes::StructureShape.new(name: 'ExecutionSummaryClusteringResultContent')
233
233
  ExternalProxy = Shapes::StructureShape.new(name: 'ExternalProxy')
234
234
  ExternalProxyPortInteger = Shapes::IntegerShape.new(name: 'ExternalProxyPortInteger')
235
+ ExtractionConfig = Shapes::StructureShape.new(name: 'ExtractionConfig')
235
236
  ExtractionJob = Shapes::StructureShape.new(name: 'ExtractionJob')
236
237
  ExtractionJobFilterInput = Shapes::StructureShape.new(name: 'ExtractionJobFilterInput')
237
238
  ExtractionJobMessages = Shapes::UnionShape.new(name: 'ExtractionJobMessages')
@@ -477,6 +478,8 @@ module Aws::BedrockAgentCore
477
478
  MemoryContentTextString = Shapes::StringShape.new(name: 'MemoryContentTextString')
478
479
  MemoryDocument = Shapes::DocumentShape.new(name: 'MemoryDocument', document: true)
479
480
  MemoryId = Shapes::StringShape.new(name: 'MemoryId')
481
+ MemoryJsonData = Shapes::StructureShape.new(name: 'MemoryJsonData')
482
+ MemoryJsonDataContent = Shapes::DocumentShape.new(name: 'MemoryJsonDataContent', document: true)
480
483
  MemoryMetadataFilterExpression = Shapes::StructureShape.new(name: 'MemoryMetadataFilterExpression')
481
484
  MemoryMetadataFilterList = Shapes::ListShape.new(name: 'MemoryMetadataFilterList')
482
485
  MemoryRecord = Shapes::StructureShape.new(name: 'MemoryRecord')
@@ -520,8 +523,15 @@ module Aws::BedrockAgentCore
520
523
  MouseScrollArgumentsDeltaXInteger = Shapes::IntegerShape.new(name: 'MouseScrollArgumentsDeltaXInteger')
521
524
  MouseScrollArgumentsDeltaYInteger = Shapes::IntegerShape.new(name: 'MouseScrollArgumentsDeltaYInteger')
522
525
  MouseScrollResult = Shapes::StructureShape.new(name: 'MouseScrollResult')
526
+ MppPaymentCredential = Shapes::StringShape.new(name: 'MppPaymentCredential')
527
+ MppPaymentInput = Shapes::StructureShape.new(name: 'MppPaymentInput')
528
+ MppPaymentOutput = Shapes::StructureShape.new(name: 'MppPaymentOutput')
529
+ MppPaymentOutputSelectedPaymentIdString = Shapes::StringShape.new(name: 'MppPaymentOutputSelectedPaymentIdString')
523
530
  Name = Shapes::StringShape.new(name: 'Name')
524
531
  Namespace = Shapes::StringShape.new(name: 'Namespace')
532
+ NamespaceVariableName = Shapes::StringShape.new(name: 'NamespaceVariableName')
533
+ NamespaceVariableValue = Shapes::StringShape.new(name: 'NamespaceVariableValue')
534
+ NamespaceVariablesMap = Shapes::MapShape.new(name: 'NamespaceVariablesMap')
525
535
  NamespacesList = Shapes::ListShape.new(name: 'NamespacesList')
526
536
  NextToken = Shapes::StringShape.new(name: 'NextToken')
527
537
  NonBlankString = Shapes::StringShape.new(name: 'NonBlankString')
@@ -575,6 +585,7 @@ module Aws::BedrockAgentCore
575
585
  PaymentType = Shapes::StringShape.new(name: 'PaymentType')
576
586
  PerVariantOnlineEvaluationConfig = Shapes::StructureShape.new(name: 'PerVariantOnlineEvaluationConfig')
577
587
  PerVariantOnlineEvaluationConfigList = Shapes::ListShape.new(name: 'PerVariantOnlineEvaluationConfigList')
588
+ Permit2AllowanceLimit = Shapes::StringShape.new(name: 'Permit2AllowanceLimit')
578
589
  PhoneNumber = Shapes::StringShape.new(name: 'PhoneNumber')
579
590
  ProcessPaymentId = Shapes::StringShape.new(name: 'ProcessPaymentId')
580
591
  ProcessPaymentRequest = Shapes::StructureShape.new(name: 'ProcessPaymentRequest')
@@ -728,6 +739,9 @@ module Aws::BedrockAgentCore
728
739
  StripePrivyRequestPathType = Shapes::StringShape.new(name: 'StripePrivyRequestPathType')
729
740
  StripePrivyTokenRequestInput = Shapes::StructureShape.new(name: 'StripePrivyTokenRequestInput')
730
741
  StripePrivyTokenResponseOutput = Shapes::StructureShape.new(name: 'StripePrivyTokenResponseOutput')
742
+ SubscriptionRequiredException = Shapes::StructureShape.new(name: 'SubscriptionRequiredException')
743
+ SubscriptionRequiredExceptionProductNameString = Shapes::StringShape.new(name: 'SubscriptionRequiredExceptionProductNameString')
744
+ SubscriptionRequiredExceptionSubscriptionUrlString = Shapes::StringShape.new(name: 'SubscriptionRequiredExceptionSubscriptionUrlString')
731
745
  SyntheticTimestamp_date_time = Shapes::TimestampShape.new(name: 'SyntheticTimestamp_date_time', timestampFormat: "iso8601")
732
746
  SystemPromptConfig = Shapes::UnionShape.new(name: 'SystemPromptConfig')
733
747
  SystemPromptConfigurationBundle = Shapes::StructureShape.new(name: 'SystemPromptConfigurationBundle')
@@ -795,11 +809,14 @@ module Aws::BedrockAgentCore
795
809
  VariantResult = Shapes::StructureShape.new(name: 'VariantResult')
796
810
  VariantResultList = Shapes::ListShape.new(name: 'VariantResultList')
797
811
  VariantWeightInteger = Shapes::IntegerShape.new(name: 'VariantWeightInteger')
812
+ Version = Shapes::StringShape.new(name: 'Version')
798
813
  ViewPort = Shapes::StructureShape.new(name: 'ViewPort')
799
814
  ViewPortHeight = Shapes::IntegerShape.new(name: 'ViewPortHeight')
800
815
  ViewPortWidth = Shapes::IntegerShape.new(name: 'ViewPortWidth')
801
816
  WorkloadIdentityNameType = Shapes::StringShape.new(name: 'WorkloadIdentityNameType')
802
817
  WorkloadIdentityTokenType = Shapes::StringShape.new(name: 'WorkloadIdentityTokenType')
818
+ WwwAuthenticateHeader = Shapes::StringShape.new(name: 'WwwAuthenticateHeader')
819
+ WwwAuthenticateHeaderList = Shapes::ListShape.new(name: 'WwwAuthenticateHeaderList')
803
820
 
804
821
  A2aDescriptor.add_member(:agent_card, Shapes::ShapeRef.new(shape: AgentCardDefinition, required: true, location_name: "agentCard"))
805
822
  A2aDescriptor.struct_class = Types::A2aDescriptor
@@ -1187,6 +1204,7 @@ module Aws::BedrockAgentCore
1187
1204
  CreateEventInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
1188
1205
  CreateEventInput.add_member(:metadata, Shapes::ShapeRef.new(shape: MetadataMap, location_name: "metadata"))
1189
1206
  CreateEventInput.add_member(:extraction_mode, Shapes::ShapeRef.new(shape: ExtractionMode, location_name: "extractionMode"))
1207
+ CreateEventInput.add_member(:extraction_config, Shapes::ShapeRef.new(shape: ExtractionConfig, location_name: "extractionConfig"))
1190
1208
  CreateEventInput.struct_class = Types::CreateEventInput
1191
1209
 
1192
1210
  CreateEventOutput.add_member(:event, Shapes::ShapeRef.new(shape: Event, required: true, location_name: "event"))
@@ -1217,6 +1235,7 @@ module Aws::BedrockAgentCore
1217
1235
 
1218
1236
  CryptoX402PaymentInput.add_member(:version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "version"))
1219
1237
  CryptoX402PaymentInput.add_member(:payload, Shapes::ShapeRef.new(shape: PaymentDocument, required: true, location_name: "payload"))
1238
+ CryptoX402PaymentInput.add_member(:permit2_allowance_limit, Shapes::ShapeRef.new(shape: Permit2AllowanceLimit, location_name: "permit2AllowanceLimit"))
1220
1239
  CryptoX402PaymentInput.struct_class = Types::CryptoX402PaymentInput
1221
1240
 
1222
1241
  CryptoX402PaymentOutput.add_member(:version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "version"))
@@ -1273,6 +1292,7 @@ module Aws::BedrockAgentCore
1273
1292
 
1274
1293
  DeleteMemoryRecordInput.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location: "uri", location_name: "memoryId"))
1275
1294
  DeleteMemoryRecordInput.add_member(:memory_record_id, Shapes::ShapeRef.new(shape: MemoryRecordId, required: true, location: "uri", location_name: "memoryRecordId"))
1295
+ DeleteMemoryRecordInput.add_member(:namespace, Shapes::ShapeRef.new(shape: Namespace, location: "querystring", location_name: "namespace"))
1276
1296
  DeleteMemoryRecordInput.struct_class = Types::DeleteMemoryRecordInput
1277
1297
 
1278
1298
  DeleteMemoryRecordOutput.add_member(:memory_record_id, Shapes::ShapeRef.new(shape: MemoryRecordId, required: true, location_name: "memoryRecordId"))
@@ -1466,6 +1486,9 @@ module Aws::BedrockAgentCore
1466
1486
  ExternalProxy.add_member(:credentials, Shapes::ShapeRef.new(shape: ProxyCredentials, location_name: "credentials"))
1467
1487
  ExternalProxy.struct_class = Types::ExternalProxy
1468
1488
 
1489
+ ExtractionConfig.add_member(:namespace_variables, Shapes::ShapeRef.new(shape: NamespaceVariablesMap, location_name: "namespaceVariables"))
1490
+ ExtractionConfig.struct_class = Types::ExtractionConfig
1491
+
1469
1492
  ExtractionJob.add_member(:job_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobId"))
1470
1493
  ExtractionJob.struct_class = Types::ExtractionJob
1471
1494
 
@@ -1642,6 +1665,7 @@ module Aws::BedrockAgentCore
1642
1665
 
1643
1666
  GetMemoryRecordInput.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location: "uri", location_name: "memoryId"))
1644
1667
  GetMemoryRecordInput.add_member(:memory_record_id, Shapes::ShapeRef.new(shape: MemoryRecordId, required: true, location: "uri", location_name: "memoryRecordId"))
1668
+ GetMemoryRecordInput.add_member(:namespace, Shapes::ShapeRef.new(shape: Namespace, location: "querystring", location_name: "namespace"))
1645
1669
  GetMemoryRecordInput.struct_class = Types::GetMemoryRecordInput
1646
1670
 
1647
1671
  GetMemoryRecordOutput.add_member(:memory_record, Shapes::ShapeRef.new(shape: MemoryRecord, required: true, location_name: "memoryRecord"))
@@ -2422,6 +2446,9 @@ module Aws::BedrockAgentCore
2422
2446
  MemoryContent.add_member_subclass(:unknown, Types::MemoryContent::Unknown)
2423
2447
  MemoryContent.struct_class = Types::MemoryContent
2424
2448
 
2449
+ MemoryJsonData.add_member(:content, Shapes::ShapeRef.new(shape: MemoryJsonDataContent, required: true, location_name: "content"))
2450
+ MemoryJsonData.struct_class = Types::MemoryJsonData
2451
+
2425
2452
  MemoryMetadataFilterExpression.add_member(:left, Shapes::ShapeRef.new(shape: MemoryRecordLeftExpression, required: true, location_name: "left"))
2426
2453
  MemoryMetadataFilterExpression.add_member(:operator, Shapes::ShapeRef.new(shape: MemoryRecordOperatorType, required: true, location_name: "operator"))
2427
2454
  MemoryMetadataFilterExpression.add_member(:right, Shapes::ShapeRef.new(shape: MemoryRecordRightExpression, location_name: "right"))
@@ -2446,6 +2473,7 @@ module Aws::BedrockAgentCore
2446
2473
  MemoryRecordCreateInput.struct_class = Types::MemoryRecordCreateInput
2447
2474
 
2448
2475
  MemoryRecordDeleteInput.add_member(:memory_record_id, Shapes::ShapeRef.new(shape: MemoryRecordId, required: true, location_name: "memoryRecordId"))
2476
+ MemoryRecordDeleteInput.add_member(:namespace, Shapes::ShapeRef.new(shape: Namespace, location_name: "namespace"))
2449
2477
  MemoryRecordDeleteInput.struct_class = Types::MemoryRecordDeleteInput
2450
2478
 
2451
2479
  MemoryRecordLeftExpression.add_member(:metadata_key, Shapes::ShapeRef.new(shape: MetadataKey, location_name: "metadataKey"))
@@ -2497,6 +2525,7 @@ module Aws::BedrockAgentCore
2497
2525
  MemoryRecordUpdateInput.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "timestamp"))
2498
2526
  MemoryRecordUpdateInput.add_member(:content, Shapes::ShapeRef.new(shape: MemoryContent, location_name: "content"))
2499
2527
  MemoryRecordUpdateInput.add_member(:namespaces, Shapes::ShapeRef.new(shape: NamespacesList, location_name: "namespaces"))
2528
+ MemoryRecordUpdateInput.add_member(:source_namespaces, Shapes::ShapeRef.new(shape: NamespacesList, location_name: "sourceNamespaces"))
2500
2529
  MemoryRecordUpdateInput.add_member(:memory_strategy_id, Shapes::ShapeRef.new(shape: MemoryStrategyId, location_name: "memoryStrategyId"))
2501
2530
  MemoryRecordUpdateInput.add_member(:metadata, Shapes::ShapeRef.new(shape: MemoryRecordMetadataMap, location_name: "metadata"))
2502
2531
  MemoryRecordUpdateInput.struct_class = Types::MemoryRecordUpdateInput
@@ -2563,6 +2592,19 @@ module Aws::BedrockAgentCore
2563
2592
  MouseScrollResult.add_member(:error, Shapes::ShapeRef.new(shape: String, location_name: "error"))
2564
2593
  MouseScrollResult.struct_class = Types::MouseScrollResult
2565
2594
 
2595
+ MppPaymentInput.add_member(:version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "version"))
2596
+ MppPaymentInput.add_member(:www_authenticate_headers, Shapes::ShapeRef.new(shape: WwwAuthenticateHeaderList, required: true, location_name: "wwwAuthenticateHeaders"))
2597
+ MppPaymentInput.add_member(:buyer_pays_gas_fees, Shapes::ShapeRef.new(shape: Boolean, location_name: "buyerPaysGasFees"))
2598
+ MppPaymentInput.struct_class = Types::MppPaymentInput
2599
+
2600
+ MppPaymentOutput.add_member(:version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "version"))
2601
+ MppPaymentOutput.add_member(:selected_payment_id, Shapes::ShapeRef.new(shape: MppPaymentOutputSelectedPaymentIdString, required: true, location_name: "selectedPaymentId"))
2602
+ MppPaymentOutput.add_member(:payment_credential, Shapes::ShapeRef.new(shape: MppPaymentCredential, required: true, location_name: "paymentCredential"))
2603
+ MppPaymentOutput.struct_class = Types::MppPaymentOutput
2604
+
2605
+ NamespaceVariablesMap.key = Shapes::ShapeRef.new(shape: NamespaceVariableName)
2606
+ NamespaceVariablesMap.value = Shapes::ShapeRef.new(shape: NamespaceVariableValue)
2607
+
2566
2608
  NamespacesList.member = Shapes::ShapeRef.new(shape: Namespace)
2567
2609
 
2568
2610
  OAuth2Authentication.add_member(:sub, Shapes::ShapeRef.new(shape: OAuth2AuthenticationSubString, required: true, location_name: "sub"))
@@ -2600,17 +2642,21 @@ module Aws::BedrockAgentCore
2600
2642
 
2601
2643
  PayloadType.add_member(:conversational, Shapes::ShapeRef.new(shape: Conversational, location_name: "conversational"))
2602
2644
  PayloadType.add_member(:blob, Shapes::ShapeRef.new(shape: MemoryDocument, location_name: "blob"))
2645
+ PayloadType.add_member(:json, Shapes::ShapeRef.new(shape: MemoryJsonData, location_name: "json"))
2603
2646
  PayloadType.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
2604
2647
  PayloadType.add_member_subclass(:conversational, Types::PayloadType::Conversational)
2605
2648
  PayloadType.add_member_subclass(:blob, Types::PayloadType::Blob)
2649
+ PayloadType.add_member_subclass(:json, Types::PayloadType::Json)
2606
2650
  PayloadType.add_member_subclass(:unknown, Types::PayloadType::Unknown)
2607
2651
  PayloadType.struct_class = Types::PayloadType
2608
2652
 
2609
2653
  PayloadTypeList.member = Shapes::ShapeRef.new(shape: PayloadType)
2610
2654
 
2611
2655
  PaymentInput.add_member(:crypto_x402, Shapes::ShapeRef.new(shape: CryptoX402PaymentInput, location_name: "cryptoX402"))
2656
+ PaymentInput.add_member(:mpp, Shapes::ShapeRef.new(shape: MppPaymentInput, location_name: "mpp"))
2612
2657
  PaymentInput.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
2613
2658
  PaymentInput.add_member_subclass(:crypto_x402, Types::PaymentInput::CryptoX402)
2659
+ PaymentInput.add_member_subclass(:mpp, Types::PaymentInput::Mpp)
2614
2660
  PaymentInput.add_member_subclass(:unknown, Types::PaymentInput::Unknown)
2615
2661
  PaymentInput.struct_class = Types::PaymentInput
2616
2662
 
@@ -2644,8 +2690,10 @@ module Aws::BedrockAgentCore
2644
2690
  PaymentInstrumentSummaryList.member = Shapes::ShapeRef.new(shape: PaymentInstrumentSummary)
2645
2691
 
2646
2692
  PaymentOutput.add_member(:crypto_x402, Shapes::ShapeRef.new(shape: CryptoX402PaymentOutput, location_name: "cryptoX402"))
2693
+ PaymentOutput.add_member(:mpp, Shapes::ShapeRef.new(shape: MppPaymentOutput, location_name: "mpp"))
2647
2694
  PaymentOutput.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
2648
2695
  PaymentOutput.add_member_subclass(:crypto_x402, Types::PaymentOutput::CryptoX402)
2696
+ PaymentOutput.add_member_subclass(:mpp, Types::PaymentOutput::Mpp)
2649
2697
  PaymentOutput.add_member_subclass(:unknown, Types::PaymentOutput::Unknown)
2650
2698
  PaymentOutput.struct_class = Types::PaymentOutput
2651
2699
 
@@ -3112,6 +3160,11 @@ module Aws::BedrockAgentCore
3112
3160
  StripePrivyTokenResponseOutput.add_member(:basic_auth_token, Shapes::ShapeRef.new(shape: StripePrivyBasicAuthTokenType, required: true, location_name: "basicAuthToken"))
3113
3161
  StripePrivyTokenResponseOutput.struct_class = Types::StripePrivyTokenResponseOutput
3114
3162
 
3163
+ SubscriptionRequiredException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
3164
+ SubscriptionRequiredException.add_member(:subscription_url, Shapes::ShapeRef.new(shape: SubscriptionRequiredExceptionSubscriptionUrlString, location_name: "subscriptionUrl"))
3165
+ SubscriptionRequiredException.add_member(:product_name, Shapes::ShapeRef.new(shape: SubscriptionRequiredExceptionProductNameString, location_name: "productName"))
3166
+ SubscriptionRequiredException.struct_class = Types::SubscriptionRequiredException
3167
+
3115
3168
  SystemPromptConfig.add_member(:text, Shapes::ShapeRef.new(shape: SystemPromptText, location_name: "text"))
3116
3169
  SystemPromptConfig.add_member(:configuration_bundle, Shapes::ShapeRef.new(shape: SystemPromptConfigurationBundle, location_name: "configurationBundle"))
3117
3170
  SystemPromptConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
@@ -3345,6 +3398,8 @@ module Aws::BedrockAgentCore
3345
3398
  ViewPort.add_member(:height, Shapes::ShapeRef.new(shape: ViewPortHeight, required: true, location_name: "height"))
3346
3399
  ViewPort.struct_class = Types::ViewPort
3347
3400
 
3401
+ WwwAuthenticateHeaderList.member = Shapes::ShapeRef.new(shape: WwwAuthenticateHeader)
3402
+
3348
3403
 
3349
3404
  # @api private
3350
3405
  API = Seahorse::Model::Api.new.tap do |api|
@@ -3462,7 +3517,9 @@ module Aws::BedrockAgentCore
3462
3517
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
3463
3518
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3464
3519
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3520
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3465
3521
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3522
+ o.errors << Shapes::ShapeRef.new(shape: SubscriptionRequiredException)
3466
3523
  end)
3467
3524
 
3468
3525
  api.add_operation(:create_payment_session, Seahorse::Model::Operation.new.tap do |o|
@@ -3477,6 +3534,7 @@ module Aws::BedrockAgentCore
3477
3534
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3478
3535
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3479
3536
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3537
+ o.errors << Shapes::ShapeRef.new(shape: SubscriptionRequiredException)
3480
3538
  end)
3481
3539
 
3482
3540
  api.add_operation(:delete_ab_test, Seahorse::Model::Operation.new.tap do |o|
@@ -4153,8 +4211,10 @@ module Aws::BedrockAgentCore
4153
4211
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
4154
4212
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
4155
4213
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
4214
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4156
4215
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4157
4216
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
4217
+ o.errors << Shapes::ShapeRef.new(shape: SubscriptionRequiredException)
4158
4218
  end)
4159
4219
 
4160
4220
  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
@@ -1650,7 +1650,7 @@ module Aws::BedrockAgentCore
1650
1650
  #
1651
1651
  # @!attribute [rw] payload
1652
1652
  # The content payload of the event. This can include conversational
1653
- # data or binary content.
1653
+ # data, JSON data, or binary content.
1654
1654
  # @return [Array<Types::PayloadType>]
1655
1655
  #
1656
1656
  # @!attribute [rw] branch
@@ -1679,6 +1679,12 @@ module Aws::BedrockAgentCore
1679
1679
  # processed for extraction as usual.
1680
1680
  # @return [String]
1681
1681
  #
1682
+ # @!attribute [rw] extraction_config
1683
+ # The extraction configuration for long-term memory records. Use this
1684
+ # parameter to specify namespace variable keys and their values for
1685
+ # namespace substitution during extraction.
1686
+ # @return [Types::ExtractionConfig]
1687
+ #
1682
1688
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/CreateEventInput AWS API Documentation
1683
1689
  #
1684
1690
  class CreateEventInput < Struct.new(
@@ -1690,7 +1696,8 @@ module Aws::BedrockAgentCore
1690
1696
  :branch,
1691
1697
  :client_token,
1692
1698
  :metadata,
1693
- :extraction_mode)
1699
+ :extraction_mode,
1700
+ :extraction_config)
1694
1701
  SENSITIVE = []
1695
1702
  include Aws::Structure
1696
1703
  end
@@ -1837,11 +1844,27 @@ module Aws::BedrockAgentCore
1837
1844
  # The X402 payment payload.
1838
1845
  # @return [Hash,Array,String,Numeric,Boolean]
1839
1846
  #
1847
+ # @!attribute [rw] permit2_allowance_limit
1848
+ # The maximum on-chain Permit2 allowance to grant before signing the
1849
+ # payment authorization, in the asset's smallest denomination. This
1850
+ # field is valid only for the `upto` (metered) scheme; supplying it
1851
+ # for the `exact` scheme returns a validation error.
1852
+ #
1853
+ # When set, the service approves an ERC-20 allowance for this amount
1854
+ # before processing the payment. The approval sets, rather than adds
1855
+ # to, the wallet's allowance. Set this field only when the wallet
1856
+ # needs approving, for example on its first `upto` payment, to avoid a
1857
+ # redundant on-chain transaction. Omit the field to skip allowance
1858
+ # handling. This is the default, and the only behavior for the `exact`
1859
+ # scheme.
1860
+ # @return [String]
1861
+ #
1840
1862
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/CryptoX402PaymentInput AWS API Documentation
1841
1863
  #
1842
1864
  class CryptoX402PaymentInput < Struct.new(
1843
1865
  :version,
1844
- :payload)
1866
+ :payload,
1867
+ :permit2_allowance_limit)
1845
1868
  SENSITIVE = [:payload]
1846
1869
  include Aws::Structure
1847
1870
  end
@@ -2068,11 +2091,17 @@ module Aws::BedrockAgentCore
2068
2091
  # The identifier of the memory record to delete.
2069
2092
  # @return [String]
2070
2093
  #
2094
+ # @!attribute [rw] namespace
2095
+ # The namespace of the memory record to delete. This value is used for
2096
+ # IAM condition key authorization.
2097
+ # @return [String]
2098
+ #
2071
2099
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/DeleteMemoryRecordInput AWS API Documentation
2072
2100
  #
2073
2101
  class DeleteMemoryRecordInput < Struct.new(
2074
2102
  :memory_id,
2075
- :memory_record_id)
2103
+ :memory_record_id,
2104
+ :namespace)
2076
2105
  SENSITIVE = []
2077
2106
  include Aws::Structure
2078
2107
  end
@@ -2941,6 +2970,24 @@ module Aws::BedrockAgentCore
2941
2970
  include Aws::Structure
2942
2971
  end
2943
2972
 
2973
+ # The configuration for extraction behavior. Use this structure to
2974
+ # specify namespace variable keys and their values for namespace
2975
+ # substitution during long-term memory extraction.
2976
+ #
2977
+ # @!attribute [rw] namespace_variables
2978
+ # A map of `namespaceKeys` to their values. The service substitutes
2979
+ # these values into `namespaceTemplates` during long-term memory
2980
+ # extraction to control namespace hierarchy.
2981
+ # @return [Hash<String,String>]
2982
+ #
2983
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/ExtractionConfig AWS API Documentation
2984
+ #
2985
+ class ExtractionConfig < Struct.new(
2986
+ :namespace_variables)
2987
+ SENSITIVE = []
2988
+ include Aws::Structure
2989
+ end
2990
+
2944
2991
  # Represents the metadata of a memory extraction job such as the message
2945
2992
  # identifiers that compose this job.
2946
2993
  #
@@ -3744,11 +3791,17 @@ module Aws::BedrockAgentCore
3744
3791
  # The identifier of the memory record to retrieve.
3745
3792
  # @return [String]
3746
3793
  #
3794
+ # @!attribute [rw] namespace
3795
+ # The namespace of the memory record to retrieve. This value is used
3796
+ # for IAM condition key authorization.
3797
+ # @return [String]
3798
+ #
3747
3799
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/GetMemoryRecordInput AWS API Documentation
3748
3800
  #
3749
3801
  class GetMemoryRecordInput < Struct.new(
3750
3802
  :memory_id,
3751
- :memory_record_id)
3803
+ :memory_record_id,
3804
+ :namespace)
3752
3805
  SENSITIVE = []
3753
3806
  include Aws::Structure
3754
3807
  end
@@ -7093,6 +7146,23 @@ module Aws::BedrockAgentCore
7093
7146
  class Unknown < MemoryContent; end
7094
7147
  end
7095
7148
 
7149
+ # Contains non-conversational, JSON-formatted content for an event
7150
+ # payload. JSON payloads are extracted into long-term memory.
7151
+ #
7152
+ # @!attribute [rw] content
7153
+ # The JSON content of the payload. Accepts any JSON value, including
7154
+ # objects, arrays, strings, numbers, booleans, and null. The maximum
7155
+ # size is 100 KB.
7156
+ # @return [Hash,Array,String,Numeric,Boolean]
7157
+ #
7158
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/MemoryJsonData AWS API Documentation
7159
+ #
7160
+ class MemoryJsonData < Struct.new(
7161
+ :content)
7162
+ SENSITIVE = [:content]
7163
+ include Aws::Structure
7164
+ end
7165
+
7096
7166
  # Filters to apply to metadata associated with a memory. Specify the
7097
7167
  # metadata key and value in the `left` and `right` fields and use the
7098
7168
  # `operator` field to define the relationship to match.
@@ -7210,10 +7280,16 @@ module Aws::BedrockAgentCore
7210
7280
  # The unique ID of the memory record to be deleted.
7211
7281
  # @return [String]
7212
7282
  #
7283
+ # @!attribute [rw] namespace
7284
+ # The namespace of the memory record being deleted. This value is used
7285
+ # for IAM condition key authorization.
7286
+ # @return [String]
7287
+ #
7213
7288
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/MemoryRecordDeleteInput AWS API Documentation
7214
7289
  #
7215
7290
  class MemoryRecordDeleteInput < Struct.new(
7216
- :memory_record_id)
7291
+ :memory_record_id,
7292
+ :namespace)
7217
7293
  SENSITIVE = []
7218
7294
  include Aws::Structure
7219
7295
  end
@@ -7403,6 +7479,11 @@ module Aws::BedrockAgentCore
7403
7479
  # memory record.
7404
7480
  # @return [Array<String>]
7405
7481
  #
7482
+ # @!attribute [rw] source_namespaces
7483
+ # The namespaces of the source memory record being updated. This value
7484
+ # is used for IAM condition key authorization.
7485
+ # @return [Array<String>]
7486
+ #
7406
7487
  # @!attribute [rw] memory_strategy_id
7407
7488
  # The updated ID of the memory strategy that defines how this memory
7408
7489
  # record is grouped.
@@ -7419,6 +7500,7 @@ module Aws::BedrockAgentCore
7419
7500
  :timestamp,
7420
7501
  :content,
7421
7502
  :namespaces,
7503
+ :source_namespaces,
7422
7504
  :memory_strategy_id,
7423
7505
  :metadata)
7424
7506
  SENSITIVE = []
@@ -7656,6 +7738,75 @@ module Aws::BedrockAgentCore
7656
7738
  include Aws::Structure
7657
7739
  end
7658
7740
 
7741
+ # Contains the payment challenge from a 402 Payment Required response.
7742
+ # Forward the raw `WWW-Authenticate: Payment` header value verbatim. In
7743
+ # response, you receive a payment credential that satisfies the
7744
+ # challenge. Provide exactly one challenge per request.
7745
+ #
7746
+ # @!attribute [rw] version
7747
+ # The MPP protocol version, for example "1" or "2".
7748
+ # @return [String]
7749
+ #
7750
+ # @!attribute [rw] www_authenticate_headers
7751
+ # The raw `WWW-Authenticate: Payment` header value from the 402
7752
+ # response, passed verbatim. Provide exactly one entry. The service
7753
+ # uses this value to generate the payment credential.
7754
+ # @return [Array<String>]
7755
+ #
7756
+ # @!attribute [rw] buyer_pays_gas_fees
7757
+ # Authorizes the service to sign a payment whose blockchain network
7758
+ # (gas) fees are charged to your wallet, on top of the payment amount.
7759
+ #
7760
+ # The challenge indicates who sponsors the network fees. When the
7761
+ # challenge does not sponsor them, the service signs the payment only
7762
+ # if this field is `true`. Otherwise it returns a validation error, so
7763
+ # you can decide whether to pay the fees or obtain a challenge that
7764
+ # sponsors them.
7765
+ #
7766
+ # Optional. When omitted or `false`, you decline to pay network fees.
7767
+ # This field has no effect on challenges that already sponsor the
7768
+ # fees.
7769
+ # @return [Boolean]
7770
+ #
7771
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/MppPaymentInput AWS API Documentation
7772
+ #
7773
+ class MppPaymentInput < Struct.new(
7774
+ :version,
7775
+ :www_authenticate_headers,
7776
+ :buyer_pays_gas_fees)
7777
+ SENSITIVE = []
7778
+ include Aws::Structure
7779
+ end
7780
+
7781
+ # Contains the payment credential, ready to retry the request.
7782
+ #
7783
+ # @!attribute [rw] version
7784
+ # The MPP protocol version, for example "1" or "2".
7785
+ # @return [String]
7786
+ #
7787
+ # @!attribute [rw] selected_payment_id
7788
+ # The id of the challenge that was paid, echoed from the input
7789
+ # challenge so you can correlate the result without decoding the
7790
+ # credential.
7791
+ # @return [String]
7792
+ #
7793
+ # @!attribute [rw] payment_credential
7794
+ # Ready-to-send value for the `Authorization` header, in the form
7795
+ # "Payment &lt;base64url-token&gt;". Attach this header and retry
7796
+ # the original request. To inspect the full credential,
7797
+ # base64url-decode the token.
7798
+ # @return [String]
7799
+ #
7800
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/MppPaymentOutput AWS API Documentation
7801
+ #
7802
+ class MppPaymentOutput < Struct.new(
7803
+ :version,
7804
+ :selected_payment_id,
7805
+ :payment_credential)
7806
+ SENSITIVE = [:payment_credential]
7807
+ include Aws::Structure
7808
+ end
7809
+
7659
7810
  # OAuth2 authentication information for third-party providers.
7660
7811
  #
7661
7812
  # @!attribute [rw] sub
@@ -7809,18 +7960,26 @@ module Aws::BedrockAgentCore
7809
7960
  # The binary content of the payload.
7810
7961
  # @return [Hash,Array,String,Numeric,Boolean]
7811
7962
  #
7963
+ # @!attribute [rw] json
7964
+ # The JSON content of the payload. Use this type to store
7965
+ # non-conversational, JSON-formatted data, such as behavioral events,
7966
+ # activity logs, or system events.
7967
+ # @return [Types::MemoryJsonData]
7968
+ #
7812
7969
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/PayloadType AWS API Documentation
7813
7970
  #
7814
7971
  class PayloadType < Struct.new(
7815
7972
  :conversational,
7816
7973
  :blob,
7974
+ :json,
7817
7975
  :unknown)
7818
- SENSITIVE = [:blob]
7976
+ SENSITIVE = [:blob, :json]
7819
7977
  include Aws::Structure
7820
7978
  include Aws::Structure::Union
7821
7979
 
7822
7980
  class Conversational < PayloadType; end
7823
7981
  class Blob < PayloadType; end
7982
+ class Json < PayloadType; end
7824
7983
  class Unknown < PayloadType; end
7825
7984
  end
7826
7985
 
@@ -7832,16 +7991,25 @@ module Aws::BedrockAgentCore
7832
7991
  # Input for a crypto X402 payment.
7833
7992
  # @return [Types::CryptoX402PaymentInput]
7834
7993
  #
7994
+ # @!attribute [rw] mpp
7995
+ # Contains the payment challenge from a 402 Payment Required response.
7996
+ # Forward the raw `WWW-Authenticate: Payment` header value verbatim.
7997
+ # In response, you receive a payment credential that satisfies the
7998
+ # challenge. Provide exactly one challenge per request.
7999
+ # @return [Types::MppPaymentInput]
8000
+ #
7835
8001
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/PaymentInput AWS API Documentation
7836
8002
  #
7837
8003
  class PaymentInput < Struct.new(
7838
8004
  :crypto_x402,
8005
+ :mpp,
7839
8006
  :unknown)
7840
8007
  SENSITIVE = []
7841
8008
  include Aws::Structure
7842
8009
  include Aws::Structure::Union
7843
8010
 
7844
8011
  class CryptoX402 < PaymentInput; end
8012
+ class Mpp < PaymentInput; end
7845
8013
  class Unknown < PaymentInput; end
7846
8014
  end
7847
8015
 
@@ -7979,16 +8147,22 @@ module Aws::BedrockAgentCore
7979
8147
  # Output from a crypto X402 payment.
7980
8148
  # @return [Types::CryptoX402PaymentOutput]
7981
8149
  #
8150
+ # @!attribute [rw] mpp
8151
+ # Contains the payment credential, ready to retry the request.
8152
+ # @return [Types::MppPaymentOutput]
8153
+ #
7982
8154
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/PaymentOutput AWS API Documentation
7983
8155
  #
7984
8156
  class PaymentOutput < Struct.new(
7985
8157
  :crypto_x402,
8158
+ :mpp,
7986
8159
  :unknown)
7987
8160
  SENSITIVE = []
7988
8161
  include Aws::Structure
7989
8162
  include Aws::Structure::Union
7990
8163
 
7991
8164
  class CryptoX402 < PaymentOutput; end
8165
+ class Mpp < PaymentOutput; end
7992
8166
  class Unknown < PaymentOutput; end
7993
8167
  end
7994
8168
 
@@ -10120,6 +10294,33 @@ module Aws::BedrockAgentCore
10120
10294
  include Aws::Structure
10121
10295
  end
10122
10296
 
10297
+ # Returned when you attempt a wallet operation against a Coinbase
10298
+ # Marketplace connector whose account does not hold an active
10299
+ # Marketplace subscription and is not within the legacy exception
10300
+ # period. Subscribe to the Marketplace listing before you retry the
10301
+ # operation.
10302
+ #
10303
+ # @!attribute [rw] message
10304
+ # @return [String]
10305
+ #
10306
+ # @!attribute [rw] subscription_url
10307
+ # The URL to the Marketplace listing where you can subscribe.
10308
+ # @return [String]
10309
+ #
10310
+ # @!attribute [rw] product_name
10311
+ # The name of the product that requires a Marketplace subscription.
10312
+ # @return [String]
10313
+ #
10314
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/SubscriptionRequiredException AWS API Documentation
10315
+ #
10316
+ class SubscriptionRequiredException < Struct.new(
10317
+ :message,
10318
+ :subscription_url,
10319
+ :product_name)
10320
+ SENSITIVE = []
10321
+ include Aws::Structure
10322
+ end
10323
+
10123
10324
  # The system prompt input, either as inline text or from a configuration
10124
10325
  # bundle.
10125
10326
  #
@@ -56,7 +56,7 @@ module Aws::BedrockAgentCore
56
56
  autoload :Endpoints, 'aws-sdk-bedrockagentcore/endpoints'
57
57
  autoload :EventStreams, 'aws-sdk-bedrockagentcore/event_streams'
58
58
 
59
- GEM_VERSION = '1.47.0'
59
+ GEM_VERSION = '1.49.0'
60
60
 
61
61
  end
62
62
 
data/sig/client.rbs CHANGED
@@ -120,7 +120,8 @@ module Aws
120
120
  memory_id: ::String,
121
121
  records: Array[
122
122
  {
123
- memory_record_id: ::String
123
+ memory_record_id: ::String,
124
+ namespace: ::String?
124
125
  }
125
126
  ]
126
127
  ) -> _BatchDeleteMemoryRecordsResponseSuccess
@@ -142,6 +143,7 @@ module Aws
142
143
  text: ::String?
143
144
  }?,
144
145
  namespaces: Array[::String]?,
146
+ source_namespaces: Array[::String]?,
145
147
  memory_strategy_id: ::String?,
146
148
  metadata: Hash[::String, {
147
149
  string_value: ::String?,
@@ -222,6 +224,10 @@ module Aws
222
224
  role: ("ASSISTANT" | "USER" | "TOOL" | "OTHER")
223
225
  }?,
224
226
  blob: {
227
+ }?,
228
+ json: {
229
+ content: {
230
+ }
225
231
  }?
226
232
  }
227
233
  ],
@@ -233,7 +239,10 @@ module Aws
233
239
  ?metadata: Hash[::String, {
234
240
  string_value: ::String?
235
241
  }],
236
- ?extraction_mode: ("SKIP")
242
+ ?extraction_mode: ("SKIP"),
243
+ ?extraction_config: {
244
+ namespace_variables: Hash[::String, ::String]?
245
+ }
237
246
  ) -> _CreateEventResponseSuccess
238
247
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateEventResponseSuccess
239
248
 
@@ -382,13 +391,14 @@ module Aws
382
391
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#delete_memory_record-instance_method
383
392
  def delete_memory_record: (
384
393
  memory_id: ::String,
385
- memory_record_id: ::String
394
+ memory_record_id: ::String,
395
+ ?namespace: ::String
386
396
  ) -> _DeleteMemoryRecordResponseSuccess
387
397
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteMemoryRecordResponseSuccess
388
398
 
389
399
  interface _DeletePaymentInstrumentResponseSuccess
390
400
  include ::Seahorse::Client::_ResponseSuccess[Types::DeletePaymentInstrumentResponse]
391
- def status: () -> ("INITIATED" | "ACTIVE" | "FAILED" | "DELETED")
401
+ def status: () -> ("INITIATED" | "ACTIVE" | "FAILED" | "DELETED" | "BLOCKED")
392
402
  end
393
403
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#delete_payment_instrument-instance_method
394
404
  def delete_payment_instrument: (
@@ -596,7 +606,8 @@ module Aws
596
606
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#get_memory_record-instance_method
597
607
  def get_memory_record: (
598
608
  memory_id: ::String,
599
- memory_record_id: ::String
609
+ memory_record_id: ::String,
610
+ ?namespace: ::String
600
611
  ) -> _GetMemoryRecordResponseSuccess
601
612
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMemoryRecordResponseSuccess
602
613
 
@@ -1271,7 +1282,7 @@ module Aws
1271
1282
  def payment_manager_arn: () -> ::String
1272
1283
  def payment_session_id: () -> ::String
1273
1284
  def payment_instrument_id: () -> ::String
1274
- def payment_type: () -> ("CRYPTO_X402")
1285
+ def payment_type: () -> ("CRYPTO_X402" | "MPP")
1275
1286
  def status: () -> ("PROOF_GENERATED")
1276
1287
  def payment_output: () -> Types::PaymentOutput
1277
1288
  def created_at: () -> ::Time
@@ -1284,12 +1295,18 @@ module Aws
1284
1295
  payment_manager_arn: ::String,
1285
1296
  payment_session_id: ::String,
1286
1297
  payment_instrument_id: ::String,
1287
- payment_type: ("CRYPTO_X402"),
1298
+ payment_type: ("CRYPTO_X402" | "MPP"),
1288
1299
  payment_input: {
1289
1300
  crypto_x402: {
1290
1301
  version: ::String,
1291
1302
  payload: {
1292
- }
1303
+ },
1304
+ permit2_allowance_limit: ::String?
1305
+ }?,
1306
+ mpp: {
1307
+ version: ::String,
1308
+ www_authenticate_headers: Array[::String],
1309
+ buyer_pays_gas_fees: bool?
1293
1310
  }?
1294
1311
  },
1295
1312
  ?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
@@ -511,6 +511,7 @@ module Aws::BedrockAgentCore
511
511
  attr_accessor client_token: ::String
512
512
  attr_accessor metadata: ::Hash[::String, Types::MetadataValue]
513
513
  attr_accessor extraction_mode: ("SKIP")
514
+ attr_accessor extraction_config: Types::ExtractionConfig
514
515
  SENSITIVE: []
515
516
  end
516
517
 
@@ -553,6 +554,7 @@ module Aws::BedrockAgentCore
553
554
  class CryptoX402PaymentInput
554
555
  attr_accessor version: ::String
555
556
  attr_accessor payload: untyped
557
+ attr_accessor permit2_allowance_limit: ::String
556
558
  SENSITIVE: [:payload]
557
559
  end
558
560
 
@@ -634,6 +636,7 @@ module Aws::BedrockAgentCore
634
636
  class DeleteMemoryRecordInput
635
637
  attr_accessor memory_id: ::String
636
638
  attr_accessor memory_record_id: ::String
639
+ attr_accessor namespace: ::String
637
640
  SENSITIVE: []
638
641
  end
639
642
 
@@ -651,7 +654,7 @@ module Aws::BedrockAgentCore
651
654
  end
652
655
 
653
656
  class DeletePaymentInstrumentResponse
654
- attr_accessor status: ("INITIATED" | "ACTIVE" | "FAILED" | "DELETED")
657
+ attr_accessor status: ("INITIATED" | "ACTIVE" | "FAILED" | "DELETED" | "BLOCKED")
655
658
  SENSITIVE: []
656
659
  end
657
660
 
@@ -877,6 +880,11 @@ module Aws::BedrockAgentCore
877
880
  SENSITIVE: []
878
881
  end
879
882
 
883
+ class ExtractionConfig
884
+ attr_accessor namespace_variables: ::Hash[::String, ::String]
885
+ SENSITIVE: []
886
+ end
887
+
880
888
  class ExtractionJob
881
889
  attr_accessor job_id: ::String
882
890
  SENSITIVE: []
@@ -1098,6 +1106,7 @@ module Aws::BedrockAgentCore
1098
1106
  class GetMemoryRecordInput
1099
1107
  attr_accessor memory_id: ::String
1100
1108
  attr_accessor memory_record_id: ::String
1109
+ attr_accessor namespace: ::String
1101
1110
  SENSITIVE: []
1102
1111
  end
1103
1112
 
@@ -2148,6 +2157,11 @@ module Aws::BedrockAgentCore
2148
2157
  end
2149
2158
  end
2150
2159
 
2160
+ class MemoryJsonData
2161
+ attr_accessor content: untyped
2162
+ SENSITIVE: [:content]
2163
+ end
2164
+
2151
2165
  class MemoryMetadataFilterExpression
2152
2166
  attr_accessor left: Types::MemoryRecordLeftExpression
2153
2167
  attr_accessor operator: ("EQUALS_TO" | "EXISTS" | "NOT_EXISTS" | "BEFORE" | "AFTER" | "CONTAINS" | "GREATER_THAN" | "GREATER_THAN_OR_EQUALS" | "LESS_THAN" | "LESS_THAN_OR_EQUALS")
@@ -2177,6 +2191,7 @@ module Aws::BedrockAgentCore
2177
2191
 
2178
2192
  class MemoryRecordDeleteInput
2179
2193
  attr_accessor memory_record_id: ::String
2194
+ attr_accessor namespace: ::String
2180
2195
  SENSITIVE: []
2181
2196
  end
2182
2197
 
@@ -2247,6 +2262,7 @@ module Aws::BedrockAgentCore
2247
2262
  attr_accessor timestamp: ::Time
2248
2263
  attr_accessor content: Types::MemoryContent
2249
2264
  attr_accessor namespaces: ::Array[::String]
2265
+ attr_accessor source_namespaces: ::Array[::String]
2250
2266
  attr_accessor memory_strategy_id: ::String
2251
2267
  attr_accessor metadata: ::Hash[::String, Types::MemoryRecordMetadataValue]
2252
2268
  SENSITIVE: []
@@ -2324,6 +2340,20 @@ module Aws::BedrockAgentCore
2324
2340
  SENSITIVE: []
2325
2341
  end
2326
2342
 
2343
+ class MppPaymentInput
2344
+ attr_accessor version: ::String
2345
+ attr_accessor www_authenticate_headers: ::Array[::String]
2346
+ attr_accessor buyer_pays_gas_fees: bool
2347
+ SENSITIVE: []
2348
+ end
2349
+
2350
+ class MppPaymentOutput
2351
+ attr_accessor version: ::String
2352
+ attr_accessor selected_payment_id: ::String
2353
+ attr_accessor payment_credential: ::String
2354
+ SENSITIVE: [:payment_credential]
2355
+ end
2356
+
2327
2357
  class OAuth2Authentication
2328
2358
  attr_accessor sub: ::String
2329
2359
  attr_accessor email_address: ::String
@@ -2368,24 +2398,30 @@ module Aws::BedrockAgentCore
2368
2398
  class PayloadType
2369
2399
  attr_accessor conversational: Types::Conversational
2370
2400
  attr_accessor blob: untyped
2401
+ attr_accessor json: Types::MemoryJsonData
2371
2402
  attr_accessor unknown: untyped
2372
- SENSITIVE: [:blob]
2403
+ SENSITIVE: [:blob, :json]
2373
2404
 
2374
2405
  class Conversational < PayloadType
2375
2406
  end
2376
2407
  class Blob < PayloadType
2377
2408
  end
2409
+ class Json < PayloadType
2410
+ end
2378
2411
  class Unknown < PayloadType
2379
2412
  end
2380
2413
  end
2381
2414
 
2382
2415
  class PaymentInput
2383
2416
  attr_accessor crypto_x402: Types::CryptoX402PaymentInput
2417
+ attr_accessor mpp: Types::MppPaymentInput
2384
2418
  attr_accessor unknown: untyped
2385
2419
  SENSITIVE: []
2386
2420
 
2387
2421
  class CryptoX402 < PaymentInput
2388
2422
  end
2423
+ class Mpp < PaymentInput
2424
+ end
2389
2425
  class Unknown < PaymentInput
2390
2426
  end
2391
2427
  end
@@ -2398,7 +2434,7 @@ module Aws::BedrockAgentCore
2398
2434
  attr_accessor payment_instrument_type: ("EMBEDDED_CRYPTO_WALLET")
2399
2435
  attr_accessor payment_instrument_details: Types::PaymentInstrumentDetails
2400
2436
  attr_accessor created_at: ::Time
2401
- attr_accessor status: ("INITIATED" | "ACTIVE" | "FAILED" | "DELETED")
2437
+ attr_accessor status: ("INITIATED" | "ACTIVE" | "FAILED" | "DELETED" | "BLOCKED")
2402
2438
  attr_accessor updated_at: ::Time
2403
2439
  SENSITIVE: []
2404
2440
  end
@@ -2420,7 +2456,7 @@ module Aws::BedrockAgentCore
2420
2456
  attr_accessor payment_connector_id: ::String
2421
2457
  attr_accessor user_id: ::String
2422
2458
  attr_accessor payment_instrument_type: ("EMBEDDED_CRYPTO_WALLET")
2423
- attr_accessor status: ("INITIATED" | "ACTIVE" | "FAILED" | "DELETED")
2459
+ attr_accessor status: ("INITIATED" | "ACTIVE" | "FAILED" | "DELETED" | "BLOCKED")
2424
2460
  attr_accessor created_at: ::Time
2425
2461
  attr_accessor updated_at: ::Time
2426
2462
  SENSITIVE: []
@@ -2428,11 +2464,14 @@ module Aws::BedrockAgentCore
2428
2464
 
2429
2465
  class PaymentOutput
2430
2466
  attr_accessor crypto_x402: Types::CryptoX402PaymentOutput
2467
+ attr_accessor mpp: Types::MppPaymentOutput
2431
2468
  attr_accessor unknown: untyped
2432
2469
  SENSITIVE: []
2433
2470
 
2434
2471
  class CryptoX402 < PaymentOutput
2435
2472
  end
2473
+ class Mpp < PaymentOutput
2474
+ end
2436
2475
  class Unknown < PaymentOutput
2437
2476
  end
2438
2477
  end
@@ -2499,7 +2538,7 @@ module Aws::BedrockAgentCore
2499
2538
  attr_accessor payment_manager_arn: ::String
2500
2539
  attr_accessor payment_session_id: ::String
2501
2540
  attr_accessor payment_instrument_id: ::String
2502
- attr_accessor payment_type: ("CRYPTO_X402")
2541
+ attr_accessor payment_type: ("CRYPTO_X402" | "MPP")
2503
2542
  attr_accessor payment_input: Types::PaymentInput
2504
2543
  attr_accessor client_token: ::String
2505
2544
  SENSITIVE: []
@@ -2510,7 +2549,7 @@ module Aws::BedrockAgentCore
2510
2549
  attr_accessor payment_manager_arn: ::String
2511
2550
  attr_accessor payment_session_id: ::String
2512
2551
  attr_accessor payment_instrument_id: ::String
2513
- attr_accessor payment_type: ("CRYPTO_X402")
2552
+ attr_accessor payment_type: ("CRYPTO_X402" | "MPP")
2514
2553
  attr_accessor status: ("PROOF_GENERATED")
2515
2554
  attr_accessor payment_output: Types::PaymentOutput
2516
2555
  attr_accessor created_at: ::Time
@@ -3034,6 +3073,13 @@ module Aws::BedrockAgentCore
3034
3073
  SENSITIVE: [:authorization_signature, :basic_auth_token]
3035
3074
  end
3036
3075
 
3076
+ class SubscriptionRequiredException
3077
+ attr_accessor message: ::String
3078
+ attr_accessor subscription_url: ::String
3079
+ attr_accessor product_name: ::String
3080
+ SENSITIVE: []
3081
+ end
3082
+
3037
3083
  class SystemPromptConfig
3038
3084
  attr_accessor text: ::String
3039
3085
  attr_accessor configuration_bundle: Types::SystemPromptConfigurationBundle
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-bedrockagentcore
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.47.0
4
+ version: 1.49.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services