aws-sdk-bedrockagentcore 1.30.0 → 1.31.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: 9afc9c436228c39047f4b7cfb3ad43376d67d1b3b2df7475de379068cad107be
4
- data.tar.gz: 13f273d7cc9268b1491a02a60c8e72ff4c40978524b432fba7998c65daf78acd
3
+ metadata.gz: 655de7248ceb971e9234bf8c3b0a5114307510ee65cc6cad85c37c2c18ecaa1e
4
+ data.tar.gz: 3ecb6a889a61a5c95b2bfe60475e53c1ffbcbbfe0053abc03ee8932abc4c2766
5
5
  SHA512:
6
- metadata.gz: 8e834d119cb0075b9ed4886af3a576a3e5e7de104d955dd56c770dfd829f9718181924e0862a497c5f70cdba9eeebfc6aa739d3476d914316fb3efbe9c179abf
7
- data.tar.gz: 70df89aca493b22e838abefaa8a27e653086509210e8b72c371de2e779e77e65f74c117c38c612d96f18d5674cc64056d99507c7c75b06201363382969d11dbf
6
+ metadata.gz: 41e251b2491d226adbe170aff4c91315b73306854ad05d539e0e4400e537fef79b5082c5320f6b944301d23636f78dfd89e1326bfeec6f904cf3b91ac095c2de
7
+ data.tar.gz: 57a0d676830276c0e91734d2d571ee9dc5b9435c8a54fc9809c48ba7c7c2cc6dbf90c073dd6552f8922a63661caf70167c66d92ec5d668e4332446112b8bae06
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.31.0 (2026-04-30)
5
+ ------------------
6
+
7
+ * Feature - AgentCore Identity now supports on-behalf-of token exchange OAuth2. AgentCore Memory now supports metadata for LongTerm Memory Records.
8
+
4
9
  1.30.0 (2026-04-29)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.30.0
1
+ 1.31.0
@@ -522,6 +522,14 @@ module Aws::BedrockAgentCore
522
522
  # },
523
523
  # timestamp: Time.now, # required
524
524
  # memory_strategy_id: "MemoryStrategyId",
525
+ # metadata: {
526
+ # "MetadataKey" => {
527
+ # string_value: "StringValue",
528
+ # string_list_value: ["StringListMemberValue"],
529
+ # number_value: 1.0,
530
+ # date_time_value: Time.now,
531
+ # },
532
+ # },
525
533
  # },
526
534
  # ],
527
535
  # client_token: "String",
@@ -629,6 +637,14 @@ module Aws::BedrockAgentCore
629
637
  # },
630
638
  # namespaces: ["Namespace"],
631
639
  # memory_strategy_id: "MemoryStrategyId",
640
+ # metadata: {
641
+ # "MetadataKey" => {
642
+ # string_value: "StringValue",
643
+ # string_list_value: ["StringListMemberValue"],
644
+ # number_value: 1.0,
645
+ # date_time_value: Time.now,
646
+ # },
647
+ # },
632
648
  # },
633
649
  # ],
634
650
  # })
@@ -1641,6 +1657,10 @@ module Aws::BedrockAgentCore
1641
1657
  # resp.memory_record.created_at #=> Time
1642
1658
  # resp.memory_record.metadata #=> Hash
1643
1659
  # resp.memory_record.metadata["MetadataKey"].string_value #=> String
1660
+ # resp.memory_record.metadata["MetadataKey"].string_list_value #=> Array
1661
+ # resp.memory_record.metadata["MetadataKey"].string_list_value[0] #=> String
1662
+ # resp.memory_record.metadata["MetadataKey"].number_value #=> Float
1663
+ # resp.memory_record.metadata["MetadataKey"].date_time_value #=> Time
1644
1664
  #
1645
1665
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/GetMemoryRecord AWS API Documentation
1646
1666
  #
@@ -1823,6 +1843,15 @@ module Aws::BedrockAgentCore
1823
1843
  # callback URL of your application against CSRF attacks by ensuring the
1824
1844
  # response corresponds to the original request.
1825
1845
  #
1846
+ # @option params [Array<String>] :resources
1847
+ # The resources to include in the token request. These are used to
1848
+ # specify the target resources for which the OAuth2 token is being
1849
+ # requested.
1850
+ #
1851
+ # @option params [Array<String>] :audiences
1852
+ # The audiences to include in the token request. These are used to
1853
+ # specify the intended recipients of the OAuth2 token.
1854
+ #
1826
1855
  # @return [Types::GetResourceOauth2TokenResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1827
1856
  #
1828
1857
  # * {Types::GetResourceOauth2TokenResponse#authorization_url #authorization_url} => String
@@ -1836,7 +1865,7 @@ module Aws::BedrockAgentCore
1836
1865
  # workload_identity_token: "WorkloadIdentityTokenType", # required
1837
1866
  # resource_credential_provider_name: "CredentialProviderName", # required
1838
1867
  # scopes: ["ScopeType"], # required
1839
- # oauth2_flow: "USER_FEDERATION", # required, accepts USER_FEDERATION, M2M
1868
+ # oauth2_flow: "USER_FEDERATION", # required, accepts USER_FEDERATION, M2M, ON_BEHALF_OF_TOKEN_EXCHANGE
1840
1869
  # session_uri: "RequestUri",
1841
1870
  # resource_oauth_2_return_url: "ResourceOauth2ReturnUrlType",
1842
1871
  # force_authentication: false,
@@ -1844,6 +1873,8 @@ module Aws::BedrockAgentCore
1844
1873
  # "CustomRequestKeyType" => "CustomRequestValueType",
1845
1874
  # },
1846
1875
  # custom_state: "State",
1876
+ # resources: ["ResourceType"],
1877
+ # audiences: ["AudienceType"],
1847
1878
  # })
1848
1879
  #
1849
1880
  # @example Response structure
@@ -3791,6 +3822,10 @@ module Aws::BedrockAgentCore
3791
3822
  # previous response in the next request to retrieve the next set of
3792
3823
  # results.
3793
3824
  #
3825
+ # @option params [Array<Types::MemoryMetadataFilterExpression>] :metadata_filters
3826
+ # A list of metadata filter expressions to scope the returned memory
3827
+ # records.
3828
+ #
3794
3829
  # @return [Types::ListMemoryRecordsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3795
3830
  #
