aws-sdk-bedrockagentcore 1.57.0 → 1.58.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: 80eb8990a20e048a41ab853f5401b2b5f32d60f73c14c83676cdb308b21ca3f6
4
- data.tar.gz: 36ff647c6656782b24e3f1f311d1b6a486e3e121debb20b384f418c08b5a390d
3
+ metadata.gz: 330e5b287a6debd1f0295bb8a4492d69cc59a54f865010889d6ffecbc9e3d1db
4
+ data.tar.gz: 76a2dd331bc84aeb0866b0c586d8474feeb8f356969a32ac2c5749eeb99ad31a
5
5
  SHA512:
6
- metadata.gz: 71bc461035b22c6181e84c8c721a7727f7c04aeec8c260ed445aeb93572a51cc0e60ae08ca3e0aa0f89cb901df3500f5934b5cf7a372fcfb798598a31fb6d1a5
7
- data.tar.gz: 6c307e07d2804570e8ed7c969466d2572d8d51b388d1c3b8272c6d9f73c9dfbaca408a2bf68c9fdbfe6d21fb306b48f16ec65cb91d5883a4da1532d7cef17ed8
6
+ metadata.gz: ec68d5f9e08dfe1435c77807afaf29a4620ca31d2306291c77b5d2cfc90955ef86fca46c2295f09b751b860f818385739e60b68fcbff80e2849c860988220910
7
+ data.tar.gz: 41d2432ee157100ddf20d841266ae440a30cc1e4566005478e71365f9ebbc5fc6f467c4fb357cae5fe2bc1c9443a8e875307ff4b2bdc2095c1726ef7eeb58f58
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.58.0 (2026-10-12)
5
+ ------------------
6
+
7
+ * Feature - AgentCore Memory now supports Long-Term Memory Time-to-Live on Batch APIs.
8
+
4
9
  1.57.0 (2026-09-21)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.57.0
1
+ 1.58.0
@@ -502,6 +502,15 @@ module Aws::BedrockAgentCore
502
502
  # **A suitable default value is auto-generated.** You should normally
503
503
  # not need to pass this option.**
504
504
  #
505
+ # @option params [Types::RecordExpirySpecification] :record_expiry_specification
506
+ # The record expiry (long-term memory time-to-live) applied to every
507
+ # record created by this request. Set `recordExpiryDurationDays` to the
508
+ # number of days after which the records expire. Only the expiry
509
+ # provided here is applied; the records' strategy association has no
510
+ # effect on their expiry. If you do not provide this value, the records
511
+ # do not expire. The `REMOVE` action does not apply when creating
512
+ # records.
513
+ #
505
514
  # @return [Types::BatchCreateMemoryRecordsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
506
515
  #
507
516
  # * {Types::BatchCreateMemoryRecordsOutput#successful_records #successful_records} => Array<Types::MemoryRecordOutput>
@@ -531,6 +540,10 @@ module Aws::BedrockAgentCore
531
540
  # },
532
541
  # ],
533
542
  # client_token: "String",
543
+ # record_expiry_specification: {
544
+ # record_expiry_duration_days: 1,
545
+ # action: "REMOVE", # accepts REMOVE
546
+ # },
534
547
  # })
535
548
  #
536
549
  # @example Response structure
@@ -618,6 +631,28 @@ module Aws::BedrockAgentCore
618
631
  # A list of memory record update inputs to be processed in the batch
619
632
  # operation.
620
633
  #
