aws-sdk-bedrockagentruntime 1.15.0 → 1.18.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -33,7 +33,7 @@ require_relative 'aws-sdk-bedrockagentruntime/event_streams'
33
33
  # structure.
34
34
  #
35
35
  # bedrock_agent_runtime = Aws::BedrockAgentRuntime::Client.new
36
- # resp = bedrock_agent_runtime.invoke_agent(params)
36
+ # resp = bedrock_agent_runtime.delete_agent_memory(params)
37
37
  #
38
38
  # See {Client} for more information.
39
39
  #
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-bedrockagentruntime/event_streams'
53
53
  # @!group service
54
54
  module Aws::BedrockAgentRuntime
55
55
 
56
- GEM_VERSION = '1.15.0'
56
+ GEM_VERSION = '1.18.0'
57
57
 
58
58
  end
data/sig/client.rbs CHANGED
@@ -76,10 +76,38 @@ module Aws
76
76
  | (?Hash[Symbol, untyped]) -> instance
77
77
 
78
78
 
79
+ interface _DeleteAgentMemoryResponseSuccess
80
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAgentMemoryResponse]
81
+ end
82
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentRuntime/Client.html#delete_agent_memory-instance_method
83
+ def delete_agent_memory: (
84
+ agent_alias_id: ::String,
85
+ agent_id: ::String,
86
+ ?memory_id: ::String
87
+ ) -> _DeleteAgentMemoryResponseSuccess
88
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAgentMemoryResponseSuccess
89
+
90
+ interface _GetAgentMemoryResponseSuccess
91
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAgentMemoryResponse]
92
+ def memory_contents: () -> ::Array[Types::Memory]
93
+ def next_token: () -> ::String
94
+ end
95
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentRuntime/Client.html#get_agent_memory-instance_method
96
+ def get_agent_memory: (
97
+ agent_alias_id: ::String,
98
+ agent_id: ::String,
99
+ ?max_items: ::Integer,
100
+ memory_id: ::String,
101
+ memory_type: ("SESSION_SUMMARY"),
102
+ ?next_token: ::String
103
+ ) -> _GetAgentMemoryResponseSuccess
104
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAgentMemoryResponseSuccess
105
+
79
106
  interface _InvokeAgentResponseSuccess
80
107
  include ::Seahorse::Client::_ResponseSuccess[Types::InvokeAgentResponse]
81
108
  def completion: () -> Types::ResponseStream
82
109
  def content_type: () -> ::String
110
+ def memory_id: () -> ::String
83
111
  def session_id: () -> ::String
84
112
  end
85
113
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentRuntime/Client.html#invoke_agent-instance_method
@@ -89,9 +117,100 @@ module Aws
89
117
  ?enable_trace: bool,
90
118
  ?end_session: bool,
91
119
  ?input_text: ::String,
120
+ ?memory_id: ::String,
92
121
  session_id: ::String,