3796
3831
  # * {Types::ListMemoryRecordsOutput#memory_record_summaries #memory_record_summaries} => Array&lt;Types::MemoryRecordSummary&gt;
@@ -3807,6 +3842,22 @@ module Aws::BedrockAgentCore
3807
3842
  # memory_strategy_id: "MemoryStrategyId",
3808
3843
  # max_results: 1,
3809
3844
  # next_token: "PaginationToken",
3845
+ # metadata_filters: [
3846
+ # {
3847
+ # left: { # required
3848
+ # metadata_key: "MetadataKey",
3849
+ # },
3850
+ # operator: "EQUALS_TO", # required, accepts EQUALS_TO, EXISTS, NOT_EXISTS, BEFORE, AFTER, CONTAINS, GREATER_THAN, GREATER_THAN_OR_EQUALS, LESS_THAN, LESS_THAN_OR_EQUALS
3851
+ # right: {
3852
+ # metadata_value: {
3853
+ # string_value: "StringValue",
3854
+ # string_list_value: ["StringListMemberValue"],
3855
+ # number_value: 1.0,
3856
+ # date_time_value: Time.now,
3857
+ # },
3858
+ # },
3859
+ # },
3860
+ # ],
3810
3861
  # })
3811
3862
  #
3812
3863
  # @example Response structure
@@ -3821,6 +3872,10 @@ module Aws::BedrockAgentCore
3821
3872
  # resp.memory_record_summaries[0].score #=> Float
3822
3873
  # resp.memory_record_summaries[0].metadata #=> Hash
3823
3874
  # resp.memory_record_summaries[0].metadata["MetadataKey"].string_value #=> String
3875
+ # resp.memory_record_summaries[0].metadata["MetadataKey"].string_list_value #=> Array
3876
+ # resp.memory_record_summaries[0].metadata["MetadataKey"].string_list_value[0] #=> String
3877
+ # resp.memory_record_summaries[0].metadata["MetadataKey"].number_value #=> Float
3878
+ # resp.memory_record_summaries[0].metadata["MetadataKey"].date_time_value #=> Time
3824
3879
  # resp.next_token #=> String
3825
3880
  #
3826
3881
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/ListMemoryRecords AWS API Documentation
@@ -4008,10 +4063,13 @@ module Aws::BedrockAgentCore
4008
4063
  # left: { # required
4009
4064
  # metadata_key: "MetadataKey",
4010
4065
  # },
4011
- # operator: "EQUALS_TO", # required, accepts EQUALS_TO, EXISTS, NOT_EXISTS
4066
+ # operator: "EQUALS_TO", # required, accepts EQUALS_TO, EXISTS, NOT_EXISTS, BEFORE, AFTER, CONTAINS, GREATER_THAN, GREATER_THAN_OR_EQUALS, LESS_THAN, LESS_THAN_OR_EQUALS
4012
4067
  # right: {
4013
4068
  # metadata_value: {
4014
- # string_value: "MetadataValueStringValueString",
4069
+ # string_value: "StringValue",
4070
+ # string_list_value: ["StringListMemberValue"],
4071
+ # number_value: 1.0,
4072
+ # date_time_value: Time.now,
4015
4073
  # },
4016
4074
  # },
4017
4075
  # },
@@ -4033,6 +4091,10 @@ module Aws::BedrockAgentCore
4033
4091
  # resp.memory_record_summaries[0].score #=> Float
4034
4092
  # resp.memory_record_summaries[0].metadata #=> Hash
4035
4093
  # resp.memory_record_summaries[0].metadata["MetadataKey"].string_value #=> String
4094
+ # resp.memory_record_summaries[0].metadata["MetadataKey"].string_list_value #=> Array
4095
+ # resp.memory_record_summaries[0].metadata["MetadataKey"].string_list_value[0] #=> String
4096
+ # resp.memory_record_summaries[0].metadata["MetadataKey"].number_value #=> Float
4097
+ # resp.memory_record_summaries[0].metadata["MetadataKey"].date_time_value #=> Time
4036
4098
  # resp.next_token #=> String
4037
4099
  #
4038
4100
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/RetrieveMemoryRecords AWS API Documentation
@@ -5275,7 +5337,7 @@ module Aws::BedrockAgentCore
5275
5337
  tracer: tracer
5276
5338
  )
5277
5339
  context[:gem_name] = 'aws-sdk-bedrockagentcore'
5278
- context[:gem_version] = '1.30.0'
5340
+ context[:gem_version] = '1.31.0'
5279
5341
  Seahorse::Client::Request.new(handlers, context)
5280
5342
  end
5281
5343
 
@@ -36,6 +36,8 @@ module Aws::BedrockAgentCore
36
36
  AgentTracesConfig = Shapes::UnionShape.new(name: 'AgentTracesConfig')
37
37
  ApiKeyArn = Shapes::StringShape.new(name: 'ApiKeyArn')
38
38
  ApiKeyType = Shapes::StringShape.new(name: 'ApiKeyType')
39
+ AudienceType = Shapes::StringShape.new(name: 'AudienceType')
40
+ AudiencesListType = Shapes::ListShape.new(name: 'AudiencesListType')
39
41
  AuthorizationUrlType = Shapes::StringShape.new(name: 'AuthorizationUrlType')
40
42
  AutomationStream = Shapes::StructureShape.new(name: 'AutomationStream')
41
43
  AutomationStreamStatus = Shapes::StringShape.new(name: 'AutomationStreamStatus')
@@ -386,7 +388,12 @@ module Aws::BedrockAgentCore
386
388
  MemoryRecordCreateInput = Shapes::StructureShape.new(name: 'MemoryRecordCreateInput')
387
389
  MemoryRecordDeleteInput = Shapes::StructureShape.new(name: 'MemoryRecordDeleteInput')
388
390
  MemoryRecordId = Shapes::StringShape.new(name: 'MemoryRecordId')
391
+ MemoryRecordLeftExpression = Shapes::UnionShape.new(name: 'MemoryRecordLeftExpression')
392
+ MemoryRecordMetadataMap = Shapes::MapShape.new(name: 'MemoryRecordMetadataMap')
393
+ MemoryRecordMetadataValue = Shapes::UnionShape.new(name: 'MemoryRecordMetadataValue')
394
+ MemoryRecordOperatorType = Shapes::StringShape.new(name: 'MemoryRecordOperatorType')
389
395
  MemoryRecordOutput = Shapes::StructureShape.new(name: 'MemoryRecordOutput')
