aws-sdk-bedrockagentcore 1.24.0 → 1.25.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: 7fbd0e6064c53f5e26eff13492921fcbb8182e4135ce7c0cc5cef94c1d6b8ddf
4
- data.tar.gz: a8c0106364f09c61de750950108d47802b564b8621235349661495deaaa4b53c
3
+ metadata.gz: d14de8a9be7333d1d13dc6cd07cd1aee920df9a5c702b6f2f91bd709ac8fa9a3
4
+ data.tar.gz: 59e151e33f95392a070ee7c8dbbd7a0a154294b5a65c5eae5ba0ad280bb50674
5
5
  SHA512:
6
- metadata.gz: cd6c43ce3f32d13b124e221874c327d43c69e926fffb3faed6471427d69c366b919382a1489e5256604d0f1cdeda6d94c3ec808e5774299ae35cee204e421609
7
- data.tar.gz: 7d2310016f1b016148e1ad849008819ca7102996106916ecdd5a8120900af1d2f284b5af2bcb8f2b220fa27b418e8114a30016e991861550b1c81046b7bfd885
6
+ metadata.gz: 9855c303bde7ab917a787ea384a533a9d1708c79de044c10514dcc9c2d0d7d9d0425c4799b6202560c5391ddeed95bfc582daa8c74ca7ae00ecf438b685a6048
7
+ data.tar.gz: 88ffc56e98b0f77cf984dc4a49043ef23823564df6c0fffb2806dc3dc91e74ccf6756b947c9a3f2d31440fc3b7dc7e3635f6138bd2a8d2b5f8d73a2cbf99578e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.25.0 (2026-04-01)
5
+ ------------------
6
+
7
+ * Feature - Added the ability to filter out empty sessions when listing sessions. Customers can now retrieve only sessions that still contain events, eliminating the need to check each session individually. No changes required for existing integrations.
8
+
4
9
  1.24.0 (2026-03-30)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.24.0
1
+ 1.25.0
@@ -2735,6 +2735,9 @@ module Aws::BedrockAgentCore
2735
2735
  # previous response in the next request to retrieve the next set of
2736
2736
  # results.
2737
2737
  #
2738
+ # @option params [Types::SessionFilter] :filter
2739
+ # Filter criteria to apply when listing sessions.
2740
+ #
2738
2741
  # @return [Types::ListSessionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2739
2742
  #
2740
2743
  # * {Types::ListSessionsOutput#session_summaries #session_summaries} => Array<Types::SessionSummary>
@@ -2749,6 +2752,9 @@ module Aws::BedrockAgentCore
2749
2752
  # actor_id: "ActorId", # required
2750
2753
  # max_results: 1,
2751
2754
  # next_token: "PaginationToken",
2755
+ # filter: {
2756
+ # event_filter: "HAS_EVENTS", # accepts HAS_EVENTS
2757
+ # },
2752
2758
  # })
2753
2759
  #
2754
2760
  # @example Response structure
@@ -3544,7 +3550,7 @@ module Aws::BedrockAgentCore
3544
3550
  tracer: tracer
3545
3551
  )
3546
3552
  context[:gem_name] = 'aws-sdk-bedrockagentcore'
3547
- context[:gem_version] = '1.24.0'
3553
+ context[:gem_version] = '1.25.0'
3548
3554
  Seahorse::Client::Request.new(handlers, context)
3549
3555
  end
3550
3556
 
@@ -114,6 +114,7 @@ module Aws::BedrockAgentCore
114
114
  EvaluatorId = Shapes::StringShape.new(name: 'EvaluatorId')
115
115
  EvaluatorName = Shapes::StringShape.new(name: 'EvaluatorName')
116
116
  Event = Shapes::StructureShape.new(name: 'Event')
117
+ EventFilterCondition = Shapes::StringShape.new(name: 'EventFilterCondition')
117
118
  EventId = Shapes::StringShape.new(name: 'EventId')
118
119
  EventList = Shapes::ListShape.new(name: 'EventList')
119
120
  EventMetadataFilterExpression = Shapes::StructureShape.new(name: 'EventMetadataFilterExpression')
@@ -272,6 +273,7 @@ module Aws::BedrockAgentCore
272
273
  SecretsManagerLocation = Shapes::StructureShape.new(name: 'SecretsManagerLocation')
273
274
  ServiceException = Shapes::StructureShape.new(name: 'ServiceException')
274
275
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
276
+ SessionFilter = Shapes::StructureShape.new(name: 'SessionFilter')
275
277
  SessionId = Shapes::StringShape.new(name: 'SessionId')
276
278
  SessionStatus = Shapes::StringShape.new(name: 'SessionStatus')