634
+ # @option params [Types::RecordExpirySpecification] :record_expiry_specification
635
+ # The record expiry (long-term memory time-to-live) applied to every
636
+ # record updated by this request. Set `recordExpiryDurationDays` to
637
+ # configure or overwrite the number of days after which the records
638
+ # expire, or set `action` to `REMOVE` to clear a previously configured
639
+ # expiry so that the records no longer expire.
640
+ #
641
+ # When you do not provide this value, the service determines each
642
+ # record's expiry from its current state:
643
+ #
644
+ # * If the record already has an expiry configured, the service resets
645
+ # and reapplies the expiry based on the last applied
646
+ # `recordExpiryDurationDays`.
647
+ #
648
+ # * If the record does not have an expiry configured, no expiry is
649
+ # applied and the record remains non-expiring. This is the outcome
650
+ # regardless of whether the record's strategy configures an expiry.
651
+ #
652
+ # Providing an explicit `recordExpiryDurationDays` always takes
653
+ # precedence: it overwrites an existing expiry, or sets one on a record
654
+ # that previously had none.
655
+ #
621
656
  # @return [Types::BatchUpdateMemoryRecordsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
622
657
  #
623
658
  # * {Types::BatchUpdateMemoryRecordsOutput#successful_records #successful_records} => Array<Types::MemoryRecordOutput>
@@ -647,6 +682,10 @@ module Aws::BedrockAgentCore
647
682
  # },
648
683
  # },
649
684
  # ],
685
+ # record_expiry_specification: {
686
+ # record_expiry_duration_days: 1,
687
+ # action: "REMOVE", # accepts REMOVE
688
+ # },
650
689
  # })
651
690
  #
652
691
  # @example Response structure
@@ -2107,12 +2146,14 @@ module Aws::BedrockAgentCore
2107
2146
  # resp.memory_record.namespaces #=> Array
2108
2147
  # resp.memory_record.namespaces[0] #=> String
2109
2148
  # resp.memory_record.created_at #=> Time
2149
+ # resp.memory_record.timestamp #=> Time
2110
2150
  # resp.memory_record.metadata #=> Hash
2111
2151
  # resp.memory_record.metadata["MetadataKey"].string_value #=> String
2112
2152
  # resp.memory_record.metadata["MetadataKey"].string_list_value #=> Array
2113
2153
  # resp.memory_record.metadata["MetadataKey"].string_list_value[0] #=> String
2114
2154
  # resp.memory_record.metadata["MetadataKey"].number_value #=> Float
2115
2155
  # resp.memory_record.metadata["MetadataKey"].date_time_value #=> Time
2156
+ # resp.memory_record.expires_at #=> Time
2116
2157
  #
2117
2158
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/GetMemoryRecord AWS API Documentation
2118
2159
  #
@@ -4775,6 +4816,7 @@ module Aws::BedrockAgentCore
4775
4816
  # resp.memory_record_summaries[0].namespaces[0] #=> String
4776
4817
  # resp.memory_record_summaries[0].created_at #=> Time
4777
4818
  # resp.memory_record_summaries[0].score #=> Float
4819
+ # resp.memory_record_summaries[0].timestamp #=> Time
4778
4820
  # resp.memory_record_summaries[0].metadata #=> Hash
4779
4821
  # resp.memory_record_summaries[0].metadata["MetadataKey"].string_value #=> String
4780
4822
  # resp.memory_record_summaries[0].metadata["MetadataKey"].string_list_value #=> Array
@@ -5202,6 +5244,7 @@ module Aws::BedrockAgentCore
5202
5244
  # resp.memory_record_summaries[0].namespaces[0] #=> String
5203
5245
  # resp.memory_record_summaries[0].created_at #=> Time
5204
5246
  # resp.memory_record_summaries[0].score #=> Float
5247
+ # resp.memory_record_summaries[0].timestamp #=> Time
5205
5248
  # resp.memory_record_summaries[0].metadata #=> Hash
5206
5249
  # resp.memory_record_summaries[0].metadata["MetadataKey"].string_value #=> String
5207
5250
  # resp.memory_record_summaries[0].metadata["MetadataKey"].string_list_value #=> Array
@@ -6583,7 +6626,7 @@ module Aws::BedrockAgentCore
6583
6626
  tracer: tracer
6584
6627
  )
