aws-sdk-bedrockagentruntime 1.46.0 → 1.48.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.
data/sig/types.rbs CHANGED
@@ -168,6 +168,20 @@ module Aws::BedrockAgentRuntime
168
168
  SENSITIVE: []
169
169
  end
170
170
 
171
+ class BedrockSessionContentBlock
172
+ attr_accessor image: Types::ImageBlock
173
+ attr_accessor text: ::String
174
+ attr_accessor unknown: untyped
175
+ SENSITIVE: []
176
+
177
+ class Image < BedrockSessionContentBlock
178
+ end
179
+ class Text < BedrockSessionContentBlock
180
+ end
181
+ class Unknown < BedrockSessionContentBlock
182
+ end
183
+ end
184
+
171
185
  class ByteContentDoc
172
186
  attr_accessor content_type: ::String
173
187
  attr_accessor data: ::String
@@ -220,6 +234,29 @@ module Aws::BedrockAgentRuntime
220
234
  SENSITIVE: []
221
235
  end
222
236
 
237
+ class Collaborator
238
+ attr_accessor action_groups: ::Array[Types::AgentActionGroup]
239
+ attr_accessor agent_collaboration: ("SUPERVISOR" | "SUPERVISOR_ROUTER" | "DISABLED")
240
+ attr_accessor agent_name: ::String
241
+ attr_accessor collaborator_configurations: ::Array[Types::CollaboratorConfiguration]
242
+ attr_accessor customer_encryption_key_arn: ::String
243
+ attr_accessor foundation_model: ::String
244
+ attr_accessor guardrail_configuration: Types::GuardrailConfigurationWithArn
245
+ attr_accessor idle_session_ttl_in_seconds: ::Integer
246
+ attr_accessor instruction: ::String
247
+ attr_accessor knowledge_bases: ::Array[Types::KnowledgeBase]
248
+ attr_accessor prompt_override_configuration: Types::PromptOverrideConfiguration
249
+ SENSITIVE: [:agent_name, :instruction, :prompt_override_configuration]
250
+ end
251
+
252
+ class CollaboratorConfiguration
253
+ attr_accessor agent_alias_arn: ::String
254
+ attr_accessor collaborator_instruction: ::String
255
+ attr_accessor collaborator_name: ::String
256
+ attr_accessor relay_conversation_history: ("TO_COLLABORATOR" | "DISABLED")
257
+ SENSITIVE: [:collaborator_instruction, :collaborator_name]
258
+ end
259
+
223
260
  class ConflictException
224
261
  attr_accessor message: ::String
225
262
  attr_accessor event_type: untyped
@@ -247,6 +284,35 @@ module Aws::BedrockAgentRuntime
247
284
  SENSITIVE: []
248
285
  end
249
286
 
287
+ class CreateInvocationRequest
288
+ attr_accessor description: ::String
289
+ attr_accessor invocation_id: ::String
290
+ attr_accessor session_identifier: ::String
291
+ SENSITIVE: []
292
+ end
293
+
294
+ class CreateInvocationResponse
295
+ attr_accessor created_at: ::Time
296
+ attr_accessor invocation_id: ::String
297
+ attr_accessor session_id: ::String
298
+ SENSITIVE: []
299
+ end
300
+
301
+ class CreateSessionRequest
302
+ attr_accessor encryption_key_arn: ::String
303
+ attr_accessor session_metadata: ::Hash[::String, ::String]
304
+ attr_accessor tags: ::Hash[::String, ::String]
305
+ SENSITIVE: []
306
+ end
307
+
308
+ class CreateSessionResponse
309
+ attr_accessor created_at: ::Time
310
+ attr_accessor session_arn: ::String
311
+ attr_accessor session_id: ::String
312
+ attr_accessor session_status: ("ACTIVE" | "EXPIRED" | "ENDED")
313
+ SENSITIVE: []
314
+ end
315
+
250
316
  class CustomOrchestrationTrace
251
317
  attr_accessor event: Types::CustomOrchestrationTraceEvent
252
318
  attr_accessor trace_id: ::String
@@ -269,6 +335,14 @@ module Aws::BedrockAgentRuntime
269
335
  class DeleteAgentMemoryResponse < Aws::EmptyStructure
270
336
  end
271
337
 
338
+ class DeleteSessionRequest
339
+ attr_accessor session_identifier: ::String
340
+ SENSITIVE: []
341
+ end
342
+
343
+ class DeleteSessionResponse < Aws::EmptyStructure
344
+ end
345
+
272
346
  class DependencyFailedException
273
347
  attr_accessor message: ::String
