aws-sdk-mwaaserverless 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-mwaaserverless/client.rb +1427 -0
- data/lib/aws-sdk-mwaaserverless/client_api.rb +694 -0
- data/lib/aws-sdk-mwaaserverless/customizations.rb +0 -0
- data/lib/aws-sdk-mwaaserverless/endpoint_parameters.rb +59 -0
- data/lib/aws-sdk-mwaaserverless/endpoint_provider.rb +32 -0
- data/lib/aws-sdk-mwaaserverless/endpoints.rb +20 -0
- data/lib/aws-sdk-mwaaserverless/errors.rb +248 -0
- data/lib/aws-sdk-mwaaserverless/plugins/endpoints.rb +77 -0
- data/lib/aws-sdk-mwaaserverless/resource.rb +26 -0
- data/lib/aws-sdk-mwaaserverless/types.rb +1613 -0
- data/lib/aws-sdk-mwaaserverless/waiters.rb +15 -0
- data/lib/aws-sdk-mwaaserverless.rb +62 -0
- data/sig/client.rbs +344 -0
- data/sig/errors.rbs +54 -0
- data/sig/resource.rbs +86 -0
- data/sig/types.rbs +404 -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::MWAAServerless
|
|
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(:mwaaserverless)
|
|
15
|
+
|
|
16
|
+
# This module provides support for AmazonMWAAServerless. This module is available in the
|
|
17
|
+
# `aws-sdk-mwaaserverless` 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
|
+
# mwaa_serverless = Aws::MWAAServerless::Client.new
|
|
26
|
+
# resp = mwaa_serverless.create_workflow(params)
|
|
27
|
+
#
|
|
28
|
+
# See {Client} for more information.
|
|
29
|
+
#
|
|
30
|
+
# # Errors
|
|
31
|
+
#
|
|
32
|
+
# Errors returned from AmazonMWAAServerless are defined in the
|
|
33
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
|
34
|
+
#
|
|
35
|
+
# begin
|
|
36
|
+
# # do stuff
|
|
37
|
+
# rescue Aws::MWAAServerless::Errors::ServiceError
|
|
38
|
+
# # rescues all AmazonMWAAServerless API errors
|
|
39
|
+
# end
|
|
40
|
+
#
|
|
41
|
+
# See {Errors} for more information.
|
|
42
|
+
#
|
|
43
|
+
# @!group service
|
|
44
|
+
module Aws::MWAAServerless
|
|
45
|
+
autoload :Types, 'aws-sdk-mwaaserverless/types'
|
|
46
|
+
autoload :ClientApi, 'aws-sdk-mwaaserverless/client_api'
|
|
47
|
+
module Plugins
|
|
48
|
+
autoload :Endpoints, 'aws-sdk-mwaaserverless/plugins/endpoints.rb'
|
|
49
|
+
end
|
|
50
|
+
autoload :Client, 'aws-sdk-mwaaserverless/client'
|
|
51
|
+
autoload :Errors, 'aws-sdk-mwaaserverless/errors'
|
|
52
|
+
autoload :Waiters, 'aws-sdk-mwaaserverless/waiters'
|
|
53
|
+
autoload :Resource, 'aws-sdk-mwaaserverless/resource'
|
|
54
|
+
autoload :EndpointParameters, 'aws-sdk-mwaaserverless/endpoint_parameters'
|
|
55
|
+
autoload :EndpointProvider, 'aws-sdk-mwaaserverless/endpoint_provider'
|
|
56
|
+
autoload :Endpoints, 'aws-sdk-mwaaserverless/endpoints'
|
|
57
|
+
|
|
58
|
+
GEM_VERSION = '1.0.0'
|
|
59
|
+
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
require_relative 'aws-sdk-mwaaserverless/customizations'
|
data/sig/client.rbs
ADDED
|
@@ -0,0 +1,344 @@
|
|
|
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 MWAAServerless
|
|
10
|
+
class Client < ::Seahorse::Client::Base
|
|
11
|
+
include ::Aws::ClientStubs
|
|
12
|
+
|
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MWAAServerless/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
|
+
?simple_json: bool,
|
|
57
|
+
?stub_responses: untyped,
|
|
58
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
|
59
|
+
?token_provider: untyped,
|
|
60
|
+
?use_dualstack_endpoint: bool,
|
|
61
|
+
?use_fips_endpoint: bool,
|
|
62
|
+
?validate_params: bool,
|
|
63
|
+
?endpoint_provider: untyped,
|
|
64
|
+
?http_proxy: String,
|
|
65
|
+
?http_open_timeout: (Float | Integer),
|
|
66
|
+
?http_read_timeout: (Float | Integer),
|
|
67
|
+
?http_idle_timeout: (Float | Integer),
|
|
68
|
+
?http_continue_timeout: (Float | Integer),
|
|
69
|
+
?ssl_timeout: (Float | Integer | nil),
|
|
70
|
+
?http_wire_trace: bool,
|
|
71
|
+
?ssl_verify_peer: bool,
|
|
72
|
+
?ssl_ca_bundle: String,
|
|
73
|
+
?ssl_ca_directory: String,
|
|
74
|
+
?ssl_ca_store: String,
|
|
75
|
+
?on_chunk_received: Proc,
|
|
76
|
+
?on_chunk_sent: Proc,
|
|
77
|
+
?raise_response_errors: bool
|
|
78
|
+
) -> instance
|
|
79
|
+
| (?Hash[Symbol, untyped]) -> instance
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
interface _CreateWorkflowResponseSuccess
|
|
83
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateWorkflowResponse]
|
|
84
|
+
def workflow_arn: () -> ::String
|
|
85
|
+
def created_at: () -> ::Time
|
|
86
|
+
def revision_id: () -> ::String
|
|
87
|
+
def workflow_status: () -> ("READY" | "DELETING")
|
|
88
|
+
def workflow_version: () -> ::String
|
|
89
|
+
def is_latest_version: () -> bool
|
|
90
|
+
def warnings: () -> ::Array[::String]
|
|
91
|
+
end
|
|
92
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MWAAServerless/Client.html#create_workflow-instance_method
|
|
93
|
+
def create_workflow: (
|
|
94
|
+
name: ::String,
|
|
95
|
+
?client_token: ::String,
|
|
96
|
+
definition_s3_location: {
|
|
97
|
+
bucket: ::String,
|
|
98
|
+
object_key: ::String,
|
|
99
|
+
version_id: ::String?
|
|
100
|
+
},
|
|
101
|
+
role_arn: ::String,
|
|
102
|
+
?description: ::String,
|
|
103
|
+
?encryption_configuration: {
|
|
104
|
+
type: ("AWS_MANAGED_KEY" | "CUSTOMER_MANAGED_KEY"),
|
|
105
|
+
kms_key_id: ::String?
|
|
106
|
+
},
|
|
107
|
+
?logging_configuration: {
|
|
108
|
+
log_group_name: ::String
|
|
109
|
+
},
|
|
110
|
+
?engine_version: ::Integer,
|
|
111
|
+
?network_configuration: {
|
|
112
|
+
security_group_ids: Array[::String]?,
|
|
113
|
+
subnet_ids: Array[::String]?
|
|
114
|
+
},
|
|
115
|
+
?tags: Hash[::String, ::String],
|
|
116
|
+
?trigger_mode: ::String
|
|
117
|
+
) -> _CreateWorkflowResponseSuccess
|
|
118
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWorkflowResponseSuccess
|
|
119
|
+
|
|
120
|
+
interface _DeleteWorkflowResponseSuccess
|
|
121
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteWorkflowResponse]
|
|
122
|
+
def workflow_arn: () -> ::String
|
|
123
|
+
def workflow_version: () -> ::String
|
|
124
|
+
end
|
|
125
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MWAAServerless/Client.html#delete_workflow-instance_method
|
|
126
|
+
def delete_workflow: (
|
|
127
|
+
workflow_arn: ::String,
|
|
128
|
+
?workflow_version: ::String
|
|
129
|
+
) -> _DeleteWorkflowResponseSuccess
|
|
130
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteWorkflowResponseSuccess
|
|
131
|
+
|
|
132
|
+
interface _GetTaskInstanceResponseSuccess
|
|
133
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetTaskInstanceResponse]
|
|
134
|
+
def workflow_arn: () -> ::String
|
|
135
|
+
def run_id: () -> ::String
|
|
136
|
+
def task_instance_id: () -> ::String
|
|
137
|
+
def workflow_version: () -> ::String
|
|
138
|
+
def status: () -> ("QUEUED" | "FAILED" | "SCHEDULED" | "RUNNING" | "SUCCESS" | "UP_FOR_RESCHEDULE" | "UP_FOR_RETRY" | "UPSTREAM_FAILED" | "REMOVED" | "RESTARTING" | "DEFERRED" | "NONE" | "CANCELLED" | "TIMEOUT")
|
|
139
|
+
def duration_in_seconds: () -> ::Integer
|
|
140
|
+
def operator_name: () -> ::String
|
|
141
|
+
def modified_at: () -> ::Time
|
|
142
|
+
def ended_at: () -> ::Time
|
|
143
|
+
def started_at: () -> ::Time
|
|
144
|
+
def attempt_number: () -> ::Integer
|
|
145
|
+
def error_message: () -> ::String
|
|
146
|
+
def task_id: () -> ::String
|
|
147
|
+
def log_stream: () -> ::String
|
|
148
|
+
def xcom: () -> ::Hash[::String, ::String]
|
|
149
|
+
end
|
|
150
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MWAAServerless/Client.html#get_task_instance-instance_method
|
|
151
|
+
def get_task_instance: (
|
|
152
|
+
workflow_arn: ::String,
|
|
153
|
+
task_instance_id: ::String,
|
|
154
|
+
run_id: ::String
|
|
155
|
+
) -> _GetTaskInstanceResponseSuccess
|
|
156
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTaskInstanceResponseSuccess
|
|
157
|
+
|
|
158
|
+
interface _GetWorkflowResponseSuccess
|
|
159
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetWorkflowResponse]
|
|
160
|
+
def workflow_arn: () -> ::String
|
|
161
|
+
def workflow_version: () -> ::String
|
|
162
|
+
def name: () -> ::String
|
|
163
|
+
def description: () -> ::String
|
|
164
|
+
def created_at: () -> ::Time
|
|
165
|
+
def modified_at: () -> ::Time
|
|
166
|
+
def encryption_configuration: () -> Types::EncryptionConfiguration
|
|
167
|
+
def logging_configuration: () -> Types::LoggingConfiguration
|
|
168
|
+
def engine_version: () -> ::Integer
|
|
169
|
+
def workflow_status: () -> ("READY" | "DELETING")
|
|
170
|
+
def definition_s3_location: () -> Types::DefinitionS3Location
|
|
171
|
+
def schedule_configuration: () -> Types::ScheduleConfiguration
|
|
172
|
+
def role_arn: () -> ::String
|
|
173
|
+
def network_configuration: () -> Types::NetworkConfiguration
|
|
174
|
+
def trigger_mode: () -> ::String
|
|
175
|
+
def workflow_definition: () -> ::String
|
|
176
|
+
end
|
|
177
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MWAAServerless/Client.html#get_workflow-instance_method
|
|
178
|
+
def get_workflow: (
|
|
179
|
+
workflow_arn: ::String,
|
|
180
|
+
?workflow_version: ::String
|
|
181
|
+
) -> _GetWorkflowResponseSuccess
|
|
182
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetWorkflowResponseSuccess
|
|
183
|
+
|
|
184
|
+
interface _GetWorkflowRunResponseSuccess
|
|
185
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetWorkflowRunResponse]
|
|
186
|
+
def workflow_arn: () -> ::String
|
|
187
|
+
def workflow_version: () -> ::String
|
|
188
|
+
def run_id: () -> ::String
|
|
189
|
+
def run_type: () -> ("ON_DEMAND" | "SCHEDULED")
|
|
190
|
+
def override_parameters: () -> ::Hash[::String, untyped]
|
|
191
|
+
def run_detail: () -> Types::WorkflowRunDetail
|
|
192
|
+
end
|
|
193
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MWAAServerless/Client.html#get_workflow_run-instance_method
|
|
194
|
+
def get_workflow_run: (
|
|
195
|
+
workflow_arn: ::String,
|
|
196
|
+
run_id: ::String
|
|
197
|
+
) -> _GetWorkflowRunResponseSuccess
|
|
198
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetWorkflowRunResponseSuccess
|
|
199
|
+
|
|
200
|
+
interface _ListTagsForResourceResponseSuccess
|
|
201
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
|
202
|
+
def tags: () -> ::Hash[::String, ::String]
|
|
203
|
+
end
|
|
204
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MWAAServerless/Client.html#list_tags_for_resource-instance_method
|
|
205
|
+
def list_tags_for_resource: (
|
|
206
|
+
resource_arn: ::String
|
|
207
|
+
) -> _ListTagsForResourceResponseSuccess
|
|
208
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
|
209
|
+
|
|
210
|
+
interface _ListTaskInstancesResponseSuccess
|
|
211
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTaskInstancesResponse]
|
|
212
|
+
def task_instances: () -> ::Array[Types::TaskInstanceSummary]
|
|
213
|
+
def next_token: () -> ::String
|
|
214
|
+
end
|
|
215
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MWAAServerless/Client.html#list_task_instances-instance_method
|
|
216
|
+
def list_task_instances: (
|
|
217
|
+
workflow_arn: ::String,
|
|
218
|
+
run_id: ::String,
|
|
219
|
+
?max_results: ::Integer,
|
|
220
|
+
?next_token: ::String
|
|
221
|
+
) -> _ListTaskInstancesResponseSuccess
|
|
222
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTaskInstancesResponseSuccess
|
|
223
|
+
|
|
224
|
+
interface _ListWorkflowRunsResponseSuccess
|
|
225
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListWorkflowRunsResponse]
|
|
226
|
+
def workflow_runs: () -> ::Array[Types::WorkflowRunSummary]
|
|
227
|
+
def next_token: () -> ::String
|
|
228
|
+
end
|
|
229
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MWAAServerless/Client.html#list_workflow_runs-instance_method
|
|
230
|
+
def list_workflow_runs: (
|
|
231
|
+
?max_results: ::Integer,
|
|
232
|
+
?next_token: ::String,
|
|
233
|
+
workflow_arn: ::String,
|
|
234
|
+
?workflow_version: ::String
|
|
235
|
+
) -> _ListWorkflowRunsResponseSuccess
|
|
236
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWorkflowRunsResponseSuccess
|
|
237
|
+
|
|
238
|
+
interface _ListWorkflowVersionsResponseSuccess
|
|
239
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListWorkflowVersionsResponse]
|
|
240
|
+
def workflow_versions: () -> ::Array[Types::WorkflowVersionSummary]
|
|
241
|
+
def next_token: () -> ::String
|
|
242
|
+
end
|
|
243
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MWAAServerless/Client.html#list_workflow_versions-instance_method
|
|
244
|
+
def list_workflow_versions: (
|
|
245
|
+
?max_results: ::Integer,
|
|
246
|
+
?next_token: ::String,
|
|
247
|
+
workflow_arn: ::String
|
|
248
|
+
) -> _ListWorkflowVersionsResponseSuccess
|
|
249
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWorkflowVersionsResponseSuccess
|
|
250
|
+
|
|
251
|
+
interface _ListWorkflowsResponseSuccess
|
|
252
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListWorkflowsResponse]
|
|
253
|
+
def workflows: () -> ::Array[Types::WorkflowSummary]
|
|
254
|
+
def next_token: () -> ::String
|
|
255
|
+
end
|
|
256
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MWAAServerless/Client.html#list_workflows-instance_method
|
|
257
|
+
def list_workflows: (
|
|
258
|
+
?max_results: ::Integer,
|
|
259
|
+
?next_token: ::String
|
|
260
|
+
) -> _ListWorkflowsResponseSuccess
|
|
261
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWorkflowsResponseSuccess
|
|
262
|
+
|
|
263
|
+
interface _StartWorkflowRunResponseSuccess
|
|
264
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartWorkflowRunResponse]
|
|
265
|
+
def run_id: () -> ::String
|
|
266
|
+
def status: () -> ("STARTING" | "QUEUED" | "RUNNING" | "SUCCESS" | "FAILED" | "TIMEOUT" | "STOPPING" | "STOPPED")
|
|
267
|
+
def started_at: () -> ::Time
|
|
268
|
+
end
|
|
269
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MWAAServerless/Client.html#start_workflow_run-instance_method
|
|
270
|
+
def start_workflow_run: (
|
|
271
|
+
workflow_arn: ::String,
|
|
272
|
+
?client_token: ::String,
|
|
273
|
+
?override_parameters: Hash[::String, {
|
|
274
|
+
}],
|
|
275
|
+
?workflow_version: ::String
|
|
276
|
+
) -> _StartWorkflowRunResponseSuccess
|
|
277
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartWorkflowRunResponseSuccess
|
|
278
|
+
|
|
279
|
+
interface _StopWorkflowRunResponseSuccess
|
|
280
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StopWorkflowRunResponse]
|
|
281
|
+
def workflow_arn: () -> ::String
|
|
282
|
+
def workflow_version: () -> ::String
|
|
283
|
+
def run_id: () -> ::String
|
|
284
|
+
def status: () -> ("STARTING" | "QUEUED" | "RUNNING" | "SUCCESS" | "FAILED" | "TIMEOUT" | "STOPPING" | "STOPPED")
|
|
285
|
+
end
|
|
286
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MWAAServerless/Client.html#stop_workflow_run-instance_method
|
|
287
|
+
def stop_workflow_run: (
|
|
288
|
+
workflow_arn: ::String,
|
|
289
|
+
run_id: ::String
|
|
290
|
+
) -> _StopWorkflowRunResponseSuccess
|
|
291
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopWorkflowRunResponseSuccess
|
|
292
|
+
|
|
293
|
+
interface _TagResourceResponseSuccess
|
|
294
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
|
295
|
+
end
|
|
296
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MWAAServerless/Client.html#tag_resource-instance_method
|
|
297
|
+
def tag_resource: (
|
|
298
|
+
resource_arn: ::String,
|
|
299
|
+
tags: Hash[::String, ::String]
|
|
300
|
+
) -> _TagResourceResponseSuccess
|
|
301
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
|
302
|
+
|
|
303
|
+
interface _UntagResourceResponseSuccess
|
|
304
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
|
|
305
|
+
end
|
|
306
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MWAAServerless/Client.html#untag_resource-instance_method
|
|
307
|
+
def untag_resource: (
|
|
308
|
+
resource_arn: ::String,
|
|
309
|
+
tag_keys: Array[::String]
|
|
310
|
+
) -> _UntagResourceResponseSuccess
|
|
311
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
|
312
|
+
|
|
313
|
+
interface _UpdateWorkflowResponseSuccess
|
|
314
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateWorkflowResponse]
|
|
315
|
+
def workflow_arn: () -> ::String
|
|
316
|
+
def modified_at: () -> ::Time
|
|
317
|
+
def workflow_version: () -> ::String
|
|
318
|
+
def warnings: () -> ::Array[::String]
|
|
319
|
+
end
|
|
320
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MWAAServerless/Client.html#update_workflow-instance_method
|
|
321
|
+
def update_workflow: (
|
|
322
|
+
workflow_arn: ::String,
|
|
323
|
+
definition_s3_location: {
|
|
324
|
+
bucket: ::String,
|
|
325
|
+
object_key: ::String,
|
|
326
|
+
version_id: ::String?
|
|
327
|
+
},
|
|
328
|
+
role_arn: ::String,
|
|
329
|
+
?description: ::String,
|
|
330
|
+
?logging_configuration: {
|
|
331
|
+
log_group_name: ::String
|
|
332
|
+
},
|
|
333
|
+
?engine_version: ::Integer,
|
|
334
|
+
?network_configuration: {
|
|
335
|
+
security_group_ids: Array[::String]?,
|
|
336
|
+
subnet_ids: Array[::String]?
|
|
337
|
+
},
|
|
338
|
+
?trigger_mode: ::String
|
|
339
|
+
) -> _UpdateWorkflowResponseSuccess
|
|
340
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateWorkflowResponseSuccess
|
|
341
|
+
end
|
|
342
|
+
end
|
|
343
|
+
end
|
|
344
|
+
|
data/sig/errors.rbs
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
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 MWAAServerless
|
|
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
|
+
end
|
|
26
|
+
class OperationTimeoutException < ::Aws::Errors::ServiceError
|
|
27
|
+
def message: () -> ::String
|
|
28
|
+
end
|
|
29
|
+
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
|
30
|
+
def message: () -> ::String
|
|
31
|
+
def resource_id: () -> ::String
|
|
32
|
+
def resource_type: () -> ::String
|
|
33
|
+
end
|
|
34
|
+
class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
|
|
35
|
+
def message: () -> ::String
|
|
36
|
+
def resource_id: () -> ::String
|
|
37
|
+
def resource_type: () -> ::String
|
|
38
|
+
def service_code: () -> ::String
|
|
39
|
+
def quota_code: () -> ::String
|
|
40
|
+
end
|
|
41
|
+
class ThrottlingException < ::Aws::Errors::ServiceError
|
|
42
|
+
def message: () -> ::String
|
|
43
|
+
def service_code: () -> ::String
|
|
44
|
+
def quota_code: () -> ::String
|
|
45
|
+
def retry_after_seconds: () -> ::String
|
|
46
|
+
end
|
|
47
|
+
class ValidationException < ::Aws::Errors::ServiceError
|
|
48
|
+
def message: () -> ::String
|
|
49
|
+
def reason: () -> ::String
|
|
50
|
+
def field_list: () -> ::String
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
end
|
data/sig/resource.rbs
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
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 MWAAServerless
|
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MWAAServerless/Resource.html
|
|
11
|
+
class Resource
|
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MWAAServerless/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
|
+
?simple_json: bool,
|
|
57
|
+
?stub_responses: untyped,
|
|
58
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
|
59
|
+
?token_provider: untyped,
|
|
60
|
+
?use_dualstack_endpoint: bool,
|
|
61
|
+
?use_fips_endpoint: bool,
|
|
62
|
+
?validate_params: bool,
|
|
63
|
+
?endpoint_provider: untyped,
|
|
64
|
+
?http_proxy: String,
|
|
65
|
+
?http_open_timeout: (Float | Integer),
|
|
66
|
+
?http_read_timeout: (Float | Integer),
|
|
67
|
+
?http_idle_timeout: (Float | Integer),
|
|
68
|
+
?http_continue_timeout: (Float | Integer),
|
|
69
|
+
?ssl_timeout: (Float | Integer | nil),
|
|
70
|
+
?http_wire_trace: bool,
|
|
71
|
+
?ssl_verify_peer: bool,
|
|
72
|
+
?ssl_ca_bundle: String,
|
|
73
|
+
?ssl_ca_directory: String,
|
|
74
|
+
?ssl_ca_store: String,
|
|
75
|
+
?on_chunk_received: Proc,
|
|
76
|
+
?on_chunk_sent: Proc,
|
|
77
|
+
?raise_response_errors: bool
|
|
78
|
+
) -> void
|
|
79
|
+
| (?Hash[Symbol, untyped]) -> void
|
|
80
|
+
|
|
81
|
+
def client: () -> Client
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
end
|