aws-sdk-bedrockagentcore 1.5.0 → 1.6.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.
@@ -23,7 +23,7 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:bedrockagentcore)
23
23
  # structure.
24
24
  #
25
25
  # bedrock_agent_core = Aws::BedrockAgentCore::Client.new
26
- # resp = bedrock_agent_core.create_event(params)
26
+ # resp = bedrock_agent_core.batch_create_memory_records(params)
27
27
  #
28
28
  # See {Client} for more information.
29
29
  #
@@ -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.5.0'
59
+ GEM_VERSION = '1.6.0'
60
60
 
61
61
  end
62
62
 
data/sig/client.rbs CHANGED
@@ -81,6 +81,67 @@ module Aws
81
81
  | (?Hash[Symbol, untyped]) -> instance
82
82
 
83
83
 
84
+ interface _BatchCreateMemoryRecordsResponseSuccess
85
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchCreateMemoryRecordsOutput]
86
+ def successful_records: () -> ::Array[Types::MemoryRecordOutput]
87
+ def failed_records: () -> ::Array[Types::MemoryRecordOutput]
88
+ end
89
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#batch_create_memory_records-instance_method
90
+ def batch_create_memory_records: (
91
+ memory_id: ::String,
92
+ records: Array[
93
+ {
94
+ request_identifier: ::String,
95
+ namespaces: Array[::String],
96
+ content: {
97
+ text: ::String?
98
+ },
99
+ timestamp: ::Time,
100
+ memory_strategy_id: ::String?
101
+ },
102
+ ],
103
+ ?client_token: ::String
104
+ ) -> _BatchCreateMemoryRecordsResponseSuccess
105
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchCreateMemoryRecordsResponseSuccess
106
+
107
+ interface _BatchDeleteMemoryRecordsResponseSuccess
108
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchDeleteMemoryRecordsOutput]
109
+ def successful_records: () -> ::Array[Types::MemoryRecordOutput]
110
+ def failed_records: () -> ::Array[Types::MemoryRecordOutput]
111
+ end
112
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#batch_delete_memory_records-instance_method
113
+ def batch_delete_memory_records: (
114
+ memory_id: ::String,
115
+ records: Array[
116
+ {
117
+ memory_record_id: ::String
118
+ },
119
+ ]
120
+ ) -> _BatchDeleteMemoryRecordsResponseSuccess
121
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchDeleteMemoryRecordsResponseSuccess
122
+
123
+ interface _BatchUpdateMemoryRecordsResponseSuccess
124
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchUpdateMemoryRecordsOutput]
125
+ def successful_records: () -> ::Array[Types::MemoryRecordOutput]
126
+ def failed_records: () -> ::Array[Types::MemoryRecordOutput]
127
+ end
128
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#batch_update_memory_records-instance_method
129
+ def batch_update_memory_records: (
130
+ memory_id: ::String,
131
+ records: Array[
132
+ {
133
+ memory_record_id: ::String,
134
+ timestamp: ::Time,
135
+ content: {
136
+ text: ::String?
137
+ }?,
138
+ namespaces: Array[::String]?,
139
+ memory_strategy_id: ::String?
140
+ },
141
+ ]
142
+ ) -> _BatchUpdateMemoryRecordsResponseSuccess
143
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchUpdateMemoryRecordsResponseSuccess
144
+
84
145
  interface _CreateEventResponseSuccess
85
146
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateEventOutput]
86
147
  def event: () -> Types::Event
@@ -107,7 +168,10 @@ module Aws
107
168
  root_event_id: ::String?,
108
169
  name: ::String
109
170
  },
110
- ?client_token: ::String
171
+ ?client_token: ::String,
172
+ ?metadata: Hash[::String, {
173
+ string_value: ::String?
174
+ }]
111
175
  ) -> _CreateEventResponseSuccess
112
176
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateEventResponseSuccess
113
177
 
@@ -135,6 +199,20 @@ module Aws
135
199
  ) -> _DeleteMemoryRecordResponseSuccess
136
200
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteMemoryRecordResponseSuccess
137
201
 
202
+ interface _GetAgentCardResponseSuccess
203
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAgentCardResponse]
204
+ def runtime_session_id: () -> ::String
205
+ def agent_card: () -> untyped
206
+ def status_code: () -> ::Integer
207
+ end
208
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#get_agent_card-instance_method
209
+ def get_agent_card: (
210
+ ?runtime_session_id: ::String,
211
+ agent_runtime_arn: ::String,
212
+ ?qualifier: ::String
213
+ ) -> _GetAgentCardResponseSuccess
214
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAgentCardResponseSuccess
215
+
138
216
  interface _GetBrowserSessionResponseSuccess
139
217
  include ::Seahorse::Client::_ResponseSuccess[Types::GetBrowserSessionResponse]
140
218
  def browser_identifier: () -> ::String