274
348
  attr_accessor resource_name: ::String
@@ -276,6 +350,18 @@ module Aws::BedrockAgentRuntime
276
350
  SENSITIVE: []
277
351
  end
278
352
 
353
+ class EndSessionRequest
354
+ attr_accessor session_identifier: ::String
355
+ SENSITIVE: []
356
+ end
357
+
358
+ class EndSessionResponse
359
+ attr_accessor session_arn: ::String
360
+ attr_accessor session_id: ::String
361
+ attr_accessor session_status: ("ACTIVE" | "EXPIRED" | "ENDED")
362
+ SENSITIVE: []
363
+ end
364
+
279
365
  class ExternalSource
280
366
  attr_accessor byte_content: Types::ByteContentDoc
281
367
  attr_accessor s3_location: Types::S3ObjectDoc
@@ -573,6 +659,34 @@ module Aws::BedrockAgentRuntime
573
659
  SENSITIVE: []
574
660
  end
575
661
 
662
+ class GetInvocationStepRequest
663
+ attr_accessor invocation_identifier: ::String
664
+ attr_accessor invocation_step_id: ::String
665
+ attr_accessor session_identifier: ::String
666
+ SENSITIVE: []
667
+ end
668
+
669
+ class GetInvocationStepResponse
670
+ attr_accessor invocation_step: Types::InvocationStep
671
+ SENSITIVE: []
672
+ end
673
+
674
+ class GetSessionRequest
675
+ attr_accessor session_identifier: ::String
676
+ SENSITIVE: []
677
+ end
678
+
679
+ class GetSessionResponse
680
+ attr_accessor created_at: ::Time
681
+ attr_accessor encryption_key_arn: ::String
682
+ attr_accessor last_updated_at: ::Time
683
+ attr_accessor session_arn: ::String
684
+ attr_accessor session_id: ::String
685
+ attr_accessor session_metadata: ::Hash[::String, ::String]
686
+ attr_accessor session_status: ("ACTIVE" | "EXPIRED" | "ENDED")
687
+ SENSITIVE: []
688
+ end
689
+
576
690
  class GuardrailAssessment
577
691
  attr_accessor content_policy: Types::GuardrailContentPolicyAssessment
578
692
  attr_accessor sensitive_information_policy: Types::GuardrailSensitiveInformationPolicyAssessment
@@ -671,6 +785,26 @@ module Aws::BedrockAgentRuntime
671
785
  SENSITIVE: [:custom_words, :managed_word_lists]
672
786
  end
673
787
 
788
+ class ImageBlock
789
+ attr_accessor format: ("png" | "jpeg" | "gif" | "webp")
790
+ attr_accessor source: Types::ImageSource
791
+ SENSITIVE: []
792
+ end
793
+
794
+ class ImageSource
795
+ attr_accessor bytes: ::String
796
+ attr_accessor s3_location: Types::S3Location
797
+ attr_accessor unknown: untyped
798
+ SENSITIVE: []
799
+
800
+ class Bytes < ImageSource
801
+ end
802
+ class S3Location < ImageSource
803
+ end
804
+ class Unknown < ImageSource
805
+ end
806
+ end
807
+
674
808
  class ImplicitFilterConfiguration
675
809
  attr_accessor metadata_attributes: ::Array[Types::MetadataAttributeSchema]
676
810
  attr_accessor model_arn: ::String
@@ -724,6 +858,7 @@ module Aws::BedrockAgentRuntime
724
858
  end
725
859
 
726
860
  class InlineSessionState
861
+ attr_accessor conversation_history: Types::ConversationHistory
727
862
  attr_accessor files: ::Array[Types::InputFile]
728
863
  attr_accessor invocation_id: ::String
729
864
  attr_accessor prompt_session_attributes: ::Hash[::String, ::String]
@@ -795,6 +930,41 @@ module Aws::BedrockAgentRuntime
795
930
  end
796
931
  end
797
932
 
933
+ class InvocationStep
934
+ attr_accessor invocation_id: ::String
935
+ attr_accessor invocation_step_id: ::String
936
+ attr_accessor invocation_step_time: ::Time
937
+ attr_accessor payload: Types::InvocationStepPayload
938
+ attr_accessor session_id: ::String
939
+ SENSITIVE: []
940
+ end
941
+
942
+ class InvocationStepPayload
943
+ attr_accessor content_blocks: ::Array[Types::BedrockSessionContentBlock]
944
+ attr_accessor unknown: untyped
945
+ SENSITIVE: []
946
+
947
+ class ContentBlocks < InvocationStepPayload
948
+ end
949
+ class Unknown < InvocationStepPayload
950
+ end
951
+ end
952
+
953
+ class InvocationStepSummary
954
+ attr_accessor invocation_id: ::String
955
+ attr_accessor invocation_step_id: ::String
956
+ attr_accessor invocation_step_time: ::Time
957
+ attr_accessor session_id: ::String
958
+ SENSITIVE: []
959
+ end
960
+
961
+ class InvocationSummary
962
+ attr_accessor created_at: ::Time
963
+ attr_accessor invocation_id: ::String
964
+ attr_accessor session_id: ::String
965
+ SENSITIVE: []
966
+ end
967
+
798
968
  class InvokeAgentRequest
