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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagentruntime/client.rb +965 -1
- data/lib/aws-sdk-bedrockagentruntime/client_api.rb +493 -0
- data/lib/aws-sdk-bedrockagentruntime/types.rb +1031 -29
- data/lib/aws-sdk-bedrockagentruntime.rb +2 -2
- data/sig/client.rbs +400 -0
- data/sig/types.rbs +285 -0
- 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.48.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
|
@@ -398,11 +476,207 @@ module Aws
|
|
398
476
|
parent_action_group_signature: ("AMAZON.UserInput" | "AMAZON.CodeInterpreter")?
|
399
477
|
},
|
400
478
|
],
|
479
|
+
?agent_collaboration: ("SUPERVISOR" | "SUPERVISOR_ROUTER" | "DISABLED"),
|
401
480
|
?bedrock_model_configurations: {
|
402
481
|
performance_config: {
|
403
482
|
latency: ("standard" | "optimized")?
|
404
483
|
}?
|
405
484
|
},
|
485
|
+
?collaborator_configurations: Array[
|
486
|
+
{
|
487
|
+
agent_alias_arn: ::String?,
|
488
|
+
collaborator_instruction: ::String,
|
489
|
+
collaborator_name: ::String,
|
490
|
+
relay_conversation_history: ("TO_COLLABORATOR" | "DISABLED")?
|
491
|
+
},
|
492
|
+
],
|
493
|
+
?collaborators: Array[
|
494
|
+
{
|
495
|
+
action_groups: Array[
|
496
|
+
{
|
497
|
+
action_group_executor: {
|
498
|
+
custom_control: ("RETURN_CONTROL")?,
|
499
|
+
lambda: ::String?
|
500
|
+
}?,
|
501
|
+
action_group_name: ::String,
|
502
|
+
api_schema: {
|
503
|
+
payload: ::String?,
|
504
|
+
s3: {
|
505
|
+
s3_bucket_name: ::String?,
|
506
|
+
s3_object_key: ::String?
|
507
|
+
}?
|
508
|
+
}?,
|
509
|
+
description: ::String?,
|
510
|
+
function_schema: {
|
511
|
+
functions: Array[
|
512
|
+
{
|
513
|
+
description: ::String?,
|
514
|
+
name: ::String,
|
515
|
+
parameters: Hash[::String, {
|
516
|
+
description: ::String?,
|
517
|
+
required: bool?,
|
518
|
+
type: ("string" | "number" | "integer" | "boolean" | "array")
|
519
|
+
}]?,
|
520
|
+
require_confirmation: ("ENABLED" | "DISABLED")?
|
521
|
+
},
|
522
|
+
]?
|
523
|
+
}?,
|
524
|
+
parent_action_group_signature: ("AMAZON.UserInput" | "AMAZON.CodeInterpreter")?
|
525
|
+
},
|
526
|
+
]?,
|
527
|
+
agent_collaboration: ("SUPERVISOR" | "SUPERVISOR_ROUTER" | "DISABLED")?,
|
528
|
+
agent_name: ::String?,
|
529
|
+
collaborator_configurations: Array[
|
530
|
+
{
|
531
|
+
agent_alias_arn: ::String?,
|
532
|
+
collaborator_instruction: ::String,
|
533
|
+
collaborator_name: ::String,
|
534
|
+
relay_conversation_history: ("TO_COLLABORATOR" | "DISABLED")?
|
535
|
+
},
|
536
|
+
]?,
|
537
|
+
customer_encryption_key_arn: ::String?,
|
538
|
+
foundation_model: ::String,
|
539
|
+
guardrail_configuration: {
|
540
|
+
guardrail_identifier: ::String,
|
541
|
+
guardrail_version: ::String
|
542
|
+
}?,
|
543
|
+
idle_session_ttl_in_seconds: ::Integer?,
|
544
|
+
instruction: ::String,
|
545
|
+
knowledge_bases: Array[
|
546
|
+
{
|
547
|
+
description: ::String,
|
548
|
+
knowledge_base_id: ::String,
|
549
|
+
retrieval_configuration: {
|
550
|
+
vector_search_configuration: {
|
551
|
+
filter: {
|
552
|
+
and_all: Array[
|
553
|
+
untyped,
|
554
|
+
]?,
|
555
|
+
equals: {
|
556
|
+
key: ::String,
|
557
|
+
value: {
|
558
|
+
}
|
559
|
+
}?,
|
560
|
+
greater_than: {
|
561
|
+
key: ::String,
|
562
|
+
value: {
|
563
|
+
}
|
564
|
+
}?,
|
565
|
+
greater_than_or_equals: {
|
566
|
+
key: ::String,
|
567
|
+
value: {
|
568
|
+
}
|
569
|
+
}?,
|
570
|
+
in: {
|
571
|
+
key: ::String,
|
572
|
+
value: {
|
573
|
+
}
|
574
|
+
}?,
|
575
|
+
less_than: {
|
576
|
+
key: ::String,
|
577
|
+
value: {
|
578
|
+
}
|
579
|
+
}?,
|
580
|
+
less_than_or_equals: {
|
581
|
+
key: ::String,
|
582
|
+
value: {
|
583
|
+
}
|
584
|
+
}?,
|
585
|
+
list_contains: {
|
586
|
+
key: ::String,
|
587
|
+
value: {
|
588
|
+
}
|
589
|
+
}?,
|
590
|
+
not_equals: {
|
591
|
+
key: ::String,
|
592
|
+
value: {
|
593
|
+
}
|
594
|
+
}?,
|
595
|
+
not_in: {
|
596
|
+
key: ::String,
|
597
|
+
value: {
|
598
|
+
}
|
599
|
+
}?,
|
600
|
+
or_all: Array[
|
601
|
+
untyped,
|
602
|
+
]?,
|
603
|
+
starts_with: {
|
604
|
+
key: ::String,
|
605
|
+
value: {
|
606
|
+
}
|
607
|
+
}?,
|
608
|
+
string_contains: {
|
609
|
+
key: ::String,
|
610
|
+
value: {
|
611
|
+
}
|
612
|
+
}?
|
613
|
+
}?,
|
614
|
+
implicit_filter_configuration: {
|
615
|
+
metadata_attributes: Array[
|
616
|
+
{
|
617
|
+
description: ::String,
|
618
|
+
key: ::String,
|
619
|
+
type: ("STRING" | "NUMBER" | "BOOLEAN" | "STRING_LIST")
|
620
|
+
},
|
621
|
+
],
|
622
|
+
model_arn: ::String
|
623
|
+
}?,
|
624
|
+
number_of_results: ::Integer?,
|
625
|
+
override_search_type: ("HYBRID" | "SEMANTIC")?,
|
626
|
+
reranking_configuration: {
|
627
|
+
bedrock_reranking_configuration: {
|
628
|
+
metadata_configuration: {
|
629
|
+
selection_mode: ("SELECTIVE" | "ALL"),
|
630
|
+
selective_mode_configuration: {
|
631
|
+
fields_to_exclude: Array[
|
632
|
+
{
|
633
|
+
field_name: ::String
|
634
|
+
},
|
635
|
+
]?,
|
636
|
+
fields_to_include: Array[
|
637
|
+
{
|
638
|
+
field_name: ::String
|
639
|
+
},
|
640
|
+
]?
|
641
|
+
}?
|
642
|
+
}?,
|
643
|
+
model_configuration: {
|
644
|
+
additional_model_request_fields: Hash[::String, {
|
645
|
+
}]?,
|
646
|
+
model_arn: ::String
|
647
|
+
},
|
648
|
+
number_of_reranked_results: ::Integer?
|
649
|
+
}?,
|
650
|
+
type: ("BEDROCK_RERANKING_MODEL")
|
651
|
+
}?
|
652
|
+
}
|
653
|
+
}?
|
654
|
+
},
|
655
|
+
]?,
|
656
|
+
prompt_override_configuration: {
|
657
|
+
override_lambda: ::String?,
|
658
|
+
prompt_configurations: Array[
|
659
|
+
{
|
660
|
+
additional_model_request_fields: {
|
661
|
+
}?,
|
662
|
+
base_prompt_template: ::String?,
|
663
|
+
foundation_model: ::String?,
|
664
|
+
inference_configuration: {
|
665
|
+
maximum_length: ::Integer?,
|
666
|
+
stop_sequences: Array[::String]?,
|
667
|
+
temperature: ::Float?,
|
668
|
+
top_k: ::Integer?,
|
669
|
+
top_p: ::Float?
|
670
|
+
}?,
|
671
|
+
parser_mode: ("DEFAULT" | "OVERRIDDEN")?,
|
672
|
+
prompt_creation_mode: ("DEFAULT" | "OVERRIDDEN")?,
|
673
|
+
prompt_state: ("ENABLED" | "DISABLED")?,
|
674
|
+
prompt_type: ("PRE_PROCESSING" | "ORCHESTRATION" | "KNOWLEDGE_BASE_RESPONSE_GENERATION" | "POST_PROCESSING" | "ROUTING_CLASSIFIER")?
|
675
|
+
},
|
676
|
+
]
|
677
|
+
}?
|
678
|
+
},
|
679
|
+
],
|
406
680
|
?customer_encryption_key_arn: ::String,
|
407
681
|
?enable_trace: bool,
|
408
682
|
?end_session: bool,
|
@@ -413,6 +687,18 @@ module Aws
|
|
413
687
|
},
|
414
688
|
?idle_session_ttl_in_seconds: ::Integer,
|
415
689
|
?inline_session_state: {
|
690
|
+
conversation_history: {
|
691
|
+
messages: Array[
|
692
|
+
{
|
693
|
+
content: Array[
|
694
|
+
{
|
695
|
+
text: ::String?
|
696
|
+
},
|
697
|
+
],
|
698
|
+
role: ("user" | "assistant")
|
699
|
+
},
|
700
|
+
]?
|
701
|
+
}?,
|
416
702
|
files: Array[
|
417
703
|
{
|
418
704
|
name: ::String,
|
@@ -579,6 +865,7 @@ module Aws
|
|
579
865
|
additional_model_request_fields: {
|
580
866
|
}?,
|
581
867
|
base_prompt_template: ::String?,
|
868
|
+
foundation_model: ::String?,
|
582
869
|
inference_configuration: {
|
583
870
|
maximum_length: ::Integer?,
|
584
871
|
stop_sequences: Array[::String]?,
|
@@ -601,6 +888,55 @@ module Aws
|
|
601
888
|
) ?{ (*untyped) -> void } -> _InvokeInlineAgentResponseSuccess
|
602
889
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _InvokeInlineAgentResponseSuccess
|
603
890
|
|
891
|
+
interface _ListInvocationStepsResponseSuccess
|
892
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListInvocationStepsResponse]
|
893
|
+
def invocation_step_summaries: () -> ::Array[Types::InvocationStepSummary]
|
894
|
+
def next_token: () -> ::String
|
895
|
+
end
|
896
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentRuntime/Client.html#list_invocation_steps-instance_method
|
897
|
+
def list_invocation_steps: (
|
898
|
+
?invocation_identifier: ::String,
|
899
|
+
?max_results: ::Integer,
|
900
|
+
?next_token: ::String,
|
901
|
+
session_identifier: ::String
|
902
|
+
) -> _ListInvocationStepsResponseSuccess
|
903
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListInvocationStepsResponseSuccess
|
904
|
+
|
905
|
+
interface _ListInvocationsResponseSuccess
|
906
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListInvocationsResponse]
|
907
|
+
def invocation_summaries: () -> ::Array[Types::InvocationSummary]
|
908
|
+
def next_token: () -> ::String
|
909
|
+
end
|
910
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentRuntime/Client.html#list_invocations-instance_method
|
911
|
+
def list_invocations: (
|
912
|
+
?max_results: ::Integer,
|
913
|
+
?next_token: ::String,
|
914
|
+
session_identifier: ::String
|
915
|
+
) -> _ListInvocationsResponseSuccess
|
916
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListInvocationsResponseSuccess
|
917
|
+
|
918
|
+
interface _ListSessionsResponseSuccess
|
919
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListSessionsResponse]
|
920
|
+
def next_token: () -> ::String
|
921
|
+
def session_summaries: () -> ::Array[Types::SessionSummary]
|
922
|
+
end
|
923
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentRuntime/Client.html#list_sessions-instance_method
|
924
|
+
def list_sessions: (
|
925
|
+
?max_results: ::Integer,
|
926
|
+
?next_token: ::String
|
927
|
+
) -> _ListSessionsResponseSuccess
|
928
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSessionsResponseSuccess
|
929
|
+
|
930
|
+
interface _ListTagsForResourceResponseSuccess
|
931
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
932
|
+
def tags: () -> ::Hash[::String, ::String]
|
933
|
+
end
|
934
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentRuntime/Client.html#list_tags_for_resource-instance_method
|
935
|
+
def list_tags_for_resource: (
|
936
|
+
resource_arn: ::String
|
937
|
+
) -> _ListTagsForResourceResponseSuccess
|
938
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
939
|
+
|
604
940
|
interface _OptimizePromptResponseSuccess
|
605
941
|
include ::Seahorse::Client::_ResponseSuccess[Types::OptimizePromptResponse]
|
606
942
|
def optimized_prompt: () -> Types::OptimizedPromptStream
|
@@ -616,6 +952,35 @@ module Aws
|
|
616
952
|
) ?{ (*untyped) -> void } -> _OptimizePromptResponseSuccess
|
617
953
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _OptimizePromptResponseSuccess
|
618
954
|
|
955
|
+
interface _PutInvocationStepResponseSuccess
|
956
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutInvocationStepResponse]
|
957
|
+
def invocation_step_id: () -> ::String
|
958
|
+
end
|
959
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentRuntime/Client.html#put_invocation_step-instance_method
|
960
|
+
def put_invocation_step: (
|
961
|
+
invocation_identifier: ::String,
|
962
|
+
?invocation_step_id: ::String,
|
963
|
+
invocation_step_time: ::Time,
|
964
|
+
payload: {
|
965
|
+
content_blocks: Array[
|
966
|
+
{
|
967
|
+
image: {
|
968
|
+
format: ("png" | "jpeg" | "gif" | "webp"),
|
969
|
+
source: {
|
970
|
+
bytes: ::String?,
|
971
|
+
s3_location: {
|
972
|
+
uri: ::String
|
973
|
+
}?
|
974
|
+
}
|
975
|
+
}?,
|
976
|
+
text: ::String?
|
977
|
+
},
|
978
|
+
]?
|
979
|
+
},
|
980
|
+
session_identifier: ::String
|
981
|
+
) -> _PutInvocationStepResponseSuccess
|
982
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutInvocationStepResponseSuccess
|
983
|
+
|
619
984
|
interface _RerankResponseSuccess
|
620
985
|
include ::Seahorse::Client::_ResponseSuccess[Types::RerankResponse]
|
621
986
|
def next_token: () -> ::String
|
@@ -1205,6 +1570,41 @@ module Aws
|
|
1205
1570
|
?session_id: ::String
|
1206
1571
|
) ?{ (*untyped) -> void } -> _RetrieveAndGenerateStreamResponseSuccess
|
1207
1572
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _RetrieveAndGenerateStreamResponseSuccess
|
1573
|
+
|
1574
|
+
interface _TagResourceResponseSuccess
|
1575
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
1576
|
+
end
|
1577
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentRuntime/Client.html#tag_resource-instance_method
|
1578
|
+
def tag_resource: (
|
1579
|
+
resource_arn: ::String,
|
1580
|
+
tags: Hash[::String, ::String]
|
1581
|
+
) -> _TagResourceResponseSuccess
|
1582
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
1583
|
+
|
1584
|
+
interface _UntagResourceResponseSuccess
|
1585
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
|
1586
|
+
end
|
1587
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentRuntime/Client.html#untag_resource-instance_method
|
1588
|
+
def untag_resource: (
|
1589
|
+
resource_arn: ::String,
|
1590
|
+
tag_keys: Array[::String]
|
1591
|
+
) -> _UntagResourceResponseSuccess
|
1592
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
1593
|
+
|
1594
|
+
interface _UpdateSessionResponseSuccess
|
1595
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSessionResponse]
|
1596
|
+
def created_at: () -> ::Time
|
1597
|
+
def last_updated_at: () -> ::Time
|
1598
|
+
def session_arn: () -> ::String
|
1599
|
+
def session_id: () -> ::String
|
1600
|
+
def session_status: () -> ("ACTIVE" | "EXPIRED" | "ENDED")
|
1601
|
+
end
|
1602
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentRuntime/Client.html#update_session-instance_method
|
1603
|
+
def update_session: (
|
1604
|
+
session_identifier: ::String,
|
1605
|
+
?session_metadata: Hash[::String, ::String]
|
1606
|
+
) -> _UpdateSessionResponseSuccess
|
1607
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSessionResponseSuccess
|
1208
1608
|
end
|
1209
1609
|
end
|
1210
1610
|
end
|