@@ -372,7 +450,20 @@ module Aws
372
450
  branch: {
373
451
  name: ::String,
374
452
  include_parent_branches: bool?
375
- }?
453
+ }?,
454
+ event_metadata: Array[
455
+ {
456
+ left: {
457
+ metadata_key: ::String?
458
+ },
459
+ operator: ("EQUALS_TO" | "EXISTS" | "NOT_EXISTS"),
460
+ right: {
461
+ metadata_value: {
462
+ string_value: ::String?
463
+ }?
464
+ }?
465
+ },
466
+ ]?
376
467
  },
377
468
  ?max_results: ::Integer,
378
469
  ?next_token: ::String
@@ -490,6 +581,20 @@ module Aws
490
581
  ) -> _StopCodeInterpreterSessionResponseSuccess
491
582
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopCodeInterpreterSessionResponseSuccess
492
583
 
584
+ interface _StopRuntimeSessionResponseSuccess
585
+ include ::Seahorse::Client::_ResponseSuccess[Types::StopRuntimeSessionResponse]
586
+ def runtime_session_id: () -> ::String
587
+ def status_code: () -> ::Integer
588
+ end
589
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#stop_runtime_session-instance_method
590
+ def stop_runtime_session: (
591
+ runtime_session_id: ::String,
592
+ agent_runtime_arn: ::String,
593
+ ?qualifier: ::String,
594
+ ?client_token: ::String
595
+ ) -> _StopRuntimeSessionResponseSuccess
596
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopRuntimeSessionResponseSuccess
597
+
493
598
  interface _UpdateBrowserStreamResponseSuccess
494
599
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateBrowserStreamResponse]
495
600
  def browser_identifier: () -> ::String
data/sig/types.rbs CHANGED
@@ -30,6 +30,43 @@ module Aws::BedrockAgentCore
30
30
  SENSITIVE: []
31
31
  end
32
32
 
33
+ class BatchCreateMemoryRecordsInput
34
+ attr_accessor memory_id: ::String
35
+ attr_accessor records: ::Array[Types::MemoryRecordCreateInput]
36
+ attr_accessor client_token: ::String
37
+ SENSITIVE: []
38
+ end
39
+
40
+ class BatchCreateMemoryRecordsOutput
41
+ attr_accessor successful_records: ::Array[Types::MemoryRecordOutput]
42
+ attr_accessor failed_records: ::Array[Types::MemoryRecordOutput]
43
+ SENSITIVE: []
44
+ end
45
+
46
+ class BatchDeleteMemoryRecordsInput
47
+ attr_accessor memory_id: ::String
48
+ attr_accessor records: ::Array[Types::MemoryRecordDeleteInput]
49
+ SENSITIVE: []
50
+ end
51
+
52
+ class BatchDeleteMemoryRecordsOutput
53
+ attr_accessor successful_records: ::Array[Types::MemoryRecordOutput]
54
+ attr_accessor failed_records: ::Array[Types::MemoryRecordOutput]
55
+ SENSITIVE: []
56
+ end
57
+
58
+ class BatchUpdateMemoryRecordsInput
59
+ attr_accessor memory_id: ::String
60
+ attr_accessor records: ::Array[Types::MemoryRecordUpdateInput]
61
+ SENSITIVE: []
62
+ end
63
+
64
+ class BatchUpdateMemoryRecordsOutput
65
+ attr_accessor successful_records: ::Array[Types::MemoryRecordOutput]
66
+ attr_accessor failed_records: ::Array[Types::MemoryRecordOutput]
67
+ SENSITIVE: []
68
+ end
69
+
33
70
  class Branch
34
71
  attr_accessor root_event_id: ::String
35
72
  attr_accessor name: ::String
@@ -120,6 +157,7 @@ module Aws::BedrockAgentCore
120
157
  attr_accessor payload: ::Array[Types::PayloadType]
121
158
  attr_accessor branch: Types::Branch
122
159
  attr_accessor client_token: ::String
160
+ attr_accessor metadata: ::Hash[::String, Types::MetadataValue]
123
161
  SENSITIVE: []
124
162
  end
125
163
 
@@ -160,11 +198,34 @@ module Aws::BedrockAgentCore
160
198
  attr_accessor event_timestamp: ::Time
161
199
  attr_accessor payload: ::Array[Types::PayloadType]
162
200
  attr_accessor branch: Types::Branch
201
+ attr_accessor metadata: ::Hash[::String, Types::MetadataValue]
202
+ SENSITIVE: []
203
+ end
204
+
205
+ class EventMetadataFilterExpression
206
+ attr_accessor left: Types::LeftExpression
207
+ attr_accessor operator: ("EQUALS_TO" | "EXISTS" | "NOT_EXISTS")
208
+ attr_accessor right: Types::RightExpression
163
209
  SENSITIVE: []
164
210
  end
165
211
 
166
212
  class FilterInput
167
213
  attr_accessor branch: Types::BranchFilter