277
279
  SessionSummary = Shapes::StructureShape.new(name: 'SessionSummary')
@@ -928,6 +930,7 @@ module Aws::BedrockAgentCore
928
930
  ListSessionsInput.add_member(:actor_id, Shapes::ShapeRef.new(shape: ActorId, required: true, location: "uri", location_name: "actorId"))
929
931
  ListSessionsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
930
932
  ListSessionsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
933
+ ListSessionsInput.add_member(:filter, Shapes::ShapeRef.new(shape: SessionFilter, location_name: "filter"))
931
934
  ListSessionsInput.struct_class = Types::ListSessionsInput
932
935
 
933
936
  ListSessionsOutput.add_member(:session_summaries, Shapes::ShapeRef.new(shape: SessionSummaryList, required: true, location_name: "sessionSummaries"))
@@ -1129,6 +1132,9 @@ module Aws::BedrockAgentCore
1129
1132
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
1130
1133
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
1131
1134
 
1135
+ SessionFilter.add_member(:event_filter, Shapes::ShapeRef.new(shape: EventFilterCondition, location_name: "eventFilter"))
1136
+ SessionFilter.struct_class = Types::SessionFilter
1137
+
1132
1138
  SessionSummary.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location_name: "sessionId"))
1133
1139
  SessionSummary.add_member(:actor_id, Shapes::ShapeRef.new(shape: ActorId, required: true, location_name: "actorId"))
1134
1140
  SessionSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
@@ -2754,13 +2754,18 @@ module Aws::BedrockAgentCore
2754
2754
  # results.
2755
2755
  # @return [String]
2756
2756
  #
2757
+ # @!attribute [rw] filter
2758
+ # Filter criteria to apply when listing sessions.
2759
+ # @return [Types::SessionFilter]
2760
+ #
2757
2761
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/ListSessionsInput AWS API Documentation
2758
2762
  #
2759
2763
  class ListSessionsInput < Struct.new(
2760
2764
  :memory_id,
2761
2765
  :actor_id,
2762
2766
  :max_results,
2763
- :next_token)
2767
+ :next_token,
2768
+ :filter)
2764
2769
  SENSITIVE = []
2765
2770
  include Aws::Structure
2766
2771
  end
@@ -3627,6 +3632,21 @@ module Aws::BedrockAgentCore
3627
3632
  include Aws::Structure
3628
3633
  end
3629
3634
 
3635
+ # Contains filter criteria for listing sessions.
3636
+ #
3637
+ # @!attribute [rw] event_filter
3638
+ # The event filter condition to apply. Use this to filter sessions
3639
+ # based on event presence.
3640
+ # @return [String]
3641
+ #
3642
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/SessionFilter AWS API Documentation
3643
+ #
3644
+ class SessionFilter < Struct.new(
3645
+ :event_filter)
3646
+ SENSITIVE = []
3647
+ include Aws::Structure
3648
+ end
3649
+
3630
3650
  # Contains summary information about a session in an AgentCore Memory
3631
3651
  # resource.
3632
3652
  #
@@ -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.24.0'
59
+ GEM_VERSION = '1.25.0'
60
60
 
61
61
  end
62
62
 
data/sig/client.rbs CHANGED
@@ -613,7 +613,10 @@ module Aws
613
613
  memory_id: ::String,
614
614
  actor_id: ::String,
615
615
  ?max_results: ::Integer,
616
- ?next_token: ::String
616
+ ?next_token: ::String,
617
+ ?filter: {
618
+ event_filter: ("HAS_EVENTS")?
619
+ }
617
620
  ) -> _ListSessionsResponseSuccess
618
621
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSessionsResponseSuccess
619
622
 
data/sig/types.rbs CHANGED
@@ -758,6 +758,7 @@ module Aws::BedrockAgentCore
758
758
  attr_accessor actor_id: ::String
759
759
  attr_accessor max_results: ::Integer
760
760
  attr_accessor next_token: ::String
761
+ attr_accessor filter: Types::SessionFilter
761
762
  SENSITIVE: []
762
763
  end
763
764
 
@@ -1027,6 +1028,11 @@ module Aws::BedrockAgentCore
1027
1028
  SENSITIVE: []
1028
1029
  end
1029
1030
 
1031
+ class SessionFilter
1032
+ attr_accessor event_filter: ("HAS_EVENTS")
1033
+ SENSITIVE: []
1034
+ end
1035
+
1030
1036
  class SessionSummary
1031
1037
  attr_accessor session_id: ::String
1032
1038
  attr_accessor actor_id: ::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.24.0
4
+ version: 1.25.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services