aws-sdk-sms 1.21.1 → 1.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-sms.rb +5 -2
- data/lib/aws-sdk-sms/client.rb +462 -109
- data/lib/aws-sdk-sms/client_api.rb +262 -3
- data/lib/aws-sdk-sms/customizations.rb +1 -0
- data/lib/aws-sdk-sms/errors.rb +18 -0
- data/lib/aws-sdk-sms/resource.rb +2 -0
- data/lib/aws-sdk-sms/types.rb +1019 -188
- metadata +2 -2
data/lib/aws-sdk-sms/errors.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -25,6 +27,7 @@ module Aws::SMS
|
|
25
27
|
# See {Seahorse::Client::RequestContext} for more information.
|
26
28
|
#
|
27
29
|
# ## Error Classes
|
30
|
+
# * {DryRunOperationException}
|
28
31
|
# * {InternalError}
|
29
32
|
# * {InvalidParameterException}
|
30
33
|
# * {MissingRequiredParameterException}
|
@@ -43,6 +46,21 @@ module Aws::SMS
|
|
43
46
|
|
44
47
|
extend Aws::Errors::DynamicErrors
|
45
48
|
|
49
|
+
class DryRunOperationException < ServiceError
|
50
|
+
|
51
|
+
# @param [Seahorse::Client::RequestContext] context
|
52
|
+
# @param [String] message
|
53
|
+
# @param [Aws::SMS::Types::DryRunOperationException] data
|
54
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
55
|
+
super(context, message, data)
|
56
|
+
end
|
57
|
+
|
58
|
+
# @return [String]
|
59
|
+
def message
|
60
|
+
@message || @data[:message]
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
46
64
|
class InternalError < ServiceError
|
47
65
|
|
48
66
|
# @param [Seahorse::Client::RequestContext] context
|
data/lib/aws-sdk-sms/resource.rb
CHANGED
data/lib/aws-sdk-sms/types.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -11,15 +13,19 @@ module Aws::SMS
|
|
11
13
|
# Information about the application.
|
12
14
|
#
|
13
15
|
# @!attribute [rw] app_id
|
14
|
-
#
|
16
|
+
# The unique ID of the application.
|
17
|
+
# @return [String]
|
18
|
+
#
|
19
|
+
# @!attribute [rw] imported_app_id
|
20
|
+
# The ID of the application.
|
15
21
|
# @return [String]
|
16
22
|
#
|
17
23
|
# @!attribute [rw] name
|
18
|
-
#
|
24
|
+
# The name of the application.
|
19
25
|
# @return [String]
|
20
26
|
#
|
21
27
|
# @!attribute [rw] description
|
22
|
-
#
|
28
|
+
# The description of the application.
|
23
29
|
# @return [String]
|
24
30
|
#
|
25
31
|
# @!attribute [rw] status
|
@@ -30,8 +36,12 @@ module Aws::SMS
|
|
30
36
|
# A message related to the status of the application
|
31
37
|
# @return [String]
|
32
38
|
#
|
39
|
+
# @!attribute [rw] replication_configuration_status
|
40
|
+
# Status of the replication configuration.
|
41
|
+
# @return [String]
|
42
|
+
#
|
33
43
|
# @!attribute [rw] replication_status
|
34
|
-
#
|
44
|
+
# The replication status of the application.
|
35
45
|
# @return [String]
|
36
46
|
#
|
37
47
|
# @!attribute [rw] replication_status_message
|
@@ -39,11 +49,16 @@ module Aws::SMS
|
|
39
49
|
# @return [String]
|
40
50
|
#
|
41
51
|
# @!attribute [rw] latest_replication_time
|
42
|
-
#
|
52
|
+
# The timestamp of the application's most recent successful
|
53
|
+
# replication.
|
43
54
|
# @return [Time]
|
44
55
|
#
|
56
|
+
# @!attribute [rw] launch_configuration_status
|
57
|
+
# Status of the launch configuration.
|
58
|
+
# @return [String]
|
59
|
+
#
|
45
60
|
# @!attribute [rw] launch_status
|
46
|
-
#
|
61
|
+
# The launch status of the application.
|
47
62
|
# @return [String]
|
48
63
|
#
|
49
64
|
# @!attribute [rw] launch_status_message
|
@@ -55,36 +70,40 @@ module Aws::SMS
|
|
55
70
|
# @return [Types::LaunchDetails]
|
56
71
|
#
|
57
72
|
# @!attribute [rw] creation_time
|
58
|
-
#
|
73
|
+
# The creation time of the application.
|
59
74
|
# @return [Time]
|
60
75
|
#
|
61
76
|
# @!attribute [rw] last_modified
|
62
|
-
#
|
77
|
+
# The last modified time of the application.
|
63
78
|
# @return [Time]
|
64
79
|
#
|
65
80
|
# @!attribute [rw] role_name
|
66
|
-
#
|
81
|
+
# The name of the service role in the customer's account used by AWS
|
82
|
+
# SMS.
|
67
83
|
# @return [String]
|
68
84
|
#
|
69
85
|
# @!attribute [rw] total_server_groups
|
70
|
-
#
|
86
|
+
# The number of server groups present in the application.
|
71
87
|
# @return [Integer]
|
72
88
|
#
|
73
89
|
# @!attribute [rw] total_servers
|
74
|
-
#
|
90
|
+
# The number of servers present in the application.
|
75
91
|
# @return [Integer]
|
76
92
|
#
|
77
93
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/AppSummary AWS API Documentation
|
78
94
|
#
|
79
95
|
class AppSummary < Struct.new(
|
80
96
|
:app_id,
|
97
|
+
:imported_app_id,
|
81
98
|
:name,
|
82
99
|
:description,
|
83
100
|
:status,
|
84
101
|
:status_message,
|
102
|
+
:replication_configuration_status,
|
85
103
|
:replication_status,
|
86
104
|
:replication_status_message,
|
87
105
|
:latest_replication_time,
|
106
|
+
:launch_configuration_status,
|
88
107
|
:launch_status,
|
89
108
|
:launch_status_message,
|
90
109
|
:launch_details,
|
@@ -93,13 +112,79 @@ module Aws::SMS
|
|
93
112
|
:role_name,
|
94
113
|
:total_server_groups,
|
95
114
|
:total_servers)
|
115
|
+
SENSITIVE = []
|
116
|
+
include Aws::Structure
|
117
|
+
end
|
118
|
+
|
119
|
+
# Configuration for validating an application.
|
120
|
+
#
|
121
|
+
# @note When making an API call, you may pass AppValidationConfiguration
|
122
|
+
# data as a hash:
|
123
|
+
#
|
124
|
+
# {
|
125
|
+
# validation_id: "ValidationId",
|
126
|
+
# name: "NonEmptyStringWithMaxLen255",
|
127
|
+
# app_validation_strategy: "SSM", # accepts SSM
|
128
|
+
# ssm_validation_parameters: {
|
129
|
+
# source: {
|
130
|
+
# s3_location: {
|
131
|
+
# bucket: "S3BucketName",
|
132
|
+
# key: "S3KeyName",
|
133
|
+
# },
|
134
|
+
# },
|
135
|
+
# instance_id: "InstanceId",
|
136
|
+
# script_type: "SHELL_SCRIPT", # accepts SHELL_SCRIPT, POWERSHELL_SCRIPT
|
137
|
+
# command: "Command",
|
138
|
+
# execution_timeout_seconds: 1,
|
139
|
+
# output_s3_bucket_name: "BucketName",
|
140
|
+
# },
|
141
|
+
# }
|
142
|
+
#
|
143
|
+
# @!attribute [rw] validation_id
|
144
|
+
# The ID of the validation.
|
145
|
+
# @return [String]
|
146
|
+
#
|
147
|
+
# @!attribute [rw] name
|
148
|
+
# The name of the configuration.
|
149
|
+
# @return [String]
|
150
|
+
#
|
151
|
+
# @!attribute [rw] app_validation_strategy
|
152
|
+
# The validation strategy.
|
153
|
+
# @return [String]
|
154
|
+
#
|
155
|
+
# @!attribute [rw] ssm_validation_parameters
|
156
|
+
# The validation parameters.
|
157
|
+
# @return [Types::SSMValidationParameters]
|
158
|
+
#
|
159
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/AppValidationConfiguration AWS API Documentation
|
160
|
+
#
|
161
|
+
class AppValidationConfiguration < Struct.new(
|
162
|
+
:validation_id,
|
163
|
+
:name,
|
164
|
+
:app_validation_strategy,
|
165
|
+
:ssm_validation_parameters)
|
166
|
+
SENSITIVE = []
|
167
|
+
include Aws::Structure
|
168
|
+
end
|
169
|
+
|
170
|
+
# Output from validating an application.
|
171
|
+
#
|
172
|
+
# @!attribute [rw] ssm_output
|
173
|
+
# Output from using SSM to validate the application.
|
174
|
+
# @return [Types::SSMOutput]
|
175
|
+
#
|
176
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/AppValidationOutput AWS API Documentation
|
177
|
+
#
|
178
|
+
class AppValidationOutput < Struct.new(
|
179
|
+
:ssm_output)
|
180
|
+
SENSITIVE = []
|
96
181
|
include Aws::Structure
|
97
182
|
end
|
98
183
|
|
99
184
|
# Represents a connector.
|
100
185
|
#
|
101
186
|
# @!attribute [rw] connector_id
|
102
|
-
# The
|
187
|
+
# The ID of the connector.
|
103
188
|
# @return [String]
|
104
189
|
#
|
105
190
|
# @!attribute [rw] version
|
@@ -123,7 +208,7 @@ module Aws::SMS
|
|
123
208
|
# @return [String]
|
124
209
|
#
|
125
210
|
# @!attribute [rw] vm_manager_id
|
126
|
-
# The
|
211
|
+
# The ID of the VM manager.
|
127
212
|
# @return [String]
|
128
213
|
#
|
129
214
|
# @!attribute [rw] ip_address
|
@@ -151,6 +236,7 @@ module Aws::SMS
|
|
151
236
|
:ip_address,
|
152
237
|
:mac_address,
|
153
238
|
:associated_on)
|
239
|
+
SENSITIVE = []
|
154
240
|
include Aws::Structure
|
155
241
|
end
|
156
242
|
|
@@ -195,28 +281,29 @@ module Aws::SMS
|
|
195
281
|
# }
|
196
282
|
#
|
197
283
|
# @!attribute [rw] name
|
198
|
-
#
|
284
|
+
# The name of the new application.
|
199
285
|
# @return [String]
|
200
286
|
#
|
201
287
|
# @!attribute [rw] description
|
202
|
-
#
|
288
|
+
# The description of the new application
|
203
289
|
# @return [String]
|
204
290
|
#
|
205
291
|
# @!attribute [rw] role_name
|
206
|
-
#
|
292
|
+
# The name of the service role in the customer's account to be used
|
293
|
+
# by AWS SMS.
|
207
294
|
# @return [String]
|
208
295
|
#
|
209
296
|
# @!attribute [rw] client_token
|
210
|
-
# A unique, case-sensitive identifier you provide to ensure
|
297
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
211
298
|
# idempotency of application creation.
|
212
299
|
# @return [String]
|
213
300
|
#
|
214
301
|
# @!attribute [rw] server_groups
|
215
|
-
#
|
302
|
+
# The server groups to include in the application.
|
216
303
|
# @return [Array<Types::ServerGroup>]
|
217
304
|
#
|
218
305
|
# @!attribute [rw] tags
|
219
|
-
#
|
306
|
+
# The tags to be associated with the application.
|
220
307
|
# @return [Array<Types::Tag>]
|
221
308
|
#
|
222
309
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/CreateAppRequest AWS API Documentation
|
@@ -228,19 +315,20 @@ module Aws::SMS
|
|
228
315
|
:client_token,
|
229
316
|
:server_groups,
|
230
317
|
:tags)
|
318
|
+
SENSITIVE = []
|
231
319
|
include Aws::Structure
|
232
320
|
end
|
233
321
|
|
234
322
|
# @!attribute [rw] app_summary
|
235
|
-
#
|
323
|
+
# A summary description of the application.
|
236
324
|
# @return [Types::AppSummary]
|
237
325
|
#
|
238
326
|
# @!attribute [rw] server_groups
|
239
|
-
#
|
327
|
+
# The server groups included in the application.
|
240
328
|
# @return [Array<Types::ServerGroup>]
|
241
329
|
#
|
242
330
|
# @!attribute [rw] tags
|
243
|
-
#
|
331
|
+
# The tags associated with the application.
|
244
332
|
# @return [Array<Types::Tag>]
|
245
333
|
#
|
246
334
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/CreateAppResponse AWS API Documentation
|
@@ -249,6 +337,7 @@ module Aws::SMS
|
|
249
337
|
:app_summary,
|
250
338
|
:server_groups,
|
251
339
|
:tags)
|
340
|
+
SENSITIVE = []
|
252
341
|
include Aws::Structure
|
253
342
|
end
|
254
343
|
|
@@ -269,7 +358,7 @@ module Aws::SMS
|
|
269
358
|
# }
|
270
359
|
#
|
271
360
|
# @!attribute [rw] server_id
|
272
|
-
# The
|
361
|
+
# The ID of the server.
|
273
362
|
# @return [String]
|
274
363
|
#
|
275
364
|
# @!attribute [rw] seed_replication_time
|
@@ -281,6 +370,7 @@ module Aws::SMS
|
|
281
370
|
# @return [Integer]
|
282
371
|
#
|
283
372
|
# @!attribute [rw] run_once
|
373
|
+
# Indicates whether to run the replication job one time.
|
284
374
|
# @return [Boolean]
|
285
375
|
#
|
286
376
|
# @!attribute [rw] license_type
|
@@ -297,29 +387,29 @@ module Aws::SMS
|
|
297
387
|
# @return [String]
|
298
388
|
#
|
299
389
|
# @!attribute [rw] number_of_recent_amis_to_keep
|
300
|
-
# The maximum number of SMS-created AMIs to retain. The oldest
|
301
|
-
# deleted
|
390
|
+
# The maximum number of SMS-created AMIs to retain. The oldest is
|
391
|
+
# deleted after the maximum number is reached and a new AMI is
|
392
|
+
# created.
|
302
393
|
# @return [Integer]
|
303
394
|
#
|
304
395
|
# @!attribute [rw] encrypted
|
305
|
-
#
|
306
|
-
# `KmsKeyId` below.
|
396
|
+
# Indicates whether the replication job produces encrypted AMIs.
|
307
397
|
# @return [Boolean]
|
308
398
|
#
|
309
399
|
# @!attribute [rw] kms_key_id
|
310
|
-
# KMS key
|
311
|
-
# any of the following:
|
400
|
+
# The ID of the KMS key for replication jobs that produce encrypted
|
401
|
+
# AMIs. This value can be any of the following:
|
312
402
|
#
|
313
403
|
# * KMS key ID
|
314
404
|
#
|
315
405
|
# * KMS key alias
|
316
406
|
#
|
317
|
-
# * ARN referring to KMS key ID
|
407
|
+
# * ARN referring to the KMS key ID
|
318
408
|
#
|
319
|
-
# * ARN referring to KMS key alias
|
409
|
+
# * ARN referring to the KMS key alias
|
320
410
|
#
|
321
|
-
# If encrypted is *true* but a KMS key
|
322
|
-
# customer's default KMS key for EBS is used.
|
411
|
+
# If encrypted is *true* but a KMS key ID is not specified, the
|
412
|
+
# customer's default KMS key for Amazon EBS is used.
|
323
413
|
# @return [String]
|
324
414
|
#
|
325
415
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/CreateReplicationJobRequest AWS API Documentation
|
@@ -335,6 +425,7 @@ module Aws::SMS
|
|
335
425
|
:number_of_recent_amis_to_keep,
|
336
426
|
:encrypted,
|
337
427
|
:kms_key_id)
|
428
|
+
SENSITIVE = []
|
338
429
|
include Aws::Structure
|
339
430
|
end
|
340
431
|
|
@@ -346,6 +437,7 @@ module Aws::SMS
|
|
346
437
|
#
|
347
438
|
class CreateReplicationJobResponse < Struct.new(
|
348
439
|
:replication_job_id)
|
440
|
+
SENSITIVE = []
|
349
441
|
include Aws::Structure
|
350
442
|
end
|
351
443
|
|
@@ -357,13 +449,14 @@ module Aws::SMS
|
|
357
449
|
# }
|
358
450
|
#
|
359
451
|
# @!attribute [rw] app_id
|
360
|
-
# ID of the application
|
452
|
+
# The ID of the application.
|
361
453
|
# @return [String]
|
362
454
|
#
|
363
455
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteAppLaunchConfigurationRequest AWS API Documentation
|
364
456
|
#
|
365
457
|
class DeleteAppLaunchConfigurationRequest < Struct.new(
|
366
458
|
:app_id)
|
459
|
+
SENSITIVE = []
|
367
460
|
include Aws::Structure
|
368
461
|
end
|
369
462
|
|
@@ -379,13 +472,14 @@ module Aws::SMS
|
|
379
472
|
# }
|
380
473
|
#
|
381
474
|
# @!attribute [rw] app_id
|
382
|
-
# ID of the application
|
475
|
+
# The ID of the application.
|
383
476
|
# @return [String]
|
384
477
|
#
|
385
478
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteAppReplicationConfigurationRequest AWS API Documentation
|
386
479
|
#
|
387
480
|
class DeleteAppReplicationConfigurationRequest < Struct.new(
|
388
481
|
:app_id)
|
482
|
+
SENSITIVE = []
|
389
483
|
include Aws::Structure
|
390
484
|
end
|
391
485
|
|
@@ -403,17 +497,17 @@ module Aws::SMS
|
|
403
497
|
# }
|
404
498
|
#
|
405
499
|
# @!attribute [rw] app_id
|
406
|
-
# ID of the application
|
500
|
+
# The ID of the application.
|
407
501
|
# @return [String]
|
408
502
|
#
|
409
503
|
# @!attribute [rw] force_stop_app_replication
|
410
|
-
#
|
411
|
-
#
|
504
|
+
# Indicates whether to stop all replication jobs corresponding to the
|
505
|
+
# servers in the application while deleting the application.
|
412
506
|
# @return [Boolean]
|
413
507
|
#
|
414
508
|
# @!attribute [rw] force_terminate_app
|
415
|
-
#
|
416
|
-
# the application.
|
509
|
+
# Indicates whether to terminate the stack corresponding to the
|
510
|
+
# application while deleting the application.
|
417
511
|
# @return [Boolean]
|
418
512
|
#
|
419
513
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteAppRequest AWS API Documentation
|
@@ -422,6 +516,7 @@ module Aws::SMS
|
|
422
516
|
:app_id,
|
423
517
|
:force_stop_app_replication,
|
424
518
|
:force_terminate_app)
|
519
|
+
SENSITIVE = []
|
425
520
|
include Aws::Structure
|
426
521
|
end
|
427
522
|
|
@@ -429,6 +524,29 @@ module Aws::SMS
|
|
429
524
|
#
|
430
525
|
class DeleteAppResponse < Aws::EmptyStructure; end
|
431
526
|
|
527
|
+
# @note When making an API call, you may pass DeleteAppValidationConfigurationRequest
|
528
|
+
# data as a hash:
|
529
|
+
#
|
530
|
+
# {
|
531
|
+
# app_id: "AppIdWithValidation", # required
|
532
|
+
# }
|
533
|
+
#
|
534
|
+
# @!attribute [rw] app_id
|
535
|
+
# The ID of the application.
|
536
|
+
# @return [String]
|
537
|
+
#
|
538
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteAppValidationConfigurationRequest AWS API Documentation
|
539
|
+
#
|
540
|
+
class DeleteAppValidationConfigurationRequest < Struct.new(
|
541
|
+
:app_id)
|
542
|
+
SENSITIVE = []
|
543
|
+
include Aws::Structure
|
544
|
+
end
|
545
|
+
|
546
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteAppValidationConfigurationResponse AWS API Documentation
|
547
|
+
#
|
548
|
+
class DeleteAppValidationConfigurationResponse < Aws::EmptyStructure; end
|
549
|
+
|
432
550
|
# @note When making an API call, you may pass DeleteReplicationJobRequest
|
433
551
|
# data as a hash:
|
434
552
|
#
|
@@ -437,13 +555,14 @@ module Aws::SMS
|
|
437
555
|
# }
|
438
556
|
#
|
439
557
|
# @!attribute [rw] replication_job_id
|
440
|
-
# The
|
558
|
+
# The ID of the replication job.
|
441
559
|
# @return [String]
|
442
560
|
#
|
443
561
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteReplicationJobRequest AWS API Documentation
|
444
562
|
#
|
445
563
|
class DeleteReplicationJobRequest < Struct.new(
|
446
564
|
:replication_job_id)
|
565
|
+
SENSITIVE = []
|
447
566
|
include Aws::Structure
|
448
567
|
end
|
449
568
|
|
@@ -469,13 +588,14 @@ module Aws::SMS
|
|
469
588
|
# }
|
470
589
|
#
|
471
590
|
# @!attribute [rw] connector_id
|
472
|
-
# The
|
591
|
+
# The ID of the connector.
|
473
592
|
# @return [String]
|
474
593
|
#
|
475
594
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DisassociateConnectorRequest AWS API Documentation
|
476
595
|
#
|
477
596
|
class DisassociateConnectorRequest < Struct.new(
|
478
597
|
:connector_id)
|
598
|
+
SENSITIVE = []
|
479
599
|
include Aws::Structure
|
480
600
|
end
|
481
601
|
|
@@ -483,6 +603,20 @@ module Aws::SMS
|
|
483
603
|
#
|
484
604
|
class DisassociateConnectorResponse < Aws::EmptyStructure; end
|
485
605
|
|
606
|
+
# The user has the required permissions, so the request would have
|
607
|
+
# succeeded, but a dry run was performed.
|
608
|
+
#
|
609
|
+
# @!attribute [rw] message
|
610
|
+
# @return [String]
|
611
|
+
#
|
612
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DryRunOperationException AWS API Documentation
|
613
|
+
#
|
614
|
+
class DryRunOperationException < Struct.new(
|
615
|
+
:message)
|
616
|
+
SENSITIVE = []
|
617
|
+
include Aws::Structure
|
618
|
+
end
|
619
|
+
|
486
620
|
# @note When making an API call, you may pass GenerateChangeSetRequest
|
487
621
|
# data as a hash:
|
488
622
|
#
|
@@ -492,11 +626,11 @@ module Aws::SMS
|
|
492
626
|
# }
|
493
627
|
#
|
494
628
|
# @!attribute [rw] app_id
|
495
|
-
# ID of the application associated with the change set.
|
629
|
+
# The ID of the application associated with the change set.
|
496
630
|
# @return [String]
|
497
631
|
#
|
498
632
|
# @!attribute [rw] changeset_format
|
499
|
-
#
|
633
|
+
# The format for the change set.
|
500
634
|
# @return [String]
|
501
635
|
#
|
502
636
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GenerateChangeSetRequest AWS API Documentation
|
@@ -504,17 +638,19 @@ module Aws::SMS
|
|
504
638
|
class GenerateChangeSetRequest < Struct.new(
|
505
639
|
:app_id,
|
506
640
|
:changeset_format)
|
641
|
+
SENSITIVE = []
|
507
642
|
include Aws::Structure
|
508
643
|
end
|
509
644
|
|
510
645
|
# @!attribute [rw] s3_location
|
511
|
-
#
|
646
|
+
# The location of the Amazon S3 object.
|
512
647
|
# @return [Types::S3Location]
|
513
648
|
#
|
514
649
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GenerateChangeSetResponse AWS API Documentation
|
515
650
|
#
|
516
651
|
class GenerateChangeSetResponse < Struct.new(
|
517
652
|
:s3_location)
|
653
|
+
SENSITIVE = []
|
518
654
|
include Aws::Structure
|
519
655
|
end
|
520
656
|
|
@@ -527,12 +663,12 @@ module Aws::SMS
|
|
527
663
|
# }
|
528
664
|
#
|
529
665
|
# @!attribute [rw] app_id
|
530
|
-
# ID of the application associated with the
|
666
|
+
# The ID of the application associated with the AWS CloudFormation
|
531
667
|
# template.
|
532
668
|
# @return [String]
|
533
669
|
#
|
534
670
|
# @!attribute [rw] template_format
|
535
|
-
#
|
671
|
+
# The format for generating the AWS CloudFormation template.
|
536
672
|
# @return [String]
|
537
673
|
#
|
538
674
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GenerateTemplateRequest AWS API Documentation
|
@@ -540,17 +676,19 @@ module Aws::SMS
|
|
540
676
|
class GenerateTemplateRequest < Struct.new(
|
541
677
|
:app_id,
|
542
678
|
:template_format)
|
679
|
+
SENSITIVE = []
|
543
680
|
include Aws::Structure
|
544
681
|
end
|
545
682
|
|
546
683
|
# @!attribute [rw] s3_location
|
547
|
-
#
|
684
|
+
# The location of the Amazon S3 object.
|
548
685
|
# @return [Types::S3Location]
|
549
686
|
#
|
550
687
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GenerateTemplateResponse AWS API Documentation
|
551
688
|
#
|
552
689
|
class GenerateTemplateResponse < Struct.new(
|
553
690
|
:s3_location)
|
691
|
+
SENSITIVE = []
|
554
692
|
include Aws::Structure
|
555
693
|
end
|
556
694
|
|
@@ -562,27 +700,33 @@ module Aws::SMS
|
|
562
700
|
# }
|
563
701
|
#
|
564
702
|
# @!attribute [rw] app_id
|
565
|
-
# ID of the application
|
703
|
+
# The ID of the application.
|
566
704
|
# @return [String]
|
567
705
|
#
|
568
706
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetAppLaunchConfigurationRequest AWS API Documentation
|
569
707
|
#
|
570
708
|
class GetAppLaunchConfigurationRequest < Struct.new(
|
571
709
|
:app_id)
|
710
|
+
SENSITIVE = []
|
572
711
|
include Aws::Structure
|
573
712
|
end
|
574
713
|
|
575
714
|
# @!attribute [rw] app_id
|
576
|
-
# ID of the application
|
715
|
+
# The ID of the application.
|
577
716
|
# @return [String]
|
578
717
|
#
|
579
718
|
# @!attribute [rw] role_name
|
580
|
-
#
|
719
|
+
# The name of the service role in the customer's account that AWS
|
581
720
|
# CloudFormation uses to launch the application.
|
582
721
|
# @return [String]
|
583
722
|
#
|
723
|
+
# @!attribute [rw] auto_launch
|
724
|
+
# Indicates whether the application is configured to launch
|
725
|
+
# automatically after replication is complete.
|
726
|
+
# @return [Boolean]
|
727
|
+
#
|
584
728
|
# @!attribute [rw] server_group_launch_configurations
|
585
|
-
#
|
729
|
+
# The launch configurations for server groups in this application.
|
586
730
|
# @return [Array<Types::ServerGroupLaunchConfiguration>]
|
587
731
|
#
|
588
732
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetAppLaunchConfigurationResponse AWS API Documentation
|
@@ -590,7 +734,9 @@ module Aws::SMS
|
|
590
734
|
class GetAppLaunchConfigurationResponse < Struct.new(
|
591
735
|
:app_id,
|
592
736
|
:role_name,
|
737
|
+
:auto_launch,
|
593
738
|
:server_group_launch_configurations)
|
739
|
+
SENSITIVE = []
|
594
740
|
include Aws::Structure
|
595
741
|
end
|
596
742
|
|
@@ -602,18 +748,19 @@ module Aws::SMS
|
|
602
748
|
# }
|
603
749
|
#
|
604
750
|
# @!attribute [rw] app_id
|
605
|
-
# ID of the application
|
751
|
+
# The ID of the application.
|
606
752
|
# @return [String]
|
607
753
|
#
|
608
754
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetAppReplicationConfigurationRequest AWS API Documentation
|
609
755
|
#
|
610
756
|
class GetAppReplicationConfigurationRequest < Struct.new(
|
611
757
|
:app_id)
|
758
|
+
SENSITIVE = []
|
612
759
|
include Aws::Structure
|
613
760
|
end
|
614
761
|
|
615
762
|
# @!attribute [rw] server_group_replication_configurations
|
616
|
-
#
|
763
|
+
# The replication configurations associated with server groups in this
|
617
764
|
# application.
|
618
765
|
# @return [Array<Types::ServerGroupReplicationConfiguration>]
|
619
766
|
#
|
@@ -621,6 +768,7 @@ module Aws::SMS
|
|
621
768
|
#
|
622
769
|
class GetAppReplicationConfigurationResponse < Struct.new(
|
623
770
|
:server_group_replication_configurations)
|
771
|
+
SENSITIVE = []
|
624
772
|
include Aws::Structure
|
625
773
|
end
|
626
774
|
|
@@ -632,13 +780,14 @@ module Aws::SMS
|
|
632
780
|
# }
|
633
781
|
#
|
634
782
|
# @!attribute [rw] app_id
|
635
|
-
# ID of the application
|
783
|
+
# The ID of the application.
|
636
784
|
# @return [String]
|
637
785
|
#
|
638
786
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetAppRequest AWS API Documentation
|
639
787
|
#
|
640
788
|
class GetAppRequest < Struct.new(
|
641
789
|
:app_id)
|
790
|
+
SENSITIVE = []
|
642
791
|
include Aws::Structure
|
643
792
|
end
|
644
793
|
|
@@ -647,11 +796,11 @@ module Aws::SMS
|
|
647
796
|
# @return [Types::AppSummary]
|
648
797
|
#
|
649
798
|
# @!attribute [rw] server_groups
|
650
|
-
#
|
799
|
+
# The server groups that belong to the application.
|
651
800
|
# @return [Array<Types::ServerGroup>]
|
652
801
|
#
|
653
802
|
# @!attribute [rw] tags
|
654
|
-
#
|
803
|
+
# The tags associated with the application.
|
655
804
|
# @return [Array<Types::Tag>]
|
656
805
|
#
|
657
806
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetAppResponse AWS API Documentation
|
@@ -660,6 +809,74 @@ module Aws::SMS
|
|
660
809
|
:app_summary,
|
661
810
|
:server_groups,
|
662
811
|
:tags)
|
812
|
+
SENSITIVE = []
|
813
|
+
include Aws::Structure
|
814
|
+
end
|
815
|
+
|
816
|
+
# @note When making an API call, you may pass GetAppValidationConfigurationRequest
|
817
|
+
# data as a hash:
|
818
|
+
#
|
819
|
+
# {
|
820
|
+
# app_id: "AppIdWithValidation", # required
|
821
|
+
# }
|
822
|
+
#
|
823
|
+
# @!attribute [rw] app_id
|
824
|
+
# The ID of the application.
|
825
|
+
# @return [String]
|
826
|
+
#
|
827
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetAppValidationConfigurationRequest AWS API Documentation
|
828
|
+
#
|
829
|
+
class GetAppValidationConfigurationRequest < Struct.new(
|
830
|
+
:app_id)
|
831
|
+
SENSITIVE = []
|
832
|
+
include Aws::Structure
|
833
|
+
end
|
834
|
+
|
835
|
+
# @!attribute [rw] app_validation_configurations
|
836
|
+
# The configuration for application validation.
|
837
|
+
# @return [Array<Types::AppValidationConfiguration>]
|
838
|
+
#
|
839
|
+
# @!attribute [rw] server_group_validation_configurations
|
840
|
+
# The configuration for instance validation.
|
841
|
+
# @return [Array<Types::ServerGroupValidationConfiguration>]
|
842
|
+
#
|
843
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetAppValidationConfigurationResponse AWS API Documentation
|
844
|
+
#
|
845
|
+
class GetAppValidationConfigurationResponse < Struct.new(
|
846
|
+
:app_validation_configurations,
|
847
|
+
:server_group_validation_configurations)
|
848
|
+
SENSITIVE = []
|
849
|
+
include Aws::Structure
|
850
|
+
end
|
851
|
+
|
852
|
+
# @note When making an API call, you may pass GetAppValidationOutputRequest
|
853
|
+
# data as a hash:
|
854
|
+
#
|
855
|
+
# {
|
856
|
+
# app_id: "AppIdWithValidation", # required
|
857
|
+
# }
|
858
|
+
#
|
859
|
+
# @!attribute [rw] app_id
|
860
|
+
# The ID of the application.
|
861
|
+
# @return [String]
|
862
|
+
#
|
863
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetAppValidationOutputRequest AWS API Documentation
|
864
|
+
#
|
865
|
+
class GetAppValidationOutputRequest < Struct.new(
|
866
|
+
:app_id)
|
867
|
+
SENSITIVE = []
|
868
|
+
include Aws::Structure
|
869
|
+
end
|
870
|
+
|
871
|
+
# @!attribute [rw] validation_output_list
|
872
|
+
# The validation output.
|
873
|
+
# @return [Array<Types::ValidationOutput>]
|
874
|
+
#
|
875
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetAppValidationOutputResponse AWS API Documentation
|
876
|
+
#
|
877
|
+
class GetAppValidationOutputResponse < Struct.new(
|
878
|
+
:validation_output_list)
|
879
|
+
SENSITIVE = []
|
663
880
|
include Aws::Structure
|
664
881
|
end
|
665
882
|
|
@@ -686,6 +903,7 @@ module Aws::SMS
|
|
686
903
|
class GetConnectorsRequest < Struct.new(
|
687
904
|
:next_token,
|
688
905
|
:max_results)
|
906
|
+
SENSITIVE = []
|
689
907
|
include Aws::Structure
|
690
908
|
end
|
691
909
|
|
@@ -703,6 +921,7 @@ module Aws::SMS
|
|
703
921
|
class GetConnectorsResponse < Struct.new(
|
704
922
|
:connector_list,
|
705
923
|
:next_token)
|
924
|
+
SENSITIVE = []
|
706
925
|
include Aws::Structure
|
707
926
|
end
|
708
927
|
|
@@ -716,7 +935,7 @@ module Aws::SMS
|
|
716
935
|
# }
|
717
936
|
#
|
718
937
|
# @!attribute [rw] replication_job_id
|
719
|
-
# The
|
938
|
+
# The ID of the replication job.
|
720
939
|
# @return [String]
|
721
940
|
#
|
722
941
|
# @!attribute [rw] next_token
|
@@ -735,6 +954,7 @@ module Aws::SMS
|
|
735
954
|
:replication_job_id,
|
736
955
|
:next_token,
|
737
956
|
:max_results)
|
957
|
+
SENSITIVE = []
|
738
958
|
include Aws::Structure
|
739
959
|
end
|
740
960
|
|
@@ -752,6 +972,7 @@ module Aws::SMS
|
|
752
972
|
class GetReplicationJobsResponse < Struct.new(
|
753
973
|
:replication_job_list,
|
754
974
|
:next_token)
|
975
|
+
SENSITIVE = []
|
755
976
|
include Aws::Structure
|
756
977
|
end
|
757
978
|
|
@@ -765,7 +986,7 @@ module Aws::SMS
|
|
765
986
|
# }
|
766
987
|
#
|
767
988
|
# @!attribute [rw] replication_job_id
|
768
|
-
# The
|
989
|
+
# The ID of the replication job.
|
769
990
|
# @return [String]
|
770
991
|
#
|
771
992
|
# @!attribute [rw] next_token
|
@@ -784,6 +1005,7 @@ module Aws::SMS
|
|
784
1005
|
:replication_job_id,
|
785
1006
|
:next_token,
|
786
1007
|
:max_results)
|
1008
|
+
SENSITIVE = []
|
787
1009
|
include Aws::Structure
|
788
1010
|
end
|
789
1011
|
|
@@ -806,6 +1028,7 @@ module Aws::SMS
|
|
806
1028
|
:replication_job,
|
807
1029
|
:replication_run_list,
|
808
1030
|
:next_token)
|
1031
|
+
SENSITIVE = []
|
809
1032
|
include Aws::Structure
|
810
1033
|
end
|
811
1034
|
|
@@ -834,7 +1057,7 @@ module Aws::SMS
|
|
834
1057
|
# @return [Integer]
|
835
1058
|
#
|
836
1059
|
# @!attribute [rw] vm_server_address_list
|
837
|
-
#
|
1060
|
+
# The server addresses.
|
838
1061
|
# @return [Array<Types::VmServerAddress>]
|
839
1062
|
#
|
840
1063
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetServersRequest AWS API Documentation
|
@@ -843,6 +1066,7 @@ module Aws::SMS
|
|
843
1066
|
:next_token,
|
844
1067
|
:max_results,
|
845
1068
|
:vm_server_address_list)
|
1069
|
+
SENSITIVE = []
|
846
1070
|
include Aws::Structure
|
847
1071
|
end
|
848
1072
|
|
@@ -870,9 +1094,40 @@ module Aws::SMS
|
|
870
1094
|
:server_catalog_status,
|
871
1095
|
:server_list,
|
872
1096
|
:next_token)
|
1097
|
+
SENSITIVE = []
|
1098
|
+
include Aws::Structure
|
1099
|
+
end
|
1100
|
+
|
1101
|
+
# @note When making an API call, you may pass ImportAppCatalogRequest
|
1102
|
+
# data as a hash:
|
1103
|
+
#
|
1104
|
+
# {
|
1105
|
+
# role_name: "RoleName",
|
1106
|
+
# }
|
1107
|
+
#
|
1108
|
+
# @!attribute [rw] role_name
|
1109
|
+
# The name of the service role. If you omit this parameter, we create
|
1110
|
+
# a service-linked role for AWS Migration Hub in your account.
|
1111
|
+
# Otherwise, the role that you provide must have the [policy and trust
|
1112
|
+
# policy][1] described in the *AWS Migration Hub User Guide*.
|
1113
|
+
#
|
1114
|
+
#
|
1115
|
+
#
|
1116
|
+
# [1]: https://docs.aws.amazon.com/migrationhub/latest/ug/new-customer-setup.html#sms-managed
|
1117
|
+
# @return [String]
|
1118
|
+
#
|
1119
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ImportAppCatalogRequest AWS API Documentation
|
1120
|
+
#
|
1121
|
+
class ImportAppCatalogRequest < Struct.new(
|
1122
|
+
:role_name)
|
1123
|
+
SENSITIVE = []
|
873
1124
|
include Aws::Structure
|
874
1125
|
end
|
875
1126
|
|
1127
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ImportAppCatalogResponse AWS API Documentation
|
1128
|
+
#
|
1129
|
+
class ImportAppCatalogResponse < Aws::EmptyStructure; end
|
1130
|
+
|
876
1131
|
# @api private
|
877
1132
|
#
|
878
1133
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ImportServerCatalogRequest AWS API Documentation
|
@@ -892,6 +1147,7 @@ module Aws::SMS
|
|
892
1147
|
#
|
893
1148
|
class InternalError < Struct.new(
|
894
1149
|
:message)
|
1150
|
+
SENSITIVE = []
|
895
1151
|
include Aws::Structure
|
896
1152
|
end
|
897
1153
|
|
@@ -904,6 +1160,7 @@ module Aws::SMS
|
|
904
1160
|
#
|
905
1161
|
class InvalidParameterException < Struct.new(
|
906
1162
|
:message)
|
1163
|
+
SENSITIVE = []
|
907
1164
|
include Aws::Structure
|
908
1165
|
end
|
909
1166
|
|
@@ -915,13 +1172,14 @@ module Aws::SMS
|
|
915
1172
|
# }
|
916
1173
|
#
|
917
1174
|
# @!attribute [rw] app_id
|
918
|
-
# ID of the application
|
1175
|
+
# The ID of the application.
|
919
1176
|
# @return [String]
|
920
1177
|
#
|
921
1178
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/LaunchAppRequest AWS API Documentation
|
922
1179
|
#
|
923
1180
|
class LaunchAppRequest < Struct.new(
|
924
1181
|
:app_id)
|
1182
|
+
SENSITIVE = []
|
925
1183
|
include Aws::Structure
|
926
1184
|
end
|
927
1185
|
|
@@ -932,15 +1190,15 @@ module Aws::SMS
|
|
932
1190
|
# Details about the latest launch of an application.
|
933
1191
|
#
|
934
1192
|
# @!attribute [rw] latest_launch_time
|
935
|
-
#
|
1193
|
+
# The latest time that this application was launched successfully.
|
936
1194
|
# @return [Time]
|
937
1195
|
#
|
938
1196
|
# @!attribute [rw] stack_name
|
939
|
-
#
|
1197
|
+
# The name of the latest stack launched for this application.
|
940
1198
|
# @return [String]
|
941
1199
|
#
|
942
1200
|
# @!attribute [rw] stack_id
|
943
|
-
#
|
1201
|
+
# The ID of the latest stack launched for this application.
|
944
1202
|
# @return [String]
|
945
1203
|
#
|
946
1204
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/LaunchDetails AWS API Documentation
|
@@ -949,6 +1207,7 @@ module Aws::SMS
|
|
949
1207
|
:latest_launch_time,
|
950
1208
|
:stack_name,
|
951
1209
|
:stack_id)
|
1210
|
+
SENSITIVE = []
|
952
1211
|
include Aws::Structure
|
953
1212
|
end
|
954
1213
|
|
@@ -962,6 +1221,7 @@ module Aws::SMS
|
|
962
1221
|
# }
|
963
1222
|
#
|
964
1223
|
# @!attribute [rw] app_ids
|
1224
|
+
# The unique application IDs.
|
965
1225
|
# @return [Array<String>]
|
966
1226
|
#
|
967
1227
|
# @!attribute [rw] next_token
|
@@ -970,8 +1230,8 @@ module Aws::SMS
|
|
970
1230
|
#
|
971
1231
|
# @!attribute [rw] max_results
|
972
1232
|
# The maximum number of results to return in a single call. The
|
973
|
-
# default value is
|
974
|
-
# call with the returned `NextToken` value.
|
1233
|
+
# default value is 100. To retrieve the remaining results, make
|
1234
|
+
# another call with the returned `NextToken` value.
|
975
1235
|
# @return [Integer]
|
976
1236
|
#
|
977
1237
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ListAppsRequest AWS API Documentation
|
@@ -980,11 +1240,12 @@ module Aws::SMS
|
|
980
1240
|
:app_ids,
|
981
1241
|
:next_token,
|
982
1242
|
:max_results)
|
1243
|
+
SENSITIVE = []
|
983
1244
|
include Aws::Structure
|
984
1245
|
end
|
985
1246
|
|
986
1247
|
# @!attribute [rw] apps
|
987
|
-
#
|
1248
|
+
# The application summaries.
|
988
1249
|
# @return [Array<Types::AppSummary>]
|
989
1250
|
#
|
990
1251
|
# @!attribute [rw] next_token
|
@@ -997,6 +1258,7 @@ module Aws::SMS
|
|
997
1258
|
class ListAppsResponse < Struct.new(
|
998
1259
|
:apps,
|
999
1260
|
:next_token)
|
1261
|
+
SENSITIVE = []
|
1000
1262
|
include Aws::Structure
|
1001
1263
|
end
|
1002
1264
|
|
@@ -1009,6 +1271,7 @@ module Aws::SMS
|
|
1009
1271
|
#
|
1010
1272
|
class MissingRequiredParameterException < Struct.new(
|
1011
1273
|
:message)
|
1274
|
+
SENSITIVE = []
|
1012
1275
|
include Aws::Structure
|
1013
1276
|
end
|
1014
1277
|
|
@@ -1021,9 +1284,76 @@ module Aws::SMS
|
|
1021
1284
|
#
|
1022
1285
|
class NoConnectorsAvailableException < Struct.new(
|
1023
1286
|
:message)
|
1287
|
+
SENSITIVE = []
|
1288
|
+
include Aws::Structure
|
1289
|
+
end
|
1290
|
+
|
1291
|
+
# Contains the status of validating an application.
|
1292
|
+
#
|
1293
|
+
# @note When making an API call, you may pass NotificationContext
|
1294
|
+
# data as a hash:
|
1295
|
+
#
|
1296
|
+
# {
|
1297
|
+
# validation_id: "ValidationId",
|
1298
|
+
# status: "READY_FOR_VALIDATION", # accepts READY_FOR_VALIDATION, PENDING, IN_PROGRESS, SUCCEEDED, FAILED
|
1299
|
+
# status_message: "ValidationStatusMessage",
|
1300
|
+
# }
|
1301
|
+
#
|
1302
|
+
# @!attribute [rw] validation_id
|
1303
|
+
# The ID of the validation.
|
1304
|
+
# @return [String]
|
1305
|
+
#
|
1306
|
+
# @!attribute [rw] status
|
1307
|
+
# The status of the validation.
|
1308
|
+
# @return [String]
|
1309
|
+
#
|
1310
|
+
# @!attribute [rw] status_message
|
1311
|
+
# The status message.
|
1312
|
+
# @return [String]
|
1313
|
+
#
|
1314
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/NotificationContext AWS API Documentation
|
1315
|
+
#
|
1316
|
+
class NotificationContext < Struct.new(
|
1317
|
+
:validation_id,
|
1318
|
+
:status,
|
1319
|
+
:status_message)
|
1320
|
+
SENSITIVE = []
|
1321
|
+
include Aws::Structure
|
1322
|
+
end
|
1323
|
+
|
1324
|
+
# @note When making an API call, you may pass NotifyAppValidationOutputRequest
|
1325
|
+
# data as a hash:
|
1326
|
+
#
|
1327
|
+
# {
|
1328
|
+
# app_id: "AppIdWithValidation", # required
|
1329
|
+
# notification_context: {
|
1330
|
+
# validation_id: "ValidationId",
|
1331
|
+
# status: "READY_FOR_VALIDATION", # accepts READY_FOR_VALIDATION, PENDING, IN_PROGRESS, SUCCEEDED, FAILED
|
1332
|
+
# status_message: "ValidationStatusMessage",
|
1333
|
+
# },
|
1334
|
+
# }
|
1335
|
+
#
|
1336
|
+
# @!attribute [rw] app_id
|
1337
|
+
# The ID of the application.
|
1338
|
+
# @return [String]
|
1339
|
+
#
|
1340
|
+
# @!attribute [rw] notification_context
|
1341
|
+
# The notification information.
|
1342
|
+
# @return [Types::NotificationContext]
|
1343
|
+
#
|
1344
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/NotifyAppValidationOutputRequest AWS API Documentation
|
1345
|
+
#
|
1346
|
+
class NotifyAppValidationOutputRequest < Struct.new(
|
1347
|
+
:app_id,
|
1348
|
+
:notification_context)
|
1349
|
+
SENSITIVE = []
|
1024
1350
|
include Aws::Structure
|
1025
1351
|
end
|
1026
1352
|
|
1353
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/NotifyAppValidationOutputResponse AWS API Documentation
|
1354
|
+
#
|
1355
|
+
class NotifyAppValidationOutputResponse < Aws::EmptyStructure; end
|
1356
|
+
|
1027
1357
|
# This operation is not allowed.
|
1028
1358
|
#
|
1029
1359
|
# @!attribute [rw] message
|
@@ -1033,6 +1363,7 @@ module Aws::SMS
|
|
1033
1363
|
#
|
1034
1364
|
class OperationNotPermittedException < Struct.new(
|
1035
1365
|
:message)
|
1366
|
+
SENSITIVE = []
|
1036
1367
|
include Aws::Structure
|
1037
1368
|
end
|
1038
1369
|
|
@@ -1042,6 +1373,7 @@ module Aws::SMS
|
|
1042
1373
|
# {
|
1043
1374
|
# app_id: "AppId",
|
1044
1375
|
# role_name: "RoleName",
|
1376
|
+
# auto_launch: false,
|
1045
1377
|
# server_group_launch_configurations: [
|
1046
1378
|
# {
|
1047
1379
|
# server_group_id: "ServerGroupId",
|
@@ -1071,12 +1403,18 @@ module Aws::SMS
|
|
1071
1403
|
# ec2_key_name: "EC2KeyName",
|
1072
1404
|
# user_data: {
|
1073
1405
|
# s3_location: {
|
1074
|
-
# bucket: "
|
1075
|
-
# key: "
|
1406
|
+
# bucket: "S3BucketName",
|
1407
|
+
# key: "S3KeyName",
|
1076
1408
|
# },
|
1077
1409
|
# },
|
1078
1410
|
# instance_type: "InstanceType",
|
1079
1411
|
# associate_public_ip_address: false,
|
1412
|
+
# iam_instance_profile_name: "RoleName",
|
1413
|
+
# configure_script: {
|
1414
|
+
# bucket: "S3BucketName",
|
1415
|
+
# key: "S3KeyName",
|
1416
|
+
# },
|
1417
|
+
# configure_script_type: "SHELL_SCRIPT", # accepts SHELL_SCRIPT, POWERSHELL_SCRIPT
|
1080
1418
|
# },
|
1081
1419
|
# ],
|
1082
1420
|
# },
|
@@ -1084,16 +1422,22 @@ module Aws::SMS
|
|
1084
1422
|
# }
|
1085
1423
|
#
|
1086
1424
|
# @!attribute [rw] app_id
|
1087
|
-
# ID of the application
|
1425
|
+
# The ID of the application.
|
1088
1426
|
# @return [String]
|
1089
1427
|
#
|
1090
1428
|
# @!attribute [rw] role_name
|
1091
|
-
#
|
1429
|
+
# The name of service role in the customer's account that AWS
|
1092
1430
|
# CloudFormation uses to launch the application.
|
1093
1431
|
# @return [String]
|
1094
1432
|
#
|
1433
|
+
# @!attribute [rw] auto_launch
|
1434
|
+
# Indicates whether the application is configured to launch
|
1435
|
+
# automatically after replication is complete.
|
1436
|
+
# @return [Boolean]
|
1437
|
+
#
|
1095
1438
|
# @!attribute [rw] server_group_launch_configurations
|
1096
|
-
#
|
1439
|
+
# Information about the launch configurations for server groups in the
|
1440
|
+
# application.
|
1097
1441
|
# @return [Array<Types::ServerGroupLaunchConfiguration>]
|
1098
1442
|
#
|
1099
1443
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/PutAppLaunchConfigurationRequest AWS API Documentation
|
@@ -1101,7 +1445,9 @@ module Aws::SMS
|
|
1101
1445
|
class PutAppLaunchConfigurationRequest < Struct.new(
|
1102
1446
|
:app_id,
|
1103
1447
|
:role_name,
|
1448
|
+
:auto_launch,
|
1104
1449
|
:server_group_launch_configurations)
|
1450
|
+
SENSITIVE = []
|
1105
1451
|
include Aws::Structure
|
1106
1452
|
end
|
1107
1453
|
|
@@ -1151,12 +1497,12 @@ module Aws::SMS
|
|
1151
1497
|
# }
|
1152
1498
|
#
|
1153
1499
|
# @!attribute [rw] app_id
|
1154
|
-
# ID of the application
|
1155
|
-
# configuration.
|
1500
|
+
# The ID of the application.
|
1156
1501
|
# @return [String]
|
1157
1502
|
#
|
1158
1503
|
# @!attribute [rw] server_group_replication_configurations
|
1159
|
-
#
|
1504
|
+
# Information about the replication configurations for server groups
|
1505
|
+
# in the application.
|
1160
1506
|
# @return [Array<Types::ServerGroupReplicationConfiguration>]
|
1161
1507
|
#
|
1162
1508
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/PutAppReplicationConfigurationRequest AWS API Documentation
|
@@ -1164,6 +1510,7 @@ module Aws::SMS
|
|
1164
1510
|
class PutAppReplicationConfigurationRequest < Struct.new(
|
1165
1511
|
:app_id,
|
1166
1512
|
:server_group_replication_configurations)
|
1513
|
+
SENSITIVE = []
|
1167
1514
|
include Aws::Structure
|
1168
1515
|
end
|
1169
1516
|
|
@@ -1171,14 +1518,104 @@ module Aws::SMS
|
|
1171
1518
|
#
|
1172
1519
|
class PutAppReplicationConfigurationResponse < Aws::EmptyStructure; end
|
1173
1520
|
|
1521
|
+
# @note When making an API call, you may pass PutAppValidationConfigurationRequest
|
1522
|
+
# data as a hash:
|
1523
|
+
#
|
1524
|
+
# {
|
1525
|
+
# app_id: "AppIdWithValidation", # required
|
1526
|
+
# app_validation_configurations: [
|
1527
|
+
# {
|
1528
|
+
# validation_id: "ValidationId",
|
1529
|
+
# name: "NonEmptyStringWithMaxLen255",
|
1530
|
+
# app_validation_strategy: "SSM", # accepts SSM
|
1531
|
+
# ssm_validation_parameters: {
|
1532
|
+
# source: {
|
1533
|
+
# s3_location: {
|
1534
|
+
# bucket: "S3BucketName",
|
1535
|
+
# key: "S3KeyName",
|
1536
|
+
# },
|
1537
|
+
# },
|
1538
|
+
# instance_id: "InstanceId",
|
1539
|
+
# script_type: "SHELL_SCRIPT", # accepts SHELL_SCRIPT, POWERSHELL_SCRIPT
|
1540
|
+
# command: "Command",
|
1541
|
+
# execution_timeout_seconds: 1,
|
1542
|
+
# output_s3_bucket_name: "BucketName",
|
1543
|
+
# },
|
1544
|
+
# },
|
1545
|
+
# ],
|
1546
|
+
# server_group_validation_configurations: [
|
1547
|
+
# {
|
1548
|
+
# server_group_id: "ServerGroupId",
|
1549
|
+
# server_validation_configurations: [
|
1550
|
+
# {
|
1551
|
+
# server: {
|
1552
|
+
# server_id: "ServerId",
|
1553
|
+
# server_type: "VIRTUAL_MACHINE", # accepts VIRTUAL_MACHINE
|
1554
|
+
# vm_server: {
|
1555
|
+
# vm_server_address: {
|
1556
|
+
# vm_manager_id: "VmManagerId",
|
1557
|
+
# vm_id: "VmId",
|
1558
|
+
# },
|
1559
|
+
# vm_name: "VmName",
|
1560
|
+
# vm_manager_name: "VmManagerName",
|
1561
|
+
# vm_manager_type: "VSPHERE", # accepts VSPHERE, SCVMM, HYPERV-MANAGER
|
1562
|
+
# vm_path: "VmPath",
|
1563
|
+
# },
|
1564
|
+
# replication_job_id: "ReplicationJobId",
|
1565
|
+
# replication_job_terminated: false,
|
1566
|
+
# },
|
1567
|
+
# validation_id: "ValidationId",
|
1568
|
+
# name: "NonEmptyStringWithMaxLen255",
|
1569
|
+
# server_validation_strategy: "USERDATA", # accepts USERDATA
|
1570
|
+
# user_data_validation_parameters: {
|
1571
|
+
# source: {
|
1572
|
+
# s3_location: {
|
1573
|
+
# bucket: "S3BucketName",
|
1574
|
+
# key: "S3KeyName",
|
1575
|
+
# },
|
1576
|
+
# },
|
1577
|
+
# script_type: "SHELL_SCRIPT", # accepts SHELL_SCRIPT, POWERSHELL_SCRIPT
|
1578
|
+
# },
|
1579
|
+
# },
|
1580
|
+
# ],
|
1581
|
+
# },
|
1582
|
+
# ],
|
1583
|
+
# }
|
1584
|
+
#
|
1585
|
+
# @!attribute [rw] app_id
|
1586
|
+
# The ID of the application.
|
1587
|
+
# @return [String]
|
1588
|
+
#
|
1589
|
+
# @!attribute [rw] app_validation_configurations
|
1590
|
+
# The configuration for application validation.
|
1591
|
+
# @return [Array<Types::AppValidationConfiguration>]
|
1592
|
+
#
|
1593
|
+
# @!attribute [rw] server_group_validation_configurations
|
1594
|
+
# The configuration for instance validation.
|
1595
|
+
# @return [Array<Types::ServerGroupValidationConfiguration>]
|
1596
|
+
#
|
1597
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/PutAppValidationConfigurationRequest AWS API Documentation
|
1598
|
+
#
|
1599
|
+
class PutAppValidationConfigurationRequest < Struct.new(
|
1600
|
+
:app_id,
|
1601
|
+
:app_validation_configurations,
|
1602
|
+
:server_group_validation_configurations)
|
1603
|
+
SENSITIVE = []
|
1604
|
+
include Aws::Structure
|
1605
|
+
end
|
1606
|
+
|
1607
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/PutAppValidationConfigurationResponse AWS API Documentation
|
1608
|
+
#
|
1609
|
+
class PutAppValidationConfigurationResponse < Aws::EmptyStructure; end
|
1610
|
+
|
1174
1611
|
# Represents a replication job.
|
1175
1612
|
#
|
1176
1613
|
# @!attribute [rw] replication_job_id
|
1177
|
-
# The
|
1614
|
+
# The ID of the replication job.
|
1178
1615
|
# @return [String]
|
1179
1616
|
#
|
1180
1617
|
# @!attribute [rw] server_id
|
1181
|
-
# The
|
1618
|
+
# The ID of the server.
|
1182
1619
|
# @return [String]
|
1183
1620
|
#
|
1184
1621
|
# @!attribute [rw] server_type
|
@@ -1198,6 +1635,7 @@ module Aws::SMS
|
|
1198
1635
|
# @return [Integer]
|
1199
1636
|
#
|
1200
1637
|
# @!attribute [rw] run_once
|
1638
|
+
# Indicates whether to run the replication job one time.
|
1201
1639
|
# @return [Boolean]
|
1202
1640
|
#
|
1203
1641
|
# @!attribute [rw] next_replication_run_start_time
|
@@ -1210,7 +1648,7 @@ module Aws::SMS
|
|
1210
1648
|
# @return [String]
|
1211
1649
|
#
|
1212
1650
|
# @!attribute [rw] role_name
|
1213
|
-
# The name of the IAM role to be used by
|
1651
|
+
# The name of the IAM role to be used by AWS SMS.
|
1214
1652
|
# @return [String]
|
1215
1653
|
#
|
1216
1654
|
# @!attribute [rw] latest_ami_id
|
@@ -1230,30 +1668,29 @@ module Aws::SMS
|
|
1230
1668
|
# @return [String]
|
1231
1669
|
#
|
1232
1670
|
# @!attribute [rw] number_of_recent_amis_to_keep
|
1233
|
-
#
|
1234
|
-
# replication job. By default the value is set to zero, meaning that
|
1671
|
+
# The number of recent AMIs to keep in the customer's account for a
|
1672
|
+
# replication job. By default, the value is set to zero, meaning that
|
1235
1673
|
# all AMIs are kept.
|
1236
1674
|
# @return [Integer]
|
1237
1675
|
#
|
1238
1676
|
# @!attribute [rw] encrypted
|
1239
|
-
#
|
1240
|
-
# See also `KmsKeyId` below.
|
1677
|
+
# Indicates whether the replication job should produce encrypted AMIs.
|
1241
1678
|
# @return [Boolean]
|
1242
1679
|
#
|
1243
1680
|
# @!attribute [rw] kms_key_id
|
1244
|
-
# KMS key
|
1245
|
-
# any of the following:
|
1681
|
+
# The ID of the KMS key for replication jobs that produce encrypted
|
1682
|
+
# AMIs. This value can be any of the following:
|
1246
1683
|
#
|
1247
1684
|
# * KMS key ID
|
1248
1685
|
#
|
1249
1686
|
# * KMS key alias
|
1250
1687
|
#
|
1251
|
-
# * ARN referring to KMS key ID
|
1688
|
+
# * ARN referring to the KMS key ID
|
1252
1689
|
#
|
1253
|
-
# * ARN referring to KMS key alias
|
1690
|
+
# * ARN referring to the KMS key alias
|
1254
1691
|
#
|
1255
|
-
# If encrypted is
|
1256
|
-
# customer's default KMS key for EBS is used.
|
1692
|
+
# If encrypted is enabled but a KMS key ID is not specified, the
|
1693
|
+
# customer's default KMS key for Amazon EBS is used.
|
1257
1694
|
# @return [String]
|
1258
1695
|
#
|
1259
1696
|
# @!attribute [rw] replication_run_list
|
@@ -1281,6 +1718,7 @@ module Aws::SMS
|
|
1281
1718
|
:encrypted,
|
1282
1719
|
:kms_key_id,
|
1283
1720
|
:replication_run_list)
|
1721
|
+
SENSITIVE = []
|
1284
1722
|
include Aws::Structure
|
1285
1723
|
end
|
1286
1724
|
|
@@ -1293,6 +1731,7 @@ module Aws::SMS
|
|
1293
1731
|
#
|
1294
1732
|
class ReplicationJobAlreadyExistsException < Struct.new(
|
1295
1733
|
:message)
|
1734
|
+
SENSITIVE = []
|
1296
1735
|
include Aws::Structure
|
1297
1736
|
end
|
1298
1737
|
|
@@ -1305,13 +1744,14 @@ module Aws::SMS
|
|
1305
1744
|
#
|
1306
1745
|
class ReplicationJobNotFoundException < Struct.new(
|
1307
1746
|
:message)
|
1747
|
+
SENSITIVE = []
|
1308
1748
|
include Aws::Structure
|
1309
1749
|
end
|
1310
1750
|
|
1311
1751
|
# Represents a replication run.
|
1312
1752
|
#
|
1313
1753
|
# @!attribute [rw] replication_run_id
|
1314
|
-
# The
|
1754
|
+
# The ID of the replication run.
|
1315
1755
|
# @return [String]
|
1316
1756
|
#
|
1317
1757
|
# @!attribute [rw] state
|
@@ -1323,7 +1763,7 @@ module Aws::SMS
|
|
1323
1763
|
# @return [String]
|
1324
1764
|
#
|
1325
1765
|
# @!attribute [rw] stage_details
|
1326
|
-
# Details
|
1766
|
+
# Details about the current stage of the replication run.
|
1327
1767
|
# @return [Types::ReplicationRunStageDetails]
|
1328
1768
|
#
|
1329
1769
|
# @!attribute [rw] status_message
|
@@ -1331,8 +1771,7 @@ module Aws::SMS
|
|
1331
1771
|
# @return [String]
|
1332
1772
|
#
|
1333
1773
|
# @!attribute [rw] ami_id
|
1334
|
-
# The
|
1335
|
-
# replication run.
|
1774
|
+
# The ID of the Amazon Machine Image (AMI) from the replication run.
|
1336
1775
|
# @return [String]
|
1337
1776
|
#
|
1338
1777
|
# @!attribute [rw] scheduled_start_time
|
@@ -1348,24 +1787,24 @@ module Aws::SMS
|
|
1348
1787
|
# @return [String]
|
1349
1788
|
#
|
1350
1789
|
# @!attribute [rw] encrypted
|
1351
|
-
#
|
1352
|
-
#
|
1790
|
+
# Indicates whether the replication run should produce an encrypted
|
1791
|
+
# AMI.
|
1353
1792
|
# @return [Boolean]
|
1354
1793
|
#
|
1355
1794
|
# @!attribute [rw] kms_key_id
|
1356
|
-
# KMS key
|
1357
|
-
# any of the following:
|
1795
|
+
# The ID of the KMS key for replication jobs that produce encrypted
|
1796
|
+
# AMIs. This value can be any of the following:
|
1358
1797
|
#
|
1359
1798
|
# * KMS key ID
|
1360
1799
|
#
|
1361
1800
|
# * KMS key alias
|
1362
1801
|
#
|
1363
|
-
# * ARN referring to KMS key ID
|
1802
|
+
# * ARN referring to the KMS key ID
|
1364
1803
|
#
|
1365
|
-
# * ARN referring to KMS key alias
|
1804
|
+
# * ARN referring to the KMS key alias
|
1366
1805
|
#
|
1367
|
-
# If encrypted is *true* but a KMS key
|
1368
|
-
# customer's default KMS key for EBS is used.
|
1806
|
+
# If encrypted is *true* but a KMS key ID is not specified, the
|
1807
|
+
# customer's default KMS key for Amazon EBS is used.
|
1369
1808
|
# @return [String]
|
1370
1809
|
#
|
1371
1810
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ReplicationRun AWS API Documentation
|
@@ -1382,6 +1821,7 @@ module Aws::SMS
|
|
1382
1821
|
:description,
|
1383
1822
|
:encrypted,
|
1384
1823
|
:kms_key_id)
|
1824
|
+
SENSITIVE = []
|
1385
1825
|
include Aws::Structure
|
1386
1826
|
end
|
1387
1827
|
|
@@ -1395,18 +1835,18 @@ module Aws::SMS
|
|
1395
1835
|
#
|
1396
1836
|
class ReplicationRunLimitExceededException < Struct.new(
|
1397
1837
|
:message)
|
1838
|
+
SENSITIVE = []
|
1398
1839
|
include Aws::Structure
|
1399
1840
|
end
|
1400
1841
|
|
1401
1842
|
# Details of the current stage of a replication run.
|
1402
1843
|
#
|
1403
1844
|
# @!attribute [rw] stage
|
1404
|
-
#
|
1845
|
+
# The current stage of a replication run.
|
1405
1846
|
# @return [String]
|
1406
1847
|
#
|
1407
1848
|
# @!attribute [rw] stage_progress
|
1408
|
-
#
|
1409
|
-
# run.
|
1849
|
+
# The progress of the current stage of a replication run.
|
1410
1850
|
# @return [String]
|
1411
1851
|
#
|
1412
1852
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ReplicationRunStageDetails AWS API Documentation
|
@@ -1414,25 +1854,26 @@ module Aws::SMS
|
|
1414
1854
|
class ReplicationRunStageDetails < Struct.new(
|
1415
1855
|
:stage,
|
1416
1856
|
:stage_progress)
|
1857
|
+
SENSITIVE = []
|
1417
1858
|
include Aws::Structure
|
1418
1859
|
end
|
1419
1860
|
|
1420
|
-
# Location of
|
1861
|
+
# Location of an Amazon S3 object.
|
1421
1862
|
#
|
1422
1863
|
# @note When making an API call, you may pass S3Location
|
1423
1864
|
# data as a hash:
|
1424
1865
|
#
|
1425
1866
|
# {
|
1426
|
-
# bucket: "
|
1427
|
-
# key: "
|
1867
|
+
# bucket: "S3BucketName",
|
1868
|
+
# key: "S3KeyName",
|
1428
1869
|
# }
|
1429
1870
|
#
|
1430
1871
|
# @!attribute [rw] bucket
|
1431
|
-
# Amazon S3 bucket name.
|
1872
|
+
# The Amazon S3 bucket name.
|
1432
1873
|
# @return [String]
|
1433
1874
|
#
|
1434
1875
|
# @!attribute [rw] key
|
1435
|
-
# Amazon S3 bucket key.
|
1876
|
+
# The Amazon S3 bucket key.
|
1436
1877
|
# @return [String]
|
1437
1878
|
#
|
1438
1879
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/S3Location AWS API Documentation
|
@@ -1440,6 +1881,78 @@ module Aws::SMS
|
|
1440
1881
|
class S3Location < Struct.new(
|
1441
1882
|
:bucket,
|
1442
1883
|
:key)
|
1884
|
+
SENSITIVE = []
|
1885
|
+
include Aws::Structure
|
1886
|
+
end
|
1887
|
+
|
1888
|
+
# Contains the location of validation output.
|
1889
|
+
#
|
1890
|
+
# @!attribute [rw] s3_location
|
1891
|
+
# Location of an Amazon S3 object.
|
1892
|
+
# @return [Types::S3Location]
|
1893
|
+
#
|
1894
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/SSMOutput AWS API Documentation
|
1895
|
+
#
|
1896
|
+
class SSMOutput < Struct.new(
|
1897
|
+
:s3_location)
|
1898
|
+
SENSITIVE = []
|
1899
|
+
include Aws::Structure
|
1900
|
+
end
|
1901
|
+
|
1902
|
+
# Contains validation parameters.
|
1903
|
+
#
|
1904
|
+
# @note When making an API call, you may pass SSMValidationParameters
|
1905
|
+
# data as a hash:
|
1906
|
+
#
|
1907
|
+
# {
|
1908
|
+
# source: {
|
1909
|
+
# s3_location: {
|
1910
|
+
# bucket: "S3BucketName",
|
1911
|
+
# key: "S3KeyName",
|
1912
|
+
# },
|
1913
|
+
# },
|
1914
|
+
# instance_id: "InstanceId",
|
1915
|
+
# script_type: "SHELL_SCRIPT", # accepts SHELL_SCRIPT, POWERSHELL_SCRIPT
|
1916
|
+
# command: "Command",
|
1917
|
+
# execution_timeout_seconds: 1,
|
1918
|
+
# output_s3_bucket_name: "BucketName",
|
1919
|
+
# }
|
1920
|
+
#
|
1921
|
+
# @!attribute [rw] source
|
1922
|
+
# The location of the validation script.
|
1923
|
+
# @return [Types::Source]
|
1924
|
+
#
|
1925
|
+
# @!attribute [rw] instance_id
|
1926
|
+
# The ID of the instance. The instance must have the following tag:
|
1927
|
+
# UserForSMSApplicationValidation=true.
|
1928
|
+
# @return [String]
|
1929
|
+
#
|
1930
|
+
# @!attribute [rw] script_type
|
1931
|
+
# The type of validation script.
|
1932
|
+
# @return [String]
|
1933
|
+
#
|
1934
|
+
# @!attribute [rw] command
|
1935
|
+
# The command to run the validation script
|
1936
|
+
# @return [String]
|
1937
|
+
#
|
1938
|
+
# @!attribute [rw] execution_timeout_seconds
|
1939
|
+
# The timeout interval, in seconds.
|
1940
|
+
# @return [Integer]
|
1941
|
+
#
|
1942
|
+
# @!attribute [rw] output_s3_bucket_name
|
1943
|
+
# The name of the S3 bucket for output.
|
1944
|
+
# @return [String]
|
1945
|
+
#
|
1946
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/SSMValidationParameters AWS API Documentation
|
1947
|
+
#
|
1948
|
+
class SSMValidationParameters < Struct.new(
|
1949
|
+
:source,
|
1950
|
+
:instance_id,
|
1951
|
+
:script_type,
|
1952
|
+
:command,
|
1953
|
+
:execution_timeout_seconds,
|
1954
|
+
:output_s3_bucket_name)
|
1955
|
+
SENSITIVE = []
|
1443
1956
|
include Aws::Structure
|
1444
1957
|
end
|
1445
1958
|
|
@@ -1466,7 +1979,7 @@ module Aws::SMS
|
|
1466
1979
|
# }
|
1467
1980
|
#
|
1468
1981
|
# @!attribute [rw] server_id
|
1469
|
-
# The
|
1982
|
+
# The ID of the server.
|
1470
1983
|
# @return [String]
|
1471
1984
|
#
|
1472
1985
|
# @!attribute [rw] server_type
|
@@ -1478,7 +1991,7 @@ module Aws::SMS
|
|
1478
1991
|
# @return [Types::VmServer]
|
1479
1992
|
#
|
1480
1993
|
# @!attribute [rw] replication_job_id
|
1481
|
-
# The
|
1994
|
+
# The ID of the replication job.
|
1482
1995
|
# @return [String]
|
1483
1996
|
#
|
1484
1997
|
# @!attribute [rw] replication_job_terminated
|
@@ -1493,6 +2006,7 @@ module Aws::SMS
|
|
1493
2006
|
:vm_server,
|
1494
2007
|
:replication_job_id,
|
1495
2008
|
:replication_job_terminated)
|
2009
|
+
SENSITIVE = []
|
1496
2010
|
include Aws::Structure
|
1497
2011
|
end
|
1498
2012
|
|
@@ -1505,10 +2019,11 @@ module Aws::SMS
|
|
1505
2019
|
#
|
1506
2020
|
class ServerCannotBeReplicatedException < Struct.new(
|
1507
2021
|
:message)
|
2022
|
+
SENSITIVE = []
|
1508
2023
|
include Aws::Structure
|
1509
2024
|
end
|
1510
2025
|
|
1511
|
-
#
|
2026
|
+
# Logical grouping of servers.
|
1512
2027
|
#
|
1513
2028
|
# @note When making an API call, you may pass ServerGroup
|
1514
2029
|
# data as a hash:
|
@@ -1537,15 +2052,15 @@ module Aws::SMS
|
|
1537
2052
|
# }
|
1538
2053
|
#
|
1539
2054
|
# @!attribute [rw] server_group_id
|
1540
|
-
#
|
2055
|
+
# The ID of a server group.
|
1541
2056
|
# @return [String]
|
1542
2057
|
#
|
1543
2058
|
# @!attribute [rw] name
|
1544
|
-
#
|
2059
|
+
# The name of a server group.
|
1545
2060
|
# @return [String]
|
1546
2061
|
#
|
1547
2062
|
# @!attribute [rw] server_list
|
1548
|
-
#
|
2063
|
+
# The servers that belong to a server group.
|
1549
2064
|
# @return [Array<Types::Server>]
|
1550
2065
|
#
|
1551
2066
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ServerGroup AWS API Documentation
|
@@ -1554,6 +2069,7 @@ module Aws::SMS
|
|
1554
2069
|
:server_group_id,
|
1555
2070
|
:name,
|
1556
2071
|
:server_list)
|
2072
|
+
SENSITIVE = []
|
1557
2073
|
include Aws::Structure
|
1558
2074
|
end
|
1559
2075
|
|
@@ -1590,27 +2106,33 @@ module Aws::SMS
|
|
1590
2106
|
# ec2_key_name: "EC2KeyName",
|
1591
2107
|
# user_data: {
|
1592
2108
|
# s3_location: {
|
1593
|
-
# bucket: "
|
1594
|
-
# key: "
|
2109
|
+
# bucket: "S3BucketName",
|
2110
|
+
# key: "S3KeyName",
|
1595
2111
|
# },
|
1596
2112
|
# },
|
1597
2113
|
# instance_type: "InstanceType",
|
1598
2114
|
# associate_public_ip_address: false,
|
2115
|
+
# iam_instance_profile_name: "RoleName",
|
2116
|
+
# configure_script: {
|
2117
|
+
# bucket: "S3BucketName",
|
2118
|
+
# key: "S3KeyName",
|
2119
|
+
# },
|
2120
|
+
# configure_script_type: "SHELL_SCRIPT", # accepts SHELL_SCRIPT, POWERSHELL_SCRIPT
|
1599
2121
|
# },
|
1600
2122
|
# ],
|
1601
2123
|
# }
|
1602
2124
|
#
|
1603
2125
|
# @!attribute [rw] server_group_id
|
1604
|
-
#
|
1605
|
-
# associated
|
2126
|
+
# The ID of the server group with which the launch configuration is
|
2127
|
+
# associated.
|
1606
2128
|
# @return [String]
|
1607
2129
|
#
|
1608
2130
|
# @!attribute [rw] launch_order
|
1609
|
-
#
|
2131
|
+
# The launch order of servers in the server group.
|
1610
2132
|
# @return [Integer]
|
1611
2133
|
#
|
1612
2134
|
# @!attribute [rw] server_launch_configurations
|
1613
|
-
#
|
2135
|
+
# The launch configuration for servers in the server group.
|
1614
2136
|
# @return [Array<Types::ServerLaunchConfiguration>]
|
1615
2137
|
#
|
1616
2138
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ServerGroupLaunchConfiguration AWS API Documentation
|
@@ -1619,6 +2141,7 @@ module Aws::SMS
|
|
1619
2141
|
:server_group_id,
|
1620
2142
|
:launch_order,
|
1621
2143
|
:server_launch_configurations)
|
2144
|
+
SENSITIVE = []
|
1622
2145
|
include Aws::Structure
|
1623
2146
|
end
|
1624
2147
|
|
@@ -1661,12 +2184,12 @@ module Aws::SMS
|
|
1661
2184
|
# }
|
1662
2185
|
#
|
1663
2186
|
# @!attribute [rw] server_group_id
|
1664
|
-
#
|
1665
|
-
# associated
|
2187
|
+
# The ID of the server group with which this replication configuration
|
2188
|
+
# is associated.
|
1666
2189
|
# @return [String]
|
1667
2190
|
#
|
1668
2191
|
# @!attribute [rw] server_replication_configurations
|
1669
|
-
#
|
2192
|
+
# The replication configuration for servers in the server group.
|
1670
2193
|
# @return [Array<Types::ServerReplicationConfiguration>]
|
1671
2194
|
#
|
1672
2195
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ServerGroupReplicationConfiguration AWS API Documentation
|
@@ -1674,6 +2197,65 @@ module Aws::SMS
|
|
1674
2197
|
class ServerGroupReplicationConfiguration < Struct.new(
|
1675
2198
|
:server_group_id,
|
1676
2199
|
:server_replication_configurations)
|
2200
|
+
SENSITIVE = []
|
2201
|
+
include Aws::Structure
|
2202
|
+
end
|
2203
|
+
|
2204
|
+
# Configuration for validating an instance.
|
2205
|
+
#
|
2206
|
+
# @note When making an API call, you may pass ServerGroupValidationConfiguration
|
2207
|
+
# data as a hash:
|
2208
|
+
#
|
2209
|
+
# {
|
2210
|
+
# server_group_id: "ServerGroupId",
|
2211
|
+
# server_validation_configurations: [
|
2212
|
+
# {
|
2213
|
+
# server: {
|
2214
|
+
# server_id: "ServerId",
|
2215
|
+
# server_type: "VIRTUAL_MACHINE", # accepts VIRTUAL_MACHINE
|
2216
|
+
# vm_server: {
|
2217
|
+
# vm_server_address: {
|
2218
|
+
# vm_manager_id: "VmManagerId",
|
2219
|
+
# vm_id: "VmId",
|
2220
|
+
# },
|
2221
|
+
# vm_name: "VmName",
|
2222
|
+
# vm_manager_name: "VmManagerName",
|
2223
|
+
# vm_manager_type: "VSPHERE", # accepts VSPHERE, SCVMM, HYPERV-MANAGER
|
2224
|
+
# vm_path: "VmPath",
|
2225
|
+
# },
|
2226
|
+
# replication_job_id: "ReplicationJobId",
|
2227
|
+
# replication_job_terminated: false,
|
2228
|
+
# },
|
2229
|
+
# validation_id: "ValidationId",
|
2230
|
+
# name: "NonEmptyStringWithMaxLen255",
|
2231
|
+
# server_validation_strategy: "USERDATA", # accepts USERDATA
|
2232
|
+
# user_data_validation_parameters: {
|
2233
|
+
# source: {
|
2234
|
+
# s3_location: {
|
2235
|
+
# bucket: "S3BucketName",
|
2236
|
+
# key: "S3KeyName",
|
2237
|
+
# },
|
2238
|
+
# },
|
2239
|
+
# script_type: "SHELL_SCRIPT", # accepts SHELL_SCRIPT, POWERSHELL_SCRIPT
|
2240
|
+
# },
|
2241
|
+
# },
|
2242
|
+
# ],
|
2243
|
+
# }
|
2244
|
+
#
|
2245
|
+
# @!attribute [rw] server_group_id
|
2246
|
+
# The ID of the server group.
|
2247
|
+
# @return [String]
|
2248
|
+
#
|
2249
|
+
# @!attribute [rw] server_validation_configurations
|
2250
|
+
# The validation configuration.
|
2251
|
+
# @return [Array<Types::ServerValidationConfiguration>]
|
2252
|
+
#
|
2253
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ServerGroupValidationConfiguration AWS API Documentation
|
2254
|
+
#
|
2255
|
+
class ServerGroupValidationConfiguration < Struct.new(
|
2256
|
+
:server_group_id,
|
2257
|
+
:server_validation_configurations)
|
2258
|
+
SENSITIVE = []
|
1677
2259
|
include Aws::Structure
|
1678
2260
|
end
|
1679
2261
|
|
@@ -1706,39 +2288,44 @@ module Aws::SMS
|
|
1706
2288
|
# ec2_key_name: "EC2KeyName",
|
1707
2289
|
# user_data: {
|
1708
2290
|
# s3_location: {
|
1709
|
-
# bucket: "
|
1710
|
-
# key: "
|
2291
|
+
# bucket: "S3BucketName",
|
2292
|
+
# key: "S3KeyName",
|
1711
2293
|
# },
|
1712
2294
|
# },
|
1713
2295
|
# instance_type: "InstanceType",
|
1714
2296
|
# associate_public_ip_address: false,
|
2297
|
+
# iam_instance_profile_name: "RoleName",
|
2298
|
+
# configure_script: {
|
2299
|
+
# bucket: "S3BucketName",
|
2300
|
+
# key: "S3KeyName",
|
2301
|
+
# },
|
2302
|
+
# configure_script_type: "SHELL_SCRIPT", # accepts SHELL_SCRIPT, POWERSHELL_SCRIPT
|
1715
2303
|
# }
|
1716
2304
|
#
|
1717
2305
|
# @!attribute [rw] server
|
1718
|
-
#
|
1719
|
-
#
|
2306
|
+
# The ID of the server with which the launch configuration is
|
2307
|
+
# associated.
|
1720
2308
|
# @return [Types::Server]
|
1721
2309
|
#
|
1722
2310
|
# @!attribute [rw] logical_id
|
1723
|
-
#
|
2311
|
+
# The logical ID of the server in the AWS CloudFormation template.
|
1724
2312
|
# @return [String]
|
1725
2313
|
#
|
1726
2314
|
# @!attribute [rw] vpc
|
1727
|
-
#
|
2315
|
+
# The ID of the VPC into which the server should be launched.
|
1728
2316
|
# @return [String]
|
1729
2317
|
#
|
1730
2318
|
# @!attribute [rw] subnet
|
1731
|
-
#
|
2319
|
+
# The ID of the subnet the server should be launched into.
|
1732
2320
|
# @return [String]
|
1733
2321
|
#
|
1734
2322
|
# @!attribute [rw] security_group
|
1735
|
-
#
|
1736
|
-
# server.
|
2323
|
+
# The ID of the security group that applies to the launched server.
|
1737
2324
|
# @return [String]
|
1738
2325
|
#
|
1739
2326
|
# @!attribute [rw] ec2_key_name
|
1740
|
-
#
|
1741
|
-
# server.
|
2327
|
+
# The name of the Amazon EC2 SSH key to be used for connecting to the
|
2328
|
+
# launched server.
|
1742
2329
|
# @return [String]
|
1743
2330
|
#
|
1744
2331
|
# @!attribute [rw] user_data
|
@@ -1747,14 +2334,26 @@ module Aws::SMS
|
|
1747
2334
|
# @return [Types::UserData]
|
1748
2335
|
#
|
1749
2336
|
# @!attribute [rw] instance_type
|
1750
|
-
#
|
2337
|
+
# The instance type to use when launching the server.
|
1751
2338
|
# @return [String]
|
1752
2339
|
#
|
1753
2340
|
# @!attribute [rw] associate_public_ip_address
|
1754
|
-
#
|
1755
|
-
# the server.
|
2341
|
+
# Indicates whether a publicly accessible IP address is created when
|
2342
|
+
# launching the server.
|
1756
2343
|
# @return [Boolean]
|
1757
2344
|
#
|
2345
|
+
# @!attribute [rw] iam_instance_profile_name
|
2346
|
+
# The name of the IAM instance profile.
|
2347
|
+
# @return [String]
|
2348
|
+
#
|
2349
|
+
# @!attribute [rw] configure_script
|
2350
|
+
# Location of an Amazon S3 object.
|
2351
|
+
# @return [Types::S3Location]
|
2352
|
+
#
|
2353
|
+
# @!attribute [rw] configure_script_type
|
2354
|
+
# The type of configuration script.
|
2355
|
+
# @return [String]
|
2356
|
+
#
|
1758
2357
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ServerLaunchConfiguration AWS API Documentation
|
1759
2358
|
#
|
1760
2359
|
class ServerLaunchConfiguration < Struct.new(
|
@@ -1766,7 +2365,11 @@ module Aws::SMS
|
|
1766
2365
|
:ec2_key_name,
|
1767
2366
|
:user_data,
|
1768
2367
|
:instance_type,
|
1769
|
-
:associate_public_ip_address
|
2368
|
+
:associate_public_ip_address,
|
2369
|
+
:iam_instance_profile_name,
|
2370
|
+
:configure_script,
|
2371
|
+
:configure_script_type)
|
2372
|
+
SENSITIVE = []
|
1770
2373
|
include Aws::Structure
|
1771
2374
|
end
|
1772
2375
|
|
@@ -1804,12 +2407,12 @@ module Aws::SMS
|
|
1804
2407
|
# }
|
1805
2408
|
#
|
1806
2409
|
# @!attribute [rw] server
|
1807
|
-
#
|
1808
|
-
# associated
|
2410
|
+
# The ID of the server with which this replication configuration is
|
2411
|
+
# associated.
|
1809
2412
|
# @return [Types::Server]
|
1810
2413
|
#
|
1811
2414
|
# @!attribute [rw] server_replication_parameters
|
1812
|
-
#
|
2415
|
+
# The parameters for replicating the server.
|
1813
2416
|
# @return [Types::ServerReplicationParameters]
|
1814
2417
|
#
|
1815
2418
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ServerReplicationConfiguration AWS API Documentation
|
@@ -1817,10 +2420,11 @@ module Aws::SMS
|
|
1817
2420
|
class ServerReplicationConfiguration < Struct.new(
|
1818
2421
|
:server,
|
1819
2422
|
:server_replication_parameters)
|
2423
|
+
SENSITIVE = []
|
1820
2424
|
include Aws::Structure
|
1821
2425
|
end
|
1822
2426
|
|
1823
|
-
#
|
2427
|
+
# The replication parameters for replicating a server.
|
1824
2428
|
#
|
1825
2429
|
# @note When making an API call, you may pass ServerReplicationParameters
|
1826
2430
|
# data as a hash:
|
@@ -1836,44 +2440,44 @@ module Aws::SMS
|
|
1836
2440
|
# }
|
1837
2441
|
#
|
1838
2442
|
# @!attribute [rw] seed_time
|
1839
|
-
#
|
2443
|
+
# The seed time for creating a replication job for the server.
|
1840
2444
|
# @return [Time]
|
1841
2445
|
#
|
1842
2446
|
# @!attribute [rw] frequency
|
1843
|
-
#
|
2447
|
+
# The frequency of creating replication jobs for the server.
|
1844
2448
|
# @return [Integer]
|
1845
2449
|
#
|
1846
2450
|
# @!attribute [rw] run_once
|
2451
|
+
# Indicates whether to run the replication job one time.
|
1847
2452
|
# @return [Boolean]
|
1848
2453
|
#
|
1849
2454
|
# @!attribute [rw] license_type
|
1850
|
-
#
|
2455
|
+
# The license type for creating a replication job for the server.
|
1851
2456
|
# @return [String]
|
1852
2457
|
#
|
1853
2458
|
# @!attribute [rw] number_of_recent_amis_to_keep
|
1854
|
-
#
|
1855
|
-
# this server.
|
2459
|
+
# The number of recent AMIs to keep when creating a replication job
|
2460
|
+
# for this server.
|
1856
2461
|
# @return [Integer]
|
1857
2462
|
#
|
1858
2463
|
# @!attribute [rw] encrypted
|
1859
|
-
#
|
1860
|
-
# `KmsKeyId` below.
|
2464
|
+
# Indicates whether the replication job produces encrypted AMIs.
|
1861
2465
|
# @return [Boolean]
|
1862
2466
|
#
|
1863
2467
|
# @!attribute [rw] kms_key_id
|
1864
|
-
# KMS key
|
1865
|
-
# any of the following:
|
2468
|
+
# The ID of the KMS key for replication jobs that produce encrypted
|
2469
|
+
# AMIs. This value can be any of the following:
|
1866
2470
|
#
|
1867
2471
|
# * KMS key ID
|
1868
2472
|
#
|
1869
2473
|
# * KMS key alias
|
1870
2474
|
#
|
1871
|
-
# * ARN referring to KMS key ID
|
2475
|
+
# * ARN referring to the KMS key ID
|
1872
2476
|
#
|
1873
|
-
# * ARN referring to KMS key alias
|
2477
|
+
# * ARN referring to the KMS key alias
|
1874
2478
|
#
|
1875
|
-
# If encrypted is
|
1876
|
-
# customer's default KMS key for EBS is used.
|
2479
|
+
# If encrypted is enabled but a KMS key ID is not specified, the
|
2480
|
+
# customer's default KMS key for Amazon EBS is used.
|
1877
2481
|
# @return [String]
|
1878
2482
|
#
|
1879
2483
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ServerReplicationParameters AWS API Documentation
|
@@ -1886,6 +2490,113 @@ module Aws::SMS
|
|
1886
2490
|
:number_of_recent_amis_to_keep,
|
1887
2491
|
:encrypted,
|
1888
2492
|
:kms_key_id)
|
2493
|
+
SENSITIVE = []
|
2494
|
+
include Aws::Structure
|
2495
|
+
end
|
2496
|
+
|
2497
|
+
# Configuration for validating an instance.
|
2498
|
+
#
|
2499
|
+
# @note When making an API call, you may pass ServerValidationConfiguration
|
2500
|
+
# data as a hash:
|
2501
|
+
#
|
2502
|
+
# {
|
2503
|
+
# server: {
|
2504
|
+
# server_id: "ServerId",
|
2505
|
+
# server_type: "VIRTUAL_MACHINE", # accepts VIRTUAL_MACHINE
|
2506
|
+
# vm_server: {
|
2507
|
+
# vm_server_address: {
|
2508
|
+
# vm_manager_id: "VmManagerId",
|
2509
|
+
# vm_id: "VmId",
|
2510
|
+
# },
|
2511
|
+
# vm_name: "VmName",
|
2512
|
+
# vm_manager_name: "VmManagerName",
|
2513
|
+
# vm_manager_type: "VSPHERE", # accepts VSPHERE, SCVMM, HYPERV-MANAGER
|
2514
|
+
# vm_path: "VmPath",
|
2515
|
+
# },
|
2516
|
+
# replication_job_id: "ReplicationJobId",
|
2517
|
+
# replication_job_terminated: false,
|
2518
|
+
# },
|
2519
|
+
# validation_id: "ValidationId",
|
2520
|
+
# name: "NonEmptyStringWithMaxLen255",
|
2521
|
+
# server_validation_strategy: "USERDATA", # accepts USERDATA
|
2522
|
+
# user_data_validation_parameters: {
|
2523
|
+
# source: {
|
2524
|
+
# s3_location: {
|
2525
|
+
# bucket: "S3BucketName",
|
2526
|
+
# key: "S3KeyName",
|
2527
|
+
# },
|
2528
|
+
# },
|
2529
|
+
# script_type: "SHELL_SCRIPT", # accepts SHELL_SCRIPT, POWERSHELL_SCRIPT
|
2530
|
+
# },
|
2531
|
+
# }
|
2532
|
+
#
|
2533
|
+
# @!attribute [rw] server
|
2534
|
+
# Represents a server.
|
2535
|
+
# @return [Types::Server]
|
2536
|
+
#
|
2537
|
+
# @!attribute [rw] validation_id
|
2538
|
+
# The ID of the validation.
|
2539
|
+
# @return [String]
|
2540
|
+
#
|
2541
|
+
# @!attribute [rw] name
|
2542
|
+
# The name of the configuration.
|
2543
|
+
# @return [String]
|
2544
|
+
#
|
2545
|
+
# @!attribute [rw] server_validation_strategy
|
2546
|
+
# The validation strategy.
|
2547
|
+
# @return [String]
|
2548
|
+
#
|
2549
|
+
# @!attribute [rw] user_data_validation_parameters
|
2550
|
+
# The validation parameters.
|
2551
|
+
# @return [Types::UserDataValidationParameters]
|
2552
|
+
#
|
2553
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ServerValidationConfiguration AWS API Documentation
|
2554
|
+
#
|
2555
|
+
class ServerValidationConfiguration < Struct.new(
|
2556
|
+
:server,
|
2557
|
+
:validation_id,
|
2558
|
+
:name,
|
2559
|
+
:server_validation_strategy,
|
2560
|
+
:user_data_validation_parameters)
|
2561
|
+
SENSITIVE = []
|
2562
|
+
include Aws::Structure
|
2563
|
+
end
|
2564
|
+
|
2565
|
+
# Contains output from validating an instance.
|
2566
|
+
#
|
2567
|
+
# @!attribute [rw] server
|
2568
|
+
# Represents a server.
|
2569
|
+
# @return [Types::Server]
|
2570
|
+
#
|
2571
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ServerValidationOutput AWS API Documentation
|
2572
|
+
#
|
2573
|
+
class ServerValidationOutput < Struct.new(
|
2574
|
+
:server)
|
2575
|
+
SENSITIVE = []
|
2576
|
+
include Aws::Structure
|
2577
|
+
end
|
2578
|
+
|
2579
|
+
# Contains the location of a validation script.
|
2580
|
+
#
|
2581
|
+
# @note When making an API call, you may pass Source
|
2582
|
+
# data as a hash:
|
2583
|
+
#
|
2584
|
+
# {
|
2585
|
+
# s3_location: {
|
2586
|
+
# bucket: "S3BucketName",
|
2587
|
+
# key: "S3KeyName",
|
2588
|
+
# },
|
2589
|
+
# }
|
2590
|
+
#
|
2591
|
+
# @!attribute [rw] s3_location
|
2592
|
+
# Location of an Amazon S3 object.
|
2593
|
+
# @return [Types::S3Location]
|
2594
|
+
#
|
2595
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/Source AWS API Documentation
|
2596
|
+
#
|
2597
|
+
class Source < Struct.new(
|
2598
|
+
:s3_location)
|
2599
|
+
SENSITIVE = []
|
1889
2600
|
include Aws::Structure
|
1890
2601
|
end
|
1891
2602
|
|
@@ -1897,13 +2608,14 @@ module Aws::SMS
|
|
1897
2608
|
# }
|
1898
2609
|
#
|
1899
2610
|
# @!attribute [rw] app_id
|
1900
|
-
# ID of the application
|
2611
|
+
# The ID of the application.
|
1901
2612
|
# @return [String]
|
1902
2613
|
#
|
1903
2614
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/StartAppReplicationRequest AWS API Documentation
|
1904
2615
|
#
|
1905
2616
|
class StartAppReplicationRequest < Struct.new(
|
1906
2617
|
:app_id)
|
2618
|
+
SENSITIVE = []
|
1907
2619
|
include Aws::Structure
|
1908
2620
|
end
|
1909
2621
|
|
@@ -1911,6 +2623,35 @@ module Aws::SMS
|
|
1911
2623
|
#
|
1912
2624
|
class StartAppReplicationResponse < Aws::EmptyStructure; end
|
1913
2625
|
|
2626
|
+
# @note When making an API call, you may pass StartOnDemandAppReplicationRequest
|
2627
|
+
# data as a hash:
|
2628
|
+
#
|
2629
|
+
# {
|
2630
|
+
# app_id: "AppId", # required
|
2631
|
+
# description: "Description",
|
2632
|
+
# }
|
2633
|
+
#
|
2634
|
+
# @!attribute [rw] app_id
|
2635
|
+
# The ID of the application.
|
2636
|
+
# @return [String]
|
2637
|
+
#
|
2638
|
+
# @!attribute [rw] description
|
2639
|
+
# The description of the replication run.
|
2640
|
+
# @return [String]
|
2641
|
+
#
|
2642
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/StartOnDemandAppReplicationRequest AWS API Documentation
|
2643
|
+
#
|
2644
|
+
class StartOnDemandAppReplicationRequest < Struct.new(
|
2645
|
+
:app_id,
|
2646
|
+
:description)
|
2647
|
+
SENSITIVE = []
|
2648
|
+
include Aws::Structure
|
2649
|
+
end
|
2650
|
+
|
2651
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/StartOnDemandAppReplicationResponse AWS API Documentation
|
2652
|
+
#
|
2653
|
+
class StartOnDemandAppReplicationResponse < Aws::EmptyStructure; end
|
2654
|
+
|
1914
2655
|
# @note When making an API call, you may pass StartOnDemandReplicationRunRequest
|
1915
2656
|
# data as a hash:
|
1916
2657
|
#
|
@@ -1920,7 +2661,7 @@ module Aws::SMS
|
|
1920
2661
|
# }
|
1921
2662
|
#
|
1922
2663
|
# @!attribute [rw] replication_job_id
|
1923
|
-
# The
|
2664
|
+
# The ID of the replication job.
|
1924
2665
|
# @return [String]
|
1925
2666
|
#
|
1926
2667
|
# @!attribute [rw] description
|
@@ -1932,17 +2673,19 @@ module Aws::SMS
|
|
1932
2673
|
class StartOnDemandReplicationRunRequest < Struct.new(
|
1933
2674
|
:replication_job_id,
|
1934
2675
|
:description)
|
2676
|
+
SENSITIVE = []
|
1935
2677
|
include Aws::Structure
|
1936
2678
|
end
|
1937
2679
|
|
1938
2680
|
# @!attribute [rw] replication_run_id
|
1939
|
-
# The
|
2681
|
+
# The ID of the replication run.
|
1940
2682
|
# @return [String]
|
1941
2683
|
#
|
1942
2684
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/StartOnDemandReplicationRunResponse AWS API Documentation
|
1943
2685
|
#
|
1944
2686
|
class StartOnDemandReplicationRunResponse < Struct.new(
|
1945
2687
|
:replication_run_id)
|
2688
|
+
SENSITIVE = []
|
1946
2689
|
include Aws::Structure
|
1947
2690
|
end
|
1948
2691
|
|
@@ -1954,13 +2697,14 @@ module Aws::SMS
|
|
1954
2697
|
# }
|
1955
2698
|
#
|
1956
2699
|
# @!attribute [rw] app_id
|
1957
|
-
# ID of the application
|
2700
|
+
# The ID of the application.
|
1958
2701
|
# @return [String]
|
1959
2702
|
#
|
1960
2703
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/StopAppReplicationRequest AWS API Documentation
|
1961
2704
|
#
|
1962
2705
|
class StopAppReplicationRequest < Struct.new(
|
1963
2706
|
:app_id)
|
2707
|
+
SENSITIVE = []
|
1964
2708
|
include Aws::Structure
|
1965
2709
|
end
|
1966
2710
|
|
@@ -1968,7 +2712,7 @@ module Aws::SMS
|
|
1968
2712
|
#
|
1969
2713
|
class StopAppReplicationResponse < Aws::EmptyStructure; end
|
1970
2714
|
|
1971
|
-
#
|
2715
|
+
# Key/value pair that can be assigned to an application.
|
1972
2716
|
#
|
1973
2717
|
# @note When making an API call, you may pass Tag
|
1974
2718
|
# data as a hash:
|
@@ -1979,11 +2723,11 @@ module Aws::SMS
|
|
1979
2723
|
# }
|
1980
2724
|
#
|
1981
2725
|
# @!attribute [rw] key
|
1982
|
-
#
|
2726
|
+
# The tag key.
|
1983
2727
|
# @return [String]
|
1984
2728
|
#
|
1985
2729
|
# @!attribute [rw] value
|
1986
|
-
#
|
2730
|
+
# The tag value.
|
1987
2731
|
# @return [String]
|
1988
2732
|
#
|
1989
2733
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/Tag AWS API Documentation
|
@@ -1991,6 +2735,7 @@ module Aws::SMS
|
|
1991
2735
|
class Tag < Struct.new(
|
1992
2736
|
:key,
|
1993
2737
|
:value)
|
2738
|
+
SENSITIVE = []
|
1994
2739
|
include Aws::Structure
|
1995
2740
|
end
|
1996
2741
|
|
@@ -2008,13 +2753,14 @@ module Aws::SMS
|
|
2008
2753
|
# }
|
2009
2754
|
#
|
2010
2755
|
# @!attribute [rw] app_id
|
2011
|
-
# ID of the application
|
2756
|
+
# The ID of the application.
|
2012
2757
|
# @return [String]
|
2013
2758
|
#
|
2014
2759
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/TerminateAppRequest AWS API Documentation
|
2015
2760
|
#
|
2016
2761
|
class TerminateAppRequest < Struct.new(
|
2017
2762
|
:app_id)
|
2763
|
+
SENSITIVE = []
|
2018
2764
|
include Aws::Structure
|
2019
2765
|
end
|
2020
2766
|
|
@@ -2032,6 +2778,7 @@ module Aws::SMS
|
|
2032
2778
|
#
|
2033
2779
|
class UnauthorizedOperationException < Struct.new(
|
2034
2780
|
:message)
|
2781
|
+
SENSITIVE = []
|
2035
2782
|
include Aws::Structure
|
2036
2783
|
end
|
2037
2784
|
|
@@ -2076,27 +2823,28 @@ module Aws::SMS
|
|
2076
2823
|
# }
|
2077
2824
|
#
|
2078
2825
|
# @!attribute [rw] app_id
|
2079
|
-
# ID of the application
|
2826
|
+
# The ID of the application.
|
2080
2827
|
# @return [String]
|
2081
2828
|
#
|
2082
2829
|
# @!attribute [rw] name
|
2083
|
-
#
|
2830
|
+
# The new name of the application.
|
2084
2831
|
# @return [String]
|
2085
2832
|
#
|
2086
2833
|
# @!attribute [rw] description
|
2087
|
-
#
|
2834
|
+
# The new description of the application.
|
2088
2835
|
# @return [String]
|
2089
2836
|
#
|
2090
2837
|
# @!attribute [rw] role_name
|
2091
|
-
#
|
2838
|
+
# The name of the service role in the customer's account used by AWS
|
2839
|
+
# SMS.
|
2092
2840
|
# @return [String]
|
2093
2841
|
#
|
2094
2842
|
# @!attribute [rw] server_groups
|
2095
|
-
#
|
2843
|
+
# The server groups in the application to update.
|
2096
2844
|
# @return [Array<Types::ServerGroup>]
|
2097
2845
|
#
|
2098
2846
|
# @!attribute [rw] tags
|
2099
|
-
#
|
2847
|
+
# The tags to associate with the application.
|
2100
2848
|
# @return [Array<Types::Tag>]
|
2101
2849
|
#
|
2102
2850
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/UpdateAppRequest AWS API Documentation
|
@@ -2108,19 +2856,20 @@ module Aws::SMS
|
|
2108
2856
|
:role_name,
|
2109
2857
|
:server_groups,
|
2110
2858
|
:tags)
|
2859
|
+
SENSITIVE = []
|
2111
2860
|
include Aws::Structure
|
2112
2861
|
end
|
2113
2862
|
|
2114
2863
|
# @!attribute [rw] app_summary
|
2115
|
-
#
|
2864
|
+
# A summary description of the application.
|
2116
2865
|
# @return [Types::AppSummary]
|
2117
2866
|
#
|
2118
2867
|
# @!attribute [rw] server_groups
|
2119
|
-
#
|
2868
|
+
# The updated server groups in the application.
|
2120
2869
|
# @return [Array<Types::ServerGroup>]
|
2121
2870
|
#
|
2122
2871
|
# @!attribute [rw] tags
|
2123
|
-
#
|
2872
|
+
# The tags associated with the application.
|
2124
2873
|
# @return [Array<Types::Tag>]
|
2125
2874
|
#
|
2126
2875
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/UpdateAppResponse AWS API Documentation
|
@@ -2129,6 +2878,7 @@ module Aws::SMS
|
|
2129
2878
|
:app_summary,
|
2130
2879
|
:server_groups,
|
2131
2880
|
:tags)
|
2881
|
+
SENSITIVE = []
|
2132
2882
|
include Aws::Structure
|
2133
2883
|
end
|
2134
2884
|
|
@@ -2148,7 +2898,7 @@ module Aws::SMS
|
|
2148
2898
|
# }
|
2149
2899
|
#
|
2150
2900
|
# @!attribute [rw] replication_job_id
|
2151
|
-
# The
|
2901
|
+
# The ID of the replication job.
|
2152
2902
|
# @return [String]
|
2153
2903
|
#
|
2154
2904
|
# @!attribute [rw] frequency
|
@@ -2173,29 +2923,30 @@ module Aws::SMS
|
|
2173
2923
|
# @return [String]
|
2174
2924
|
#
|
2175
2925
|
# @!attribute [rw] number_of_recent_amis_to_keep
|
2176
|
-
# The maximum number of SMS-created AMIs to retain. The oldest
|
2177
|
-
# deleted
|
2926
|
+
# The maximum number of SMS-created AMIs to retain. The oldest is
|
2927
|
+
# deleted after the maximum number is reached and a new AMI is
|
2928
|
+
# created.
|
2178
2929
|
# @return [Integer]
|
2179
2930
|
#
|
2180
2931
|
# @!attribute [rw] encrypted
|
2181
|
-
# When true, the replication job produces encrypted AMIs
|
2182
|
-
# `KmsKeyId
|
2932
|
+
# When true, the replication job produces encrypted AMIs. For more
|
2933
|
+
# information, `KmsKeyId`.
|
2183
2934
|
# @return [Boolean]
|
2184
2935
|
#
|
2185
2936
|
# @!attribute [rw] kms_key_id
|
2186
|
-
# KMS key
|
2187
|
-
# any of the following:
|
2937
|
+
# The ID of the KMS key for replication jobs that produce encrypted
|
2938
|
+
# AMIs. This value can be any of the following:
|
2188
2939
|
#
|
2189
2940
|
# * KMS key ID
|
2190
2941
|
#
|
2191
2942
|
# * KMS key alias
|
2192
2943
|
#
|
2193
|
-
# * ARN referring to KMS key ID
|
2944
|
+
# * ARN referring to the KMS key ID
|
2194
2945
|
#
|
2195
|
-
# * ARN referring to KMS key alias
|
2946
|
+
# * ARN referring to the KMS key alias
|
2196
2947
|
#
|
2197
|
-
# If encrypted is
|
2198
|
-
# customer's default KMS key for EBS is used.
|
2948
|
+
# If encrypted is enabled but a KMS key ID is not specified, the
|
2949
|
+
# customer's default KMS key for Amazon EBS is used.
|
2199
2950
|
# @return [String]
|
2200
2951
|
#
|
2201
2952
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/UpdateReplicationJobRequest AWS API Documentation
|
@@ -2210,6 +2961,7 @@ module Aws::SMS
|
|
2210
2961
|
:number_of_recent_amis_to_keep,
|
2211
2962
|
:encrypted,
|
2212
2963
|
:kms_key_id)
|
2964
|
+
SENSITIVE = []
|
2213
2965
|
include Aws::Structure
|
2214
2966
|
end
|
2215
2967
|
|
@@ -2225,8 +2977,8 @@ module Aws::SMS
|
|
2225
2977
|
#
|
2226
2978
|
# {
|
2227
2979
|
# s3_location: {
|
2228
|
-
# bucket: "
|
2229
|
-
# key: "
|
2980
|
+
# bucket: "S3BucketName",
|
2981
|
+
# key: "S3KeyName",
|
2230
2982
|
# },
|
2231
2983
|
# }
|
2232
2984
|
#
|
@@ -2238,6 +2990,83 @@ module Aws::SMS
|
|
2238
2990
|
#
|
2239
2991
|
class UserData < Struct.new(
|
2240
2992
|
:s3_location)
|
2993
|
+
SENSITIVE = []
|
2994
|
+
include Aws::Structure
|
2995
|
+
end
|
2996
|
+
|
2997
|
+
# Contains validation parameters.
|
2998
|
+
#
|
2999
|
+
# @note When making an API call, you may pass UserDataValidationParameters
|
3000
|
+
# data as a hash:
|
3001
|
+
#
|
3002
|
+
# {
|
3003
|
+
# source: {
|
3004
|
+
# s3_location: {
|
3005
|
+
# bucket: "S3BucketName",
|
3006
|
+
# key: "S3KeyName",
|
3007
|
+
# },
|
3008
|
+
# },
|
3009
|
+
# script_type: "SHELL_SCRIPT", # accepts SHELL_SCRIPT, POWERSHELL_SCRIPT
|
3010
|
+
# }
|
3011
|
+
#
|
3012
|
+
# @!attribute [rw] source
|
3013
|
+
# The location of the validation script.
|
3014
|
+
# @return [Types::Source]
|
3015
|
+
#
|
3016
|
+
# @!attribute [rw] script_type
|
3017
|
+
# The type of validation script.
|
3018
|
+
# @return [String]
|
3019
|
+
#
|
3020
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/UserDataValidationParameters AWS API Documentation
|
3021
|
+
#
|
3022
|
+
class UserDataValidationParameters < Struct.new(
|
3023
|
+
:source,
|
3024
|
+
:script_type)
|
3025
|
+
SENSITIVE = []
|
3026
|
+
include Aws::Structure
|
3027
|
+
end
|
3028
|
+
|
3029
|
+
# Contains validation output.
|
3030
|
+
#
|
3031
|
+
# @!attribute [rw] validation_id
|
3032
|
+
# The ID of the validation.
|
3033
|
+
# @return [String]
|
3034
|
+
#
|
3035
|
+
# @!attribute [rw] name
|
3036
|
+
# The name of the validation.
|
3037
|
+
# @return [String]
|
3038
|
+
#
|
3039
|
+
# @!attribute [rw] status
|
3040
|
+
# The status of the validation.
|
3041
|
+
# @return [String]
|
3042
|
+
#
|
3043
|
+
# @!attribute [rw] status_message
|
3044
|
+
# The status message.
|
3045
|
+
# @return [String]
|
3046
|
+
#
|
3047
|
+
# @!attribute [rw] latest_validation_time
|
3048
|
+
# The latest time that the validation was performed.
|
3049
|
+
# @return [Time]
|
3050
|
+
#
|
3051
|
+
# @!attribute [rw] app_validation_output
|
3052
|
+
# The output from validating an application.
|
3053
|
+
# @return [Types::AppValidationOutput]
|
3054
|
+
#
|
3055
|
+
# @!attribute [rw] server_validation_output
|
3056
|
+
# The output from validation an instance.
|
3057
|
+
# @return [Types::ServerValidationOutput]
|
3058
|
+
#
|
3059
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ValidationOutput AWS API Documentation
|
3060
|
+
#
|
3061
|
+
class ValidationOutput < Struct.new(
|
3062
|
+
:validation_id,
|
3063
|
+
:name,
|
3064
|
+
:status,
|
3065
|
+
:status_message,
|
3066
|
+
:latest_validation_time,
|
3067
|
+
:app_validation_output,
|
3068
|
+
:server_validation_output)
|
3069
|
+
SENSITIVE = []
|
2241
3070
|
include Aws::Structure
|
2242
3071
|
end
|
2243
3072
|
|
@@ -2258,7 +3087,7 @@ module Aws::SMS
|
|
2258
3087
|
# }
|
2259
3088
|
#
|
2260
3089
|
# @!attribute [rw] vm_server_address
|
2261
|
-
#
|
3090
|
+
# The VM server location.
|
2262
3091
|
# @return [Types::VmServerAddress]
|
2263
3092
|
#
|
2264
3093
|
# @!attribute [rw] vm_name
|
@@ -2286,6 +3115,7 @@ module Aws::SMS
|
|
2286
3115
|
:vm_manager_name,
|
2287
3116
|
:vm_manager_type,
|
2288
3117
|
:vm_path)
|
3118
|
+
SENSITIVE = []
|
2289
3119
|
include Aws::Structure
|
2290
3120
|
end
|
2291
3121
|
|
@@ -2300,11 +3130,11 @@ module Aws::SMS
|
|
2300
3130
|
# }
|
2301
3131
|
#
|
2302
3132
|
# @!attribute [rw] vm_manager_id
|
2303
|
-
# The
|
3133
|
+
# The ID of the VM manager.
|
2304
3134
|
# @return [String]
|
2305
3135
|
#
|
2306
3136
|
# @!attribute [rw] vm_id
|
2307
|
-
# The
|
3137
|
+
# The ID of the VM.
|
2308
3138
|
# @return [String]
|
2309
3139
|
#
|
2310
3140
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/VmServerAddress AWS API Documentation
|
@@ -2312,6 +3142,7 @@ module Aws::SMS
|
|
2312
3142
|
class VmServerAddress < Struct.new(
|
2313
3143
|
:vm_manager_id,
|
2314
3144
|
:vm_id)
|
3145
|
+
SENSITIVE = []
|
2315
3146
|
include Aws::Structure
|
2316
3147
|
end
|
2317
3148
|
|