6585
6628
  context[:gem_name] = 'aws-sdk-bedrockagentcore'
6586
- context[:gem_version] = '1.57.0'
6629
+ context[:gem_version] = '1.58.0'
6587
6630
  Seahorse::Client::Request.new(handlers, context)
6588
6631
  end
6589
6632
 
@@ -633,6 +633,9 @@ module Aws::BedrockAgentCore
633
633
  RecommendationSummaryList = Shapes::ListShape.new(name: 'RecommendationSummaryList')
634
634
  RecommendationToolName = Shapes::StringShape.new(name: 'RecommendationToolName')
635
635
  RecommendationType = Shapes::StringShape.new(name: 'RecommendationType')
636
+ RecordExpiryAction = Shapes::StringShape.new(name: 'RecordExpiryAction')
637
+ RecordExpiryDurationDays = Shapes::IntegerShape.new(name: 'RecordExpiryDurationDays')
638
+ RecordExpirySpecification = Shapes::UnionShape.new(name: 'RecordExpirySpecification')
636
639
  RegistryArn = Shapes::StringShape.new(name: 'RegistryArn')
637
640
  RegistryIdentifier = Shapes::StringShape.new(name: 'RegistryIdentifier')
638
641
  RegistryRecordArn = Shapes::StringShape.new(name: 'RegistryRecordArn')
@@ -929,6 +932,7 @@ module Aws::BedrockAgentCore
929
932
  BatchCreateMemoryRecordsInput.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location: "uri", location_name: "memoryId"))
930
933
  BatchCreateMemoryRecordsInput.add_member(:records, Shapes::ShapeRef.new(shape: MemoryRecordsCreateInputList, required: true, location_name: "records"))
931
934
  BatchCreateMemoryRecordsInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
935
+ BatchCreateMemoryRecordsInput.add_member(:record_expiry_specification, Shapes::ShapeRef.new(shape: RecordExpirySpecification, location_name: "recordExpirySpecification"))
932
936
  BatchCreateMemoryRecordsInput.struct_class = Types::BatchCreateMemoryRecordsInput
933
937
 
934
938
  BatchCreateMemoryRecordsOutput.add_member(:successful_records, Shapes::ShapeRef.new(shape: MemoryRecordsOutputList, required: true, location_name: "successfulRecords"))
@@ -964,6 +968,7 @@ module Aws::BedrockAgentCore
964
968
 
965
969
  BatchUpdateMemoryRecordsInput.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location: "uri", location_name: "memoryId"))
966
970
  BatchUpdateMemoryRecordsInput.add_member(:records, Shapes::ShapeRef.new(shape: MemoryRecordsUpdateInputList, required: true, location_name: "records"))
971
+ BatchUpdateMemoryRecordsInput.add_member(:record_expiry_specification, Shapes::ShapeRef.new(shape: RecordExpirySpecification, location_name: "recordExpirySpecification"))
967
972
  BatchUpdateMemoryRecordsInput.struct_class = Types::BatchUpdateMemoryRecordsInput
968
973
 
969
974
  BatchUpdateMemoryRecordsOutput.add_member(:successful_records, Shapes::ShapeRef.new(shape: MemoryRecordsOutputList, required: true, location_name: "successfulRecords"))
@@ -2531,7 +2536,9 @@ module Aws::BedrockAgentCore
2531
2536
  MemoryRecord.add_member(:memory_strategy_id, Shapes::ShapeRef.new(shape: MemoryStrategyId, required: true, location_name: "memoryStrategyId"))
2532
2537
  MemoryRecord.add_member(:namespaces, Shapes::ShapeRef.new(shape: NamespacesList, required: true, location_name: "namespaces"))
2533
2538
  MemoryRecord.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
2539
+ MemoryRecord.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "timestamp"))
2534
2540
  MemoryRecord.add_member(:metadata, Shapes::ShapeRef.new(shape: MemoryRecordMetadataMap, location_name: "metadata"))