396
+ MemoryRecordRightExpression = Shapes::UnionShape.new(name: 'MemoryRecordRightExpression')
390
397
  MemoryRecordStatus = Shapes::StringShape.new(name: 'MemoryRecordStatus')
391
398
  MemoryRecordSummary = Shapes::StructureShape.new(name: 'MemoryRecordSummary')
392
399
  MemoryRecordSummaryList = Shapes::ListShape.new(name: 'MemoryRecordSummaryList')
@@ -480,6 +487,8 @@ module Aws::BedrockAgentCore
480
487
  ResourceLocation = Shapes::UnionShape.new(name: 'ResourceLocation')
481
488
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
482
489
  ResourceOauth2ReturnUrlType = Shapes::StringShape.new(name: 'ResourceOauth2ReturnUrlType')
490
+ ResourceType = Shapes::StringShape.new(name: 'ResourceType')
491
+ ResourcesListType = Shapes::ListShape.new(name: 'ResourcesListType')
483
492
  ResponseChunk = Shapes::StructureShape.new(name: 'ResponseChunk')
484
493
  ResponseStream = Shapes::BlobShape.new(name: 'ResponseStream', streaming: true)
485
494
  RetrieveMemoryRecordsInput = Shapes::StructureShape.new(name: 'RetrieveMemoryRecordsInput')
@@ -567,8 +576,11 @@ module Aws::BedrockAgentCore
567
576
  StreamUpdate = Shapes::UnionShape.new(name: 'StreamUpdate')
568
577
  String = Shapes::StringShape.new(name: 'String')
569
578
  StringList = Shapes::ListShape.new(name: 'StringList')
579
+ StringListMemberValue = Shapes::StringShape.new(name: 'StringListMemberValue')
570
580
  StringMap = Shapes::MapShape.new(name: 'StringMap')
571
581
  StringType = Shapes::StringShape.new(name: 'StringType')
582
+ StringValue = Shapes::StringShape.new(name: 'StringValue')
583
+ StringValueList = Shapes::ListShape.new(name: 'StringValueList')
572
584
  SyntheticTimestamp_date_time = Shapes::TimestampShape.new(name: 'SyntheticTimestamp_date_time', timestampFormat: "iso8601")
573
585
  SystemPromptConfig = Shapes::UnionShape.new(name: 'SystemPromptConfig')
574
586
  SystemPromptConfigurationBundle = Shapes::StructureShape.new(name: 'SystemPromptConfigurationBundle')
@@ -681,6 +693,8 @@ module Aws::BedrockAgentCore
681
693
  AgentTracesConfig.add_member_subclass(:unknown, Types::AgentTracesConfig::Unknown)
682
694
  AgentTracesConfig.struct_class = Types::AgentTracesConfig
683
695
 
696
+ AudiencesListType.member = Shapes::ShapeRef.new(shape: AudienceType)
697
+
684
698
  AutomationStream.add_member(:stream_endpoint, Shapes::ShapeRef.new(shape: BrowserStreamEndpoint, required: true, location_name: "streamEndpoint"))
685
699
  AutomationStream.add_member(:stream_status, Shapes::ShapeRef.new(shape: AutomationStreamStatus, required: true, location_name: "streamStatus"))
686
700
  AutomationStream.struct_class = Types::AutomationStream
@@ -1341,6 +1355,8 @@ module Aws::BedrockAgentCore
1341
1355
  GetResourceOauth2TokenRequest.add_member(:force_authentication, Shapes::ShapeRef.new(shape: Boolean, location_name: "forceAuthentication"))
1342
1356
  GetResourceOauth2TokenRequest.add_member(:custom_parameters, Shapes::ShapeRef.new(shape: CustomRequestParametersType, location_name: "customParameters"))
1343
1357
  GetResourceOauth2TokenRequest.add_member(:custom_state, Shapes::ShapeRef.new(shape: State, location_name: "customState"))
1358
+ GetResourceOauth2TokenRequest.add_member(:resources, Shapes::ShapeRef.new(shape: ResourcesListType, location_name: "resources"))
1359
+ GetResourceOauth2TokenRequest.add_member(:audiences, Shapes::ShapeRef.new(shape: AudiencesListType, location_name: "audiences"))
1344
1360
  GetResourceOauth2TokenRequest.struct_class = Types::GetResourceOauth2TokenRequest
1345
1361
 
1346
1362
  GetResourceOauth2TokenResponse.add_member(:authorization_url, Shapes::ShapeRef.new(shape: AuthorizationUrlType, location_name: "authorizationUrl"))
@@ -1877,6 +1893,7 @@ module Aws::BedrockAgentCore
1877
1893
  ListMemoryRecordsInput.add_member(:memory_strategy_id, Shapes::ShapeRef.new(shape: MemoryStrategyId, location_name: "memoryStrategyId"))
1878
1894
  ListMemoryRecordsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
1879
1895
  ListMemoryRecordsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
1896
+ ListMemoryRecordsInput.add_member(:metadata_filters, Shapes::ShapeRef.new(shape: MemoryMetadataFilterList, location_name: "metadataFilters"))
1880
1897
  ListMemoryRecordsInput.struct_class = Types::ListMemoryRecordsInput
1881
1898
 
1882
1899
  ListMemoryRecordsOutput.add_member(:memory_record_summaries, Shapes::ShapeRef.new(shape: MemoryRecordSummaryList, required: true, location_name: "memoryRecordSummaries"))
@@ -1916,9 +1933,9 @@ module Aws::BedrockAgentCore
1916
1933
  MemoryContent.add_member_subclass(:unknown, Types::MemoryContent::Unknown)
1917
1934
  MemoryContent.struct_class = Types::MemoryContent
1918
1935
 
1919
- MemoryMetadataFilterExpression.add_member(:left, Shapes::ShapeRef.new(shape: LeftExpression, required: true, location_name: "left"))
1920
- MemoryMetadataFilterExpression.add_member(:operator, Shapes::ShapeRef.new(shape: OperatorType, required: true, location_name: "operator"))
1921
- MemoryMetadataFilterExpression.add_member(:right, Shapes::ShapeRef.new(shape: RightExpression, location_name: "right"))
1936
+ MemoryMetadataFilterExpression.add_member(:left, Shapes::ShapeRef.new(shape: MemoryRecordLeftExpression, required: true, location_name: "left"))
1937
+ MemoryMetadataFilterExpression.add_member(:operator, Shapes::ShapeRef.new(shape: MemoryRecordOperatorType, required: true, location_name: "operator"))
1938
+ MemoryMetadataFilterExpression.add_member(:right, Shapes::ShapeRef.new(shape: MemoryRecordRightExpression, location_name: "right"))
1922
1939
  MemoryMetadataFilterExpression.struct_class = Types::MemoryMetadataFilterExpression