799
969
  attr_accessor agent_alias_id: ::String
800
970
  attr_accessor agent_id: ::String
@@ -836,7 +1006,10 @@ module Aws::BedrockAgentRuntime
836
1006
 
837
1007
  class InvokeInlineAgentRequest
838
1008
  attr_accessor action_groups: ::Array[Types::AgentActionGroup]
1009
+ attr_accessor agent_collaboration: ("SUPERVISOR" | "SUPERVISOR_ROUTER" | "DISABLED")
839
1010
  attr_accessor bedrock_model_configurations: Types::InlineBedrockModelConfigurations
1011
+ attr_accessor collaborator_configurations: ::Array[Types::CollaboratorConfiguration]
1012
+ attr_accessor collaborators: ::Array[Types::Collaborator]
840
1013
  attr_accessor customer_encryption_key_arn: ::String
841
1014
  attr_accessor enable_trace: bool
842
1015
  attr_accessor end_session: bool
@@ -920,6 +1093,55 @@ module Aws::BedrockAgentRuntime
920
1093
  SENSITIVE: [:filter]
921
1094
  end
922
1095
 
1096
+ class ListInvocationStepsRequest
1097
+ attr_accessor invocation_identifier: ::String
1098
+ attr_accessor max_results: ::Integer
1099
+ attr_accessor next_token: ::String
1100
+ attr_accessor session_identifier: ::String
1101
+ SENSITIVE: []
1102
+ end
1103
+
1104
+ class ListInvocationStepsResponse
1105
+ attr_accessor invocation_step_summaries: ::Array[Types::InvocationStepSummary]
1106
+ attr_accessor next_token: ::String
1107
+ SENSITIVE: []
1108
+ end
1109
+
1110
+ class ListInvocationsRequest
1111
+ attr_accessor max_results: ::Integer
1112
+ attr_accessor next_token: ::String
1113
+ attr_accessor session_identifier: ::String
1114
+ SENSITIVE: []
1115
+ end
1116
+
1117
+ class ListInvocationsResponse
1118
+ attr_accessor invocation_summaries: ::Array[Types::InvocationSummary]
1119
+ attr_accessor next_token: ::String
1120
+ SENSITIVE: []
1121
+ end
1122
+
1123
+ class ListSessionsRequest
1124
+ attr_accessor max_results: ::Integer
1125
+ attr_accessor next_token: ::String
1126
+ SENSITIVE: []
1127
+ end
1128
+
1129
+ class ListSessionsResponse
1130
+ attr_accessor next_token: ::String
1131
+ attr_accessor session_summaries: ::Array[Types::SessionSummary]
1132
+ SENSITIVE: []
1133
+ end
1134
+
1135
+ class ListTagsForResourceRequest
1136
+ attr_accessor resource_arn: ::String
1137
+ SENSITIVE: []
1138
+ end
1139
+
1140
+ class ListTagsForResourceResponse
1141
+ attr_accessor tags: ::Hash[::String, ::String]
1142
+ SENSITIVE: []
1143
+ end
1144
+
923
1145
  class Memory
924
1146
  attr_accessor session_summary: Types::MemorySessionSummary
925
1147
  attr_accessor unknown: untyped
@@ -1160,6 +1382,7 @@ module Aws::BedrockAgentRuntime
1160
1382
  class PromptConfiguration
1161
1383
  attr_accessor additional_model_request_fields: untyped
1162
1384
  attr_accessor base_prompt_template: ::String
1385
+ attr_accessor foundation_model: ::String
1163
1386
  attr_accessor inference_configuration: Types::InferenceConfiguration
1164
1387
  attr_accessor parser_mode: ("DEFAULT" | "OVERRIDDEN")
1165
1388
  attr_accessor prompt_creation_mode: ("DEFAULT" | "OVERRIDDEN")
@@ -1184,6 +1407,20 @@ module Aws::BedrockAgentRuntime
1184
1407
  SENSITIVE: []