2541
+ MemoryRecord.add_member(:expires_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "expiresAt"))
2535
2542
  MemoryRecord.struct_class = Types::MemoryRecord
2536
2543
 
2537
2544
  MemoryRecordCreateInput.add_member(:request_identifier, Shapes::ShapeRef.new(shape: RequestIdentifier, required: true, location_name: "requestIdentifier"))
@@ -2586,6 +2593,7 @@ module Aws::BedrockAgentCore
2586
2593
  MemoryRecordSummary.add_member(:namespaces, Shapes::ShapeRef.new(shape: NamespacesList, required: true, location_name: "namespaces"))
2587
2594
  MemoryRecordSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
2588
2595
  MemoryRecordSummary.add_member(:score, Shapes::ShapeRef.new(shape: Double, location_name: "score"))
2596
+ MemoryRecordSummary.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "timestamp"))
2589
2597
  MemoryRecordSummary.add_member(:metadata, Shapes::ShapeRef.new(shape: MemoryRecordMetadataMap, location_name: "metadata"))
2590
2598
  MemoryRecordSummary.struct_class = Types::MemoryRecordSummary
2591
2599
 
@@ -2891,6 +2899,14 @@ module Aws::BedrockAgentCore
2891
2899
 
2892
2900
  RecommendationSummaryList.member = Shapes::ShapeRef.new(shape: RecommendationSummary)
2893
2901
 
2902
+ RecordExpirySpecification.add_member(:record_expiry_duration_days, Shapes::ShapeRef.new(shape: RecordExpiryDurationDays, location_name: "recordExpiryDurationDays"))
2903
+ RecordExpirySpecification.add_member(:action, Shapes::ShapeRef.new(shape: RecordExpiryAction, location_name: "action"))
2904
+ RecordExpirySpecification.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
2905
+ RecordExpirySpecification.add_member_subclass(:record_expiry_duration_days, Types::RecordExpirySpecification::RecordExpiryDurationDays)
2906
+ RecordExpirySpecification.add_member_subclass(:action, Types::RecordExpirySpecification::Action)
2907
+ RecordExpirySpecification.add_member_subclass(:unknown, Types::RecordExpirySpecification::Unknown)
2908
+ RecordExpirySpecification.struct_class = Types::RecordExpirySpecification
2909
+
2894
2910
  RegistryRecordSummary.add_member(:registry_arn, Shapes::ShapeRef.new(shape: RegistryArn, required: true, location_name: "registryArn"))
2895
2911
  RegistryRecordSummary.add_member(:record_arn, Shapes::ShapeRef.new(shape: RegistryRecordArn, required: true, location_name: "recordArn"))
2896
2912
  RegistryRecordSummary.add_member(:record_id, Shapes::ShapeRef.new(shape: RegistryRecordId, required: true, location_name: "recordId"))
@@ -403,12 +403,23 @@ module Aws::BedrockAgentCore
403
403
  # not need to pass this option.
404
404
  # @return [String]
405
405
  #
406
+ # @!attribute [rw] record_expiry_specification
407
+ # The record expiry (long-term memory time-to-live) applied to every
408
+ # record created by this request. Set `recordExpiryDurationDays` to
409
+ # the number of days after which the records expire. Only the expiry
410
+ # provided here is applied; the records' strategy association has no
411
+ # effect on their expiry. If you do not provide this value, the
412
+ # records do not expire. The `REMOVE` action does not apply when
413
+ # creating records.
414
+ # @return [Types::RecordExpirySpecification]
415
+ #
406
416
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/BatchCreateMemoryRecordsInput AWS API Documentation
407
417
  #
408
418
  class BatchCreateMemoryRecordsInput < Struct.new(
409
419
  :memory_id,
410
420
  :records,
411
- :client_token)
421
+ :client_token,
422
+ :record_expiry_specification)
412
423
  SENSITIVE = []