1923
1940
 
1924
1941
  MemoryMetadataFilterList.member = Shapes::ShapeRef.new(shape: MemoryMetadataFilterExpression)
@@ -1928,7 +1945,7 @@ module Aws::BedrockAgentCore
1928
1945
  MemoryRecord.add_member(:memory_strategy_id, Shapes::ShapeRef.new(shape: MemoryStrategyId, required: true, location_name: "memoryStrategyId"))
1929
1946
  MemoryRecord.add_member(:namespaces, Shapes::ShapeRef.new(shape: NamespacesList, required: true, location_name: "namespaces"))
1930
1947
  MemoryRecord.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
1931
- MemoryRecord.add_member(:metadata, Shapes::ShapeRef.new(shape: MetadataMap, location_name: "metadata"))
1948
+ MemoryRecord.add_member(:metadata, Shapes::ShapeRef.new(shape: MemoryRecordMetadataMap, location_name: "metadata"))
1932
1949
  MemoryRecord.struct_class = Types::MemoryRecord
1933
1950
 
1934
1951
  MemoryRecordCreateInput.add_member(:request_identifier, Shapes::ShapeRef.new(shape: RequestIdentifier, required: true, location_name: "requestIdentifier"))
@@ -1936,11 +1953,33 @@ module Aws::BedrockAgentCore
1936
1953
  MemoryRecordCreateInput.add_member(:content, Shapes::ShapeRef.new(shape: MemoryContent, required: true, location_name: "content"))
1937
1954
  MemoryRecordCreateInput.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "timestamp"))
1938
1955
  MemoryRecordCreateInput.add_member(:memory_strategy_id, Shapes::ShapeRef.new(shape: MemoryStrategyId, location_name: "memoryStrategyId"))
1956
+ MemoryRecordCreateInput.add_member(:metadata, Shapes::ShapeRef.new(shape: MemoryRecordMetadataMap, location_name: "metadata"))
1939
1957
  MemoryRecordCreateInput.struct_class = Types::MemoryRecordCreateInput
1940
1958
 
1941
1959
  MemoryRecordDeleteInput.add_member(:memory_record_id, Shapes::ShapeRef.new(shape: MemoryRecordId, required: true, location_name: "memoryRecordId"))
1942
1960
  MemoryRecordDeleteInput.struct_class = Types::MemoryRecordDeleteInput
1943
1961
 
1962
+ MemoryRecordLeftExpression.add_member(:metadata_key, Shapes::ShapeRef.new(shape: MetadataKey, location_name: "metadataKey"))
1963
+ MemoryRecordLeftExpression.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1964
+ MemoryRecordLeftExpression.add_member_subclass(:metadata_key, Types::MemoryRecordLeftExpression::MetadataKey)
1965
+ MemoryRecordLeftExpression.add_member_subclass(:unknown, Types::MemoryRecordLeftExpression::Unknown)
1966
+ MemoryRecordLeftExpression.struct_class = Types::MemoryRecordLeftExpression
1967
+
1968
+ MemoryRecordMetadataMap.key = Shapes::ShapeRef.new(shape: MetadataKey)
1969
+ MemoryRecordMetadataMap.value = Shapes::ShapeRef.new(shape: MemoryRecordMetadataValue)
1970
+
1971
+ MemoryRecordMetadataValue.add_member(:string_value, Shapes::ShapeRef.new(shape: StringValue, location_name: "stringValue"))
1972
+ MemoryRecordMetadataValue.add_member(:string_list_value, Shapes::ShapeRef.new(shape: StringValueList, location_name: "stringListValue"))
1973
+ MemoryRecordMetadataValue.add_member(:number_value, Shapes::ShapeRef.new(shape: Double, location_name: "numberValue"))
1974
+ MemoryRecordMetadataValue.add_member(:date_time_value, Shapes::ShapeRef.new(shape: Timestamp, location_name: "dateTimeValue"))
1975
+ MemoryRecordMetadataValue.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1976
+ MemoryRecordMetadataValue.add_member_subclass(:string_value, Types::MemoryRecordMetadataValue::StringValue)
1977
+ MemoryRecordMetadataValue.add_member_subclass(:string_list_value, Types::MemoryRecordMetadataValue::StringListValue)
1978
+ MemoryRecordMetadataValue.add_member_subclass(:number_value, Types::MemoryRecordMetadataValue::NumberValue)
1979
+ MemoryRecordMetadataValue.add_member_subclass(:date_time_value, Types::MemoryRecordMetadataValue::DateTimeValue)
1980
+ MemoryRecordMetadataValue.add_member_subclass(:unknown, Types::MemoryRecordMetadataValue::Unknown)
1981
+ MemoryRecordMetadataValue.struct_class = Types::MemoryRecordMetadataValue
1982
+
1944
1983
  MemoryRecordOutput.add_member(:memory_record_id, Shapes::ShapeRef.new(shape: MemoryRecordId, required: true, location_name: "memoryRecordId"))
1945
1984
  MemoryRecordOutput.add_member(:status, Shapes::ShapeRef.new(shape: MemoryRecordStatus, required: true, location_name: "status"))
1946
1985
  MemoryRecordOutput.add_member(:request_identifier, Shapes::ShapeRef.new(shape: RequestIdentifier, location_name: "requestIdentifier"))
@@ -1948,13 +1987,19 @@ module Aws::BedrockAgentCore
1948
1987
  MemoryRecordOutput.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "errorMessage"))
1949
1988
  MemoryRecordOutput.struct_class = Types::MemoryRecordOutput
1950
1989
 
1990
+ MemoryRecordRightExpression.add_member(:metadata_value, Shapes::ShapeRef.new(shape: MemoryRecordMetadataValue, location_name: "metadataValue"))
1991
+ MemoryRecordRightExpression.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1992
+ MemoryRecordRightExpression.add_member_subclass(:metadata_value, Types::MemoryRecordRightExpression::MetadataValue)
1993
+ MemoryRecordRightExpression.add_member_subclass(:unknown, Types::MemoryRecordRightExpression::Unknown)
1994
+ MemoryRecordRightExpression.struct_class = Types::MemoryRecordRightExpression
1995
+
1951
1996
  MemoryRecordSummary.add_member(:memory_record_id, Shapes::ShapeRef.new(shape: MemoryRecordId, required: true, location_name: "memoryRecordId"))