93
122
  ?session_state: {
123
+ files: Array[
124
+ {
125
+ name: ::String,
126
+ source: {
127
+ byte_content: {
128
+ data: ::String,
129
+ media_type: ::String
130
+ }?,
131
+ s3_location: {
132
+ uri: ::String
133
+ }?,
134
+ source_type: ("S3" | "BYTE_CONTENT")
135
+ },
136
+ use_case: ("CODE_INTERPRETER" | "CHAT")
137
+ },
138
+ ]?,
94
139
  invocation_id: ::String?,
140
+ knowledge_base_configurations: Array[
141
+ {
142
+ knowledge_base_id: ::String,
143
+ retrieval_configuration: {
144
+ vector_search_configuration: {
145
+ filter: {
146
+ and_all: Array[
147
+ untyped,
148
+ ]?,
149
+ equals: {
150
+ key: ::String,
151
+ value: {
152
+ }
153
+ }?,
154
+ greater_than: {
155
+ key: ::String,
156
+ value: {
157
+ }
158
+ }?,
159
+ greater_than_or_equals: {
160
+ key: ::String,
161
+ value: {
162
+ }
163
+ }?,
164
+ in: {
165
+ key: ::String,
166
+ value: {
167
+ }
168
+ }?,
169
+ less_than: {
170
+ key: ::String,
171
+ value: {
172
+ }
173
+ }?,
174
+ less_than_or_equals: {
175
+ key: ::String,
176
+ value: {
177
+ }
178
+ }?,
179
+ list_contains: {
180
+ key: ::String,
181
+ value: {
182
+ }
183
+ }?,
184
+ not_equals: {
185
+ key: ::String,
186
+ value: {
187
+ }
188
+ }?,
189
+ not_in: {
190
+ key: ::String,
191
+ value: {
192
+ }
193
+ }?,
194
+ or_all: Array[
195
+ untyped,
196
+ ]?,
197
+ starts_with: {
198
+ key: ::String,
199
+ value: {
200
+ }
201
+ }?,
202
+ string_contains: {
203
+ key: ::String,
204
+ value: {
205
+ }
206
+ }?
207
+ }?,
208
+ number_of_results: ::Integer?,
209
+ override_search_type: ("HYBRID" | "SEMANTIC")?
210
+ }
211
+ }
212
+ },
213
+ ]?,
95
214
  prompt_session_attributes: Hash[::String, ::String]?,
96
215
  return_control_invocation_results: Array[
97
216
  {
@@ -120,6 +239,27 @@ module Aws
120
239
  ) ?{ (*untyped) -> void } -> _InvokeAgentResponseSuccess
121
240
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _InvokeAgentResponseSuccess
122
241
 
242
+ interface _InvokeFlowResponseSuccess
243
+ include ::Seahorse::Client::_ResponseSuccess[Types::InvokeFlowResponse]
244
+ def response_stream: () -> Types::FlowResponseStream
245
+ end
246
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentRuntime/Client.html#invoke_flow-instance_method
247
+ def invoke_flow: (
248
+ flow_alias_identifier: ::String,
249
+ flow_identifier: ::String,
250
+ inputs: Array[
251
+ {
252
+ content: {
253
+ document: {
254
+ }?
255
+ },
256
+ node_name: ::String,
257
+ node_output_name: ::String
258
+ },
259
+ ]
260
+ ) ?{ (*untyped) -> void } -> _InvokeFlowResponseSuccess
261
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _InvokeFlowResponseSuccess
262
+
123
263
  interface _RetrieveResponseSuccess
124
264
  include ::Seahorse::Client::_ResponseSuccess[Types::RetrieveResponse]
125
265
  def next_token: () -> ::String
@@ -274,6 +414,11 @@ module Aws
274
414
  }?,
275
415
  knowledge_base_id: ::String,
276
416
  model_arn: ::String,
417
+ orchestration_configuration: {
418
+ query_transformation_configuration: {
419
+ type: ("QUERY_DECOMPOSITION")
420
+ }
421
+ }?,
277
422
  retrieval_configuration: {
278
423
  vector_search_configuration: {
279
424
  filter: {
data/sig/types.rbs CHANGED
@@ -17,7 +17,9 @@ module Aws::BedrockAgentRuntime
17
17
  class ActionGroupInvocationInput
18
18
  attr_accessor action_group_name: ::String
19
19
  attr_accessor api_path: ::String
20
+ attr_accessor execution_type: ("LAMBDA" | "RETURN_CONTROL")
20
21
  attr_accessor function: ::String
22
+ attr_accessor invocation_id: ::String
21
23
  attr_accessor parameters: ::Array[Types::Parameter]
22
24
  attr_accessor request_body: Types::RequestBody
23
25
  attr_accessor verb: ::String
@@ -79,12 +81,32 @@ module Aws::BedrockAgentRuntime
79
81
  SENSITIVE: [:data, :identifier]
80
82
  end
81
83
 
84
+ class ByteContentFile
85
+ attr_accessor data: ::String
86
+ attr_accessor media_type: ::String
87
+ SENSITIVE: [:data]
88
+ end
89
+
82
90
  class Citation
83
91
  attr_accessor generated_response_part: Types::GeneratedResponsePart
84
92
  attr_accessor retrieved_references: ::Array[Types::RetrievedReference]
85
93
  SENSITIVE: []
86
94
  end
87
95
 
96
+ class CodeInterpreterInvocationInput
97
+ attr_accessor code: ::String
98
+ attr_accessor files: ::Array[::String]
99
+ SENSITIVE: []
100
+ end
101
+
102
+ class CodeInterpreterInvocationOutput
103
+ attr_accessor execution_error: ::String
104
+ attr_accessor execution_output: ::String
105
+ attr_accessor execution_timeout: bool
106
+ attr_accessor files: ::Array[::String]
107
+ SENSITIVE: []
108
+ end
109
+
88
110
  class ConflictException
89
111
  attr_accessor message: ::String
90
112
  attr_accessor event_type: untyped
@@ -96,6 +118,16 @@ module Aws::BedrockAgentRuntime
96
118
  SENSITIVE: []
97
119
  end
98
120
 
121
+ class DeleteAgentMemoryRequest
122
+ attr_accessor agent_alias_id: ::String
123
+ attr_accessor agent_id: ::String
124
+ attr_accessor memory_id: ::String
125
+ SENSITIVE: []
126
+ end
127
+
128
+ class DeleteAgentMemoryResponse < Aws::EmptyStructure
129
+ end
130
+
99
131
  class DependencyFailedException
100
132
  attr_accessor message: ::String
101
133
  attr_accessor resource_name: ::String
@@ -131,6 +163,19 @@ module Aws::BedrockAgentRuntime
131
163
  SENSITIVE: [:failure_reason]
132
164
  end
133
165
 
166
+ class FilePart
167
+ attr_accessor files: ::Array[Types::OutputFile]
168
+ attr_accessor event_type: untyped
169
+ SENSITIVE: []
170
+ end
171
+
172
+ class FileSource
173
+ attr_accessor byte_content: Types::ByteContentFile
174
+ attr_accessor s3_location: Types::S3ObjectFile
175
+ attr_accessor source_type: ("S3" | "BYTE_CONTENT")
176
+ SENSITIVE: []
177
+ end
178
+
134
179
  class FilterAttribute
135
180
  attr_accessor key: ::String
136
181
  attr_accessor value: untyped
@@ -142,6 +187,49 @@ module Aws::BedrockAgentRuntime
142
187
  SENSITIVE: [:text]
143
188
  end
144
189
 
190
+ class FlowCompletionEvent
191
+ attr_accessor completion_reason: ("SUCCESS")
192
+ attr_accessor event_type: untyped
193
+ SENSITIVE: []
194
+ end
195
+
196
+ class FlowInput
197
+ attr_accessor content: Types::FlowInputContent
198
+ attr_accessor node_name: ::String
199
+ attr_accessor node_output_name: ::String
200
+ SENSITIVE: [:content]
201
+ end
202
+
203
+ class FlowInputContent
204
+ attr_accessor document: untyped
205
+ attr_accessor unknown: untyped
206
+ SENSITIVE: []
207
+
208
+ class Document < FlowInputContent
209
+ end
210
+ class Unknown < FlowInputContent
211
+ end
212
+ end
213
+
214
+ class FlowOutputContent
215
+ attr_accessor document: untyped
216
+ attr_accessor unknown: untyped
217
+ SENSITIVE: []
218
+
219
+ class Document < FlowOutputContent
220
+ end
221
+ class Unknown < FlowOutputContent
222
+ end
223
+ end
224
+
225
+ class FlowOutputEvent
226
+ attr_accessor content: Types::FlowOutputContent
227
+ attr_accessor node_name: ::String
228
+ attr_accessor node_type: ("FlowInputNode" | "FlowOutputNode" | "LambdaFunctionNode" | "KnowledgeBaseNode" | "PromptNode" | "ConditionNode" | "LexNode")
229
+ attr_accessor event_type: untyped
230
+ SENSITIVE: []
231
+ end
232
+
145
233
  class FunctionInvocationInput
146
234
  attr_accessor action_group: ::String
147
235
  attr_accessor function: ::String
@@ -177,6 +265,22 @@ module Aws::BedrockAgentRuntime
177
265
  SENSITIVE: []
178
266
  end
179
267
 
268
+ class GetAgentMemoryRequest
269
+ attr_accessor agent_alias_id: ::String
270
+ attr_accessor agent_id: ::String
271
+ attr_accessor max_items: ::Integer
272
+ attr_accessor memory_id: ::String
273
+ attr_accessor memory_type: ("SESSION_SUMMARY")
274
+ attr_accessor next_token: ::String
275
+ SENSITIVE: []
276
+ end
277
+
278
+ class GetAgentMemoryResponse
279
+ attr_accessor memory_contents: ::Array[Types::Memory]
280
+ attr_accessor next_token: ::String
281
+ SENSITIVE: []
282
+ end
283
+
180
284
  class GuardrailAssessment
181
285
  attr_accessor content_policy: Types::GuardrailContentPolicyAssessment
182
286
  attr_accessor sensitive_information_policy: Types::GuardrailSensitiveInformationPolicyAssessment
@@ -277,6 +381,13 @@ module Aws::BedrockAgentRuntime
277
381
  SENSITIVE: []
278
382
  end
279
383
 
384
+ class InputFile
385
+ attr_accessor name: ::String
386
+ attr_accessor source: Types::FileSource
387
+ attr_accessor use_case: ("CODE_INTERPRETER" | "CHAT")
388
+ SENSITIVE: []
389
+ end
390
+
280
391
  class InternalServerException
281
392
  attr_accessor message: ::String
282
393
  attr_accessor event_type: untyped
@@ -285,7 +396,8 @@ module Aws::BedrockAgentRuntime
285
396
 
286
397
  class InvocationInput
287
398
  attr_accessor action_group_invocation_input: Types::ActionGroupInvocationInput
288
- attr_accessor invocation_type: ("ACTION_GROUP" | "KNOWLEDGE_BASE" | "FINISH")
399
+ attr_accessor code_interpreter_invocation_input: Types::CodeInterpreterInvocationInput
400
+ attr_accessor invocation_type: ("ACTION_GROUP" | "KNOWLEDGE_BASE" | "FINISH" | "ACTION_GROUP_CODE_INTERPRETER")
289
401
  attr_accessor knowledge_base_lookup_input: Types::KnowledgeBaseLookupInput
290
402
  attr_accessor trace_id: ::String
291
403
  SENSITIVE: []
@@ -325,6 +437,7 @@ module Aws::BedrockAgentRuntime
325
437
  attr_accessor enable_trace: bool
326
438
  attr_accessor end_session: bool
327
439
  attr_accessor input_text: ::String
440
+ attr_accessor memory_id: ::String
328
441
  attr_accessor session_id: ::String
329
442
  attr_accessor session_state: Types::SessionState
330
443
  SENSITIVE: [:input_text]
@@ -333,10 +446,29 @@ module Aws::BedrockAgentRuntime
333
446
  class InvokeAgentResponse
334
447
  attr_accessor completion: Types::ResponseStream
335
448
  attr_accessor content_type: ::String
449
+ attr_accessor memory_id: ::String
336
450
  attr_accessor session_id: ::String
337
451
  SENSITIVE: []
338
452
  end
339
453
 
454
+ class InvokeFlowRequest
455
+ attr_accessor flow_alias_identifier: ::String
456
+ attr_accessor flow_identifier: ::String
457
+ attr_accessor inputs: ::Array[Types::FlowInput]
458
+ SENSITIVE: []
459
+ end
460
+
461
+ class InvokeFlowResponse
462
+ attr_accessor response_stream: Types::FlowResponseStream
463
+ SENSITIVE: []
464
+ end
465
+
466
+ class KnowledgeBaseConfiguration
467
+ attr_accessor knowledge_base_id: ::String
468
+ attr_accessor retrieval_configuration: Types::KnowledgeBaseRetrievalConfiguration
469
+ SENSITIVE: []
470
+ end
471
+
340
472
  class KnowledgeBaseLookupInput
341
473
  attr_accessor knowledge_base_id: ::String
342
474
  attr_accessor text: ::String
@@ -370,6 +502,7 @@ module Aws::BedrockAgentRuntime
370
502
  attr_accessor generation_configuration: Types::GenerationConfiguration
371
503
  attr_accessor knowledge_base_id: ::String
372
504
  attr_accessor model_arn: ::String
505
+ attr_accessor orchestration_configuration: Types::OrchestrationConfiguration
373
506
  attr_accessor retrieval_configuration: Types::KnowledgeBaseRetrievalConfiguration
374
507
  SENSITIVE: []
375
508
  end
@@ -381,6 +514,31 @@ module Aws::BedrockAgentRuntime
381
514
  SENSITIVE: [:filter]
382
515
  end
383
516
 
517
+ class Memory
518
+ attr_accessor session_summary: Types::MemorySessionSummary
519
+ attr_accessor unknown: untyped
520
+ SENSITIVE: []
521
+
522
+ class SessionSummary < Memory
523
+ end
524
+ class Unknown < Memory
525
+ end
526
+ end
527
+
528
+ class MemorySessionSummary
529
+ attr_accessor memory_id: ::String
530
+ attr_accessor session_expiry_time: ::Time
531
+ attr_accessor session_id: ::String
532
+ attr_accessor session_start_time: ::Time
533
+ attr_accessor summary_text: ::String
534
+ SENSITIVE: []
535
+ end
536
+
537
+ class Metadata
538
+ attr_accessor usage: Types::Usage
539
+ SENSITIVE: [:usage]
540
+ end
541
+
384
542
  class ModelInvocationInput
385
543
  attr_accessor inference_configuration: Types::InferenceConfiguration
386
544
  attr_accessor override_lambda: ::String
@@ -394,6 +552,7 @@ module Aws::BedrockAgentRuntime
394
552
 
395
553
  class Observation
396
554
  attr_accessor action_group_invocation_output: Types::ActionGroupInvocationOutput
555
+ attr_accessor code_interpreter_invocation_output: Types::CodeInterpreterInvocationOutput
397
556
  attr_accessor final_response: Types::FinalResponse
398
557
  attr_accessor knowledge_base_lookup_output: Types::KnowledgeBaseLookupOutput
399
558
  attr_accessor reprompt_response: Types::RepromptResponse
@@ -402,18 +561,33 @@ module Aws::BedrockAgentRuntime
402
561
  SENSITIVE: [:reprompt_response]
403
562
  end
404
563
 
564
+ class OrchestrationConfiguration
565
+ attr_accessor query_transformation_configuration: Types::QueryTransformationConfiguration
566
+ SENSITIVE: []
567
+ end
568
+
569
+ class OrchestrationModelInvocationOutput
570
+ attr_accessor metadata: Types::Metadata
571
+ attr_accessor raw_response: Types::RawResponse
572
+ attr_accessor trace_id: ::String
573
+ SENSITIVE: [:metadata, :raw_response]
574
+ end
575
+
405
576
  class OrchestrationTrace
406
577
  attr_accessor invocation_input: Types::InvocationInput
407
578
  attr_accessor model_invocation_input: Types::ModelInvocationInput
579
+ attr_accessor model_invocation_output: Types::OrchestrationModelInvocationOutput
408
580
  attr_accessor observation: Types::Observation
409
581
  attr_accessor rationale: Types::Rationale
410
582
  attr_accessor unknown: untyped
411
- SENSITIVE: [:invocation_input, :model_invocation_input, :observation, :rationale]
583
+ SENSITIVE: [:invocation_input, :model_invocation_input, :model_invocation_output, :observation, :rationale]
412
584
 
413
585
  class InvocationInput < OrchestrationTrace
414
586
  end
415
587
  class ModelInvocationInput < OrchestrationTrace
416
588
  end
589
+ class ModelInvocationOutput < OrchestrationTrace
590
+ end
417
591
  class Observation < OrchestrationTrace
418
592
  end
419
593
  class Rationale < OrchestrationTrace
@@ -422,6 +596,13 @@ module Aws::BedrockAgentRuntime
422
596
  end
423
597
  end
424
598
 
599
+ class OutputFile
600
+ attr_accessor bytes: ::String
601
+ attr_accessor name: ::String
602
+ attr_accessor type: ::String
603
+ SENSITIVE: [:bytes]
604
+ end
605
+
425
606
  class Parameter
426
607
  attr_accessor name: ::String
427
608
  attr_accessor type: ::String
@@ -497,12 +678,22 @@ module Aws::BedrockAgentRuntime
497
678
  SENSITIVE: []
498
679
  end
499
680
 
681
+ class QueryTransformationConfiguration
682
+ attr_accessor type: ("QUERY_DECOMPOSITION")
683
+ SENSITIVE: []
684
+ end
685
+
500
686
  class Rationale
501
687
  attr_accessor text: ::String
502
688
  attr_accessor trace_id: ::String
503
689
  SENSITIVE: [:text]
504
690
  end
505
691
 
692
+ class RawResponse
693
+ attr_accessor content: ::String
694
+ SENSITIVE: []
695
+ end
696
+
506
697
  class RepromptResponse
507
698
  attr_accessor source: ("ACTION_GROUP" | "KNOWLEDGE_BASE" | "PARSER")
508
699
  attr_accessor text: ::String
@@ -567,14 +758,23 @@ module Aws::BedrockAgentRuntime
567
758
  end
568
759
  end
569
760
 
761
+ class RetrievalResultConfluenceLocation
762
+ attr_accessor url: ::String
763
+ SENSITIVE: []
764
+ end
765
+
570
766
  class RetrievalResultContent
571
767
  attr_accessor text: ::String
572
768
  SENSITIVE: []
573
769
  end
574
770
 
575
771
  class RetrievalResultLocation
772
+ attr_accessor confluence_location: Types::RetrievalResultConfluenceLocation
576
773
  attr_accessor s3_location: Types::RetrievalResultS3Location
577
- attr_accessor type: ("S3")
774
+ attr_accessor salesforce_location: Types::RetrievalResultSalesforceLocation
775
+ attr_accessor share_point_location: Types::RetrievalResultSharePointLocation
776
+ attr_accessor type: ("S3" | "WEB" | "CONFLUENCE" | "SALESFORCE" | "SHAREPOINT")
777
+ attr_accessor web_location: Types::RetrievalResultWebLocation
578
778
  SENSITIVE: []
579
779
  end
580
780
 
@@ -583,6 +783,21 @@ module Aws::BedrockAgentRuntime
583
783
  SENSITIVE: []
584
784
  end
585
785
 
786
+ class RetrievalResultSalesforceLocation
787
+ attr_accessor url: ::String
788
+ SENSITIVE: []
789
+ end
790
+
791
+ class RetrievalResultSharePointLocation
792
+ attr_accessor url: ::String
793
+ SENSITIVE: []
794
+ end
795
+
796
+ class RetrievalResultWebLocation
797
+ attr_accessor url: ::String
798
+ SENSITIVE: []
799
+ end
800
+
586
801
  class RetrieveAndGenerateConfiguration
587
802
  attr_accessor external_sources_configuration: Types::ExternalSourcesRetrieveAndGenerateConfiguration
588
803
  attr_accessor knowledge_base_configuration: Types::KnowledgeBaseRetrieveAndGenerateConfiguration
@@ -654,6 +869,11 @@ module Aws::BedrockAgentRuntime
654
869
  SENSITIVE: []
655
870
  end
656
871
 
872
+ class S3ObjectFile
873
+ attr_accessor uri: ::String
874
+ SENSITIVE: []
875
+ end
876
+
657
877
  class ServiceQuotaExceededException
658
878
  attr_accessor message: ::String
659
879
  attr_accessor event_type: untyped
@@ -661,7 +881,9 @@ module Aws::BedrockAgentRuntime
661
881
  end
662
882
 
663
883
  class SessionState
884
+ attr_accessor files: ::Array[Types::InputFile]
664
885
  attr_accessor invocation_id: ::String
886
+ attr_accessor knowledge_base_configurations: ::Array[Types::KnowledgeBaseConfiguration]
665
887
  attr_accessor prompt_session_attributes: ::Hash[::String, ::String]
666
888
  attr_accessor return_control_invocation_results: ::Array[Types::InvocationResultMember]
667
889
  attr_accessor session_attributes: ::Hash[::String, ::String]
@@ -727,14 +949,24 @@ module Aws::BedrockAgentRuntime
727
949
  SENSITIVE: [:trace]
728
950
  end
729
951
 
952
+ class Usage
953
+ attr_accessor input_tokens: ::Integer
954
+ attr_accessor output_tokens: ::Integer
955
+ SENSITIVE: []
956
+ end
957
+
730
958
  class ValidationException
731
959
  attr_accessor message: ::String
732
960
  attr_accessor event_type: untyped
733
961
  SENSITIVE: []
734
962
  end
735
963
 
964
+ class FlowResponseStream < Enumerator[untyped, untyped]
965
+ def event_types: () -> [:access_denied_exception, :bad_gateway_exception, :conflict_exception, :dependency_failed_exception, :flow_completion_event, :flow_output_event, :internal_server_exception, :resource_not_found_exception, :service_quota_exceeded_exception, :throttling_exception, :validation_exception]
966
+ end
967
+
736
968
  class ResponseStream < Enumerator[untyped, untyped]
737
- def event_types: () -> [:access_denied_exception, :bad_gateway_exception, :chunk, :conflict_exception, :dependency_failed_exception, :internal_server_exception, :resource_not_found_exception, :return_control, :service_quota_exceeded_exception, :throttling_exception, :trace, :validation_exception]
969
+ def event_types: () -> [:access_denied_exception, :bad_gateway_exception, :chunk, :conflict_exception, :dependency_failed_exception, :files, :internal_server_exception, :resource_not_found_exception, :return_control, :service_quota_exceeded_exception, :throttling_exception, :trace, :validation_exception]
738
970
  end
739
971
  end
740
972
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-bedrockagentruntime
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.15.0
4
+ version: 1.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-02 00:00:00.000000000 Z
11
+ date: 2024-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core