aws-sdk-sms 1.52.0 → 1.53.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.
data/sig/client.rbs ADDED
@@ -0,0 +1,671 @@
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 SMS
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SMS/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
+ ?simple_json: bool,
52
+ ?stub_responses: untyped,
53
+ ?token_provider: untyped,
54
+ ?use_dualstack_endpoint: bool,
55
+ ?use_fips_endpoint: bool,
56
+ ?validate_params: bool,
57
+ ?endpoint_provider: untyped,
58
+ ?http_proxy: String,
59
+ ?http_open_timeout: (Float | Integer),
60
+ ?http_read_timeout: (Float | Integer),
61
+ ?http_idle_timeout: (Float | Integer),
62
+ ?http_continue_timeout: (Float | Integer),
63
+ ?ssl_timeout: (Float | Integer | nil),
64
+ ?http_wire_trace: bool,
65
+ ?ssl_verify_peer: bool,
66
+ ?ssl_ca_bundle: String,
67
+ ?ssl_ca_directory: String,
68
+ ?ssl_ca_store: String,
69
+ ?on_chunk_received: Proc,
70
+ ?on_chunk_sent: Proc,
71
+ ?raise_response_errors: bool
72
+ ) -> instance
73
+ | (?Hash[Symbol, untyped]) -> instance
74
+
75
+
76
+ interface _CreateAppResponseSuccess
77
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateAppResponse]
78
+ def app_summary: () -> Types::AppSummary
79
+ def server_groups: () -> ::Array[Types::ServerGroup]
80
+ def tags: () -> ::Array[Types::Tag]
81
+ end
82
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SMS/Client.html#create_app-instance_method
83
+ def create_app: (
84
+ ?name: ::String,
85
+ ?description: ::String,
86
+ ?role_name: ::String,
87
+ ?client_token: ::String,
88
+ ?server_groups: Array[
89
+ {
90
+ server_group_id: ::String?,
91
+ name: ::String?,
92
+ server_list: Array[
93
+ {
94
+ server_id: ::String?,
95
+ server_type: ("VIRTUAL_MACHINE")?,
96
+ vm_server: {
97
+ vm_server_address: {
98
+ vm_manager_id: ::String?,
99
+ vm_id: ::String?
100
+ }?,
101
+ vm_name: ::String?,
102
+ vm_manager_name: ::String?,
103
+ vm_manager_type: ("VSPHERE" | "SCVMM" | "HYPERV-MANAGER")?,
104
+ vm_path: ::String?
105
+ }?,
106
+ replication_job_id: ::String?,
107
+ replication_job_terminated: bool?
108
+ },
109
+ ]?
110
+ },
111
+ ],
112
+ ?tags: Array[
113
+ {
114
+ key: ::String?,
115
+ value: ::String?
116
+ },
117
+ ]
118
+ ) -> _CreateAppResponseSuccess
119
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAppResponseSuccess
120
+
121
+ interface _CreateReplicationJobResponseSuccess
122
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateReplicationJobResponse]
123
+ def replication_job_id: () -> ::String
124
+ end
125
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SMS/Client.html#create_replication_job-instance_method
126
+ def create_replication_job: (
127
+ server_id: ::String,
128
+ seed_replication_time: ::Time,
129
+ ?frequency: ::Integer,
130
+ ?run_once: bool,
131
+ ?license_type: ("AWS" | "BYOL"),
132
+ ?role_name: ::String,
133
+ ?description: ::String,
134
+ ?number_of_recent_amis_to_keep: ::Integer,
135
+ ?encrypted: bool,
136
+ ?kms_key_id: ::String
137
+ ) -> _CreateReplicationJobResponseSuccess
138
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateReplicationJobResponseSuccess
139
+
140
+ interface _DeleteAppResponseSuccess
141
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAppResponse]
142
+ end
143
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SMS/Client.html#delete_app-instance_method
144
+ def delete_app: (
145
+ ?app_id: ::String,
146
+ ?force_stop_app_replication: bool,
147
+ ?force_terminate_app: bool
148
+ ) -> _DeleteAppResponseSuccess
149
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAppResponseSuccess
150
+
151
+ interface _DeleteAppLaunchConfigurationResponseSuccess
152
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAppLaunchConfigurationResponse]
153
+ end
154
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SMS/Client.html#delete_app_launch_configuration-instance_method
155
+ def delete_app_launch_configuration: (
156
+ ?app_id: ::String
157
+ ) -> _DeleteAppLaunchConfigurationResponseSuccess
158
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAppLaunchConfigurationResponseSuccess
159
+
160
+ interface _DeleteAppReplicationConfigurationResponseSuccess
161
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAppReplicationConfigurationResponse]
162
+ end
163
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SMS/Client.html#delete_app_replication_configuration-instance_method
164
+ def delete_app_replication_configuration: (
165
+ ?app_id: ::String
166
+ ) -> _DeleteAppReplicationConfigurationResponseSuccess
167
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAppReplicationConfigurationResponseSuccess
168
+
169
+ interface _DeleteAppValidationConfigurationResponseSuccess
170
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAppValidationConfigurationResponse]
171
+ end
172
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SMS/Client.html#delete_app_validation_configuration-instance_method
173
+ def delete_app_validation_configuration: (
174
+ app_id: ::String
175
+ ) -> _DeleteAppValidationConfigurationResponseSuccess
176
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAppValidationConfigurationResponseSuccess
177
+
178
+ interface _DeleteReplicationJobResponseSuccess
179
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteReplicationJobResponse]
180
+ end
181
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SMS/Client.html#delete_replication_job-instance_method
182
+ def delete_replication_job: (
183
+ replication_job_id: ::String
184
+ ) -> _DeleteReplicationJobResponseSuccess
185
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteReplicationJobResponseSuccess
186
+
187
+ interface _DeleteServerCatalogResponseSuccess
188
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteServerCatalogResponse]
189
+ end
190
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SMS/Client.html#delete_server_catalog-instance_method
191
+ def delete_server_catalog: (
192
+ ) -> _DeleteServerCatalogResponseSuccess
193
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteServerCatalogResponseSuccess
194
+
195
+ interface _DisassociateConnectorResponseSuccess
196
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateConnectorResponse]
197
+ end
198
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SMS/Client.html#disassociate_connector-instance_method
199
+ def disassociate_connector: (
200
+ connector_id: ::String
201
+ ) -> _DisassociateConnectorResponseSuccess
202
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateConnectorResponseSuccess
203
+
204
+ interface _GenerateChangeSetResponseSuccess
205
+ include ::Seahorse::Client::_ResponseSuccess[Types::GenerateChangeSetResponse]
206
+ def s3_location: () -> Types::S3Location
207
+ end
208
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SMS/Client.html#generate_change_set-instance_method
209
+ def generate_change_set: (
210
+ ?app_id: ::String,
211
+ ?changeset_format: ("JSON" | "YAML")
212
+ ) -> _GenerateChangeSetResponseSuccess
213
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GenerateChangeSetResponseSuccess
214
+
215
+ interface _GenerateTemplateResponseSuccess
216
+ include ::Seahorse::Client::_ResponseSuccess[Types::GenerateTemplateResponse]
217
+ def s3_location: () -> Types::S3Location
218
+ end
219
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SMS/Client.html#generate_template-instance_method
220
+ def generate_template: (
221
+ ?app_id: ::String,
222
+ ?template_format: ("JSON" | "YAML")
223
+ ) -> _GenerateTemplateResponseSuccess
224
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GenerateTemplateResponseSuccess
225
+
226
+ interface _GetAppResponseSuccess
227
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAppResponse]
228
+ def app_summary: () -> Types::AppSummary
229
+ def server_groups: () -> ::Array[Types::ServerGroup]
230
+ def tags: () -> ::Array[Types::Tag]
231
+ end
232
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SMS/Client.html#get_app-instance_method
233
+ def get_app: (
234
+ ?app_id: ::String
235
+ ) -> _GetAppResponseSuccess
236
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAppResponseSuccess
237
+
238
+ interface _GetAppLaunchConfigurationResponseSuccess
239
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAppLaunchConfigurationResponse]
240
+ def app_id: () -> ::String
241
+ def role_name: () -> ::String
242
+ def auto_launch: () -> bool
243
+ def server_group_launch_configurations: () -> ::Array[Types::ServerGroupLaunchConfiguration]
244
+ end
245
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SMS/Client.html#get_app_launch_configuration-instance_method
246
+ def get_app_launch_configuration: (
247
+ ?app_id: ::String
248
+ ) -> _GetAppLaunchConfigurationResponseSuccess
249
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAppLaunchConfigurationResponseSuccess
250
+
251
+ interface _GetAppReplicationConfigurationResponseSuccess
252
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAppReplicationConfigurationResponse]
253
+ def server_group_replication_configurations: () -> ::Array[Types::ServerGroupReplicationConfiguration]
254
+ end
255
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SMS/Client.html#get_app_replication_configuration-instance_method
256
+ def get_app_replication_configuration: (
257
+ ?app_id: ::String
258
+ ) -> _GetAppReplicationConfigurationResponseSuccess
259
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAppReplicationConfigurationResponseSuccess
260
+
261
+ interface _GetAppValidationConfigurationResponseSuccess
262
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAppValidationConfigurationResponse]
263
+ def app_validation_configurations: () -> ::Array[Types::AppValidationConfiguration]
264
+ def server_group_validation_configurations: () -> ::Array[Types::ServerGroupValidationConfiguration]
265
+ end
266
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SMS/Client.html#get_app_validation_configuration-instance_method
267
+ def get_app_validation_configuration: (
268
+ app_id: ::String
269
+ ) -> _GetAppValidationConfigurationResponseSuccess
270
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAppValidationConfigurationResponseSuccess
271
+
272
+ interface _GetAppValidationOutputResponseSuccess
273
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAppValidationOutputResponse]
274
+ def validation_output_list: () -> ::Array[Types::ValidationOutput]
275
+ end
276
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SMS/Client.html#get_app_validation_output-instance_method
277
+ def get_app_validation_output: (
278
+ app_id: ::String
279
+ ) -> _GetAppValidationOutputResponseSuccess
280
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAppValidationOutputResponseSuccess
281
+
282
+ interface _GetConnectorsResponseSuccess
283
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetConnectorsResponse]
284
+ def connector_list: () -> ::Array[Types::Connector]
285
+ def next_token: () -> ::String
286
+ end
287
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SMS/Client.html#get_connectors-instance_method
288
+ def get_connectors: (
289
+ ?next_token: ::String,
290
+ ?max_results: ::Integer
291
+ ) -> _GetConnectorsResponseSuccess
292
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetConnectorsResponseSuccess
293
+
294
+ interface _GetReplicationJobsResponseSuccess
295
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetReplicationJobsResponse]
296
+ def replication_job_list: () -> ::Array[Types::ReplicationJob]
297
+ def next_token: () -> ::String
298
+ end
299
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SMS/Client.html#get_replication_jobs-instance_method
300
+ def get_replication_jobs: (
301
+ ?replication_job_id: ::String,
302
+ ?next_token: ::String,
303
+ ?max_results: ::Integer
304
+ ) -> _GetReplicationJobsResponseSuccess
305
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetReplicationJobsResponseSuccess
306
+
307
+ interface _GetReplicationRunsResponseSuccess
308
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetReplicationRunsResponse]
309
+ def replication_job: () -> Types::ReplicationJob
310
+ def replication_run_list: () -> ::Array[Types::ReplicationRun]
311
+ def next_token: () -> ::String
312
+ end
313
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SMS/Client.html#get_replication_runs-instance_method
314
+ def get_replication_runs: (
315
+ replication_job_id: ::String,
316
+ ?next_token: ::String,
317
+ ?max_results: ::Integer
318
+ ) -> _GetReplicationRunsResponseSuccess
319
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetReplicationRunsResponseSuccess
320
+
321
+ interface _GetServersResponseSuccess
322
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetServersResponse]
323
+ def last_modified_on: () -> ::Time
324
+ def server_catalog_status: () -> ("NOT_IMPORTED" | "IMPORTING" | "AVAILABLE" | "DELETED" | "EXPIRED")
325
+ def server_list: () -> ::Array[Types::Server]
326
+ def next_token: () -> ::String
327
+ end
328
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SMS/Client.html#get_servers-instance_method
329
+ def get_servers: (
330
+ ?next_token: ::String,
331
+ ?max_results: ::Integer,
332
+ ?vm_server_address_list: Array[
333
+ {
334
+ vm_manager_id: ::String?,
335
+ vm_id: ::String?
336
+ },
337
+ ]
338
+ ) -> _GetServersResponseSuccess
339
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetServersResponseSuccess
340
+
341
+ interface _ImportAppCatalogResponseSuccess
342
+ include ::Seahorse::Client::_ResponseSuccess[Types::ImportAppCatalogResponse]
343
+ end
344
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SMS/Client.html#import_app_catalog-instance_method
345
+ def import_app_catalog: (
346
+ ?role_name: ::String
347
+ ) -> _ImportAppCatalogResponseSuccess
348
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ImportAppCatalogResponseSuccess
349
+
350
+ interface _ImportServerCatalogResponseSuccess
351
+ include ::Seahorse::Client::_ResponseSuccess[Types::ImportServerCatalogResponse]
352
+ end
353
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SMS/Client.html#import_server_catalog-instance_method
354
+ def import_server_catalog: (
355
+ ) -> _ImportServerCatalogResponseSuccess
356
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ImportServerCatalogResponseSuccess
357
+
358
+ interface _LaunchAppResponseSuccess
359
+ include ::Seahorse::Client::_ResponseSuccess[Types::LaunchAppResponse]
360
+ end
361
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SMS/Client.html#launch_app-instance_method
362
+ def launch_app: (
363
+ ?app_id: ::String
364
+ ) -> _LaunchAppResponseSuccess
365
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _LaunchAppResponseSuccess
366
+
367
+ interface _ListAppsResponseSuccess
368
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAppsResponse]
369
+ def apps: () -> ::Array[Types::AppSummary]
370
+ def next_token: () -> ::String
371
+ end
372
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SMS/Client.html#list_apps-instance_method
373
+ def list_apps: (
374
+ ?app_ids: Array[::String],
375
+ ?next_token: ::String,
376
+ ?max_results: ::Integer
377
+ ) -> _ListAppsResponseSuccess
378
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAppsResponseSuccess
379
+
380
+ interface _NotifyAppValidationOutputResponseSuccess
381
+ include ::Seahorse::Client::_ResponseSuccess[Types::NotifyAppValidationOutputResponse]
382
+ end
383
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SMS/Client.html#notify_app_validation_output-instance_method
384
+ def notify_app_validation_output: (
385
+ app_id: ::String,
386
+ ?notification_context: {
387
+ validation_id: ::String?,
388
+ status: ("READY_FOR_VALIDATION" | "PENDING" | "IN_PROGRESS" | "SUCCEEDED" | "FAILED")?,
389
+ status_message: ::String?
390
+ }
391
+ ) -> _NotifyAppValidationOutputResponseSuccess
392
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _NotifyAppValidationOutputResponseSuccess
393
+
394
+ interface _PutAppLaunchConfigurationResponseSuccess
395
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutAppLaunchConfigurationResponse]
396
+ end
397
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SMS/Client.html#put_app_launch_configuration-instance_method
398
+ def put_app_launch_configuration: (
399
+ ?app_id: ::String,
400
+ ?role_name: ::String,
401
+ ?auto_launch: bool,
402
+ ?server_group_launch_configurations: Array[
403
+ {
404
+ server_group_id: ::String?,
405
+ launch_order: ::Integer?,
406
+ server_launch_configurations: Array[
407
+ {
408
+ server: {
409
+ server_id: ::String?,
410
+ server_type: ("VIRTUAL_MACHINE")?,
411
+ vm_server: {
412
+ vm_server_address: {
413
+ vm_manager_id: ::String?,
414
+ vm_id: ::String?
415
+ }?,
416
+ vm_name: ::String?,
417
+ vm_manager_name: ::String?,
418
+ vm_manager_type: ("VSPHERE" | "SCVMM" | "HYPERV-MANAGER")?,
419
+ vm_path: ::String?
420
+ }?,
421
+ replication_job_id: ::String?,
422
+ replication_job_terminated: bool?
423
+ }?,
424
+ logical_id: ::String?,
425
+ vpc: ::String?,
426
+ subnet: ::String?,
427
+ security_group: ::String?,
428
+ ec2_key_name: ::String?,
429
+ user_data: {
430
+ s3_location: {
431
+ bucket: ::String?,
432
+ key: ::String?
433
+ }?
434
+ }?,
435
+ instance_type: ::String?,
436
+ associate_public_ip_address: bool?,
437
+ iam_instance_profile_name: ::String?,
438
+ configure_script: {
439
+ bucket: ::String?,
440
+ key: ::String?
441
+ }?,
442
+ configure_script_type: ("SHELL_SCRIPT" | "POWERSHELL_SCRIPT")?
443
+ },
444
+ ]?
445
+ },
446
+ ]
447
+ ) -> _PutAppLaunchConfigurationResponseSuccess
448
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAppLaunchConfigurationResponseSuccess
449
+
450
+ interface _PutAppReplicationConfigurationResponseSuccess
451
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutAppReplicationConfigurationResponse]
452
+ end
453
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SMS/Client.html#put_app_replication_configuration-instance_method
454
+ def put_app_replication_configuration: (
455
+ ?app_id: ::String,
456
+ ?server_group_replication_configurations: Array[
457
+ {
458
+ server_group_id: ::String?,
459
+ server_replication_configurations: Array[
460
+ {
461
+ server: {
462
+ server_id: ::String?,
463
+ server_type: ("VIRTUAL_MACHINE")?,
464
+ vm_server: {
465
+ vm_server_address: {
466
+ vm_manager_id: ::String?,
467
+ vm_id: ::String?
468
+ }?,
469
+ vm_name: ::String?,
470
+ vm_manager_name: ::String?,
471
+ vm_manager_type: ("VSPHERE" | "SCVMM" | "HYPERV-MANAGER")?,
472
+ vm_path: ::String?
473
+ }?,
474
+ replication_job_id: ::String?,
475
+ replication_job_terminated: bool?
476
+ }?,
477
+ server_replication_parameters: {
478
+ seed_time: ::Time?,
479
+ frequency: ::Integer?,
480
+ run_once: bool?,
481
+ license_type: ("AWS" | "BYOL")?,
482
+ number_of_recent_amis_to_keep: ::Integer?,
483
+ encrypted: bool?,
484
+ kms_key_id: ::String?
485
+ }?
486
+ },
487
+ ]?
488
+ },
489
+ ]
490
+ ) -> _PutAppReplicationConfigurationResponseSuccess
491
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAppReplicationConfigurationResponseSuccess
492
+
493
+ interface _PutAppValidationConfigurationResponseSuccess
494
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutAppValidationConfigurationResponse]
495
+ end
496
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SMS/Client.html#put_app_validation_configuration-instance_method
497
+ def put_app_validation_configuration: (
498
+ app_id: ::String,
499
+ ?app_validation_configurations: Array[
500
+ {
501
+ validation_id: ::String?,
502
+ name: ::String?,
503
+ app_validation_strategy: ("SSM")?,
504
+ ssm_validation_parameters: {
505
+ source: {
506
+ s3_location: {
507
+ bucket: ::String?,
508
+ key: ::String?
509
+ }?
510
+ }?,
511
+ instance_id: ::String?,
512
+ script_type: ("SHELL_SCRIPT" | "POWERSHELL_SCRIPT")?,
513
+ command: ::String?,
514
+ execution_timeout_seconds: ::Integer?,
515
+ output_s3_bucket_name: ::String?
516
+ }?
517
+ },
518
+ ],
519
+ ?server_group_validation_configurations: Array[
520
+ {
521
+ server_group_id: ::String?,
522
+ server_validation_configurations: Array[
523
+ {
524
+ server: {
525
+ server_id: ::String?,
526
+ server_type: ("VIRTUAL_MACHINE")?,
527
+ vm_server: {
528
+ vm_server_address: {
529
+ vm_manager_id: ::String?,
530
+ vm_id: ::String?
531
+ }?,
532
+ vm_name: ::String?,
533
+ vm_manager_name: ::String?,
534
+ vm_manager_type: ("VSPHERE" | "SCVMM" | "HYPERV-MANAGER")?,
535
+ vm_path: ::String?
536
+ }?,
537
+ replication_job_id: ::String?,
538
+ replication_job_terminated: bool?
539
+ }?,
540
+ validation_id: ::String?,
541
+ name: ::String?,
542
+ server_validation_strategy: ("USERDATA")?,
543
+ user_data_validation_parameters: {
544
+ source: {
545
+ s3_location: {
546
+ bucket: ::String?,
547
+ key: ::String?
548
+ }?
549
+ }?,
550
+ script_type: ("SHELL_SCRIPT" | "POWERSHELL_SCRIPT")?
551
+ }?
552
+ },
553
+ ]?
554
+ },
555
+ ]
556
+ ) -> _PutAppValidationConfigurationResponseSuccess
557
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAppValidationConfigurationResponseSuccess
558
+
559
+ interface _StartAppReplicationResponseSuccess
560
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartAppReplicationResponse]
561
+ end
562
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SMS/Client.html#start_app_replication-instance_method
563
+ def start_app_replication: (
564
+ ?app_id: ::String
565
+ ) -> _StartAppReplicationResponseSuccess
566
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartAppReplicationResponseSuccess
567
+
568
+ interface _StartOnDemandAppReplicationResponseSuccess
569
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartOnDemandAppReplicationResponse]
570
+ end
571
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SMS/Client.html#start_on_demand_app_replication-instance_method
572
+ def start_on_demand_app_replication: (
573
+ app_id: ::String,
574
+ ?description: ::String
575
+ ) -> _StartOnDemandAppReplicationResponseSuccess
576
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartOnDemandAppReplicationResponseSuccess
577
+
578
+ interface _StartOnDemandReplicationRunResponseSuccess
579
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartOnDemandReplicationRunResponse]
580
+ def replication_run_id: () -> ::String
581
+ end
582
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SMS/Client.html#start_on_demand_replication_run-instance_method
583
+ def start_on_demand_replication_run: (
584
+ replication_job_id: ::String,
585
+ ?description: ::String
586
+ ) -> _StartOnDemandReplicationRunResponseSuccess
587
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartOnDemandReplicationRunResponseSuccess
588
+
589
+ interface _StopAppReplicationResponseSuccess
590
+ include ::Seahorse::Client::_ResponseSuccess[Types::StopAppReplicationResponse]
591
+ end
592
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SMS/Client.html#stop_app_replication-instance_method
593
+ def stop_app_replication: (
594
+ ?app_id: ::String
595
+ ) -> _StopAppReplicationResponseSuccess
596
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopAppReplicationResponseSuccess
597
+
598
+ interface _TerminateAppResponseSuccess
599
+ include ::Seahorse::Client::_ResponseSuccess[Types::TerminateAppResponse]
600
+ end
601
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SMS/Client.html#terminate_app-instance_method
602
+ def terminate_app: (
603
+ ?app_id: ::String
604
+ ) -> _TerminateAppResponseSuccess
605
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TerminateAppResponseSuccess
606
+
607
+ interface _UpdateAppResponseSuccess
608
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAppResponse]
609
+ def app_summary: () -> Types::AppSummary
610
+ def server_groups: () -> ::Array[Types::ServerGroup]
611
+ def tags: () -> ::Array[Types::Tag]
612
+ end
613
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SMS/Client.html#update_app-instance_method
614
+ def update_app: (
615
+ ?app_id: ::String,
616
+ ?name: ::String,
617
+ ?description: ::String,
618
+ ?role_name: ::String,
619
+ ?server_groups: Array[
620
+ {
621
+ server_group_id: ::String?,
622
+ name: ::String?,
623
+ server_list: Array[
624
+ {
625
+ server_id: ::String?,
626
+ server_type: ("VIRTUAL_MACHINE")?,
627
+ vm_server: {
628
+ vm_server_address: {
629
+ vm_manager_id: ::String?,
630
+ vm_id: ::String?
631
+ }?,
632
+ vm_name: ::String?,
633
+ vm_manager_name: ::String?,
634
+ vm_manager_type: ("VSPHERE" | "SCVMM" | "HYPERV-MANAGER")?,
635
+ vm_path: ::String?
636
+ }?,
637
+ replication_job_id: ::String?,
638
+ replication_job_terminated: bool?
639
+ },
640
+ ]?
641
+ },
642
+ ],
643
+ ?tags: Array[
644
+ {
645
+ key: ::String?,
646
+ value: ::String?
647
+ },
648
+ ]
649
+ ) -> _UpdateAppResponseSuccess
650
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAppResponseSuccess
651
+
652
+ interface _UpdateReplicationJobResponseSuccess
653
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateReplicationJobResponse]
654
+ end
655
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SMS/Client.html#update_replication_job-instance_method
656
+ def update_replication_job: (
657
+ replication_job_id: ::String,
658
+ ?frequency: ::Integer,
659
+ ?next_replication_run_start_time: ::Time,
660
+ ?license_type: ("AWS" | "BYOL"),
661
+ ?role_name: ::String,
662
+ ?description: ::String,
663
+ ?number_of_recent_amis_to_keep: ::Integer,
664
+ ?encrypted: bool,
665
+ ?kms_key_id: ::String
666
+ ) -> _UpdateReplicationJobResponseSuccess
667
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateReplicationJobResponseSuccess
668
+ end
669
+ end
670
+ end
671
+