1952
1997
  MemoryRecordSummary.add_member(:content, Shapes::ShapeRef.new(shape: MemoryContent, required: true, location_name: "content"))
1953
1998
  MemoryRecordSummary.add_member(:memory_strategy_id, Shapes::ShapeRef.new(shape: MemoryStrategyId, required: true, location_name: "memoryStrategyId"))
1954
1999
  MemoryRecordSummary.add_member(:namespaces, Shapes::ShapeRef.new(shape: NamespacesList, required: true, location_name: "namespaces"))
1955
2000
  MemoryRecordSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
1956
2001
  MemoryRecordSummary.add_member(:score, Shapes::ShapeRef.new(shape: Double, location_name: "score"))
1957
- MemoryRecordSummary.add_member(:metadata, Shapes::ShapeRef.new(shape: MetadataMap, location_name: "metadata"))
2002
+ MemoryRecordSummary.add_member(:metadata, Shapes::ShapeRef.new(shape: MemoryRecordMetadataMap, location_name: "metadata"))
1958
2003
  MemoryRecordSummary.struct_class = Types::MemoryRecordSummary
1959
2004
 
1960
2005
  MemoryRecordSummaryList.member = Shapes::ShapeRef.new(shape: MemoryRecordSummary)
@@ -1964,6 +2009,7 @@ module Aws::BedrockAgentCore
1964
2009
  MemoryRecordUpdateInput.add_member(:content, Shapes::ShapeRef.new(shape: MemoryContent, location_name: "content"))
1965
2010
  MemoryRecordUpdateInput.add_member(:namespaces, Shapes::ShapeRef.new(shape: NamespacesList, location_name: "namespaces"))
1966
2011
  MemoryRecordUpdateInput.add_member(:memory_strategy_id, Shapes::ShapeRef.new(shape: MemoryStrategyId, location_name: "memoryStrategyId"))
2012
+ MemoryRecordUpdateInput.add_member(:metadata, Shapes::ShapeRef.new(shape: MemoryRecordMetadataMap, location_name: "metadata"))
1967
2013
  MemoryRecordUpdateInput.struct_class = Types::MemoryRecordUpdateInput
1968
2014
 
1969
2015
  MemoryRecordsCreateInputList.member = Shapes::ShapeRef.new(shape: MemoryRecordCreateInput)
@@ -2156,6 +2202,8 @@ module Aws::BedrockAgentCore
2156
2202
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
2157
2203
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
2158
2204
 
2205
+ ResourcesListType.member = Shapes::ShapeRef.new(shape: ResourceType)
2206
+
2159
2207
  ResponseChunk.add_member(:content_start, Shapes::ShapeRef.new(shape: ContentStartEvent, location_name: "contentStart"))
2160
2208
  ResponseChunk.add_member(:content_delta, Shapes::ShapeRef.new(shape: ContentDeltaEvent, location_name: "contentDelta"))
2161
2209
  ResponseChunk.add_member(:content_stop, Shapes::ShapeRef.new(shape: ContentStopEvent, location_name: "contentStop"))
@@ -2418,6 +2466,8 @@ module Aws::BedrockAgentCore
2418
2466
  StringMap.key = Shapes::ShapeRef.new(shape: String)
2419
2467
  StringMap.value = Shapes::ShapeRef.new(shape: String)
2420
2468
 
2469
+ StringValueList.member = Shapes::ShapeRef.new(shape: StringListMemberValue)
2470
+
2421
2471
  SystemPromptConfig.add_member(:text, Shapes::ShapeRef.new(shape: SystemPromptText, location_name: "text"))
2422
2472
  SystemPromptConfig.add_member(:configuration_bundle, Shapes::ShapeRef.new(shape: SystemPromptConfigurationBundle, location_name: "configurationBundle"))
2423
2473
  SystemPromptConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
@@ -3157,6 +3157,17 @@ module Aws::BedrockAgentCore
3157
3157
  # the response corresponds to the original request.
3158
3158
  # @return [String]
3159
3159
  #
3160
+ # @!attribute [rw] resources
3161
+ # The resources to include in the token request. These are used to
3162
+ # specify the target resources for which the OAuth2 token is being
3163
+ # requested.
3164
+ # @return [Array<String>]
3165
+ #
3166
+ # @!attribute [rw] audiences
3167
+ # The audiences to include in the token request. These are used to
3168
+ # specify the intended recipients of the OAuth2 token.
3169
+ # @return [Array<String>]
3170
+ #
3160
3171
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/GetResourceOauth2TokenRequest AWS API Documentation
3161
3172
  #
3162
3173
  class GetResourceOauth2TokenRequest < Struct.new(
@@ -3168,7 +3179,9 @@ module Aws::BedrockAgentCore
3168
3179
  :resource_oauth_2_return_url,
3169
3180
  :force_authentication,
3170
3181
  :custom_parameters,
3171
- :custom_state)
3182
+ :custom_state,
3183
+ :resources,
3184
+ :audiences)
3172
3185
  SENSITIVE = [:workload_identity_token, :custom_parameters, :custom_state]
3173
3186
  include Aws::Structure
3174
3187
  end
@@ -5376,6 +5389,11 @@ module Aws::BedrockAgentCore
5376
5389
  # results.
5377
5390
  # @return [String]
5378
5391
  #
5392
+ # @!attribute [rw] metadata_filters
5393
+ # A list of metadata filter expressions to scope the returned memory
5394
+ # records.
5395
+ # @return [Array<Types::MemoryMetadataFilterExpression>]
5396
+ #
5379
5397
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/ListMemoryRecordsInput AWS API Documentation
5380
5398
  #
5381
5399
  class ListMemoryRecordsInput < Struct.new(
@@ -5384,7 +5402,8 @@ module Aws::BedrockAgentCore
5384
5402
  :namespace_path,
5385
5403
  :memory_strategy_id,
5386
5404
  :max_results,
5387
- :next_token)
5405
+ :next_token,
5406
+ :metadata_filters)
5388
5407
  SENSITIVE = []
