aws-sdk-bedrockagentruntime 1.45.0 → 1.47.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagentruntime/client.rb +749 -1
- data/lib/aws-sdk-bedrockagentruntime/client_api.rb +474 -0
- data/lib/aws-sdk-bedrockagentruntime/types.rb +935 -6
- data/lib/aws-sdk-bedrockagentruntime.rb +2 -2
- data/sig/client.rbs +191 -0
- data/sig/types.rbs +282 -3
- metadata +2 -2
@@ -23,7 +23,7 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:bedrockagentruntime)
|
|
23
23
|
# structure.
|
24
24
|
#
|
25
25
|
# bedrock_agent_runtime = Aws::BedrockAgentRuntime::Client.new
|
26
|
-
# resp = bedrock_agent_runtime.
|
26
|
+
# resp = bedrock_agent_runtime.create_invocation(params)
|
27
27
|
#
|
28
28
|
# See {Client} for more information.
|
29
29
|
#
|
@@ -55,7 +55,7 @@ module Aws::BedrockAgentRuntime
|
|
55
55
|
autoload :Endpoints, 'aws-sdk-bedrockagentruntime/endpoints'
|
56
56
|
autoload :EventStreams, 'aws-sdk-bedrockagentruntime/event_streams'
|
57
57
|
|
58
|
-
GEM_VERSION = '1.
|
58
|
+
GEM_VERSION = '1.47.0'
|
59
59
|
|
60
60
|
end
|
61
61
|
|
data/sig/client.rbs
CHANGED
@@ -80,6 +80,35 @@ module Aws
|
|
80
80
|
| (?Hash[Symbol, untyped]) -> instance
|
81
81
|
|
82
82
|
|
83
|
+
interface _CreateInvocationResponseSuccess
|
84
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateInvocationResponse]
|
85
|
+
def created_at: () -> ::Time
|
86
|
+
def invocation_id: () -> ::String
|
87
|
+
def session_id: () -> ::String
|
88
|
+
end
|
89
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentRuntime/Client.html#create_invocation-instance_method
|
90
|
+
def create_invocation: (
|
91
|
+
?description: ::String,
|
92
|
+
?invocation_id: ::String,
|
93
|
+
session_identifier: ::String
|
94
|
+
) -> _CreateInvocationResponseSuccess
|
95
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateInvocationResponseSuccess
|
96
|
+
|
97
|
+
interface _CreateSessionResponseSuccess
|
98
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateSessionResponse]
|
99
|
+
def created_at: () -> ::Time
|
100
|
+
def session_arn: () -> ::String
|
101
|
+
def session_id: () -> ::String
|
102
|
+
def session_status: () -> ("ACTIVE" | "EXPIRED" | "ENDED")
|
103
|
+
end
|
104
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentRuntime/Client.html#create_session-instance_method
|
105
|
+
def create_session: (
|
106
|
+
?encryption_key_arn: ::String,
|
107
|
+
?session_metadata: Hash[::String, ::String],
|
108
|
+
?tags: Hash[::String, ::String]
|
109
|
+
) -> _CreateSessionResponseSuccess
|
110
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSessionResponseSuccess
|
111
|
+
|
83
112
|
interface _DeleteAgentMemoryResponseSuccess
|
84
113
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAgentMemoryResponse]
|
85
114
|
end
|
@@ -92,6 +121,27 @@ module Aws
|
|
92
121
|
) -> _DeleteAgentMemoryResponseSuccess
|
93
122
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAgentMemoryResponseSuccess
|
94
123
|
|
124
|
+
interface _DeleteSessionResponseSuccess
|
125
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSessionResponse]
|
126
|
+
end
|
127
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentRuntime/Client.html#delete_session-instance_method
|
128
|
+
def delete_session: (
|
129
|
+
session_identifier: ::String
|
130
|
+
) -> _DeleteSessionResponseSuccess
|
131
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSessionResponseSuccess
|
132
|
+
|
133
|
+
interface _EndSessionResponseSuccess
|
134
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::EndSessionResponse]
|
135
|
+
def session_arn: () -> ::String
|
136
|
+
def session_id: () -> ::String
|
137
|
+
def session_status: () -> ("ACTIVE" | "EXPIRED" | "ENDED")
|
138
|
+
end
|
139
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentRuntime/Client.html#end_session-instance_method
|
140
|
+
def end_session: (
|
141
|
+
session_identifier: ::String
|
142
|
+
) -> _EndSessionResponseSuccess
|
143
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EndSessionResponseSuccess
|
144
|
+
|
95
145
|
interface _GenerateQueryResponseSuccess
|
96
146
|
include ::Seahorse::Client::_ResponseSuccess[Types::GenerateQueryResponse]
|
97
147
|
def queries: () -> ::Array[Types::GeneratedQuery]
|
@@ -130,6 +180,34 @@ module Aws
|
|
130
180
|
) -> _GetAgentMemoryResponseSuccess
|
131
181
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAgentMemoryResponseSuccess
|
132
182
|
|
183
|
+
interface _GetInvocationStepResponseSuccess
|
184
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetInvocationStepResponse]
|
185
|
+
def invocation_step: () -> Types::InvocationStep
|
186
|
+
end
|
187
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentRuntime/Client.html#get_invocation_step-instance_method
|
188
|
+
def get_invocation_step: (
|
189
|
+
invocation_identifier: ::String,
|
190
|
+
invocation_step_id: ::String,
|
191
|
+
session_identifier: ::String
|
192
|
+
) -> _GetInvocationStepResponseSuccess
|
193
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetInvocationStepResponseSuccess
|
194
|
+
|
195
|
+
interface _GetSessionResponseSuccess
|
196
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetSessionResponse]
|
197
|
+
def created_at: () -> ::Time
|
198
|
+
def encryption_key_arn: () -> ::String
|
199
|
+
def last_updated_at: () -> ::Time
|
200
|
+
def session_arn: () -> ::String
|
201
|
+
def session_id: () -> ::String
|
202
|
+
def session_metadata: () -> ::Hash[::String, ::String]
|
203
|
+
def session_status: () -> ("ACTIVE" | "EXPIRED" | "ENDED")
|
204
|
+
end
|
205
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentRuntime/Client.html#get_session-instance_method
|
206
|
+
def get_session: (
|
207
|
+
session_identifier: ::String
|
208
|
+
) -> _GetSessionResponseSuccess
|
209
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSessionResponseSuccess
|
210
|
+
|
133
211
|
interface _InvokeAgentResponseSuccess
|
134
212
|
include ::Seahorse::Client::_ResponseSuccess[Types::InvokeAgentResponse]
|
135
213
|
def completion: () -> Types::ResponseStream
|
@@ -601,6 +679,55 @@ module Aws
|
|
601
679
|
) ?{ (*untyped) -> void } -> _InvokeInlineAgentResponseSuccess
|
602
680
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _InvokeInlineAgentResponseSuccess
|
603
681
|
|
682
|
+
interface _ListInvocationStepsResponseSuccess
|
683
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListInvocationStepsResponse]
|
684
|
+
def invocation_step_summaries: () -> ::Array[Types::InvocationStepSummary]
|
685
|
+
def next_token: () -> ::String
|
686
|
+
end
|
687
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentRuntime/Client.html#list_invocation_steps-instance_method
|
688
|
+
def list_invocation_steps: (
|
689
|
+
?invocation_identifier: ::String,
|
690
|
+
?max_results: ::Integer,
|
691
|
+
?next_token: ::String,
|
692
|
+
session_identifier: ::String
|
693
|
+
) -> _ListInvocationStepsResponseSuccess
|
694
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListInvocationStepsResponseSuccess
|
695
|
+
|
696
|
+
interface _ListInvocationsResponseSuccess
|
697
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListInvocationsResponse]
|
698
|
+
def invocation_summaries: () -> ::Array[Types::InvocationSummary]
|
699
|
+
def next_token: () -> ::String
|
700
|
+
end
|
701
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentRuntime/Client.html#list_invocations-instance_method
|
702
|
+
def list_invocations: (
|
703
|
+
?max_results: ::Integer,
|
704
|
+
?next_token: ::String,
|
705
|
+
session_identifier: ::String
|
706
|
+
) -> _ListInvocationsResponseSuccess
|
707
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListInvocationsResponseSuccess
|
708
|
+
|
709
|
+
interface _ListSessionsResponseSuccess
|
710
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListSessionsResponse]
|
711
|
+
def next_token: () -> ::String
|
712
|
+
def session_summaries: () -> ::Array[Types::SessionSummary]
|
713
|
+
end
|
714
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentRuntime/Client.html#list_sessions-instance_method
|
715
|
+
def list_sessions: (
|
716
|
+
?max_results: ::Integer,
|
717
|
+
?next_token: ::String
|
718
|
+
) -> _ListSessionsResponseSuccess
|
719
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSessionsResponseSuccess
|
720
|
+
|
721
|
+
interface _ListTagsForResourceResponseSuccess
|
722
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
723
|
+
def tags: () -> ::Hash[::String, ::String]
|
724
|
+
end
|
725
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentRuntime/Client.html#list_tags_for_resource-instance_method
|
726
|
+
def list_tags_for_resource: (
|
727
|
+
resource_arn: ::String
|
728
|
+
) -> _ListTagsForResourceResponseSuccess
|
729
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
730
|
+
|
604
731
|
interface _OptimizePromptResponseSuccess
|
605
732
|
include ::Seahorse::Client::_ResponseSuccess[Types::OptimizePromptResponse]
|
606
733
|
def optimized_prompt: () -> Types::OptimizedPromptStream
|
@@ -616,6 +743,35 @@ module Aws
|
|
616
743
|
) ?{ (*untyped) -> void } -> _OptimizePromptResponseSuccess
|
617
744
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _OptimizePromptResponseSuccess
|
618
745
|
|
746
|
+
interface _PutInvocationStepResponseSuccess
|
747
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutInvocationStepResponse]
|
748
|
+
def invocation_step_id: () -> ::String
|
749
|
+
end
|
750
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentRuntime/Client.html#put_invocation_step-instance_method
|
751
|
+
def put_invocation_step: (
|
752
|
+
invocation_identifier: ::String,
|
753
|
+
?invocation_step_id: ::String,
|
754
|
+
invocation_step_time: ::Time,
|
755
|
+
payload: {
|
756
|
+
content_blocks: Array[
|
757
|
+
{
|
758
|
+
image: {
|
759
|
+
format: ("png" | "jpeg" | "gif" | "webp"),
|
760
|
+
source: {
|
761
|
+
bytes: ::String?,
|
762
|
+
s3_location: {
|
763
|
+
uri: ::String
|
764
|
+
}?
|
765
|
+
}
|
766
|
+
}?,
|
767
|
+
text: ::String?
|
768
|
+
},
|
769
|
+
]?
|
770
|
+
},
|
771
|
+
session_identifier: ::String
|
772
|
+
) -> _PutInvocationStepResponseSuccess
|
773
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutInvocationStepResponseSuccess
|
774
|
+
|
619
775
|
interface _RerankResponseSuccess
|
620
776
|
include ::Seahorse::Client::_ResponseSuccess[Types::RerankResponse]
|
621
777
|
def next_token: () -> ::String
|
@@ -1205,6 +1361,41 @@ module Aws
|
|
1205
1361
|
?session_id: ::String
|
1206
1362
|
) ?{ (*untyped) -> void } -> _RetrieveAndGenerateStreamResponseSuccess
|
1207
1363
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _RetrieveAndGenerateStreamResponseSuccess
|
1364
|
+
|
1365
|
+
interface _TagResourceResponseSuccess
|
1366
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
1367
|
+
end
|
1368
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentRuntime/Client.html#tag_resource-instance_method
|
1369
|
+
def tag_resource: (
|
1370
|
+
resource_arn: ::String,
|
1371
|
+
tags: Hash[::String, ::String]
|
1372
|
+
) -> _TagResourceResponseSuccess
|
1373
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
1374
|
+
|
1375
|
+
interface _UntagResourceResponseSuccess
|
1376
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
|
1377
|
+
end
|
1378
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentRuntime/Client.html#untag_resource-instance_method
|
1379
|
+
def untag_resource: (
|
1380
|
+
resource_arn: ::String,
|
1381
|
+
tag_keys: Array[::String]
|
1382
|
+
) -> _UntagResourceResponseSuccess
|
1383
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
1384
|
+
|
1385
|
+
interface _UpdateSessionResponseSuccess
|
1386
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSessionResponse]
|
1387
|
+
def created_at: () -> ::Time
|
1388
|
+
def last_updated_at: () -> ::Time
|
1389
|
+
def session_arn: () -> ::String
|
1390
|
+
def session_id: () -> ::String
|
1391
|
+
def session_status: () -> ("ACTIVE" | "EXPIRED" | "ENDED")
|
1392
|
+
end
|
1393
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentRuntime/Client.html#update_session-instance_method
|
1394
|
+
def update_session: (
|
1395
|
+
session_identifier: ::String,
|
1396
|
+
?session_metadata: Hash[::String, ::String]
|
1397
|
+
) -> _UpdateSessionResponseSuccess
|
1398
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSessionResponseSuccess
|
1208
1399
|
end
|
1209
1400
|
end
|
1210
1401
|
end
|
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
|
@@ -247,6 +261,35 @@ module Aws::BedrockAgentRuntime
|
|
247
261
|
SENSITIVE: []
|
248
262
|
end
|
249
263
|
|
264
|
+
class CreateInvocationRequest
|
265
|
+
attr_accessor description: ::String
|
266
|
+
attr_accessor invocation_id: ::String
|
267
|
+
attr_accessor session_identifier: ::String
|
268
|
+
SENSITIVE: []
|
269
|
+
end
|
270
|
+
|
271
|
+
class CreateInvocationResponse
|
272
|
+
attr_accessor created_at: ::Time
|
273
|
+
attr_accessor invocation_id: ::String
|
274
|
+
attr_accessor session_id: ::String
|
275
|
+
SENSITIVE: []
|
276
|
+
end
|
277
|
+
|
278
|
+
class CreateSessionRequest
|
279
|
+
attr_accessor encryption_key_arn: ::String
|
280
|
+
attr_accessor session_metadata: ::Hash[::String, ::String]
|
281
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
282
|
+
SENSITIVE: []
|
283
|
+
end
|
284
|
+
|
285
|
+
class CreateSessionResponse
|
286
|
+
attr_accessor created_at: ::Time
|
287
|
+
attr_accessor session_arn: ::String
|
288
|
+
attr_accessor session_id: ::String
|
289
|
+
attr_accessor session_status: ("ACTIVE" | "EXPIRED" | "ENDED")
|
290
|
+
SENSITIVE: []
|
291
|
+
end
|
292
|
+
|
250
293
|
class CustomOrchestrationTrace
|
251
294
|
attr_accessor event: Types::CustomOrchestrationTraceEvent
|
252
295
|
attr_accessor trace_id: ::String
|
@@ -269,6 +312,14 @@ module Aws::BedrockAgentRuntime
|
|
269
312
|
class DeleteAgentMemoryResponse < Aws::EmptyStructure
|
270
313
|
end
|
271
314
|
|
315
|
+
class DeleteSessionRequest
|
316
|
+
attr_accessor session_identifier: ::String
|
317
|
+
SENSITIVE: []
|
318
|
+
end
|
319
|
+
|
320
|
+
class DeleteSessionResponse < Aws::EmptyStructure
|
321
|
+
end
|
322
|
+
|
272
323
|
class DependencyFailedException
|
273
324
|
attr_accessor message: ::String
|
274
325
|
attr_accessor resource_name: ::String
|
@@ -276,6 +327,18 @@ module Aws::BedrockAgentRuntime
|
|
276
327
|
SENSITIVE: []
|
277
328
|
end
|
278
329
|
|
330
|
+
class EndSessionRequest
|
331
|
+
attr_accessor session_identifier: ::String
|
332
|
+
SENSITIVE: []
|
333
|
+
end
|
334
|
+
|
335
|
+
class EndSessionResponse
|
336
|
+
attr_accessor session_arn: ::String
|
337
|
+
attr_accessor session_id: ::String
|
338
|
+
attr_accessor session_status: ("ACTIVE" | "EXPIRED" | "ENDED")
|
339
|
+
SENSITIVE: []
|
340
|
+
end
|
341
|
+
|
279
342
|
class ExternalSource
|
280
343
|
attr_accessor byte_content: Types::ByteContentDoc
|
281
344
|
attr_accessor s3_location: Types::S3ObjectDoc
|
@@ -573,6 +636,34 @@ module Aws::BedrockAgentRuntime
|
|
573
636
|
SENSITIVE: []
|
574
637
|
end
|
575
638
|
|
639
|
+
class GetInvocationStepRequest
|
640
|
+
attr_accessor invocation_identifier: ::String
|
641
|
+
attr_accessor invocation_step_id: ::String
|
642
|
+
attr_accessor session_identifier: ::String
|
643
|
+
SENSITIVE: []
|
644
|
+
end
|
645
|
+
|
646
|
+
class GetInvocationStepResponse
|
647
|
+
attr_accessor invocation_step: Types::InvocationStep
|
648
|
+
SENSITIVE: []
|
649
|
+
end
|
650
|
+
|
651
|
+
class GetSessionRequest
|
652
|
+
attr_accessor session_identifier: ::String
|
653
|
+
SENSITIVE: []
|
654
|
+
end
|
655
|
+
|
656
|
+
class GetSessionResponse
|
657
|
+
attr_accessor created_at: ::Time
|
658
|
+
attr_accessor encryption_key_arn: ::String
|
659
|
+
attr_accessor last_updated_at: ::Time
|
660
|
+
attr_accessor session_arn: ::String
|
661
|
+
attr_accessor session_id: ::String
|
662
|
+
attr_accessor session_metadata: ::Hash[::String, ::String]
|
663
|
+
attr_accessor session_status: ("ACTIVE" | "EXPIRED" | "ENDED")
|
664
|
+
SENSITIVE: []
|
665
|
+
end
|
666
|
+
|
576
667
|
class GuardrailAssessment
|
577
668
|
attr_accessor content_policy: Types::GuardrailContentPolicyAssessment
|
578
669
|
attr_accessor sensitive_information_policy: Types::GuardrailSensitiveInformationPolicyAssessment
|
@@ -671,6 +762,26 @@ module Aws::BedrockAgentRuntime
|
|
671
762
|
SENSITIVE: [:custom_words, :managed_word_lists]
|
672
763
|
end
|
673
764
|
|
765
|
+
class ImageBlock
|
766
|
+
attr_accessor format: ("png" | "jpeg" | "gif" | "webp")
|
767
|
+
attr_accessor source: Types::ImageSource
|
768
|
+
SENSITIVE: []
|
769
|
+
end
|
770
|
+
|
771
|
+
class ImageSource
|
772
|
+
attr_accessor bytes: ::String
|
773
|
+
attr_accessor s3_location: Types::S3Location
|
774
|
+
attr_accessor unknown: untyped
|
775
|
+
SENSITIVE: []
|
776
|
+
|
777
|
+
class Bytes < ImageSource
|
778
|
+
end
|
779
|
+
class S3Location < ImageSource
|
780
|
+
end
|
781
|
+
class Unknown < ImageSource
|
782
|
+
end
|
783
|
+
end
|
784
|
+
|
674
785
|
class ImplicitFilterConfiguration
|
675
786
|
attr_accessor metadata_attributes: ::Array[Types::MetadataAttributeSchema]
|
676
787
|
attr_accessor model_arn: ::String
|
@@ -795,6 +906,41 @@ module Aws::BedrockAgentRuntime
|
|
795
906
|
end
|
796
907
|
end
|
797
908
|
|
909
|
+
class InvocationStep
|
910
|
+
attr_accessor invocation_id: ::String
|
911
|
+
attr_accessor invocation_step_id: ::String
|
912
|
+
attr_accessor invocation_step_time: ::Time
|
913
|
+
attr_accessor payload: Types::InvocationStepPayload
|
914
|
+
attr_accessor session_id: ::String
|
915
|
+
SENSITIVE: []
|
916
|
+
end
|
917
|
+
|
918
|
+
class InvocationStepPayload
|
919
|
+
attr_accessor content_blocks: ::Array[Types::BedrockSessionContentBlock]
|
920
|
+
attr_accessor unknown: untyped
|
921
|
+
SENSITIVE: []
|
922
|
+
|
923
|
+
class ContentBlocks < InvocationStepPayload
|
924
|
+
end
|
925
|
+
class Unknown < InvocationStepPayload
|
926
|
+
end
|
927
|
+
end
|
928
|
+
|
929
|
+
class InvocationStepSummary
|
930
|
+
attr_accessor invocation_id: ::String
|
931
|
+
attr_accessor invocation_step_id: ::String
|
932
|
+
attr_accessor invocation_step_time: ::Time
|
933
|
+
attr_accessor session_id: ::String
|
934
|
+
SENSITIVE: []
|
935
|
+
end
|
936
|
+
|
937
|
+
class InvocationSummary
|
938
|
+
attr_accessor created_at: ::Time
|
939
|
+
attr_accessor invocation_id: ::String
|
940
|
+
attr_accessor session_id: ::String
|
941
|
+
SENSITIVE: []
|
942
|
+
end
|
943
|
+
|
798
944
|
class InvokeAgentRequest
|
799
945
|
attr_accessor agent_alias_id: ::String
|
800
946
|
attr_accessor agent_id: ::String
|
@@ -920,6 +1066,55 @@ module Aws::BedrockAgentRuntime
|
|
920
1066
|
SENSITIVE: [:filter]
|
921
1067
|
end
|
922
1068
|
|
1069
|
+
class ListInvocationStepsRequest
|
1070
|
+
attr_accessor invocation_identifier: ::String
|
1071
|
+
attr_accessor max_results: ::Integer
|
1072
|
+
attr_accessor next_token: ::String
|
1073
|
+
attr_accessor session_identifier: ::String
|
1074
|
+
SENSITIVE: []
|
1075
|
+
end
|
1076
|
+
|
1077
|
+
class ListInvocationStepsResponse
|
1078
|
+
attr_accessor invocation_step_summaries: ::Array[Types::InvocationStepSummary]
|
1079
|
+
attr_accessor next_token: ::String
|
1080
|
+
SENSITIVE: []
|
1081
|
+
end
|
1082
|
+
|
1083
|
+
class ListInvocationsRequest
|
1084
|
+
attr_accessor max_results: ::Integer
|
1085
|
+
attr_accessor next_token: ::String
|
1086
|
+
attr_accessor session_identifier: ::String
|
1087
|
+
SENSITIVE: []
|
1088
|
+
end
|
1089
|
+
|
1090
|
+
class ListInvocationsResponse
|
1091
|
+
attr_accessor invocation_summaries: ::Array[Types::InvocationSummary]
|
1092
|
+
attr_accessor next_token: ::String
|
1093
|
+
SENSITIVE: []
|
1094
|
+
end
|
1095
|
+
|
1096
|
+
class ListSessionsRequest
|
1097
|
+
attr_accessor max_results: ::Integer
|
1098
|
+
attr_accessor next_token: ::String
|
1099
|
+
SENSITIVE: []
|
1100
|
+
end
|
1101
|
+
|
1102
|
+
class ListSessionsResponse
|
1103
|
+
attr_accessor next_token: ::String
|
1104
|
+
attr_accessor session_summaries: ::Array[Types::SessionSummary]
|
1105
|
+
SENSITIVE: []
|
1106
|
+
end
|
1107
|
+
|
1108
|
+
class ListTagsForResourceRequest
|
1109
|
+
attr_accessor resource_arn: ::String
|
1110
|
+
SENSITIVE: []
|
1111
|
+
end
|
1112
|
+
|
1113
|
+
class ListTagsForResourceResponse
|
1114
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
1115
|
+
SENSITIVE: []
|
1116
|
+
end
|
1117
|
+
|
923
1118
|
class Memory
|
924
1119
|
attr_accessor session_summary: Types::MemorySessionSummary
|
925
1120
|
attr_accessor unknown: untyped
|
@@ -1039,8 +1234,9 @@ module Aws::BedrockAgentRuntime
|
|
1039
1234
|
class OrchestrationModelInvocationOutput
|
1040
1235
|
attr_accessor metadata: Types::Metadata
|
1041
1236
|
attr_accessor raw_response: Types::RawResponse
|
1237
|
+
attr_accessor reasoning_content: Types::ReasoningContentBlock
|
1042
1238
|
attr_accessor trace_id: ::String
|
1043
|
-
SENSITIVE: [:metadata, :raw_response]
|
1239
|
+
SENSITIVE: [:metadata, :raw_response, :reasoning_content]
|
1044
1240
|
end
|
1045
1241
|
|
1046
1242
|
class OrchestrationTrace
|
@@ -1103,8 +1299,9 @@ module Aws::BedrockAgentRuntime
|
|
1103
1299
|
attr_accessor metadata: Types::Metadata
|
1104
1300
|
attr_accessor parsed_response: Types::PostProcessingParsedResponse
|
1105
1301
|
attr_accessor raw_response: Types::RawResponse
|
1302
|
+
attr_accessor reasoning_content: Types::ReasoningContentBlock
|
1106
1303
|
attr_accessor trace_id: ::String
|
1107
|
-
SENSITIVE: [:metadata, :parsed_response, :raw_response]
|
1304
|
+
SENSITIVE: [:metadata, :parsed_response, :raw_response, :reasoning_content]
|
1108
1305
|
end
|
1109
1306
|
|
1110
1307
|
class PostProcessingParsedResponse
|
@@ -1130,8 +1327,9 @@ module Aws::BedrockAgentRuntime
|
|
1130
1327
|
attr_accessor metadata: Types::Metadata
|
1131
1328
|
attr_accessor parsed_response: Types::PreProcessingParsedResponse
|
1132
1329
|
attr_accessor raw_response: Types::RawResponse
|
1330
|
+
attr_accessor reasoning_content: Types::ReasoningContentBlock
|
1133
1331
|
attr_accessor trace_id: ::String
|
1134
|
-
SENSITIVE: [:metadata, :parsed_response, :raw_response]
|
1332
|
+
SENSITIVE: [:metadata, :parsed_response, :raw_response, :reasoning_content]
|
1135
1333
|
end
|
1136
1334
|
|
1137
1335
|
class PreProcessingParsedResponse
|
@@ -1181,6 +1379,20 @@ module Aws::BedrockAgentRuntime
|
|
1181
1379
|
SENSITIVE: []
|
1182
1380
|
end
|
1183
1381
|
|
1382
|
+
class PutInvocationStepRequest
|
1383
|
+
attr_accessor invocation_identifier: ::String
|
1384
|
+
attr_accessor invocation_step_id: ::String
|
1385
|
+
attr_accessor invocation_step_time: ::Time
|
1386
|
+
attr_accessor payload: Types::InvocationStepPayload
|
1387
|
+
attr_accessor session_identifier: ::String
|
1388
|
+
SENSITIVE: []
|
1389
|
+
end
|
1390
|
+
|
1391
|
+
class PutInvocationStepResponse
|
1392
|
+
attr_accessor invocation_step_id: ::String
|
1393
|
+
SENSITIVE: []
|
1394
|
+
end
|
1395
|
+
|
1184
1396
|
class QueryGenerationInput
|
1185
1397
|
attr_accessor text: ::String
|
1186
1398
|
attr_accessor type: ("TEXT")
|
@@ -1203,6 +1415,26 @@ module Aws::BedrockAgentRuntime
|
|
1203
1415
|
SENSITIVE: []
|
1204
1416
|
end
|
1205
1417
|
|
1418
|
+
class ReasoningContentBlock
|
1419
|
+
attr_accessor reasoning_text: Types::ReasoningTextBlock
|
1420
|
+
attr_accessor redacted_content: ::String
|
1421
|
+
attr_accessor unknown: untyped
|
1422
|
+
SENSITIVE: [:reasoning_text]
|
1423
|
+
|
1424
|
+
class ReasoningText < ReasoningContentBlock
|
1425
|
+
end
|
1426
|
+
class RedactedContent < ReasoningContentBlock
|
1427
|
+
end
|
1428
|
+
class Unknown < ReasoningContentBlock
|
1429
|
+
end
|
1430
|
+
end
|
1431
|
+
|
1432
|
+
class ReasoningTextBlock
|
1433
|
+
attr_accessor signature: ::String
|
1434
|
+
attr_accessor text: ::String
|
1435
|
+
SENSITIVE: []
|
1436
|
+
end
|
1437
|
+
|
1206
1438
|
class RepromptResponse
|
1207
1439
|
attr_accessor source: ("ACTION_GROUP" | "KNOWLEDGE_BASE" | "PARSER")
|
1208
1440
|
attr_accessor text: ::String
|
@@ -1527,6 +1759,11 @@ module Aws::BedrockAgentRuntime
|
|
1527
1759
|
SENSITIVE: []
|
1528
1760
|
end
|
1529
1761
|
|
1762
|
+
class S3Location
|
1763
|
+
attr_accessor uri: ::String
|
1764
|
+
SENSITIVE: []
|
1765
|
+
end
|
1766
|
+
|
1530
1767
|
class S3ObjectDoc
|
1531
1768
|
attr_accessor uri: ::String
|
1532
1769
|
SENSITIVE: []
|
@@ -1554,6 +1791,15 @@ module Aws::BedrockAgentRuntime
|
|
1554
1791
|
SENSITIVE: []
|
1555
1792
|
end
|
1556
1793
|
|
1794
|
+
class SessionSummary
|
1795
|
+
attr_accessor created_at: ::Time
|
1796
|
+
attr_accessor last_updated_at: ::Time
|
1797
|
+
attr_accessor session_arn: ::String
|
1798
|
+
attr_accessor session_id: ::String
|
1799
|
+
attr_accessor session_status: ("ACTIVE" | "EXPIRED" | "ENDED")
|
1800
|
+
SENSITIVE: []
|
1801
|
+
end
|
1802
|
+
|
1557
1803
|
class Span
|
1558
1804
|
attr_accessor end: ::Integer
|
1559
1805
|
attr_accessor start: ::Integer
|
@@ -1566,6 +1812,15 @@ module Aws::BedrockAgentRuntime
|
|
1566
1812
|
SENSITIVE: []
|
1567
1813
|
end
|
1568
1814
|
|
1815
|
+
class TagResourceRequest
|
1816
|
+
attr_accessor resource_arn: ::String
|
1817
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
1818
|
+
SENSITIVE: []
|
1819
|
+
end
|
1820
|
+
|
1821
|
+
class TagResourceResponse < Aws::EmptyStructure
|
1822
|
+
end
|
1823
|
+
|
1569
1824
|
class TextInferenceConfig
|
1570
1825
|
attr_accessor max_tokens: ::Integer
|
1571
1826
|
attr_accessor stop_sequences: ::Array[::String]
|
@@ -1649,6 +1904,30 @@ module Aws::BedrockAgentRuntime
|
|
1649
1904
|
SENSITIVE: []
|
1650
1905
|
end
|
1651
1906
|
|
1907
|
+
class UntagResourceRequest
|
1908
|
+
attr_accessor resource_arn: ::String
|
1909
|
+
attr_accessor tag_keys: ::Array[::String]
|
1910
|
+
SENSITIVE: []
|
1911
|
+
end
|
1912
|
+
|
1913
|
+
class UntagResourceResponse < Aws::EmptyStructure
|
1914
|
+
end
|
1915
|
+
|
1916
|
+
class UpdateSessionRequest
|
1917
|
+
attr_accessor session_identifier: ::String
|
1918
|
+
attr_accessor session_metadata: ::Hash[::String, ::String]
|
1919
|
+
SENSITIVE: []
|
1920
|
+
end
|
1921
|
+
|
1922
|
+
class UpdateSessionResponse
|
1923
|
+
attr_accessor created_at: ::Time
|
1924
|
+
attr_accessor last_updated_at: ::Time
|
1925
|
+
attr_accessor session_arn: ::String
|
1926
|
+
attr_accessor session_id: ::String
|
1927
|
+
attr_accessor session_status: ("ACTIVE" | "EXPIRED" | "ENDED")
|
1928
|
+
SENSITIVE: []
|
1929
|
+
end
|
1930
|
+
|
1652
1931
|
class Usage
|
1653
1932
|
attr_accessor input_tokens: ::Integer
|
1654
1933
|
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.
|
4
|
+
version: 1.47.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-
|
11
|
+
date: 2025-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|