214
+ attr_accessor event_metadata: ::Array[Types::EventMetadataFilterExpression]
215
+ SENSITIVE: []
216
+ end
217
+
218
+ class GetAgentCardRequest
219
+ attr_accessor runtime_session_id: ::String
220
+ attr_accessor agent_runtime_arn: ::String
221
+ attr_accessor qualifier: ::String
222
+ SENSITIVE: []
223
+ end
224
+
225
+ class GetAgentCardResponse
226
+ attr_accessor runtime_session_id: ::String
227
+ attr_accessor agent_card: untyped
228
+ attr_accessor status_code: ::Integer
168
229
  SENSITIVE: []
169
230
  end
170
231
 
@@ -351,6 +412,17 @@ module Aws::BedrockAgentCore
351
412
  SENSITIVE: []
352
413
  end
353
414
 
415
+ class LeftExpression
416
+ attr_accessor metadata_key: ::String
417
+ attr_accessor unknown: untyped
418
+ SENSITIVE: []
419
+
420
+ class MetadataKey < LeftExpression
421
+ end
422
+ class Unknown < LeftExpression
423
+ end
424
+ end
425
+
354
426
  class ListActorsInput
355
427
  attr_accessor memory_id: ::String
356
428
  attr_accessor max_results: ::Integer
@@ -463,6 +535,29 @@ module Aws::BedrockAgentCore
463
535
  SENSITIVE: []
464
536
  end
465
537
 
538
+ class MemoryRecordCreateInput
539
+ attr_accessor request_identifier: ::String
540
+ attr_accessor namespaces: ::Array[::String]
541
+ attr_accessor content: Types::MemoryContent
542
+ attr_accessor timestamp: ::Time
543
+ attr_accessor memory_strategy_id: ::String
544
+ SENSITIVE: []
545
+ end
546
+
547
+ class MemoryRecordDeleteInput
548
+ attr_accessor memory_record_id: ::String
549
+ SENSITIVE: []
550
+ end
551
+
552
+ class MemoryRecordOutput
553
+ attr_accessor memory_record_id: ::String
554
+ attr_accessor status: ("SUCCEEDED" | "FAILED")
555
+ attr_accessor request_identifier: ::String
556
+ attr_accessor error_code: ::Integer
557
+ attr_accessor error_message: ::String
558
+ SENSITIVE: []
559
+ end
560
+
466
561
  class MemoryRecordSummary
467
562
  attr_accessor memory_record_id: ::String
468
563
  attr_accessor content: Types::MemoryContent
@@ -473,6 +568,26 @@ module Aws::BedrockAgentCore
473
568
  SENSITIVE: []
474
569
  end
475
570
 
571
+ class MemoryRecordUpdateInput
572
+ attr_accessor memory_record_id: ::String
573
+ attr_accessor timestamp: ::Time
574
+ attr_accessor content: Types::MemoryContent
575
+ attr_accessor namespaces: ::Array[::String]
576
+ attr_accessor memory_strategy_id: ::String
577
+ SENSITIVE: []
578
+ end
579
+
580
+ class MetadataValue
581
+ attr_accessor string_value: ::String
582
+ attr_accessor unknown: untyped
583
+ SENSITIVE: []
584
+
585
+ class StringValue < MetadataValue
586
+ end
587
+ class Unknown < MetadataValue
588
+ end
589
+ end
590
+
476
591
  class PayloadType
477
592
  attr_accessor conversational: Types::Conversational
478
593
  attr_accessor blob: untyped
@@ -517,6 +632,17 @@ module Aws::BedrockAgentCore
517
632
  SENSITIVE: []
518
633
  end
519
634
 
635
+ class RightExpression
636
+ attr_accessor metadata_value: Types::MetadataValue
637
+ attr_accessor unknown: untyped
638
+ SENSITIVE: []
639
+
640
+ class MetadataValue < RightExpression
641
+ end
642
+ class Unknown < RightExpression
643
+ end
644
+ end
645
+
520
646
  class RuntimeClientError
521
647
  attr_accessor message: ::String
522
648
  SENSITIVE: []
@@ -607,6 +733,20 @@ module Aws::BedrockAgentCore
607
733
  SENSITIVE: []
608
734
  end
609
735
 
736
+ class StopRuntimeSessionRequest
737
+ attr_accessor runtime_session_id: ::String
738
+ attr_accessor agent_runtime_arn: ::String
739
+ attr_accessor qualifier: ::String
740
+ attr_accessor client_token: ::String
741
+ SENSITIVE: []
742
+ end
743
+
744
+ class StopRuntimeSessionResponse
745
+ attr_accessor runtime_session_id: ::String
746
+ attr_accessor status_code: ::Integer
747
+ SENSITIVE: []
748
+ end
749
+
610
750
  class StreamUpdate
611
751
  attr_accessor automation_stream_update: Types::AutomationStreamUpdate
612
752
  attr_accessor unknown: untyped
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.5.0
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services