aws-sdk-bedrockagentruntime 1.55.0 → 1.56.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagentruntime/client.rb +378 -1
- data/lib/aws-sdk-bedrockagentruntime/client_api.rb +327 -0
- data/lib/aws-sdk-bedrockagentruntime/types.rb +905 -1
- data/lib/aws-sdk-bedrockagentruntime.rb +1 -1
- data/sig/client.rbs +107 -0
- data/sig/types.rbs +241 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 522d89297a3d9d2f3681d6541c9f49d20dbbd43afab7f3cb823b4ccacd2f6781
|
4
|
+
data.tar.gz: 6c062aa862ccbf0d43011f51fdde6db751f8b4c29d28ecb59ce1c7d52ed87697
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1dc051e447c0698804f6b31f5d94eef464f0c425809c4de5bd039ba83a4d789c6d52e340e50cd9c648084a767c8dbf73fe23e2a6b5c6b606e15a46448a4453c
|
7
|
+
data.tar.gz: 42ce3bbf776f3a5f98211126d0c0449bc674ea663e15e1f7c42b7aca903bd708da85d69f0289e620e25ce7aa175dfcb4c522fbff37088d7b388a78254725d9ab
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.56.0 (2025-05-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Amazon Bedrock introduces asynchronous flows (in preview), which let you run flows for longer durations and yield control so that your application can perform other tasks and you don't have to actively monitor the flow's progress.
|
8
|
+
|
4
9
|
1.55.0 (2025-05-13)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.56.0
|
@@ -859,6 +859,116 @@ module Aws::BedrockAgentRuntime
|
|
859
859
|
req.send_request(options)
|
860
860
|
end
|
861
861
|
|
862
|
+
# Retrieves the flow definition snapshot used for an asynchronous
|
863
|
+
# execution. The snapshot represents the flow metadata and definition as
|
864
|
+
# it existed at the time the asynchronous execution was started. Note
|
865
|
+
# that even if the flow is edited after an execution starts, the
|
866
|
+
# snapshot connected to the execution remains unchanged.
|
867
|
+
#
|
868
|
+
# <note markdown="1"> Asynchronous flows is in preview release for Amazon Bedrock and is
|
869
|
+
# subject to change.
|
870
|
+
#
|
871
|
+
# </note>
|
872
|
+
#
|
873
|
+
# @option params [required, String] :execution_identifier
|
874
|
+
# The unique identifier of the async execution.
|
875
|
+
#
|
876
|
+
# @option params [required, String] :flow_alias_identifier
|
877
|
+
# The unique identifier of the flow alias used for the async execution.
|
878
|
+
#
|
879
|
+
# @option params [required, String] :flow_identifier
|
880
|
+
# The unique identifier of the flow.
|
881
|
+
#
|
882
|
+
# @return [Types::GetExecutionFlowSnapshotResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
883
|
+
#
|
884
|
+
# * {Types::GetExecutionFlowSnapshotResponse#customer_encryption_key_arn #customer_encryption_key_arn} => String
|
885
|
+
# * {Types::GetExecutionFlowSnapshotResponse#definition #definition} => String
|
886
|
+
# * {Types::GetExecutionFlowSnapshotResponse#execution_role_arn #execution_role_arn} => String
|
887
|
+
# * {Types::GetExecutionFlowSnapshotResponse#flow_alias_identifier #flow_alias_identifier} => String
|
888
|
+
# * {Types::GetExecutionFlowSnapshotResponse#flow_identifier #flow_identifier} => String
|
889
|
+
# * {Types::GetExecutionFlowSnapshotResponse#flow_version #flow_version} => String
|
890
|
+
#
|
891
|
+
# @example Request syntax with placeholder values
|
892
|
+
#
|
893
|
+
# resp = client.get_execution_flow_snapshot({
|
894
|
+
# execution_identifier: "FlowExecutionIdentifier", # required
|
895
|
+
# flow_alias_identifier: "FlowAliasIdentifier", # required
|
896
|
+
# flow_identifier: "FlowIdentifier", # required
|
897
|
+
# })
|
898
|
+
#
|
899
|
+
# @example Response structure
|
900
|
+
#
|
901
|
+
# resp.customer_encryption_key_arn #=> String
|
902
|
+
# resp.definition #=> String
|
903
|
+
# resp.execution_role_arn #=> String
|
904
|
+
# resp.flow_alias_identifier #=> String
|
905
|
+
# resp.flow_identifier #=> String
|
906
|
+
# resp.flow_version #=> String
|
907
|
+
#
|
908
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/GetExecutionFlowSnapshot AWS API Documentation
|
909
|
+
#
|
910
|
+
# @overload get_execution_flow_snapshot(params = {})
|
911
|
+
# @param [Hash] params ({})
|
912
|
+
def get_execution_flow_snapshot(params = {}, options = {})
|
913
|
+
req = build_request(:get_execution_flow_snapshot, params)
|
914
|
+
req.send_request(options)
|
915
|
+
end
|
916
|
+
|
917
|
+
# Retrieves details about a specific asynchronous execution of a flow,
|
918
|
+
# including its status, start and end times, and any errors that
|
919
|
+
# occurred during execution.
|
920
|
+
#
|
921
|
+
# @option params [required, String] :execution_identifier
|
922
|
+
# The unique identifier of the async execution to retrieve.
|
923
|
+
#
|
924
|
+
# @option params [required, String] :flow_alias_identifier
|
925
|
+
# The unique identifier of the flow alias used for the execution.
|
926
|
+
#
|
927
|
+
# @option params [required, String] :flow_identifier
|
928
|
+
# The unique identifier of the flow.
|
929
|
+
#
|
930
|
+
# @return [Types::GetFlowExecutionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
931
|
+
#
|
932
|
+
# * {Types::GetFlowExecutionResponse#ended_at #ended_at} => Time
|
933
|
+
# * {Types::GetFlowExecutionResponse#errors #errors} => Array<Types::FlowExecutionError>
|
934
|
+
# * {Types::GetFlowExecutionResponse#execution_arn #execution_arn} => String
|
935
|
+
# * {Types::GetFlowExecutionResponse#flow_alias_identifier #flow_alias_identifier} => String
|
936
|
+
# * {Types::GetFlowExecutionResponse#flow_identifier #flow_identifier} => String
|
937
|
+
# * {Types::GetFlowExecutionResponse#flow_version #flow_version} => String
|
938
|
+
# * {Types::GetFlowExecutionResponse#started_at #started_at} => Time
|
939
|
+
# * {Types::GetFlowExecutionResponse#status #status} => String
|
940
|
+
#
|
941
|
+
# @example Request syntax with placeholder values
|
942
|
+
#
|
943
|
+
# resp = client.get_flow_execution({
|
944
|
+
# execution_identifier: "FlowExecutionIdentifier", # required
|
945
|
+
# flow_alias_identifier: "FlowAliasIdentifier", # required
|
946
|
+
# flow_identifier: "FlowIdentifier", # required
|
947
|
+
# })
|
948
|
+
#
|
949
|
+
# @example Response structure
|
950
|
+
#
|
951
|
+
# resp.ended_at #=> Time
|
952
|
+
# resp.errors #=> Array
|
953
|
+
# resp.errors[0].error #=> String, one of "ExecutionTimedOut"
|
954
|
+
# resp.errors[0].message #=> String
|
955
|
+
# resp.errors[0].node_name #=> String
|
956
|
+
# resp.execution_arn #=> String
|
957
|
+
# resp.flow_alias_identifier #=> String
|
958
|
+
# resp.flow_identifier #=> String
|
959
|
+
# resp.flow_version #=> String
|
960
|
+
# resp.started_at #=> Time
|
961
|
+
# resp.status #=> String, one of "Running", "Succeeded", "Failed", "TimedOut", "Aborted"
|
962
|
+
#
|
963
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/GetFlowExecution AWS API Documentation
|
964
|
+
#
|
965
|
+
# @overload get_flow_execution(params = {})
|
966
|
+
# @param [Hash] params ({})
|
967
|
+
def get_flow_execution(params = {}, options = {})
|
968
|
+
req = build_request(:get_flow_execution, params)
|
969
|
+
req.send_request(options)
|
970
|
+
end
|
971
|
+
|
862
972
|
# Retrieves the details of a specific invocation step within an
|
863
973
|
# invocation in a session. For more information about sessions, see
|
864
974
|
# [Store and retrieve conversation history and context with Amazon
|
@@ -3898,6 +4008,159 @@ module Aws::BedrockAgentRuntime
|
|
3898
4008
|
req.send_request(options, &block)
|
3899
4009
|
end
|
3900
4010
|
|
4011
|
+
# Lists events that occurred during an asynchronous execution of a flow.
|
4012
|
+
# Events provide detailed information about the execution progress,
|
4013
|
+
# including node inputs and outputs, flow inputs and outputs, condition
|
4014
|
+
# results, and failure events.
|
4015
|
+
#
|
4016
|
+
# <note markdown="1"> Asynchronous flows is in preview release for Amazon Bedrock and is
|
4017
|
+
# subject to change.
|
4018
|
+
#
|
4019
|
+
# </note>
|
4020
|
+
#
|
4021
|
+
# @option params [required, String] :event_type
|
4022
|
+
# The type of events to retrieve. Specify `Node` for node-level events
|
4023
|
+
# or `Flow` for flow-level events.
|
4024
|
+
#
|
4025
|
+
# @option params [required, String] :execution_identifier
|
4026
|
+
# The unique identifier of the async execution.
|
4027
|
+
#
|
4028
|
+
# @option params [required, String] :flow_alias_identifier
|
4029
|
+
# The unique identifier of the flow alias used for the execution.
|
4030
|
+
#
|
4031
|
+
# @option params [required, String] :flow_identifier
|
4032
|
+
# The unique identifier of the flow.
|
4033
|
+
#
|
4034
|
+
# @option params [Integer] :max_results
|
4035
|
+
# The maximum number of events to return in a single response. If more
|
4036
|
+
# events exist than the specified maxResults value, a token is included
|
4037
|
+
# in the response so that the remaining results can be retrieved.
|
4038
|
+
#
|
4039
|
+
# @option params [String] :next_token
|
4040
|
+
# A token to retrieve the next set of results. This value is returned in
|
4041
|
+
# the response if more results are available.
|
4042
|
+
#
|
4043
|
+
# @return [Types::ListFlowExecutionEventsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4044
|
+
#
|
4045
|
+
# * {Types::ListFlowExecutionEventsResponse#flow_execution_events #flow_execution_events} => Array<Types::FlowExecutionEvent>
|
4046
|
+
# * {Types::ListFlowExecutionEventsResponse#next_token #next_token} => String
|
4047
|
+
#
|
4048
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4049
|
+
#
|
4050
|
+
# @example Request syntax with placeholder values
|
4051
|
+
#
|
4052
|
+
# resp = client.list_flow_execution_events({
|
4053
|
+
# event_type: "Node", # required, accepts Node, Flow
|
4054
|
+
# execution_identifier: "FlowExecutionIdentifier", # required
|
4055
|
+
# flow_alias_identifier: "FlowAliasIdentifier", # required
|
4056
|
+
# flow_identifier: "FlowIdentifier", # required
|
4057
|
+
# max_results: 1,
|
4058
|
+
# next_token: "NextToken",
|
4059
|
+
# })
|
4060
|
+
#
|
4061
|
+
# @example Response structure
|
4062
|
+
#
|
4063
|
+
# resp.flow_execution_events #=> Array
|
4064
|
+
# resp.flow_execution_events[0].condition_result_event.node_name #=> String
|
4065
|
+
# resp.flow_execution_events[0].condition_result_event.satisfied_conditions #=> Array
|
4066
|
+
# resp.flow_execution_events[0].condition_result_event.satisfied_conditions[0].condition_name #=> String
|
4067
|
+
# resp.flow_execution_events[0].condition_result_event.timestamp #=> Time
|
4068
|
+
# resp.flow_execution_events[0].flow_failure_event.error_code #=> String, one of "VALIDATION", "INTERNAL_SERVER", "NODE_EXECUTION_FAILED"
|
4069
|
+
# resp.flow_execution_events[0].flow_failure_event.error_message #=> String
|
4070
|
+
# resp.flow_execution_events[0].flow_failure_event.timestamp #=> Time
|
4071
|
+
# resp.flow_execution_events[0].flow_input_event.fields #=> Array
|
4072
|
+
# resp.flow_execution_events[0].flow_input_event.fields[0].name #=> String
|
4073
|
+
# resp.flow_execution_events[0].flow_input_event.node_name #=> String
|
4074
|
+
# resp.flow_execution_events[0].flow_input_event.timestamp #=> Time
|
4075
|
+
# resp.flow_execution_events[0].flow_output_event.fields #=> Array
|
4076
|
+
# resp.flow_execution_events[0].flow_output_event.fields[0].name #=> String
|
4077
|
+
# resp.flow_execution_events[0].flow_output_event.node_name #=> String
|
4078
|
+
# resp.flow_execution_events[0].flow_output_event.timestamp #=> Time
|
4079
|
+
# resp.flow_execution_events[0].node_failure_event.error_code #=> String, one of "VALIDATION", "DEPENDENCY_FAILED", "BAD_GATEWAY", "INTERNAL_SERVER"
|
4080
|
+
# resp.flow_execution_events[0].node_failure_event.error_message #=> String
|
4081
|
+
# resp.flow_execution_events[0].node_failure_event.node_name #=> String
|
4082
|
+
# resp.flow_execution_events[0].node_failure_event.timestamp #=> Time
|
4083
|
+
# resp.flow_execution_events[0].node_input_event.fields #=> Array
|
4084
|
+
# resp.flow_execution_events[0].node_input_event.fields[0].name #=> String
|
4085
|
+
# resp.flow_execution_events[0].node_input_event.node_name #=> String
|
4086
|
+
# resp.flow_execution_events[0].node_input_event.timestamp #=> Time
|
4087
|
+
# resp.flow_execution_events[0].node_output_event.fields #=> Array
|
4088
|
+
# resp.flow_execution_events[0].node_output_event.fields[0].name #=> String
|
4089
|
+
# resp.flow_execution_events[0].node_output_event.node_name #=> String
|
4090
|
+
# resp.flow_execution_events[0].node_output_event.timestamp #=> Time
|
4091
|
+
# resp.next_token #=> String
|
4092
|
+
#
|
4093
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/ListFlowExecutionEvents AWS API Documentation
|
4094
|
+
#
|
4095
|
+
# @overload list_flow_execution_events(params = {})
|
4096
|
+
# @param [Hash] params ({})
|
4097
|
+
def list_flow_execution_events(params = {}, options = {})
|
4098
|
+
req = build_request(:list_flow_execution_events, params)
|
4099
|
+
req.send_request(options)
|
4100
|
+
end
|
4101
|
+
|
4102
|
+
# Lists all asynchronous executions for a flow. Results can be paginated
|
4103
|
+
# and include summary information about each execution, such as status,
|
4104
|
+
# start and end times, and the execution's Amazon Resource Name (ARN).
|
4105
|
+
#
|
4106
|
+
# <note markdown="1"> Asynchronous flows is in preview release for Amazon Bedrock and is
|
4107
|
+
# subject to change.
|
4108
|
+
#
|
4109
|
+
# </note>
|
4110
|
+
#
|
4111
|
+
# @option params [String] :flow_alias_identifier
|
4112
|
+
# The unique identifier of the flow alias to list executions for.
|
4113
|
+
#
|
4114
|
+
# @option params [required, String] :flow_identifier
|
4115
|
+
# The unique identifier of the flow to list executions for.
|
4116
|
+
#
|
4117
|
+
# @option params [Integer] :max_results
|
4118
|
+
# The maximum number of async executions to return in a single response.
|
4119
|
+
# If more executions exist than the specified maxResults value, a token
|
4120
|
+
# is included in the response so that the remaining results can be
|
4121
|
+
# retrieved.
|
4122
|
+
#
|
4123
|
+
# @option params [String] :next_token
|
4124
|
+
# A token to retrieve the next set of results. This value is returned in
|
4125
|
+
# the response if more results are available.
|
4126
|
+
#
|
4127
|
+
# @return [Types::ListFlowExecutionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4128
|
+
#
|
4129
|
+
# * {Types::ListFlowExecutionsResponse#flow_execution_summaries #flow_execution_summaries} => Array<Types::FlowExecutionSummary>
|
4130
|
+
# * {Types::ListFlowExecutionsResponse#next_token #next_token} => String
|
4131
|
+
#
|
4132
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4133
|
+
#
|
4134
|
+
# @example Request syntax with placeholder values
|
4135
|
+
#
|
4136
|
+
# resp = client.list_flow_executions({
|
4137
|
+
# flow_alias_identifier: "FlowAliasIdentifier",
|
4138
|
+
# flow_identifier: "FlowIdentifier", # required
|
4139
|
+
# max_results: 1,
|
4140
|
+
# next_token: "NextToken",
|
4141
|
+
# })
|
4142
|
+
#
|
4143
|
+
# @example Response structure
|
4144
|
+
#
|
4145
|
+
# resp.flow_execution_summaries #=> Array
|
4146
|
+
# resp.flow_execution_summaries[0].created_at #=> Time
|
4147
|
+
# resp.flow_execution_summaries[0].ended_at #=> Time
|
4148
|
+
# resp.flow_execution_summaries[0].execution_arn #=> String
|
4149
|
+
# resp.flow_execution_summaries[0].flow_alias_identifier #=> String
|
4150
|
+
# resp.flow_execution_summaries[0].flow_identifier #=> String
|
4151
|
+
# resp.flow_execution_summaries[0].flow_version #=> String
|
4152
|
+
# resp.flow_execution_summaries[0].status #=> String, one of "Running", "Succeeded", "Failed", "TimedOut", "Aborted"
|
4153
|
+
# resp.next_token #=> String
|
4154
|
+
#
|
4155
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/ListFlowExecutions AWS API Documentation
|
4156
|
+
#
|
4157
|
+
# @overload list_flow_executions(params = {})
|
4158
|
+
# @param [Hash] params ({})
|
4159
|
+
def list_flow_executions(params = {}, options = {})
|
4160
|
+
req = build_request(:list_flow_executions, params)
|
4161
|
+
req.send_request(options)
|
4162
|
+
end
|
4163
|
+
|
3901
4164
|
# Lists all invocation steps associated with a session and optionally,
|
3902
4165
|
# an invocation within the session. For more information about sessions,
|
3903
4166
|
# see [Store and retrieve conversation history and context with Amazon
|
@@ -5556,6 +5819,120 @@ module Aws::BedrockAgentRuntime
|
|
5556
5819
|
req.send_request(options, &block)
|
5557
5820
|
end
|
5558
5821
|
|
5822
|
+
# Starts an asynchronous execution of an Amazon Bedrock flow. Unlike
|
5823
|
+
# synchronous flows that run until completion or time out after five
|
5824
|
+
# minutes, you can run asynchronous flows for longer durations.
|
5825
|
+
# Asynchronous flows also yield control so that your application can
|
5826
|
+
# perform other tasks.
|
5827
|
+
#
|
5828
|
+
# This operation returns an Amazon Resource Name (ARN) that you can use
|
5829
|
+
# to track and manage your flow's async execution.
|
5830
|
+
#
|
5831
|
+
# <note markdown="1"> Asynchronous flows is in preview release for Amazon Bedrock and is
|
5832
|
+
# subject to change.
|
5833
|
+
#
|
5834
|
+
# </note>
|
5835
|
+
#
|
5836
|
+
# @option params [required, String] :flow_alias_identifier
|
5837
|
+
# The unique identifier of the flow alias to use for the async
|
5838
|
+
# execution.
|
5839
|
+
#
|
5840
|
+
# @option params [String] :flow_execution_name
|
5841
|
+
# The unique name for the async execution. If you don't provide one, a
|
5842
|
+
# system-generated name is used.
|
5843
|
+
#
|
5844
|
+
# @option params [required, String] :flow_identifier
|
5845
|
+
# The unique identifier of the flow to execute.
|
5846
|
+
#
|
5847
|
+
# @option params [required, Array<Types::FlowInput>] :inputs
|
5848
|
+
# The input data required for the async execution. This must match the
|
5849
|
+
# input schema defined in the flow.
|
5850
|
+
#
|
5851
|
+
# @option params [Types::ModelPerformanceConfiguration] :model_performance_configuration
|
5852
|
+
# The performance settings for the foundation model used in the async
|
5853
|
+
# execution.
|
5854
|
+
#
|
5855
|
+
# @return [Types::StartFlowExecutionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5856
|
+
#
|
5857
|
+
# * {Types::StartFlowExecutionResponse#execution_arn #execution_arn} => String
|
5858
|
+
#
|
5859
|
+
# @example Request syntax with placeholder values
|
5860
|
+
#
|
5861
|
+
# resp = client.start_flow_execution({
|
5862
|
+
# flow_alias_identifier: "FlowAliasIdentifier", # required
|
5863
|
+
# flow_execution_name: "FlowExecutionName",
|
5864
|
+
# flow_identifier: "FlowIdentifier", # required
|
5865
|
+
# inputs: [ # required
|
5866
|
+
# {
|
5867
|
+
# content: { # required
|
5868
|
+
# document: {
|
5869
|
+
# },
|
5870
|
+
# },
|
5871
|
+
# node_input_name: "NodeInputName",
|
5872
|
+
# node_name: "NodeName", # required
|
5873
|
+
# node_output_name: "NodeOutputName",
|
5874
|
+
# },
|
5875
|
+
# ],
|
5876
|
+
# model_performance_configuration: {
|
5877
|
+
# performance_config: {
|
5878
|
+
# latency: "standard", # accepts standard, optimized
|
5879
|
+
# },
|
5880
|
+
# },
|
5881
|
+
# })
|
5882
|
+
#
|
5883
|
+
# @example Response structure
|
5884
|
+
#
|
5885
|
+
# resp.execution_arn #=> String
|
5886
|
+
#
|
5887
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/StartFlowExecution AWS API Documentation
|
5888
|
+
#
|
5889
|
+
# @overload start_flow_execution(params = {})
|
5890
|
+
# @param [Hash] params ({})
|
5891
|
+
def start_flow_execution(params = {}, options = {})
|
5892
|
+
req = build_request(:start_flow_execution, params)
|
5893
|
+
req.send_request(options)
|
5894
|
+
end
|
5895
|
+
|
5896
|
+
# Stops an Amazon Bedrock flow's asynchronous execution. This operation
|
5897
|
+
# prevents further processing of the flow and changes the execution
|
5898
|
+
# status to `Aborted`.
|
5899
|
+
#
|
5900
|
+
# @option params [required, String] :execution_identifier
|
5901
|
+
# The unique identifier of the async execution to stop.
|
5902
|
+
#
|
5903
|
+
# @option params [required, String] :flow_alias_identifier
|
5904
|
+
# The unique identifier of the flow alias used for the execution.
|
5905
|
+
#
|
5906
|
+
# @option params [required, String] :flow_identifier
|
5907
|
+
# The unique identifier of the flow.
|
5908
|
+
#
|
5909
|
+
# @return [Types::StopFlowExecutionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5910
|
+
#
|
5911
|
+
# * {Types::StopFlowExecutionResponse#execution_arn #execution_arn} => String
|
5912
|
+
# * {Types::StopFlowExecutionResponse#status #status} => String
|
5913
|
+
#
|
5914
|
+
# @example Request syntax with placeholder values
|
5915
|
+
#
|
5916
|
+
# resp = client.stop_flow_execution({
|
5917
|
+
# execution_identifier: "FlowExecutionIdentifier", # required
|
5918
|
+
# flow_alias_identifier: "FlowAliasIdentifier", # required
|
5919
|
+
# flow_identifier: "FlowIdentifier", # required
|
5920
|
+
# })
|
5921
|
+
#
|
5922
|
+
# @example Response structure
|
5923
|
+
#
|
5924
|
+
# resp.execution_arn #=> String
|
5925
|
+
# resp.status #=> String, one of "Running", "Succeeded", "Failed", "TimedOut", "Aborted"
|
5926
|
+
#
|
5927
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/StopFlowExecution AWS API Documentation
|
5928
|
+
#
|
5929
|
+
# @overload stop_flow_execution(params = {})
|
5930
|
+
# @param [Hash] params ({})
|
5931
|
+
def stop_flow_execution(params = {}, options = {})
|
5932
|
+
req = build_request(:stop_flow_execution, params)
|
5933
|
+
req.send_request(options)
|
5934
|
+
end
|
5935
|
+
|
5559
5936
|
# Associate tags with a resource. For more information, see [Tagging
|
5560
5937
|
# resources][1] in the Amazon Bedrock User Guide.
|
5561
5938
|
#
|
@@ -5686,7 +6063,7 @@ module Aws::BedrockAgentRuntime
|
|
5686
6063
|
tracer: tracer
|
5687
6064
|
)
|
5688
6065
|
context[:gem_name] = 'aws-sdk-bedrockagentruntime'
|
5689
|
-
context[:gem_version] = '1.
|
6066
|
+
context[:gem_version] = '1.56.0'
|
5690
6067
|
Seahorse::Client::Request.new(handlers, context)
|
5691
6068
|
end
|
5692
6069
|
|