aws-sdk-novaact 1.0.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 +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-novaact/client.rb +1268 -0
- data/lib/aws-sdk-novaact/client_api.rb +691 -0
- data/lib/aws-sdk-novaact/customizations.rb +0 -0
- data/lib/aws-sdk-novaact/endpoint_parameters.rb +69 -0
- data/lib/aws-sdk-novaact/endpoint_provider.rb +50 -0
- data/lib/aws-sdk-novaact/endpoints.rb +20 -0
- data/lib/aws-sdk-novaact/errors.rb +237 -0
- data/lib/aws-sdk-novaact/plugins/endpoints.rb +77 -0
- data/lib/aws-sdk-novaact/resource.rb +26 -0
- data/lib/aws-sdk-novaact/types.rb +1335 -0
- data/lib/aws-sdk-novaact/waiters.rb +15 -0
- data/lib/aws-sdk-novaact.rb +62 -0
- data/sig/client.rbs +330 -0
- data/sig/errors.rbs +52 -0
- data/sig/resource.rbs +85 -0
- data/sig/types.rbs +411 -0
- data/sig/waiters.rbs +13 -0
- metadata +97 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
|
4
|
+
#
|
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
|
+
#
|
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
|
9
|
+
|
|
10
|
+
require 'aws-sdk-core/waiters'
|
|
11
|
+
|
|
12
|
+
module Aws::NovaAct
|
|
13
|
+
module Waiters
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
|
4
|
+
#
|
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
|
+
#
|
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
require 'aws-sdk-core'
|
|
12
|
+
require 'aws-sigv4'
|
|
13
|
+
|
|
14
|
+
Aws::Plugins::GlobalConfiguration.add_identifier(:novaact)
|
|
15
|
+
|
|
16
|
+
# This module provides support for Nova Act Service. This module is available in the
|
|
17
|
+
# `aws-sdk-novaact` gem.
|
|
18
|
+
#
|
|
19
|
+
# # Client
|
|
20
|
+
#
|
|
21
|
+
# The {Client} class provides one method for each API operation. Operation
|
|
22
|
+
# methods each accept a hash of request parameters and return a response
|
|
23
|
+
# structure.
|
|
24
|
+
#
|
|
25
|
+
# nova_act = Aws::NovaAct::Client.new
|
|
26
|
+
# resp = nova_act.create_act(params)
|
|
27
|
+
#
|
|
28
|
+
# See {Client} for more information.
|
|
29
|
+
#
|
|
30
|
+
# # Errors
|
|
31
|
+
#
|
|
32
|
+
# Errors returned from Nova Act Service are defined in the
|
|
33
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
|
34
|
+
#
|
|
35
|
+
# begin
|
|
36
|
+
# # do stuff
|
|
37
|
+
# rescue Aws::NovaAct::Errors::ServiceError
|
|
38
|
+
# # rescues all Nova Act Service API errors
|
|
39
|
+
# end
|
|
40
|
+
#
|
|
41
|
+
# See {Errors} for more information.
|
|
42
|
+
#
|
|
43
|
+
# @!group service
|
|
44
|
+
module Aws::NovaAct
|
|
45
|
+
autoload :Types, 'aws-sdk-novaact/types'
|
|
46
|
+
autoload :ClientApi, 'aws-sdk-novaact/client_api'
|
|
47
|
+
module Plugins
|
|
48
|
+
autoload :Endpoints, 'aws-sdk-novaact/plugins/endpoints.rb'
|
|
49
|
+
end
|
|
50
|
+
autoload :Client, 'aws-sdk-novaact/client'
|
|
51
|
+
autoload :Errors, 'aws-sdk-novaact/errors'
|
|
52
|
+
autoload :Waiters, 'aws-sdk-novaact/waiters'
|
|
53
|
+
autoload :Resource, 'aws-sdk-novaact/resource'
|
|
54
|
+
autoload :EndpointParameters, 'aws-sdk-novaact/endpoint_parameters'
|
|
55
|
+
autoload :EndpointProvider, 'aws-sdk-novaact/endpoint_provider'
|
|
56
|
+
autoload :Endpoints, 'aws-sdk-novaact/endpoints'
|
|
57
|
+
|
|
58
|
+
GEM_VERSION = '1.0.0'
|
|
59
|
+
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
require_relative 'aws-sdk-novaact/customizations'
|
data/sig/client.rbs
ADDED
|
@@ -0,0 +1,330 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws
|
|
9
|
+
module NovaAct
|
|
10
|
+
class Client < ::Seahorse::Client::Base
|
|
11
|
+
include ::Aws::ClientStubs
|
|
12
|
+
|
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NovaAct/Client.html#initialize-instance_method
|
|
14
|
+
def self.new: (
|
|
15
|
+
?credentials: untyped,
|
|
16
|
+
?region: String,
|
|
17
|
+
?access_key_id: String,
|
|
18
|
+
?account_id: String,
|
|
19
|
+
?active_endpoint_cache: bool,
|
|
20
|
+
?adaptive_retry_wait_to_fill: bool,
|
|
21
|
+
?auth_scheme_preference: Array[String],
|
|
22
|
+
?client_side_monitoring: bool,
|
|
23
|
+
?client_side_monitoring_client_id: String,
|
|
24
|
+
?client_side_monitoring_host: String,
|
|
25
|
+
?client_side_monitoring_port: Integer,
|
|
26
|
+
?client_side_monitoring_publisher: untyped,
|
|
27
|
+
?convert_params: bool,
|
|
28
|
+
?correct_clock_skew: bool,
|
|
29
|
+
?defaults_mode: String,
|
|
30
|
+
?disable_host_prefix_injection: bool,
|
|
31
|
+
?disable_request_compression: bool,
|
|
32
|
+
?endpoint: String,
|
|
33
|
+
?endpoint_cache_max_entries: Integer,
|
|
34
|
+
?endpoint_cache_max_threads: Integer,
|
|
35
|
+
?endpoint_cache_poll_interval: Integer,
|
|
36
|
+
?endpoint_discovery: bool,
|
|
37
|
+
?ignore_configured_endpoint_urls: bool,
|
|
38
|
+
?log_formatter: untyped,
|
|
39
|
+
?log_level: Symbol,
|
|
40
|
+
?logger: untyped,
|
|
41
|
+
?max_attempts: Integer,
|
|
42
|
+
?profile: String,
|
|
43
|
+
?request_checksum_calculation: String,
|
|
44
|
+
?request_min_compression_size_bytes: Integer,
|
|
45
|
+
?response_checksum_validation: String,
|
|
46
|
+
?retry_backoff: Proc,
|
|
47
|
+
?retry_base_delay: Float,
|
|
48
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
|
49
|
+
?retry_limit: Integer,
|
|
50
|
+
?retry_max_delay: Integer,
|
|
51
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
|
52
|
+
?sdk_ua_app_id: String,
|
|
53
|
+
?secret_access_key: String,
|
|
54
|
+
?session_token: String,
|
|
55
|
+
?sigv4a_signing_region_set: Array[String],
|
|
56
|
+
?stub_responses: untyped,
|
|
57
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
|
58
|
+
?token_provider: untyped,
|
|
59
|
+
?use_dualstack_endpoint: bool,
|
|
60
|
+
?use_fips_endpoint: bool,
|
|
61
|
+
?validate_params: bool,
|
|
62
|
+
?endpoint_provider: untyped,
|
|
63
|
+
?http_proxy: String,
|
|
64
|
+
?http_open_timeout: (Float | Integer),
|
|
65
|
+
?http_read_timeout: (Float | Integer),
|
|
66
|
+
?http_idle_timeout: (Float | Integer),
|
|
67
|
+
?http_continue_timeout: (Float | Integer),
|
|
68
|
+
?ssl_timeout: (Float | Integer | nil),
|
|
69
|
+
?http_wire_trace: bool,
|
|
70
|
+
?ssl_verify_peer: bool,
|
|
71
|
+
?ssl_ca_bundle: String,
|
|
72
|
+
?ssl_ca_directory: String,
|
|
73
|
+
?ssl_ca_store: String,
|
|
74
|
+
?on_chunk_received: Proc,
|
|
75
|
+
?on_chunk_sent: Proc,
|
|
76
|
+
?raise_response_errors: bool
|
|
77
|
+
) -> instance
|
|
78
|
+
| (?Hash[Symbol, untyped]) -> instance
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
interface _CreateActResponseSuccess
|
|
82
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateActResponse]
|
|
83
|
+
def act_id: () -> ::String
|
|
84
|
+
def status: () -> ("RUNNING" | "PENDING_CLIENT_ACTION" | "PENDING_HUMAN_ACTION" | "SUCCEEDED" | "FAILED" | "TIMED_OUT")
|
|
85
|
+
end
|
|
86
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NovaAct/Client.html#create_act-instance_method
|
|
87
|
+
def create_act: (
|
|
88
|
+
workflow_definition_name: ::String,
|
|
89
|
+
workflow_run_id: ::String,
|
|
90
|
+
session_id: ::String,
|
|
91
|
+
task: ::String,
|
|
92
|
+
?tool_specs: Array[
|
|
93
|
+
{
|
|
94
|
+
name: ::String,
|
|
95
|
+
description: ::String,
|
|
96
|
+
input_schema: {
|
|
97
|
+
json: {
|
|
98
|
+
}?
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
],
|
|
102
|
+
?client_token: ::String
|
|
103
|
+
) -> _CreateActResponseSuccess
|
|
104
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateActResponseSuccess
|
|
105
|
+
|
|
106
|
+
interface _CreateSessionResponseSuccess
|
|
107
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateSessionResponse]
|
|
108
|
+
def session_id: () -> ::String
|
|
109
|
+
end
|
|
110
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NovaAct/Client.html#create_session-instance_method
|
|
111
|
+
def create_session: (
|
|
112
|
+
workflow_definition_name: ::String,
|
|
113
|
+
workflow_run_id: ::String,
|
|
114
|
+
?client_token: ::String
|
|
115
|
+
) -> _CreateSessionResponseSuccess
|
|
116
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSessionResponseSuccess
|
|
117
|
+
|
|
118
|
+
interface _CreateWorkflowDefinitionResponseSuccess
|
|
119
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateWorkflowDefinitionResponse]
|
|
120
|
+
def status: () -> ("ACTIVE" | "DELETING")
|
|
121
|
+
end
|
|
122
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NovaAct/Client.html#create_workflow_definition-instance_method
|
|
123
|
+
def create_workflow_definition: (
|
|
124
|
+
name: ::String,
|
|
125
|
+
?description: ::String,
|
|
126
|
+
?export_config: {
|
|
127
|
+
s3_bucket_name: ::String,
|
|
128
|
+
s3_key_prefix: ::String?
|
|
129
|
+
},
|
|
130
|
+
?client_token: ::String
|
|
131
|
+
) -> _CreateWorkflowDefinitionResponseSuccess
|
|
132
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWorkflowDefinitionResponseSuccess
|
|
133
|
+
|
|
134
|
+
interface _CreateWorkflowRunResponseSuccess
|
|
135
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateWorkflowRunResponse]
|
|
136
|
+
def workflow_run_id: () -> ::String
|
|
137
|
+
def status: () -> ("RUNNING" | "SUCCEEDED" | "FAILED" | "TIMED_OUT" | "DELETING")
|
|
138
|
+
end
|
|
139
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NovaAct/Client.html#create_workflow_run-instance_method
|
|
140
|
+
def create_workflow_run: (
|
|
141
|
+
workflow_definition_name: ::String,
|
|
142
|
+
model_id: ::String,
|
|
143
|
+
?client_token: ::String,
|
|
144
|
+
?log_group_name: ::String,
|
|
145
|
+
client_info: {
|
|
146
|
+
compatibility_version: ::Integer,
|
|
147
|
+
sdk_version: ::String?
|
|
148
|
+
}
|
|
149
|
+
) -> _CreateWorkflowRunResponseSuccess
|
|
150
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWorkflowRunResponseSuccess
|
|
151
|
+
|
|
152
|
+
interface _DeleteWorkflowDefinitionResponseSuccess
|
|
153
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteWorkflowDefinitionResponse]
|
|
154
|
+
def status: () -> ("ACTIVE" | "DELETING")
|
|
155
|
+
end
|
|
156
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NovaAct/Client.html#delete_workflow_definition-instance_method
|
|
157
|
+
def delete_workflow_definition: (
|
|
158
|
+
workflow_definition_name: ::String
|
|
159
|
+
) -> _DeleteWorkflowDefinitionResponseSuccess
|
|
160
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteWorkflowDefinitionResponseSuccess
|
|
161
|
+
|
|
162
|
+
interface _DeleteWorkflowRunResponseSuccess
|
|
163
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteWorkflowRunResponse]
|
|
164
|
+
def status: () -> ("RUNNING" | "SUCCEEDED" | "FAILED" | "TIMED_OUT" | "DELETING")
|
|
165
|
+
end
|
|
166
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NovaAct/Client.html#delete_workflow_run-instance_method
|
|
167
|
+
def delete_workflow_run: (
|
|
168
|
+
workflow_definition_name: ::String,
|
|
169
|
+
workflow_run_id: ::String
|
|
170
|
+
) -> _DeleteWorkflowRunResponseSuccess
|
|
171
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteWorkflowRunResponseSuccess
|
|
172
|
+
|
|
173
|
+
interface _GetWorkflowDefinitionResponseSuccess
|
|
174
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetWorkflowDefinitionResponse]
|
|
175
|
+
def name: () -> ::String
|
|
176
|
+
def arn: () -> ::String
|
|
177
|
+
def created_at: () -> ::Time
|
|
178
|
+
def description: () -> ::String
|
|
179
|
+
def export_config: () -> Types::WorkflowExportConfig
|
|
180
|
+
def status: () -> ("ACTIVE" | "DELETING")
|
|
181
|
+
end
|
|
182
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NovaAct/Client.html#get_workflow_definition-instance_method
|
|
183
|
+
def get_workflow_definition: (
|
|
184
|
+
workflow_definition_name: ::String
|
|
185
|
+
) -> _GetWorkflowDefinitionResponseSuccess
|
|
186
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetWorkflowDefinitionResponseSuccess
|
|
187
|
+
|
|
188
|
+
interface _GetWorkflowRunResponseSuccess
|
|
189
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetWorkflowRunResponse]
|
|
190
|
+
def workflow_run_arn: () -> ::String
|
|
191
|
+
def workflow_run_id: () -> ::String
|
|
192
|
+
def status: () -> ("RUNNING" | "SUCCEEDED" | "FAILED" | "TIMED_OUT" | "DELETING")
|
|
193
|
+
def started_at: () -> ::Time
|
|
194
|
+
def ended_at: () -> ::Time
|
|
195
|
+
def model_id: () -> ::String
|
|
196
|
+
def log_group_name: () -> ::String
|
|
197
|
+
end
|
|
198
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NovaAct/Client.html#get_workflow_run-instance_method
|
|
199
|
+
def get_workflow_run: (
|
|
200
|
+
workflow_definition_name: ::String,
|
|
201
|
+
workflow_run_id: ::String
|
|
202
|
+
) -> _GetWorkflowRunResponseSuccess
|
|
203
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetWorkflowRunResponseSuccess
|
|
204
|
+
|
|
205
|
+
interface _InvokeActStepResponseSuccess
|
|
206
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::InvokeActStepResponse]
|
|
207
|
+
def calls: () -> ::Array[Types::Call]
|
|
208
|
+
def step_id: () -> ::String
|
|
209
|
+
end
|
|
210
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NovaAct/Client.html#invoke_act_step-instance_method
|
|
211
|
+
def invoke_act_step: (
|
|
212
|
+
workflow_definition_name: ::String,
|
|
213
|
+
workflow_run_id: ::String,
|
|
214
|
+
session_id: ::String,
|
|
215
|
+
act_id: ::String,
|
|
216
|
+
call_results: Array[
|
|
217
|
+
{
|
|
218
|
+
call_id: ::String?,
|
|
219
|
+
content: Array[
|
|
220
|
+
{
|
|
221
|
+
text: ::String?
|
|
222
|
+
},
|
|
223
|
+
]
|
|
224
|
+
},
|
|
225
|
+
],
|
|
226
|
+
?previous_step_id: ::String
|
|
227
|
+
) -> _InvokeActStepResponseSuccess
|
|
228
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _InvokeActStepResponseSuccess
|
|
229
|
+
|
|
230
|
+
interface _ListActsResponseSuccess
|
|
231
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListActsResponse]
|
|
232
|
+
def act_summaries: () -> ::Array[Types::ActSummary]
|
|
233
|
+
def next_token: () -> ::String
|
|
234
|
+
end
|
|
235
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NovaAct/Client.html#list_acts-instance_method
|
|
236
|
+
def list_acts: (
|
|
237
|
+
workflow_definition_name: ::String,
|
|
238
|
+
?workflow_run_id: ::String,
|
|
239
|
+
?session_id: ::String,
|
|
240
|
+
?max_results: ::Integer,
|
|
241
|
+
?next_token: ::String,
|
|
242
|
+
?sort_order: ("Ascending" | "Descending")
|
|
243
|
+
) -> _ListActsResponseSuccess
|
|
244
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListActsResponseSuccess
|
|
245
|
+
|
|
246
|
+
interface _ListModelsResponseSuccess
|
|
247
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListModelsResponse]
|
|
248
|
+
def model_summaries: () -> ::Array[Types::ModelSummary]
|
|
249
|
+
def model_aliases: () -> ::Array[Types::ModelAlias]
|
|
250
|
+
def compatibility_information: () -> Types::CompatibilityInformation
|
|
251
|
+
end
|
|
252
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NovaAct/Client.html#list_models-instance_method
|
|
253
|
+
def list_models: (
|
|
254
|
+
client_compatibility_version: ::Integer
|
|
255
|
+
) -> _ListModelsResponseSuccess
|
|
256
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListModelsResponseSuccess
|
|
257
|
+
|
|
258
|
+
interface _ListSessionsResponseSuccess
|
|
259
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListSessionsResponse]
|
|
260
|
+
def session_summaries: () -> ::Array[Types::SessionSummary]
|
|
261
|
+
def next_token: () -> ::String
|
|
262
|
+
end
|
|
263
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NovaAct/Client.html#list_sessions-instance_method
|
|
264
|
+
def list_sessions: (
|
|
265
|
+
workflow_definition_name: ::String,
|
|
266
|
+
workflow_run_id: ::String,
|
|
267
|
+
?max_results: ::Integer,
|
|
268
|
+
?next_token: ::String,
|
|
269
|
+
?sort_order: ("Ascending" | "Descending")
|
|
270
|
+
) -> _ListSessionsResponseSuccess
|
|
271
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSessionsResponseSuccess
|
|
272
|
+
|
|
273
|
+
interface _ListWorkflowDefinitionsResponseSuccess
|
|
274
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListWorkflowDefinitionsResponse]
|
|
275
|
+
def workflow_definition_summaries: () -> ::Array[Types::WorkflowDefinitionSummary]
|
|
276
|
+
def next_token: () -> ::String
|
|
277
|
+
end
|
|
278
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NovaAct/Client.html#list_workflow_definitions-instance_method
|
|
279
|
+
def list_workflow_definitions: (
|
|
280
|
+
?max_results: ::Integer,
|
|
281
|
+
?next_token: ::String,
|
|
282
|
+
?sort_order: ("Ascending" | "Descending")
|
|
283
|
+
) -> _ListWorkflowDefinitionsResponseSuccess
|
|
284
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWorkflowDefinitionsResponseSuccess
|
|
285
|
+
|
|
286
|
+
interface _ListWorkflowRunsResponseSuccess
|
|
287
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListWorkflowRunsResponse]
|
|
288
|
+
def workflow_run_summaries: () -> ::Array[Types::WorkflowRunSummary]
|
|
289
|
+
def next_token: () -> ::String
|
|
290
|
+
end
|
|
291
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NovaAct/Client.html#list_workflow_runs-instance_method
|
|
292
|
+
def list_workflow_runs: (
|
|
293
|
+
workflow_definition_name: ::String,
|
|
294
|
+
?max_results: ::Integer,
|
|
295
|
+
?next_token: ::String,
|
|
296
|
+
?sort_order: ("Ascending" | "Descending")
|
|
297
|
+
) -> _ListWorkflowRunsResponseSuccess
|
|
298
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWorkflowRunsResponseSuccess
|
|
299
|
+
|
|
300
|
+
interface _UpdateActResponseSuccess
|
|
301
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateActResponse]
|
|
302
|
+
end
|
|
303
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NovaAct/Client.html#update_act-instance_method
|
|
304
|
+
def update_act: (
|
|
305
|
+
workflow_definition_name: ::String,
|
|
306
|
+
workflow_run_id: ::String,
|
|
307
|
+
session_id: ::String,
|
|
308
|
+
act_id: ::String,
|
|
309
|
+
status: ("RUNNING" | "PENDING_CLIENT_ACTION" | "PENDING_HUMAN_ACTION" | "SUCCEEDED" | "FAILED" | "TIMED_OUT"),
|
|
310
|
+
?error: {
|
|
311
|
+
message: ::String,
|
|
312
|
+
type: ::String?
|
|
313
|
+
}
|
|
314
|
+
) -> _UpdateActResponseSuccess
|
|
315
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateActResponseSuccess
|
|
316
|
+
|
|
317
|
+
interface _UpdateWorkflowRunResponseSuccess
|
|
318
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateWorkflowRunResponse]
|
|
319
|
+
end
|
|
320
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NovaAct/Client.html#update_workflow_run-instance_method
|
|
321
|
+
def update_workflow_run: (
|
|
322
|
+
workflow_definition_name: ::String,
|
|
323
|
+
workflow_run_id: ::String,
|
|
324
|
+
status: ("RUNNING" | "SUCCEEDED" | "FAILED" | "TIMED_OUT" | "DELETING")
|
|
325
|
+
) -> _UpdateWorkflowRunResponseSuccess
|
|
326
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateWorkflowRunResponseSuccess
|
|
327
|
+
end
|
|
328
|
+
end
|
|
329
|
+
end
|
|
330
|
+
|
data/sig/errors.rbs
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws
|
|
9
|
+
module NovaAct
|
|
10
|
+
module Errors
|
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
class AccessDeniedException < ::Aws::Errors::ServiceError
|
|
15
|
+
def message: () -> ::String
|
|
16
|
+
end
|
|
17
|
+
class ConflictException < ::Aws::Errors::ServiceError
|
|
18
|
+
def message: () -> ::String
|
|
19
|
+
def resource_id: () -> ::String
|
|
20
|
+
def resource_type: () -> ::String
|
|
21
|
+
end
|
|
22
|
+
class InternalServerException < ::Aws::Errors::ServiceError
|
|
23
|
+
def message: () -> ::String
|
|
24
|
+
def retry_after_seconds: () -> ::String
|
|
25
|
+
def reason: () -> ::String
|
|
26
|
+
end
|
|
27
|
+
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
|
28
|
+
def message: () -> ::String
|
|
29
|
+
def resource_id: () -> ::String
|
|
30
|
+
def resource_type: () -> ::String
|
|
31
|
+
end
|
|
32
|
+
class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
|
|
33
|
+
def message: () -> ::String
|
|
34
|
+
def resource_id: () -> ::String
|
|
35
|
+
def resource_type: () -> ::String
|
|
36
|
+
def service_code: () -> ::String
|
|
37
|
+
def quota_code: () -> ::String
|
|
38
|
+
end
|
|
39
|
+
class ThrottlingException < ::Aws::Errors::ServiceError
|
|
40
|
+
def message: () -> ::String
|
|
41
|
+
def service_code: () -> ::String
|
|
42
|
+
def quota_code: () -> ::String
|
|
43
|
+
def retry_after_seconds: () -> ::String
|
|
44
|
+
end
|
|
45
|
+
class ValidationException < ::Aws::Errors::ServiceError
|
|
46
|
+
def message: () -> ::String
|
|
47
|
+
def reason: () -> ::String
|
|
48
|
+
def field_list: () -> ::String
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|
data/sig/resource.rbs
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws
|
|
9
|
+
module NovaAct
|
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NovaAct/Resource.html
|
|
11
|
+
class Resource
|
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NovaAct/Resource.html#initialize-instance_method
|
|
13
|
+
def initialize: (
|
|
14
|
+
?client: Client,
|
|
15
|
+
?credentials: untyped,
|
|
16
|
+
?region: String,
|
|
17
|
+
?access_key_id: String,
|
|
18
|
+
?account_id: String,
|
|
19
|
+
?active_endpoint_cache: bool,
|
|
20
|
+
?adaptive_retry_wait_to_fill: bool,
|
|
21
|
+
?auth_scheme_preference: Array[String],
|
|
22
|
+
?client_side_monitoring: bool,
|
|
23
|
+
?client_side_monitoring_client_id: String,
|
|
24
|
+
?client_side_monitoring_host: String,
|
|
25
|
+
?client_side_monitoring_port: Integer,
|
|
26
|
+
?client_side_monitoring_publisher: untyped,
|
|
27
|
+
?convert_params: bool,
|
|
28
|
+
?correct_clock_skew: bool,
|
|
29
|
+
?defaults_mode: String,
|
|
30
|
+
?disable_host_prefix_injection: bool,
|
|
31
|
+
?disable_request_compression: bool,
|
|
32
|
+
?endpoint: String,
|
|
33
|
+
?endpoint_cache_max_entries: Integer,
|
|
34
|
+
?endpoint_cache_max_threads: Integer,
|
|
35
|
+
?endpoint_cache_poll_interval: Integer,
|
|
36
|
+
?endpoint_discovery: bool,
|
|
37
|
+
?ignore_configured_endpoint_urls: bool,
|
|
38
|
+
?log_formatter: untyped,
|
|
39
|
+
?log_level: Symbol,
|
|
40
|
+
?logger: untyped,
|
|
41
|
+
?max_attempts: Integer,
|
|
42
|
+
?profile: String,
|
|
43
|
+
?request_checksum_calculation: String,
|
|
44
|
+
?request_min_compression_size_bytes: Integer,
|
|
45
|
+
?response_checksum_validation: String,
|
|
46
|
+
?retry_backoff: Proc,
|
|
47
|
+
?retry_base_delay: Float,
|
|
48
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
|
49
|
+
?retry_limit: Integer,
|
|
50
|
+
?retry_max_delay: Integer,
|
|
51
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
|
52
|
+
?sdk_ua_app_id: String,
|
|
53
|
+
?secret_access_key: String,
|
|
54
|
+
?session_token: String,
|
|
55
|
+
?sigv4a_signing_region_set: Array[String],
|
|
56
|
+
?stub_responses: untyped,
|
|
57
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
|
58
|
+
?token_provider: untyped,
|
|
59
|
+
?use_dualstack_endpoint: bool,
|
|
60
|
+
?use_fips_endpoint: bool,
|
|
61
|
+
?validate_params: bool,
|
|
62
|
+
?endpoint_provider: untyped,
|
|
63
|
+
?http_proxy: String,
|
|
64
|
+
?http_open_timeout: (Float | Integer),
|
|
65
|
+
?http_read_timeout: (Float | Integer),
|
|
66
|
+
?http_idle_timeout: (Float | Integer),
|
|
67
|
+
?http_continue_timeout: (Float | Integer),
|
|
68
|
+
?ssl_timeout: (Float | Integer | nil),
|
|
69
|
+
?http_wire_trace: bool,
|
|
70
|
+
?ssl_verify_peer: bool,
|
|
71
|
+
?ssl_ca_bundle: String,
|
|
72
|
+
?ssl_ca_directory: String,
|
|
73
|
+
?ssl_ca_store: String,
|
|
74
|
+
?on_chunk_received: Proc,
|
|
75
|
+
?on_chunk_sent: Proc,
|
|
76
|
+
?raise_response_errors: bool
|
|
77
|
+
) -> void
|
|
78
|
+
| (?Hash[Symbol, untyped]) -> void
|
|
79
|
+
|
|
80
|
+
def client: () -> Client
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
end
|
|
84
|
+
end
|
|
85
|
+
end
|