413
424
  include Aws::Structure
414
425
  end
@@ -563,11 +574,35 @@ module Aws::BedrockAgentCore
563
574
  # operation.
564
575
  # @return [Array<Types::MemoryRecordUpdateInput>]
565
576
  #
577
+ # @!attribute [rw] record_expiry_specification
578
+ # The record expiry (long-term memory time-to-live) applied to every
579
+ # record updated by this request. Set `recordExpiryDurationDays` to
580
+ # configure or overwrite the number of days after which the records
581
+ # expire, or set `action` to `REMOVE` to clear a previously configured
582
+ # expiry so that the records no longer expire.
583
+ #
584
+ # When you do not provide this value, the service determines each
585
+ # record's expiry from its current state:
586
+ #
587
+ # * If the record already has an expiry configured, the service resets
588
+ # and reapplies the expiry based on the last applied
589
+ # `recordExpiryDurationDays`.
590
+ #
591
+ # * If the record does not have an expiry configured, no expiry is
592
+ # applied and the record remains non-expiring. This is the outcome
593
+ # regardless of whether the record's strategy configures an expiry.
594
+ #
595
+ # Providing an explicit `recordExpiryDurationDays` always takes
596
+ # precedence: it overwrites an existing expiry, or sets one on a
597
+ # record that previously had none.
598
+ # @return [Types::RecordExpirySpecification]
599
+ #
566
600
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/BatchUpdateMemoryRecordsInput AWS API Documentation
567
601
  #
568
602
  class BatchUpdateMemoryRecordsInput < Struct.new(
569
603
  :memory_id,
570
- :records)
604
+ :records,
605
+ :record_expiry_specification)
571
606
  SENSITIVE = []
572
607
  include Aws::Structure
573
608
  end
@@ -5149,7 +5184,8 @@ module Aws::BedrockAgentCore
5149
5184
  # @return [Types::HarnessSkillGitSource]
5150
5185
  #
5151
5186
  # @!attribute [rw] aws_skills
5152
- # AWS Skills baked into the Harness's underlying Runtime.
5187
+ # Amazon Web Services Skills baked into the Harness's underlying
5188
+ # Runtime.
5153
5189
  # @return [Types::HarnessSkillAwsSkillsSource]
5154
5190
  #
5155
5191
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/HarnessSkill AWS API Documentation
@@ -5171,7 +5207,7 @@ module Aws::BedrockAgentCore
5171
5207
  class Unknown < HarnessSkill; end
5172
5208
  end
5173
5209
 
5174
- # Passed to show that AWS Skills should be included.
5210
+ # Passed to show that Amazon Web Services Skills should be included.
5175
5211
  #
5176
5212
  # @!attribute [rw] paths
5177
5213
  # Optionally filter allowed skills with glob syntax, e.g.,
@@ -7435,10 +7471,27 @@ module Aws::BedrockAgentCore
7435
7471
  # The timestamp when the memory record was created.
7436
7472
  # @return [Time]
7437
7473
  #
7474
+ # @!attribute [rw] timestamp
7475
+ # The timestamp based on which the memory record was ingested. This
7476
+ # reflects the time of the source content that the record was derived
7477
+ # from, which can differ from `createdAt`, the time the record itself
7478
+ # was written.
7479
+ # @return [Time]
7480
+ #
7438
7481
  # @!attribute [rw] metadata
7439
7482
  # A map of metadata key-value pairs associated with a memory record.
7440
7483
  # @return [Hash<String,Types::MemoryRecordMetadataValue>]
7441
7484
  #