5389
5408
  include Aws::Structure
5390
5409
  end
@@ -5580,8 +5599,8 @@ module Aws::BedrockAgentCore
5580
5599
  # `operator` field to define the relationship to match.
5581
5600
  #
5582
5601
  # @!attribute [rw] left
5583
- # Left expression of the event metadata filter.
5584
- # @return [Types::LeftExpression]
5602
+ # The metadata key to evaluate.
5603
+ # @return [Types::MemoryRecordLeftExpression]
5585
5604
  #
5586
5605
  # @!attribute [rw] operator
5587
5606
  # The relationship between the metadata key and value to match when
@@ -5589,8 +5608,9 @@ module Aws::BedrockAgentCore
5589
5608
  # @return [String]
5590
5609
  #
5591
5610
  # @!attribute [rw] right
5592
- # Right expression of the `eventMetadata`filter.
5593
- # @return [Types::RightExpression]
5611
+ # The value to compare against. Required for all operators except
5612
+ # EXISTS and NOT\_EXISTS.
5613
+ # @return [Types::MemoryRecordRightExpression]
5594
5614
  #
5595
5615
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/MemoryMetadataFilterExpression AWS API Documentation
5596
5616
  #
@@ -5628,7 +5648,7 @@ module Aws::BedrockAgentCore
5628
5648
  #
5629
5649
  # @!attribute [rw] metadata
5630
5650
  # A map of metadata key-value pairs associated with a memory record.
5631
- # @return [Hash<String,Types::MetadataValue>]
5651
+ # @return [Hash<String,Types::MemoryRecordMetadataValue>]
5632
5652
  #
5633
5653
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/MemoryRecord AWS API Documentation
5634
5654
  #
@@ -5668,6 +5688,10 @@ module Aws::BedrockAgentCore
5668
5688
  # grouped.
5669
5689
  # @return [String]
5670
5690
  #
5691
+ # @!attribute [rw] metadata
5692
+ # Metadata key-value pairs to be stored with the memory record.
5693
+ # @return [Hash<String,Types::MemoryRecordMetadataValue>]
5694
+ #
5671
5695
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/MemoryRecordCreateInput AWS API Documentation
5672
5696
  #
5673
5697
  class MemoryRecordCreateInput < Struct.new(
@@ -5675,7 +5699,8 @@ module Aws::BedrockAgentCore
5675
5699
  :namespaces,
5676
5700
  :content,
5677
5701
  :timestamp,
5678
- :memory_strategy_id)
5702
+ :memory_strategy_id,
5703
+ :metadata)
5679
5704
  SENSITIVE = []
5680
5705
  include Aws::Structure
5681
5706
  end
@@ -5694,6 +5719,68 @@ module Aws::BedrockAgentCore
5694
5719
  include Aws::Structure
5695
5720
  end
5696
5721
 
5722
+ # The left-hand side of a memory record metadata filter expression.
5723
+ #
5724
+ # @note MemoryRecordLeftExpression is a union - when making an API calls you must set exactly one of the members.
5725
+ #
5726
+ # @!attribute [rw] metadata_key
5727
+ # The metadata key to filter on.
5728
+ # @return [String]
5729
+ #
5730
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/MemoryRecordLeftExpression AWS API Documentation
5731
+ #
5732
+ class MemoryRecordLeftExpression < Struct.new(
5733
+ :metadata_key,
5734
+ :unknown)
5735
+ SENSITIVE = []
5736
+ include Aws::Structure
5737
+ include Aws::Structure::Union
5738
+
5739
+ class MetadataKey < MemoryRecordLeftExpression; end
5740
+ class Unknown < MemoryRecordLeftExpression; end
5741
+ end
5742
+
5743
+ # The value of a memory record metadata entry.
5744
+ #
5745
+ # @note MemoryRecordMetadataValue is a union - when making an API calls you must set exactly one of the members.
5746
+ #
5747
+ # @note MemoryRecordMetadataValue is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of MemoryRecordMetadataValue corresponding to the set member.
5748
+ #
5749
+ # @!attribute [rw] string_value
5750
+ # A string value.
5751
+ # @return [String]
5752
+ #
5753
+ # @!attribute [rw] string_list_value
5754
+ # A list of string values.
5755
+ # @return [Array<String>]
5756
+ #
5757
+ # @!attribute [rw] number_value
5758
+ # A numeric value.
5759
+ # @return [Float]
5760
+ #
5761
+ # @!attribute [rw] date_time_value
5762
+ # A timestamp value in ISO 8601 UTC format.
5763
+ # @return [Time]
5764
+ #
5765
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/MemoryRecordMetadataValue AWS API Documentation
5766
+ #
5767
+ class MemoryRecordMetadataValue < Struct.new(
5768
+ :string_value,
5769
+ :string_list_value,
5770
+ :number_value,
5771
+ :date_time_value,
5772
+ :unknown)
5773
+ SENSITIVE = []
5774
+ include Aws::Structure
5775
+ include Aws::Structure::Union
5776
+
5777
+ class StringValue < MemoryRecordMetadataValue; end
5778
+ class StringListValue < MemoryRecordMetadataValue; end
5779
+ class NumberValue < MemoryRecordMetadataValue; end
5780
+ class DateTimeValue < MemoryRecordMetadataValue; end
5781
+ class Unknown < MemoryRecordMetadataValue; end
5782
+ end
5783
+
5697
5784
  # Output information returned after processing a memory record
5698
5785
  # operation.
5699
5786
  #
@@ -5731,6 +5818,27 @@ module Aws::BedrockAgentCore
5731
5818
  include Aws::Structure
5732
5819
  end
5733
5820
 
5821
+ # The right-hand side of a memory record metadata filter expression.
5822
+ #
5823
+ # @note MemoryRecordRightExpression is a union - when making an API calls you must set exactly one of the members.
5824
+ #
5825
+ # @!attribute [rw] metadata_value
5826
+ # The metadata value to compare against.
5827
+ # @return [Types::MemoryRecordMetadataValue]
5828
+ #
5829
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/MemoryRecordRightExpression AWS API Documentation
5830
+ #
5831
+ class MemoryRecordRightExpression < Struct.new(
5832
+ :metadata_value,
5833
+ :unknown)
5834
+ SENSITIVE = []
5835
+ include Aws::Structure
5836
+ include Aws::Structure::Union
5837
+
5838
+ class MetadataValue < MemoryRecordRightExpression; end
5839
+ class Unknown < MemoryRecordRightExpression; end
5840
+ end
5841
+
5734
5842
  # Contains summary information about a memory record.
