aws-sdk-bedrockagentcore 1.48.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagentcore/client.rb +29 -3
- data/lib/aws-sdk-bedrockagentcore/client_api.rb +22 -0
- data/lib/aws-sdk-bedrockagentcore/types.rb +80 -6
- data/lib/aws-sdk-bedrockagentcore.rb +1 -1
- data/sig/client.rbs +15 -4
- data/sig/types.rbs +19 -1
- 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: 82a685e5acc3f76857a8014a04ec20f60165d68dc25d6eb5fcf55089211ae0f6
|
|
4
|
+
data.tar.gz: 58de220cbae844f85c651f0362c3e84e6a6431a748053512d40f15328fa6d9d5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: beab48e474d1f92d91c1e7ff10d4417718b22a04802384f844bfabef58e15b01765807bb917fabe0969b2d45ef0b37d4e55b3b98643d314899f052d36d46acab
|
|
7
|
+
data.tar.gz: 40ad003b385d80824e7268a7712e99561f5d3f9cf547fee6682cd62d3004aee8db7ce75481c47d841cb2c43f71850c93e740f407162a9017bae80c18f34e86af
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
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
|
|
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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -6415,7 +6441,7 @@ module Aws::BedrockAgentCore
|
|
|
6415
6441
|
tracer: tracer
|
|
6416
6442
|
)
|
|
6417
6443
|
context[:gem_name] = 'aws-sdk-bedrockagentcore'
|
|
6418
|
-
context[:gem_version] = '1.
|
|
6444
|
+
context[:gem_version] = '1.49.0'
|
|
6419
6445
|
Seahorse::Client::Request.new(handlers, context)
|
|
6420
6446
|
end
|
|
6421
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')
|
|
@@ -526,6 +529,9 @@ module Aws::BedrockAgentCore
|
|
|
526
529
|
MppPaymentOutputSelectedPaymentIdString = Shapes::StringShape.new(name: 'MppPaymentOutputSelectedPaymentIdString')
|
|
527
530
|
Name = Shapes::StringShape.new(name: 'Name')
|
|
528
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')
|
|
529
535
|
NamespacesList = Shapes::ListShape.new(name: 'NamespacesList')
|
|
530
536
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
|
531
537
|
NonBlankString = Shapes::StringShape.new(name: 'NonBlankString')
|
|
@@ -1198,6 +1204,7 @@ module Aws::BedrockAgentCore
|
|
|
1198
1204
|
CreateEventInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
1199
1205
|
CreateEventInput.add_member(:metadata, Shapes::ShapeRef.new(shape: MetadataMap, location_name: "metadata"))
|
|
1200
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"))
|
|
1201
1208
|
CreateEventInput.struct_class = Types::CreateEventInput
|
|
1202
1209
|
|
|
1203
1210
|
CreateEventOutput.add_member(:event, Shapes::ShapeRef.new(shape: Event, required: true, location_name: "event"))
|
|
@@ -1285,6 +1292,7 @@ module Aws::BedrockAgentCore
|
|
|
1285
1292
|
|
|
1286
1293
|
DeleteMemoryRecordInput.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location: "uri", location_name: "memoryId"))
|
|
1287
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"))
|
|
1288
1296
|
DeleteMemoryRecordInput.struct_class = Types::DeleteMemoryRecordInput
|
|
1289
1297
|
|
|
1290
1298
|
DeleteMemoryRecordOutput.add_member(:memory_record_id, Shapes::ShapeRef.new(shape: MemoryRecordId, required: true, location_name: "memoryRecordId"))
|
|
@@ -1478,6 +1486,9 @@ module Aws::BedrockAgentCore
|
|
|
1478
1486
|
ExternalProxy.add_member(:credentials, Shapes::ShapeRef.new(shape: ProxyCredentials, location_name: "credentials"))
|
|
1479
1487
|
ExternalProxy.struct_class = Types::ExternalProxy
|
|
1480
1488
|
|
|
1489
|
+
ExtractionConfig.add_member(:namespace_variables, Shapes::ShapeRef.new(shape: NamespaceVariablesMap, location_name: "namespaceVariables"))
|
|
1490
|
+
ExtractionConfig.struct_class = Types::ExtractionConfig
|
|
1491
|
+
|
|
1481
1492
|
ExtractionJob.add_member(:job_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobId"))
|
|
1482
1493
|
ExtractionJob.struct_class = Types::ExtractionJob
|
|
1483
1494
|
|
|
@@ -1654,6 +1665,7 @@ module Aws::BedrockAgentCore
|
|
|
1654
1665
|
|
|
1655
1666
|
GetMemoryRecordInput.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location: "uri", location_name: "memoryId"))
|
|
1656
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"))
|
|
1657
1669
|
GetMemoryRecordInput.struct_class = Types::GetMemoryRecordInput
|
|
1658
1670
|
|
|
1659
1671
|
GetMemoryRecordOutput.add_member(:memory_record, Shapes::ShapeRef.new(shape: MemoryRecord, required: true, location_name: "memoryRecord"))
|
|
@@ -2434,6 +2446,9 @@ module Aws::BedrockAgentCore
|
|
|
2434
2446
|
MemoryContent.add_member_subclass(:unknown, Types::MemoryContent::Unknown)
|
|
2435
2447
|
MemoryContent.struct_class = Types::MemoryContent
|
|
2436
2448
|
|
|
2449
|
+
MemoryJsonData.add_member(:content, Shapes::ShapeRef.new(shape: MemoryJsonDataContent, required: true, location_name: "content"))
|
|
2450
|
+
MemoryJsonData.struct_class = Types::MemoryJsonData
|
|
2451
|
+
|
|
2437
2452
|
MemoryMetadataFilterExpression.add_member(:left, Shapes::ShapeRef.new(shape: MemoryRecordLeftExpression, required: true, location_name: "left"))
|
|
2438
2453
|
MemoryMetadataFilterExpression.add_member(:operator, Shapes::ShapeRef.new(shape: MemoryRecordOperatorType, required: true, location_name: "operator"))
|
|
2439
2454
|
MemoryMetadataFilterExpression.add_member(:right, Shapes::ShapeRef.new(shape: MemoryRecordRightExpression, location_name: "right"))
|
|
@@ -2458,6 +2473,7 @@ module Aws::BedrockAgentCore
|
|
|
2458
2473
|
MemoryRecordCreateInput.struct_class = Types::MemoryRecordCreateInput
|
|
2459
2474
|
|
|
2460
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"))
|
|
2461
2477
|
MemoryRecordDeleteInput.struct_class = Types::MemoryRecordDeleteInput
|
|
2462
2478
|
|
|
2463
2479
|
MemoryRecordLeftExpression.add_member(:metadata_key, Shapes::ShapeRef.new(shape: MetadataKey, location_name: "metadataKey"))
|
|
@@ -2509,6 +2525,7 @@ module Aws::BedrockAgentCore
|
|
|
2509
2525
|
MemoryRecordUpdateInput.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "timestamp"))
|
|
2510
2526
|
MemoryRecordUpdateInput.add_member(:content, Shapes::ShapeRef.new(shape: MemoryContent, location_name: "content"))
|
|
2511
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"))
|
|
2512
2529
|
MemoryRecordUpdateInput.add_member(:memory_strategy_id, Shapes::ShapeRef.new(shape: MemoryStrategyId, location_name: "memoryStrategyId"))
|
|
2513
2530
|
MemoryRecordUpdateInput.add_member(:metadata, Shapes::ShapeRef.new(shape: MemoryRecordMetadataMap, location_name: "metadata"))
|
|
2514
2531
|
MemoryRecordUpdateInput.struct_class = Types::MemoryRecordUpdateInput
|
|
@@ -2585,6 +2602,9 @@ module Aws::BedrockAgentCore
|
|
|
2585
2602
|
MppPaymentOutput.add_member(:payment_credential, Shapes::ShapeRef.new(shape: MppPaymentCredential, required: true, location_name: "paymentCredential"))
|
|
2586
2603
|
MppPaymentOutput.struct_class = Types::MppPaymentOutput
|
|
2587
2604
|
|
|
2605
|
+
NamespaceVariablesMap.key = Shapes::ShapeRef.new(shape: NamespaceVariableName)
|
|
2606
|
+
NamespaceVariablesMap.value = Shapes::ShapeRef.new(shape: NamespaceVariableValue)
|
|
2607
|
+
|
|
2588
2608
|
NamespacesList.member = Shapes::ShapeRef.new(shape: Namespace)
|
|
2589
2609
|
|
|
2590
2610
|
OAuth2Authentication.add_member(:sub, Shapes::ShapeRef.new(shape: OAuth2AuthenticationSubString, required: true, location_name: "sub"))
|
|
@@ -2622,9 +2642,11 @@ module Aws::BedrockAgentCore
|
|
|
2622
2642
|
|
|
2623
2643
|
PayloadType.add_member(:conversational, Shapes::ShapeRef.new(shape: Conversational, location_name: "conversational"))
|
|
2624
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"))
|
|
2625
2646
|
PayloadType.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
2626
2647
|
PayloadType.add_member_subclass(:conversational, Types::PayloadType::Conversational)
|
|
2627
2648
|
PayloadType.add_member_subclass(:blob, Types::PayloadType::Blob)
|
|
2649
|
+
PayloadType.add_member_subclass(:json, Types::PayloadType::Json)
|
|
2628
2650
|
PayloadType.add_member_subclass(:unknown, Types::PayloadType::Unknown)
|
|
2629
2651
|
PayloadType.struct_class = Types::PayloadType
|
|
2630
2652
|
|
|
@@ -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
|
|
@@ -2084,11 +2091,17 @@ module Aws::BedrockAgentCore
|
|
|
2084
2091
|
# The identifier of the memory record to delete.
|
|
2085
2092
|
# @return [String]
|
|
2086
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
|
+
#
|
|
2087
2099
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/DeleteMemoryRecordInput AWS API Documentation
|
|
2088
2100
|
#
|
|
2089
2101
|
class DeleteMemoryRecordInput < Struct.new(
|
|
2090
2102
|
:memory_id,
|
|
2091
|
-
:memory_record_id
|
|
2103
|
+
:memory_record_id,
|
|
2104
|
+
:namespace)
|
|
2092
2105
|
SENSITIVE = []
|
|
2093
2106
|
include Aws::Structure
|
|
2094
2107
|
end
|
|
@@ -2957,6 +2970,24 @@ module Aws::BedrockAgentCore
|
|
|
2957
2970
|
include Aws::Structure
|
|
2958
2971
|
end
|
|
2959
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
|
+
|
|
2960
2991
|
# Represents the metadata of a memory extraction job such as the message
|
|
2961
2992
|
# identifiers that compose this job.
|
|
2962
2993
|
#
|
|
@@ -3760,11 +3791,17 @@ module Aws::BedrockAgentCore
|
|
|
3760
3791
|
# The identifier of the memory record to retrieve.
|
|
3761
3792
|
# @return [String]
|
|
3762
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
|
+
#
|
|
3763
3799
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/GetMemoryRecordInput AWS API Documentation
|
|
3764
3800
|
#
|
|
3765
3801
|
class GetMemoryRecordInput < Struct.new(
|
|
3766
3802
|
:memory_id,
|
|
3767
|
-
:memory_record_id
|
|
3803
|
+
:memory_record_id,
|
|
3804
|
+
:namespace)
|
|
3768
3805
|
SENSITIVE = []
|
|
3769
3806
|
include Aws::Structure
|
|
3770
3807
|
end
|
|
@@ -7109,6 +7146,23 @@ module Aws::BedrockAgentCore
|
|
|
7109
7146
|
class Unknown < MemoryContent; end
|
|
7110
7147
|
end
|
|
7111
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
|
+
|
|
7112
7166
|
# Filters to apply to metadata associated with a memory. Specify the
|
|
7113
7167
|
# metadata key and value in the `left` and `right` fields and use the
|
|
7114
7168
|
# `operator` field to define the relationship to match.
|
|
@@ -7226,10 +7280,16 @@ module Aws::BedrockAgentCore
|
|
|
7226
7280
|
# The unique ID of the memory record to be deleted.
|
|
7227
7281
|
# @return [String]
|
|
7228
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
|
+
#
|
|
7229
7288
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/MemoryRecordDeleteInput AWS API Documentation
|
|
7230
7289
|
#
|
|
7231
7290
|
class MemoryRecordDeleteInput < Struct.new(
|
|
7232
|
-
:memory_record_id
|
|
7291
|
+
:memory_record_id,
|
|
7292
|
+
:namespace)
|
|
7233
7293
|
SENSITIVE = []
|
|
7234
7294
|
include Aws::Structure
|
|
7235
7295
|
end
|
|
@@ -7419,6 +7479,11 @@ module Aws::BedrockAgentCore
|
|
|
7419
7479
|
# memory record.
|
|
7420
7480
|
# @return [Array<String>]
|
|
7421
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
|
+
#
|
|
7422
7487
|
# @!attribute [rw] memory_strategy_id
|
|
7423
7488
|
# The updated ID of the memory strategy that defines how this memory
|
|
7424
7489
|
# record is grouped.
|
|
@@ -7435,6 +7500,7 @@ module Aws::BedrockAgentCore
|
|
|
7435
7500
|
:timestamp,
|
|
7436
7501
|
:content,
|
|
7437
7502
|
:namespaces,
|
|
7503
|
+
:source_namespaces,
|
|
7438
7504
|
:memory_strategy_id,
|
|
7439
7505
|
:metadata)
|
|
7440
7506
|
SENSITIVE = []
|
|
@@ -7894,18 +7960,26 @@ module Aws::BedrockAgentCore
|
|
|
7894
7960
|
# The binary content of the payload.
|
|
7895
7961
|
# @return [Hash,Array,String,Numeric,Boolean]
|
|
7896
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
|
+
#
|
|
7897
7969
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/PayloadType AWS API Documentation
|
|
7898
7970
|
#
|
|
7899
7971
|
class PayloadType < Struct.new(
|
|
7900
7972
|
:conversational,
|
|
7901
7973
|
:blob,
|
|
7974
|
+
:json,
|
|
7902
7975
|
:unknown)
|
|
7903
|
-
SENSITIVE = [:blob]
|
|
7976
|
+
SENSITIVE = [:blob, :json]
|
|
7904
7977
|
include Aws::Structure
|
|
7905
7978
|
include Aws::Structure::Union
|
|
7906
7979
|
|
|
7907
7980
|
class Conversational < PayloadType; end
|
|
7908
7981
|
class Blob < PayloadType; end
|
|
7982
|
+
class Json < PayloadType; end
|
|
7909
7983
|
class Unknown < PayloadType; end
|
|
7910
7984
|
end
|
|
7911
7985
|
|
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,7 +391,8 @@ 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
|
|
|
@@ -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
|
|
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
|
|
|
@@ -635,6 +636,7 @@ module Aws::BedrockAgentCore
|
|
|
635
636
|
class DeleteMemoryRecordInput
|
|
636
637
|
attr_accessor memory_id: ::String
|
|
637
638
|
attr_accessor memory_record_id: ::String
|
|
639
|
+
attr_accessor namespace: ::String
|
|
638
640
|
SENSITIVE: []
|
|
639
641
|
end
|
|
640
642
|
|
|
@@ -878,6 +880,11 @@ module Aws::BedrockAgentCore
|
|
|
878
880
|
SENSITIVE: []
|
|
879
881
|
end
|
|
880
882
|
|
|
883
|
+
class ExtractionConfig
|
|
884
|
+
attr_accessor namespace_variables: ::Hash[::String, ::String]
|
|
885
|
+
SENSITIVE: []
|
|
886
|
+
end
|
|
887
|
+
|
|
881
888
|
class ExtractionJob
|
|
882
889
|
attr_accessor job_id: ::String
|
|
883
890
|
SENSITIVE: []
|
|
@@ -1099,6 +1106,7 @@ module Aws::BedrockAgentCore
|
|
|
1099
1106
|
class GetMemoryRecordInput
|
|
1100
1107
|
attr_accessor memory_id: ::String
|
|
1101
1108
|
attr_accessor memory_record_id: ::String
|
|
1109
|
+
attr_accessor namespace: ::String
|
|
1102
1110
|
SENSITIVE: []
|
|
1103
1111
|
end
|
|
1104
1112
|
|
|
@@ -2149,6 +2157,11 @@ module Aws::BedrockAgentCore
|
|
|
2149
2157
|
end
|
|
2150
2158
|
end
|
|
2151
2159
|
|
|
2160
|
+
class MemoryJsonData
|
|
2161
|
+
attr_accessor content: untyped
|
|
2162
|
+
SENSITIVE: [:content]
|
|
2163
|
+
end
|
|
2164
|
+
|
|
2152
2165
|
class MemoryMetadataFilterExpression
|
|
2153
2166
|
attr_accessor left: Types::MemoryRecordLeftExpression
|
|
2154
2167
|
attr_accessor operator: ("EQUALS_TO" | "EXISTS" | "NOT_EXISTS" | "BEFORE" | "AFTER" | "CONTAINS" | "GREATER_THAN" | "GREATER_THAN_OR_EQUALS" | "LESS_THAN" | "LESS_THAN_OR_EQUALS")
|
|
@@ -2178,6 +2191,7 @@ module Aws::BedrockAgentCore
|
|
|
2178
2191
|
|
|
2179
2192
|
class MemoryRecordDeleteInput
|
|
2180
2193
|
attr_accessor memory_record_id: ::String
|
|
2194
|
+
attr_accessor namespace: ::String
|
|
2181
2195
|
SENSITIVE: []
|
|
2182
2196
|
end
|
|
2183
2197
|
|
|
@@ -2248,6 +2262,7 @@ module Aws::BedrockAgentCore
|
|
|
2248
2262
|
attr_accessor timestamp: ::Time
|
|
2249
2263
|
attr_accessor content: Types::MemoryContent
|
|
2250
2264
|
attr_accessor namespaces: ::Array[::String]
|
|
2265
|
+
attr_accessor source_namespaces: ::Array[::String]
|
|
2251
2266
|
attr_accessor memory_strategy_id: ::String
|
|
2252
2267
|
attr_accessor metadata: ::Hash[::String, Types::MemoryRecordMetadataValue]
|
|
2253
2268
|
SENSITIVE: []
|
|
@@ -2383,13 +2398,16 @@ module Aws::BedrockAgentCore
|
|
|
2383
2398
|
class PayloadType
|
|
2384
2399
|
attr_accessor conversational: Types::Conversational
|
|
2385
2400
|
attr_accessor blob: untyped
|
|
2401
|
+
attr_accessor json: Types::MemoryJsonData
|
|
2386
2402
|
attr_accessor unknown: untyped
|
|
2387
|
-
SENSITIVE: [:blob]
|
|
2403
|
+
SENSITIVE: [:blob, :json]
|
|
2388
2404
|
|
|
2389
2405
|
class Conversational < PayloadType
|
|
2390
2406
|
end
|
|
2391
2407
|
class Blob < PayloadType
|
|
2392
2408
|
end
|
|
2409
|
+
class Json < PayloadType
|
|
2410
|
+
end
|
|
2393
2411
|
class Unknown < PayloadType
|
|
2394
2412
|
end
|
|
2395
2413
|
end
|