7485
+ # @!attribute [rw] expires_at
7486
+ # The timestamp at which the memory record expires and becomes
7487
+ # eligible for deletion. This value is set when a record expiry
7488
+ # (long-term memory time-to-live) applies to the record, either from
7489
+ # the strategy the record belongs to or from a record expiry provided
7490
+ # on the batch request that created or updated it. If the record has
7491
+ # no expiry configured, this value is not present and the record does
7492
+ # not expire.
7493
+ # @return [Time]
7494
+ #
7442
7495
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/MemoryRecord AWS API Documentation
7443
7496
  #
7444
7497
  class MemoryRecord < Struct.new(
@@ -7447,7 +7500,9 @@ module Aws::BedrockAgentCore
7447
7500
  :memory_strategy_id,
7448
7501
  :namespaces,
7449
7502
  :created_at,
7450
- :metadata)
7503
+ :timestamp,
7504
+ :metadata,
7505
+ :expires_at)
7451
7506
  SENSITIVE = []
7452
7507
  include Aws::Structure
7453
7508
  end
@@ -7662,6 +7717,13 @@ module Aws::BedrockAgentCore
7662
7717
  # search query.
7663
7718
  # @return [Float]
7664
7719
  #
7720
+ # @!attribute [rw] timestamp
7721
+ # The timestamp based on which the memory record was ingested. This
7722
+ # reflects the time of the source content that the record was derived
7723
+ # from, which can differ from `createdAt`, the time the record itself
7724
+ # was written.
7725
+ # @return [Time]
7726
+ #
7665
7727
  # @!attribute [rw] metadata
7666
7728
  # A map of metadata key-value pairs associated with a memory record.
7667
7729
  # @return [Hash<String,Types::MemoryRecordMetadataValue>]
@@ -7675,6 +7737,7 @@ module Aws::BedrockAgentCore
7675
7737
  :namespaces,
7676
7738
  :created_at,
7677
7739
  :score,
7740
+ :timestamp,
7678
7741
  :metadata)
7679
7742
  SENSITIVE = []
7680
7743
  include Aws::Structure
@@ -8906,6 +8969,41 @@ module Aws::BedrockAgentCore
8906
8969
  include Aws::Structure
8907
8970
  end
8908
8971
 
8972
+ # Specifies the record expiry (long-term memory time-to-live) applied to
8973
+ # the records in a batch request. Provide exactly one of
8974
+ # `recordExpiryDurationDays` or `action`. Set `recordExpiryDurationDays`
8975
+ # to configure or update the expiry, or set `action` to `REMOVE` to
8976
+ # remove a previously configured expiry.
8977
+ #
8978
+ # @note RecordExpirySpecification is a union - when making an API calls you must set exactly one of the members.
8979
+ #
8980
+ # @!attribute [rw] record_expiry_duration_days
8981
+ # The duration, in days, after which the records in this request
8982
+ # expire. The minimum is 31 days.
8983
+ # @return [Integer]
8984
+ #
8985
+ # @!attribute [rw] action
8986
+ # The action to apply to the existing record expiry configuration. Set
8987
+ # to `REMOVE` to remove a previously configured expiry so that the
8988
+ # records no longer expire. This value does not apply when creating
8989
+ # records.
8990
+ # @return [String]
8991
+ #
8992
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/RecordExpirySpecification AWS API Documentation
8993
+ #
8994
+ class RecordExpirySpecification < Struct.new(
8995
+ :record_expiry_duration_days,
8996
+ :action,
8997
+ :unknown)
8998
+ SENSITIVE = []
8999
+ include Aws::Structure
9000
+ include Aws::Structure::Union
9001
+
9002
+ class RecordExpiryDurationDays < RecordExpirySpecification; end
9003
+ class Action < RecordExpirySpecification; end
9004
+ class Unknown < RecordExpirySpecification; end
9005
+ end
9006
+
8909
9007
  # Summary information about a registry record.
8910
9008
  #
8911
9009
  # @!attribute [rw] registry_arn
@@ -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.57.0'
59
+ GEM_VERSION = '1.58.0'
60
60
 
61
61
  end
62
62
 