5735
5843
  #
5736
5844
  # @!attribute [rw] memory_record_id
@@ -5761,7 +5869,7 @@ module Aws::BedrockAgentCore
5761
5869
  #
5762
5870
  # @!attribute [rw] metadata
5763
5871
  # A map of metadata key-value pairs associated with a memory record.
5764
- # @return [Hash<String,Types::MetadataValue>]
5872
+ # @return [Hash<String,Types::MemoryRecordMetadataValue>]
5765
5873
  #
5766
5874
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/MemoryRecordSummary AWS API Documentation
5767
5875
  #
@@ -5801,6 +5909,10 @@ module Aws::BedrockAgentCore
5801
5909
  # record is grouped.
5802
5910
  # @return [String]
5803
5911
  #
5912
+ # @!attribute [rw] metadata
5913
+ # Metadata key-value pairs to be stored with the memory record.
5914
+ # @return [Hash<String,Types::MemoryRecordMetadataValue>]
5915
+ #
5804
5916
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/MemoryRecordUpdateInput AWS API Documentation
5805
5917
  #
5806
5918
  class MemoryRecordUpdateInput < Struct.new(
@@ -5808,7 +5920,8 @@ module Aws::BedrockAgentCore
5808
5920
  :timestamp,
5809
5921
  :content,
5810
5922
  :namespaces,
5811
- :memory_strategy_id)
5923
+ :memory_strategy_id,
5924
+ :metadata)
5812
5925
  SENSITIVE = []
5813
5926
  include Aws::Structure
5814
5927
  end
@@ -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.30.0'
59
+ GEM_VERSION = '1.31.0'
60
60
 
61
61
  end
62
62
 
data/sig/client.rbs CHANGED
@@ -97,7 +97,13 @@ module Aws
97
97
  text: ::String?
98
98
  },
99
99
  timestamp: ::Time,
100
- memory_strategy_id: ::String?
100
+ memory_strategy_id: ::String?,
101
+ metadata: Hash[::String, {
102
+ string_value: ::String?,
103
+ string_list_value: Array[::String]?,
104
+ number_value: ::Float?,
105
+ date_time_value: ::Time?
106
+ }]?
101
107
  },
102
108
  ],
103
109
  ?client_token: ::String
@@ -136,7 +142,13 @@ module Aws
136
142
  text: ::String?
137
143
  }?,
138
144
  namespaces: Array[::String]?,
139
- memory_strategy_id: ::String?
145
+ memory_strategy_id: ::String?,
146
+ metadata: Hash[::String, {
147
+ string_value: ::String?,
148
+ string_list_value: Array[::String]?,
149
+ number_value: ::Float?,
150
+ date_time_value: ::Time?
151
+ }]?
140
152
  },
141
153
  ]
142
154
  ) -> _BatchUpdateMemoryRecordsResponseSuccess
@@ -507,12 +519,14 @@ module Aws
507
519
  workload_identity_token: ::String,
508
520
  resource_credential_provider_name: ::String,
509
521
  scopes: Array[::String],
510
- oauth2_flow: ("USER_FEDERATION" | "M2M"),
522
+ oauth2_flow: ("USER_FEDERATION" | "M2M" | "ON_BEHALF_OF_TOKEN_EXCHANGE"),
511
523
  ?session_uri: ::String,
512
524
  ?resource_oauth_2_return_url: ::String,
513
525
  ?force_authentication: bool,
514
526
  ?custom_parameters: Hash[::String, ::String],
515
- ?custom_state: ::String
527
+ ?custom_state: ::String,
528
+ ?resources: Array[::String],
529
+ ?audiences: Array[::String]
516
530
  ) -> _GetResourceOauth2TokenResponseSuccess
517
531
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourceOauth2TokenResponseSuccess
518
532
 
@@ -949,7 +963,23 @@ module Aws
949
963
  ?namespace_path: ::String,
950
964
  ?memory_strategy_id: ::String,
951
965
  ?max_results: ::Integer,
952
- ?next_token: ::String
966
+ ?next_token: ::String,
967
+ ?metadata_filters: Array[
968
+ {
969
+ left: {
970
+ metadata_key: ::String?
971
+ },
972
+ operator: ("EQUALS_TO" | "EXISTS" | "NOT_EXISTS" | "BEFORE" | "AFTER" | "CONTAINS" | "GREATER_THAN" | "GREATER_THAN_OR_EQUALS" | "LESS_THAN" | "LESS_THAN_OR_EQUALS"),
973
+ right: {
974
+ metadata_value: {
975
+ string_value: ::String?,
976
+ string_list_value: Array[::String]?,
977
+ number_value: ::Float?,
978
+ date_time_value: ::Time?
979
+ }?
980
+ }?
981
+ },
982
+ ]
953
983
  ) -> _ListMemoryRecordsResponseSuccess
954
984
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMemoryRecordsResponseSuccess
955
985
 
@@ -1002,10 +1032,13 @@ module Aws
1002
1032
  left: {
1003
1033
  metadata_key: ::String?
1004
1034
  },
1005
- operator: ("EQUALS_TO" | "EXISTS" | "NOT_EXISTS"),
1035
+ operator: ("EQUALS_TO" | "EXISTS" | "NOT_EXISTS" | "BEFORE" | "AFTER" | "CONTAINS" | "GREATER_THAN" | "GREATER_THAN_OR_EQUALS" | "LESS_THAN" | "LESS_THAN_OR_EQUALS"),
1006
1036
  right: {
1007
1037
  metadata_value: {
1008
- string_value: ::String?
1038
+ string_value: ::String?,
1039
+ string_list_value: Array[::String]?,
1040
+ number_value: ::Float?,
1041
+ date_time_value: ::Time?
1009
1042
  }?
1010
1043
  }?
1011
1044
  },
data/sig/types.rbs CHANGED
@@ -932,12 +932,14 @@ module Aws::BedrockAgentCore
932
932
  attr_accessor workload_identity_token: ::String
933
933
  attr_accessor resource_credential_provider_name: ::String
934
934
  attr_accessor scopes: ::Array[::String]
935
- attr_accessor oauth2_flow: ("USER_FEDERATION" | "M2M")
935
+ attr_accessor oauth2_flow: ("USER_FEDERATION" | "M2M" | "ON_BEHALF_OF_TOKEN_EXCHANGE")
936
936
  attr_accessor session_uri: ::String