1185
1408
  end
1186
1409
 
1410
+ class PutInvocationStepRequest
1411
+ attr_accessor invocation_identifier: ::String
1412
+ attr_accessor invocation_step_id: ::String
1413
+ attr_accessor invocation_step_time: ::Time
1414
+ attr_accessor payload: Types::InvocationStepPayload
1415
+ attr_accessor session_identifier: ::String
1416
+ SENSITIVE: []
1417
+ end
1418
+
1419
+ class PutInvocationStepResponse
1420
+ attr_accessor invocation_step_id: ::String
1421
+ SENSITIVE: []
1422
+ end
1423
+
1187
1424
  class QueryGenerationInput
1188
1425
  attr_accessor text: ::String
1189
1426
  attr_accessor type: ("TEXT")
@@ -1550,6 +1787,11 @@ module Aws::BedrockAgentRuntime
1550
1787
  SENSITIVE: []
1551
1788
  end
1552
1789
 
1790
+ class S3Location
1791
+ attr_accessor uri: ::String
1792
+ SENSITIVE: []
1793
+ end
1794
+
1553
1795
  class S3ObjectDoc
1554
1796
  attr_accessor uri: ::String
1555
1797
  SENSITIVE: []
@@ -1577,6 +1819,15 @@ module Aws::BedrockAgentRuntime
1577
1819
  SENSITIVE: []
1578
1820
  end
1579
1821
 
1822
+ class SessionSummary
1823
+ attr_accessor created_at: ::Time
1824
+ attr_accessor last_updated_at: ::Time
1825
+ attr_accessor session_arn: ::String
1826
+ attr_accessor session_id: ::String
1827
+ attr_accessor session_status: ("ACTIVE" | "EXPIRED" | "ENDED")
1828
+ SENSITIVE: []
1829
+ end
1830
+
1580
1831
  class Span
1581
1832
  attr_accessor end: ::Integer
1582
1833
  attr_accessor start: ::Integer
@@ -1589,6 +1840,15 @@ module Aws::BedrockAgentRuntime
1589
1840
  SENSITIVE: []
1590
1841
  end
1591
1842
 
1843
+ class TagResourceRequest
1844
+ attr_accessor resource_arn: ::String
1845
+ attr_accessor tags: ::Hash[::String, ::String]
1846
+ SENSITIVE: []
1847
+ end
1848
+
1849
+ class TagResourceResponse < Aws::EmptyStructure
1850
+ end
1851
+
1592
1852
  class TextInferenceConfig
1593
1853
  attr_accessor max_tokens: ::Integer
1594
1854
  attr_accessor stop_sequences: ::Array[::String]
@@ -1660,6 +1920,7 @@ module Aws::BedrockAgentRuntime
1660
1920
  attr_accessor agent_version: ::String
1661
1921
  attr_accessor caller_chain: ::Array[Types::Caller]
1662
1922
  attr_accessor collaborator_name: ::String
1923
+ attr_accessor event_time: ::Time
1663
1924
  attr_accessor session_id: ::String
1664
1925
  attr_accessor trace: Types::Trace
1665
1926
  attr_accessor event_type: untyped
@@ -1672,6 +1933,30 @@ module Aws::BedrockAgentRuntime
1672
1933
  SENSITIVE: []
1673
1934
  end
1674
1935
 
1936
+ class UntagResourceRequest
1937
+ attr_accessor resource_arn: ::String
1938
+ attr_accessor tag_keys: ::Array[::String]
1939
+ SENSITIVE: []
1940
+ end
1941
+
1942
+ class UntagResourceResponse < Aws::EmptyStructure
1943
+ end
1944
+
1945
+ class UpdateSessionRequest
1946
+ attr_accessor session_identifier: ::String
1947
+ attr_accessor session_metadata: ::Hash[::String, ::String]
1948
+ SENSITIVE: []
1949
+ end
1950
+
1951
+ class UpdateSessionResponse
1952
+ attr_accessor created_at: ::Time
1953
+ attr_accessor last_updated_at: ::Time
1954
+ attr_accessor session_arn: ::String
1955
+ attr_accessor session_id: ::String
1956
+ attr_accessor session_status: ("ACTIVE" | "EXPIRED" | "ENDED")
1957
+ SENSITIVE: []
1958
+ end
1959
+
1675
1960
  class Usage
1676
1961
  attr_accessor input_tokens: ::Integer
1677
1962
  attr_accessor output_tokens: ::Integer
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.46.0
4
+ version: 1.48.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: 2025-02-24 00:00:00.000000000 Z
11
+ date: 2025-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core