data/sig/client.rbs CHANGED
@@ -106,7 +106,11 @@ module Aws
106
106
  }]?
107
107
  }
108
108
  ],
109
- ?client_token: ::String
109
+ ?client_token: ::String,
110
+ ?record_expiry_specification: {
111
+ record_expiry_duration_days: ::Integer?,
112
+ action: ("REMOVE")?
113
+ }
110
114
  ) -> _BatchCreateMemoryRecordsResponseSuccess
111
115
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchCreateMemoryRecordsResponseSuccess
112
116
 
@@ -152,7 +156,11 @@ module Aws
152
156
  date_time_value: ::Time?
153
157
  }]?
154
158
  }
155
- ]
159
+ ],
160
+ ?record_expiry_specification: {
161
+ record_expiry_duration_days: ::Integer?,
162
+ action: ("REMOVE")?
163
+ }
156
164
  ) -> _BatchUpdateMemoryRecordsResponseSuccess
157
165
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchUpdateMemoryRecordsResponseSuccess
158
166
 
data/sig/types.rbs CHANGED
@@ -130,6 +130,7 @@ module Aws::BedrockAgentCore
130
130
  attr_accessor memory_id: ::String
131
131
  attr_accessor records: ::Array[Types::MemoryRecordCreateInput]
132
132
  attr_accessor client_token: ::String
133
+ attr_accessor record_expiry_specification: Types::RecordExpirySpecification
133
134
  SENSITIVE: []
134
135
  end
135
136
 
@@ -175,6 +176,7 @@ module Aws::BedrockAgentCore
175
176
  class BatchUpdateMemoryRecordsInput
176
177
  attr_accessor memory_id: ::String
177
178
  attr_accessor records: ::Array[Types::MemoryRecordUpdateInput]
179
+ attr_accessor record_expiry_specification: Types::RecordExpirySpecification
178
180
  SENSITIVE: []
179
181
  end
180
182
 
@@ -2237,7 +2239,9 @@ module Aws::BedrockAgentCore
2237
2239
  attr_accessor memory_strategy_id: ::String
2238
2240
  attr_accessor namespaces: ::Array[::String]
2239
2241
  attr_accessor created_at: ::Time
2242
+ attr_accessor timestamp: ::Time
2240
2243
  attr_accessor metadata: ::Hash[::String, Types::MemoryRecordMetadataValue]
2244
+ attr_accessor expires_at: ::Time
2241
2245
  SENSITIVE: []
2242
2246
  end
2243
2247
 
@@ -2315,6 +2319,7 @@ module Aws::BedrockAgentCore
2315
2319
  attr_accessor namespaces: ::Array[::String]
2316
2320
  attr_accessor created_at: ::Time
2317
2321
  attr_accessor score: ::Float
2322
+ attr_accessor timestamp: ::Time
2318
2323
  attr_accessor metadata: ::Hash[::String, Types::MemoryRecordMetadataValue]
2319
2324
  SENSITIVE: []
2320
2325
  end
@@ -2708,6 +2713,20 @@ module Aws::BedrockAgentCore
2708
2713
  SENSITIVE: []
2709
2714
  end
2710
2715
 
2716
+ class RecordExpirySpecification
2717
+ attr_accessor record_expiry_duration_days: ::Integer
2718
+ attr_accessor action: ("REMOVE")
2719
+ attr_accessor unknown: untyped
2720
+ SENSITIVE: []
2721
+
2722
+ class RecordExpiryDurationDays < RecordExpirySpecification
2723
+ end
2724
+ class Action < RecordExpirySpecification
2725
+ end
2726
+ class Unknown < RecordExpirySpecification
2727
+ end
2728
+ end
2729
+
2711
2730
  class RegistryRecordSummary
2712
2731
  attr_accessor registry_arn: ::String
2713
2732
  attr_accessor record_arn: ::String
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.57.0
4
+ version: 1.58.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services