aws-sdk-migrationhuborchestrator 1.11.0 → 1.12.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/client.rbs ADDED
@@ -0,0 +1,615 @@
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 MigrationHubOrchestrator
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MigrationHubOrchestrator/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> instance
72
+ | (?Hash[Symbol, untyped]) -> instance
73
+
74
+
75
+ interface _CreateWorkflowResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateMigrationWorkflowResponse]
77
+ def id: () -> ::String
78
+ def arn: () -> ::String
79
+ def name: () -> ::String
80
+ def description: () -> ::String
81
+ def template_id: () -> ::String
82
+ def ads_application_configuration_id: () -> ::String
83
+ def workflow_inputs: () -> ::Hash[::String, Types::StepInput]
84
+ def step_targets: () -> ::Array[::String]
85
+ def status: () -> ("CREATING" | "NOT_STARTED" | "CREATION_FAILED" | "STARTING" | "IN_PROGRESS" | "WORKFLOW_FAILED" | "PAUSED" | "PAUSING" | "PAUSING_FAILED" | "USER_ATTENTION_REQUIRED" | "DELETING" | "DELETION_FAILED" | "DELETED" | "COMPLETED")
86
+ def creation_time: () -> ::Time
87
+ def tags: () -> ::Hash[::String, ::String]
88
+ end
89
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MigrationHubOrchestrator/Client.html#create_workflow-instance_method
90
+ def create_workflow: (
91
+ name: ::String,
92
+ ?description: ::String,
93
+ template_id: ::String,
94
+ application_configuration_id: ::String,
95
+ input_parameters: Hash[::String, {
96
+ integer_value: ::Integer?,
97
+ string_value: ::String?,
98
+ list_of_strings_value: Array[::String]?,
99
+ map_of_string_value: Hash[::String, ::String]?
100
+ }],
101
+ ?step_targets: Array[::String],
102
+ ?tags: Hash[::String, ::String]
103
+ ) -> _CreateWorkflowResponseSuccess
104
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWorkflowResponseSuccess
105
+
106
+ interface _CreateWorkflowStepResponseSuccess
107
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateWorkflowStepResponse]
108
+ def id: () -> ::String
109
+ def step_group_id: () -> ::String
110
+ def workflow_id: () -> ::String
111
+ def name: () -> ::String
112
+ end
113
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MigrationHubOrchestrator/Client.html#create_workflow_step-instance_method
114
+ def create_workflow_step: (
115
+ name: ::String,
116
+ step_group_id: ::String,
117
+ workflow_id: ::String,
118
+ step_action_type: ("MANUAL" | "AUTOMATED"),
119
+ ?description: ::String,
120
+ ?workflow_step_automation_configuration: {
121
+ script_location_s3_bucket: ::String?,
122
+ script_location_s3_key: {
123
+ linux: ::String?,
124
+ windows: ::String?
125
+ }?,
126
+ command: {
127
+ linux: ::String?,
128
+ windows: ::String?
129
+ }?,
130
+ run_environment: ("AWS" | "ONPREMISE")?,
131
+ target_type: ("SINGLE" | "ALL" | "NONE")?
132
+ },
133
+ ?step_target: Array[::String],
134
+ ?outputs: Array[
135
+ {
136
+ name: ::String?,
137
+ data_type: ("STRING" | "INTEGER" | "STRINGLIST" | "STRINGMAP")?,
138
+ required: bool?,
139
+ value: {
140
+ integer_value: ::Integer?,
141
+ string_value: ::String?,
142
+ list_of_string_value: Array[::String]?
143
+ }?
144
+ },
145
+ ],
146
+ ?previous: Array[::String],
147
+ ?next: Array[::String]
148
+ ) -> _CreateWorkflowStepResponseSuccess
149
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWorkflowStepResponseSuccess
150
+
151
+ interface _CreateWorkflowStepGroupResponseSuccess
152
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateWorkflowStepGroupResponse]
153
+ def workflow_id: () -> ::String
154
+ def name: () -> ::String
155
+ def id: () -> ::String
156
+ def description: () -> ::String
157
+ def tools: () -> ::Array[Types::Tool]
158
+ def next: () -> ::Array[::String]
159
+ def previous: () -> ::Array[::String]
160
+ def creation_time: () -> ::Time
161
+ end
162
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MigrationHubOrchestrator/Client.html#create_workflow_step_group-instance_method
163
+ def create_workflow_step_group: (
164
+ workflow_id: ::String,
165
+ name: ::String,
166
+ ?description: ::String,
167
+ ?next: Array[::String],
168
+ ?previous: Array[::String]
169
+ ) -> _CreateWorkflowStepGroupResponseSuccess
170
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWorkflowStepGroupResponseSuccess
171
+
172
+ interface _DeleteWorkflowResponseSuccess
173
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteMigrationWorkflowResponse]
174
+ def id: () -> ::String
175
+ def arn: () -> ::String
176
+ def status: () -> ("CREATING" | "NOT_STARTED" | "CREATION_FAILED" | "STARTING" | "IN_PROGRESS" | "WORKFLOW_FAILED" | "PAUSED" | "PAUSING" | "PAUSING_FAILED" | "USER_ATTENTION_REQUIRED" | "DELETING" | "DELETION_FAILED" | "DELETED" | "COMPLETED")
177
+ end
178
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MigrationHubOrchestrator/Client.html#delete_workflow-instance_method
179
+ def delete_workflow: (
180
+ id: ::String
181
+ ) -> _DeleteWorkflowResponseSuccess
182
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteWorkflowResponseSuccess
183
+
184
+ interface _DeleteWorkflowStepResponseSuccess
185
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteWorkflowStepResponse]
186
+ end
187
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MigrationHubOrchestrator/Client.html#delete_workflow_step-instance_method
188
+ def delete_workflow_step: (
189
+ id: ::String,
190
+ step_group_id: ::String,
191
+ workflow_id: ::String
192
+ ) -> _DeleteWorkflowStepResponseSuccess
193
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteWorkflowStepResponseSuccess
194
+
195
+ interface _DeleteWorkflowStepGroupResponseSuccess
196
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteWorkflowStepGroupResponse]
197
+ end
198
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MigrationHubOrchestrator/Client.html#delete_workflow_step_group-instance_method
199
+ def delete_workflow_step_group: (
200
+ workflow_id: ::String,
201
+ id: ::String
202
+ ) -> _DeleteWorkflowStepGroupResponseSuccess
203
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteWorkflowStepGroupResponseSuccess
204
+
205
+ interface _GetTemplateResponseSuccess
206
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetMigrationWorkflowTemplateResponse]
207
+ def id: () -> ::String
208
+ def name: () -> ::String
209
+ def description: () -> ::String
210
+ def inputs: () -> ::Array[Types::TemplateInput]
211
+ def tools: () -> ::Array[Types::Tool]
212
+ def status: () -> ("CREATED")
213
+ def creation_time: () -> ::Time
214
+ end
215
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MigrationHubOrchestrator/Client.html#get_template-instance_method
216
+ def get_template: (
217
+ id: ::String
218
+ ) -> _GetTemplateResponseSuccess
219
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTemplateResponseSuccess
220
+
221
+ interface _GetTemplateStepResponseSuccess
222
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetTemplateStepResponse]
223
+ def id: () -> ::String
224
+ def step_group_id: () -> ::String
225
+ def template_id: () -> ::String
226
+ def name: () -> ::String
227
+ def description: () -> ::String
228
+ def step_action_type: () -> ("MANUAL" | "AUTOMATED")
229
+ def creation_time: () -> ::String
230
+ def previous: () -> ::Array[::String]
231
+ def next: () -> ::Array[::String]
232
+ def outputs: () -> ::Array[Types::StepOutput]
233
+ def step_automation_configuration: () -> Types::StepAutomationConfiguration
234
+ end
235
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MigrationHubOrchestrator/Client.html#get_template_step-instance_method
236
+ def get_template_step: (
237
+ id: ::String,
238
+ template_id: ::String,
239
+ step_group_id: ::String
240
+ ) -> _GetTemplateStepResponseSuccess
241
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTemplateStepResponseSuccess
242
+
243
+ interface _GetTemplateStepGroupResponseSuccess
244
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetTemplateStepGroupResponse]
245
+ def template_id: () -> ::String
246
+ def id: () -> ::String
247
+ def name: () -> ::String
248
+ def description: () -> ::String
249
+ def status: () -> ("AWAITING_DEPENDENCIES" | "READY" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "PAUSED" | "PAUSING" | "USER_ATTENTION_REQUIRED")
250
+ def creation_time: () -> ::Time
251
+ def last_modified_time: () -> ::Time
252
+ def tools: () -> ::Array[Types::Tool]
253
+ def previous: () -> ::Array[::String]
254
+ def next: () -> ::Array[::String]
255
+ end
256
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MigrationHubOrchestrator/Client.html#get_template_step_group-instance_method
257
+ def get_template_step_group: (
258
+ template_id: ::String,
259
+ id: ::String
260
+ ) -> _GetTemplateStepGroupResponseSuccess
261
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTemplateStepGroupResponseSuccess
262
+
263
+ interface _GetWorkflowResponseSuccess
264
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetMigrationWorkflowResponse]
265
+ def id: () -> ::String
266
+ def arn: () -> ::String
267
+ def name: () -> ::String
268
+ def description: () -> ::String
269
+ def template_id: () -> ::String
270
+ def ads_application_configuration_id: () -> ::String
271
+ def ads_application_name: () -> ::String
272
+ def status: () -> ("CREATING" | "NOT_STARTED" | "CREATION_FAILED" | "STARTING" | "IN_PROGRESS" | "WORKFLOW_FAILED" | "PAUSED" | "PAUSING" | "PAUSING_FAILED" | "USER_ATTENTION_REQUIRED" | "DELETING" | "DELETION_FAILED" | "DELETED" | "COMPLETED")
273
+ def status_message: () -> ::String
274
+ def creation_time: () -> ::Time
275
+ def last_start_time: () -> ::Time
276
+ def last_stop_time: () -> ::Time
277
+ def last_modified_time: () -> ::Time
278
+ def end_time: () -> ::Time
279
+ def tools: () -> ::Array[Types::Tool]
280
+ def total_steps: () -> ::Integer
281
+ def completed_steps: () -> ::Integer
282
+ def workflow_inputs: () -> ::Hash[::String, Types::StepInput]
283
+ def tags: () -> ::Hash[::String, ::String]
284
+ def workflow_bucket: () -> ::String
285
+ end
286
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MigrationHubOrchestrator/Client.html#get_workflow-instance_method
287
+ def get_workflow: (
288
+ id: ::String
289
+ ) -> _GetWorkflowResponseSuccess
290
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetWorkflowResponseSuccess
291
+
292
+ interface _GetWorkflowStepResponseSuccess
293
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetWorkflowStepResponse]
294
+ def name: () -> ::String
295
+ def step_group_id: () -> ::String
296
+ def workflow_id: () -> ::String
297
+ def step_id: () -> ::String
298
+ def description: () -> ::String
299
+ def step_action_type: () -> ("MANUAL" | "AUTOMATED")
300
+ def owner: () -> ("AWS_MANAGED" | "CUSTOM")
301
+ def workflow_step_automation_configuration: () -> Types::WorkflowStepAutomationConfiguration
302
+ def step_target: () -> ::Array[::String]
303
+ def outputs: () -> ::Array[Types::WorkflowStepOutput]
304
+ def previous: () -> ::Array[::String]
305
+ def next: () -> ::Array[::String]
306
+ def status: () -> ("AWAITING_DEPENDENCIES" | "READY" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "PAUSED" | "USER_ATTENTION_REQUIRED")
307
+ def status_message: () -> ::String
308
+ def script_output_location: () -> ::String
309
+ def creation_time: () -> ::Time
310
+ def last_start_time: () -> ::Time
311
+ def end_time: () -> ::Time
312
+ def no_of_srv_completed: () -> ::Integer
313
+ def no_of_srv_failed: () -> ::Integer
314
+ def total_no_of_srv: () -> ::Integer
315
+ end
316
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MigrationHubOrchestrator/Client.html#get_workflow_step-instance_method
317
+ def get_workflow_step: (
318
+ workflow_id: ::String,
319
+ step_group_id: ::String,
320
+ id: ::String
321
+ ) -> _GetWorkflowStepResponseSuccess
322
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetWorkflowStepResponseSuccess
323
+
324
+ interface _GetWorkflowStepGroupResponseSuccess
325
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetWorkflowStepGroupResponse]
326
+ def id: () -> ::String
327
+ def workflow_id: () -> ::String
328
+ def name: () -> ::String
329
+ def description: () -> ::String
330
+ def status: () -> ("AWAITING_DEPENDENCIES" | "READY" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "PAUSED" | "PAUSING" | "USER_ATTENTION_REQUIRED")
331
+ def owner: () -> ("AWS_MANAGED" | "CUSTOM")
332
+ def creation_time: () -> ::Time
333
+ def last_modified_time: () -> ::Time
334
+ def end_time: () -> ::Time
335
+ def tools: () -> ::Array[Types::Tool]
336
+ def previous: () -> ::Array[::String]
337
+ def next: () -> ::Array[::String]
338
+ end
339
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MigrationHubOrchestrator/Client.html#get_workflow_step_group-instance_method
340
+ def get_workflow_step_group: (
341
+ id: ::String,
342
+ workflow_id: ::String
343
+ ) -> _GetWorkflowStepGroupResponseSuccess
344
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetWorkflowStepGroupResponseSuccess
345
+
346
+ interface _ListPluginsResponseSuccess
347
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListPluginsResponse]
348
+ def next_token: () -> ::String
349
+ def plugins: () -> ::Array[Types::PluginSummary]
350
+ end
351
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MigrationHubOrchestrator/Client.html#list_plugins-instance_method
352
+ def list_plugins: (
353
+ ?max_results: ::Integer,
354
+ ?next_token: ::String
355
+ ) -> _ListPluginsResponseSuccess
356
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPluginsResponseSuccess
357
+
358
+ interface _ListTagsForResourceResponseSuccess
359
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
360
+ def tags: () -> ::Hash[::String, ::String]
361
+ end
362
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MigrationHubOrchestrator/Client.html#list_tags_for_resource-instance_method
363
+ def list_tags_for_resource: (
364
+ resource_arn: ::String
365
+ ) -> _ListTagsForResourceResponseSuccess
366
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
367
+
368
+ interface _ListTemplateStepGroupsResponseSuccess
369
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTemplateStepGroupsResponse]
370
+ def next_token: () -> ::String
371
+ def template_step_group_summary: () -> ::Array[Types::TemplateStepGroupSummary]
372
+ end
373
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MigrationHubOrchestrator/Client.html#list_template_step_groups-instance_method
374
+ def list_template_step_groups: (
375
+ ?max_results: ::Integer,
376
+ ?next_token: ::String,
377
+ template_id: ::String
378
+ ) -> _ListTemplateStepGroupsResponseSuccess
379
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTemplateStepGroupsResponseSuccess
380
+
381
+ interface _ListTemplateStepsResponseSuccess
382
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTemplateStepsResponse]
383
+ def next_token: () -> ::String
384
+ def template_step_summary_list: () -> ::Array[Types::TemplateStepSummary]
385
+ end
386
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MigrationHubOrchestrator/Client.html#list_template_steps-instance_method
387
+ def list_template_steps: (
388
+ ?max_results: ::Integer,
389
+ ?next_token: ::String,
390
+ template_id: ::String,
391
+ step_group_id: ::String
392
+ ) -> _ListTemplateStepsResponseSuccess
393
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTemplateStepsResponseSuccess
394
+
395
+ interface _ListTemplatesResponseSuccess
396
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListMigrationWorkflowTemplatesResponse]
397
+ def next_token: () -> ::String
398
+ def template_summary: () -> ::Array[Types::TemplateSummary]
399
+ end
400
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MigrationHubOrchestrator/Client.html#list_templates-instance_method
401
+ def list_templates: (
402
+ ?max_results: ::Integer,
403
+ ?next_token: ::String,
404
+ ?name: ::String
405
+ ) -> _ListTemplatesResponseSuccess
406
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTemplatesResponseSuccess
407
+
408
+ interface _ListWorkflowStepGroupsResponseSuccess
409
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListWorkflowStepGroupsResponse]
410
+ def next_token: () -> ::String
411
+ def workflow_step_groups_summary: () -> ::Array[Types::WorkflowStepGroupSummary]
412
+ end
413
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MigrationHubOrchestrator/Client.html#list_workflow_step_groups-instance_method
414
+ def list_workflow_step_groups: (
415
+ ?next_token: ::String,
416
+ ?max_results: ::Integer,
417
+ workflow_id: ::String
418
+ ) -> _ListWorkflowStepGroupsResponseSuccess
419
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWorkflowStepGroupsResponseSuccess
420
+
421
+ interface _ListWorkflowStepsResponseSuccess
422
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListWorkflowStepsResponse]
423
+ def next_token: () -> ::String
424
+ def workflow_steps_summary: () -> ::Array[Types::WorkflowStepSummary]
425
+ end
426
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MigrationHubOrchestrator/Client.html#list_workflow_steps-instance_method
427
+ def list_workflow_steps: (
428
+ ?next_token: ::String,
429
+ ?max_results: ::Integer,
430
+ workflow_id: ::String,
431
+ step_group_id: ::String
432
+ ) -> _ListWorkflowStepsResponseSuccess
433
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWorkflowStepsResponseSuccess
434
+
435
+ interface _ListWorkflowsResponseSuccess
436
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListMigrationWorkflowsResponse]
437
+ def next_token: () -> ::String
438
+ def migration_workflow_summary: () -> ::Array[Types::MigrationWorkflowSummary]
439
+ end
440
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MigrationHubOrchestrator/Client.html#list_workflows-instance_method
441
+ def list_workflows: (
442
+ ?max_results: ::Integer,
443
+ ?next_token: ::String,
444
+ ?template_id: ::String,
445
+ ?ads_application_configuration_name: ::String,
446
+ ?status: ("CREATING" | "NOT_STARTED" | "CREATION_FAILED" | "STARTING" | "IN_PROGRESS" | "WORKFLOW_FAILED" | "PAUSED" | "PAUSING" | "PAUSING_FAILED" | "USER_ATTENTION_REQUIRED" | "DELETING" | "DELETION_FAILED" | "DELETED" | "COMPLETED"),
447
+ ?name: ::String
448
+ ) -> _ListWorkflowsResponseSuccess
449
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWorkflowsResponseSuccess
450
+
451
+ interface _RetryWorkflowStepResponseSuccess
452
+ include ::Seahorse::Client::_ResponseSuccess[Types::RetryWorkflowStepResponse]
453
+ def step_group_id: () -> ::String
454
+ def workflow_id: () -> ::String
455
+ def id: () -> ::String
456
+ def status: () -> ("AWAITING_DEPENDENCIES" | "READY" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "PAUSED" | "USER_ATTENTION_REQUIRED")
457
+ end
458
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MigrationHubOrchestrator/Client.html#retry_workflow_step-instance_method
459
+ def retry_workflow_step: (
460
+ workflow_id: ::String,
461
+ step_group_id: ::String,
462
+ id: ::String
463
+ ) -> _RetryWorkflowStepResponseSuccess
464
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RetryWorkflowStepResponseSuccess
465
+
466
+ interface _StartWorkflowResponseSuccess
467
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartMigrationWorkflowResponse]
468
+ def id: () -> ::String
469
+ def arn: () -> ::String
470
+ def status: () -> ("CREATING" | "NOT_STARTED" | "CREATION_FAILED" | "STARTING" | "IN_PROGRESS" | "WORKFLOW_FAILED" | "PAUSED" | "PAUSING" | "PAUSING_FAILED" | "USER_ATTENTION_REQUIRED" | "DELETING" | "DELETION_FAILED" | "DELETED" | "COMPLETED")
471
+ def status_message: () -> ::String
472
+ def last_start_time: () -> ::Time
473
+ end
474
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MigrationHubOrchestrator/Client.html#start_workflow-instance_method
475
+ def start_workflow: (
476
+ id: ::String
477
+ ) -> _StartWorkflowResponseSuccess
478
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartWorkflowResponseSuccess
479
+
480
+ interface _StopWorkflowResponseSuccess
481
+ include ::Seahorse::Client::_ResponseSuccess[Types::StopMigrationWorkflowResponse]
482
+ def id: () -> ::String
483
+ def arn: () -> ::String
484
+ def status: () -> ("CREATING" | "NOT_STARTED" | "CREATION_FAILED" | "STARTING" | "IN_PROGRESS" | "WORKFLOW_FAILED" | "PAUSED" | "PAUSING" | "PAUSING_FAILED" | "USER_ATTENTION_REQUIRED" | "DELETING" | "DELETION_FAILED" | "DELETED" | "COMPLETED")
485
+ def status_message: () -> ::String
486
+ def last_stop_time: () -> ::Time
487
+ end
488
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MigrationHubOrchestrator/Client.html#stop_workflow-instance_method
489
+ def stop_workflow: (
490
+ id: ::String
491
+ ) -> _StopWorkflowResponseSuccess
492
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopWorkflowResponseSuccess
493
+
494
+ interface _TagResourceResponseSuccess
495
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
496
+ end
497
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MigrationHubOrchestrator/Client.html#tag_resource-instance_method
498
+ def tag_resource: (
499
+ resource_arn: ::String,
500
+ tags: Hash[::String, ::String]
501
+ ) -> _TagResourceResponseSuccess
502
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
503
+
504
+ interface _UntagResourceResponseSuccess
505
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
506
+ end
507
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MigrationHubOrchestrator/Client.html#untag_resource-instance_method
508
+ def untag_resource: (
509
+ resource_arn: ::String,
510
+ tag_keys: Array[::String]
511
+ ) -> _UntagResourceResponseSuccess
512
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
513
+
514
+ interface _UpdateWorkflowResponseSuccess
515
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateMigrationWorkflowResponse]
516
+ def id: () -> ::String
517
+ def arn: () -> ::String
518
+ def name: () -> ::String
519
+ def description: () -> ::String
520
+ def template_id: () -> ::String
521
+ def ads_application_configuration_id: () -> ::String
522
+ def workflow_inputs: () -> ::Hash[::String, Types::StepInput]
523
+ def step_targets: () -> ::Array[::String]
524
+ def status: () -> ("CREATING" | "NOT_STARTED" | "CREATION_FAILED" | "STARTING" | "IN_PROGRESS" | "WORKFLOW_FAILED" | "PAUSED" | "PAUSING" | "PAUSING_FAILED" | "USER_ATTENTION_REQUIRED" | "DELETING" | "DELETION_FAILED" | "DELETED" | "COMPLETED")
525
+ def creation_time: () -> ::Time
526
+ def last_modified_time: () -> ::Time
527
+ def tags: () -> ::Hash[::String, ::String]
528
+ end
529
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MigrationHubOrchestrator/Client.html#update_workflow-instance_method
530
+ def update_workflow: (
531
+ id: ::String,
532
+ ?name: ::String,
533
+ ?description: ::String,
534
+ ?input_parameters: Hash[::String, {
535
+ integer_value: ::Integer?,
536
+ string_value: ::String?,
537
+ list_of_strings_value: Array[::String]?,
538
+ map_of_string_value: Hash[::String, ::String]?
539
+ }],
540
+ ?step_targets: Array[::String]
541
+ ) -> _UpdateWorkflowResponseSuccess
542
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateWorkflowResponseSuccess
543
+
544
+ interface _UpdateWorkflowStepResponseSuccess
545
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateWorkflowStepResponse]
546
+ def id: () -> ::String
547
+ def step_group_id: () -> ::String
548
+ def workflow_id: () -> ::String
549
+ def name: () -> ::String
550
+ end
551
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MigrationHubOrchestrator/Client.html#update_workflow_step-instance_method
552
+ def update_workflow_step: (
553
+ id: ::String,
554
+ step_group_id: ::String,
555
+ workflow_id: ::String,
556
+ ?name: ::String,
557
+ ?description: ::String,
558
+ ?step_action_type: ("MANUAL" | "AUTOMATED"),
559
+ ?workflow_step_automation_configuration: {
560
+ script_location_s3_bucket: ::String?,
561
+ script_location_s3_key: {
562
+ linux: ::String?,
563
+ windows: ::String?
564
+ }?,
565
+ command: {
566
+ linux: ::String?,
567
+ windows: ::String?
568
+ }?,
569
+ run_environment: ("AWS" | "ONPREMISE")?,
570
+ target_type: ("SINGLE" | "ALL" | "NONE")?
571
+ },
572
+ ?step_target: Array[::String],
573
+ ?outputs: Array[
574
+ {
575
+ name: ::String?,
576
+ data_type: ("STRING" | "INTEGER" | "STRINGLIST" | "STRINGMAP")?,
577
+ required: bool?,
578
+ value: {
579
+ integer_value: ::Integer?,
580
+ string_value: ::String?,
581
+ list_of_string_value: Array[::String]?
582
+ }?
583
+ },
584
+ ],
585
+ ?previous: Array[::String],
586
+ ?next: Array[::String],
587
+ ?status: ("AWAITING_DEPENDENCIES" | "READY" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "PAUSED" | "USER_ATTENTION_REQUIRED")
588
+ ) -> _UpdateWorkflowStepResponseSuccess
589
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateWorkflowStepResponseSuccess
590
+
591
+ interface _UpdateWorkflowStepGroupResponseSuccess
592
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateWorkflowStepGroupResponse]
593
+ def workflow_id: () -> ::String
594
+ def name: () -> ::String
595
+ def id: () -> ::String
596
+ def description: () -> ::String
597
+ def tools: () -> ::Array[Types::Tool]
598
+ def next: () -> ::Array[::String]
599
+ def previous: () -> ::Array[::String]
600
+ def last_modified_time: () -> ::Time
601
+ end
602
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MigrationHubOrchestrator/Client.html#update_workflow_step_group-instance_method
603
+ def update_workflow_step_group: (
604
+ workflow_id: ::String,
605
+ id: ::String,
606
+ ?name: ::String,
607
+ ?description: ::String,
608
+ ?next: Array[::String],
609
+ ?previous: Array[::String]
610
+ ) -> _UpdateWorkflowStepGroupResponseSuccess
611
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateWorkflowStepGroupResponseSuccess
612
+ end
613
+ end
614
+ end
615
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,31 @@
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 MigrationHubOrchestrator
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 InternalServerException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ end
20
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
21
+ def message: () -> ::String
22
+ end
23
+ class ThrottlingException < ::Aws::Errors::ServiceError
24
+ def message: () -> ::String
25
+ end
26
+ class ValidationException < ::Aws::Errors::ServiceError
27
+ def message: () -> ::String
28
+ end
29
+ end
30
+ end
31
+ end