937
937
  attr_accessor resource_oauth_2_return_url: ::String
938
938
  attr_accessor force_authentication: bool
939
939
  attr_accessor custom_parameters: ::Hash[::String, ::String]
940
940
  attr_accessor custom_state: ::String
941
+ attr_accessor resources: ::Array[::String]
942
+ attr_accessor audiences: ::Array[::String]
941
943
  SENSITIVE: [:workload_identity_token, :custom_state]
942
944
  end
943
945
 
@@ -1652,6 +1654,7 @@ module Aws::BedrockAgentCore
1652
1654
  attr_accessor memory_strategy_id: ::String
1653
1655
  attr_accessor max_results: ::Integer
1654
1656
  attr_accessor next_token: ::String
1657
+ attr_accessor metadata_filters: ::Array[Types::MemoryMetadataFilterExpression]
1655
1658
  SENSITIVE: []
1656
1659
  end
1657
1660
 
@@ -1712,9 +1715,9 @@ module Aws::BedrockAgentCore
1712
1715
  end
1713
1716
 
1714
1717
  class MemoryMetadataFilterExpression
1715
- attr_accessor left: Types::LeftExpression
1716
- attr_accessor operator: ("EQUALS_TO" | "EXISTS" | "NOT_EXISTS")
1717
- attr_accessor right: Types::RightExpression
1718
+ attr_accessor left: Types::MemoryRecordLeftExpression
1719
+ attr_accessor operator: ("EQUALS_TO" | "EXISTS" | "NOT_EXISTS" | "BEFORE" | "AFTER" | "CONTAINS" | "GREATER_THAN" | "GREATER_THAN_OR_EQUALS" | "LESS_THAN" | "LESS_THAN_OR_EQUALS")
1720
+ attr_accessor right: Types::MemoryRecordRightExpression
1718
1721
  SENSITIVE: []
1719
1722
  end
1720
1723
 
@@ -1724,7 +1727,7 @@ module Aws::BedrockAgentCore
1724
1727
  attr_accessor memory_strategy_id: ::String
1725
1728
  attr_accessor namespaces: ::Array[::String]
1726
1729
  attr_accessor created_at: ::Time
1727
- attr_accessor metadata: ::Hash[::String, Types::MetadataValue]
1730
+ attr_accessor metadata: ::Hash[::String, Types::MemoryRecordMetadataValue]
1728
1731
  SENSITIVE: []
1729
1732
  end
1730
1733
 
@@ -1734,6 +1737,7 @@ module Aws::BedrockAgentCore
1734
1737
  attr_accessor content: Types::MemoryContent
1735
1738
  attr_accessor timestamp: ::Time
1736
1739
  attr_accessor memory_strategy_id: ::String
1740
+ attr_accessor metadata: ::Hash[::String, Types::MemoryRecordMetadataValue]
1737
1741
  SENSITIVE: []
1738
1742
  end
1739
1743
 
@@ -1742,6 +1746,37 @@ module Aws::BedrockAgentCore
1742
1746
  SENSITIVE: []
1743
1747
  end
1744
1748
 
1749
+ class MemoryRecordLeftExpression
1750
+ attr_accessor metadata_key: ::String
1751
+ attr_accessor unknown: untyped
1752
+ SENSITIVE: []
1753
+
1754
+ class MetadataKey < MemoryRecordLeftExpression
1755
+ end
1756
+ class Unknown < MemoryRecordLeftExpression
1757
+ end
1758
+ end
1759
+
1760
+ class MemoryRecordMetadataValue
1761
+ attr_accessor string_value: ::String
1762
+ attr_accessor string_list_value: ::Array[::String]
1763
+ attr_accessor number_value: ::Float
1764
+ attr_accessor date_time_value: ::Time
1765
+ attr_accessor unknown: untyped
1766
+ SENSITIVE: []
1767
+
1768
+ class StringValue < MemoryRecordMetadataValue
1769
+ end
1770
+ class StringListValue < MemoryRecordMetadataValue
1771
+ end
1772
+ class NumberValue < MemoryRecordMetadataValue
1773
+ end
1774
+ class DateTimeValue < MemoryRecordMetadataValue
1775
+ end
1776
+ class Unknown < MemoryRecordMetadataValue
1777
+ end
1778
+ end
1779
+
1745
1780
  class MemoryRecordOutput
1746
1781
  attr_accessor memory_record_id: ::String
1747
1782
  attr_accessor status: ("SUCCEEDED" | "FAILED")
@@ -1751,6 +1786,17 @@ module Aws::BedrockAgentCore
1751
1786
  SENSITIVE: []
1752
1787
  end
1753
1788
 
1789
+ class MemoryRecordRightExpression
1790
+ attr_accessor metadata_value: Types::MemoryRecordMetadataValue
1791
+ attr_accessor unknown: untyped
1792
+ SENSITIVE: []
1793
+
1794
+ class MetadataValue < MemoryRecordRightExpression
1795
+ end
1796
+ class Unknown < MemoryRecordRightExpression
1797
+ end
1798
+ end
1799
+
1754
1800
  class MemoryRecordSummary
1755
1801
  attr_accessor memory_record_id: ::String
1756
1802
  attr_accessor content: Types::MemoryContent
@@ -1758,7 +1804,7 @@ module Aws::BedrockAgentCore
1758
1804
  attr_accessor namespaces: ::Array[::String]
1759
1805
  attr_accessor created_at: ::Time
1760
1806
  attr_accessor score: ::Float
1761
- attr_accessor metadata: ::Hash[::String, Types::MetadataValue]
1807
+ attr_accessor metadata: ::Hash[::String, Types::MemoryRecordMetadataValue]
1762
1808
  SENSITIVE: []
1763
1809
  end
1764
1810
 
@@ -1768,6 +1814,7 @@ module Aws::BedrockAgentCore
1768
1814
  attr_accessor content: Types::MemoryContent
1769
1815
  attr_accessor namespaces: ::Array[::String]
1770
1816
  attr_accessor memory_strategy_id: ::String
1817
+ attr_accessor metadata: ::Hash[::String, Types::MemoryRecordMetadataValue]
1771
1818
  SENSITIVE: []
1772
1819
  end
1773
1820
 
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.30.0
4
+ version: 1.31.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services