aws-sdk-mgn 1.11.0 → 1.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-mgn/client.rb +396 -44
- data/lib/aws-sdk-mgn/client_api.rb +176 -6
- data/lib/aws-sdk-mgn/errors.rb +10 -0
- data/lib/aws-sdk-mgn/types.rb +527 -43
- data/lib/aws-sdk-mgn.rb +1 -1
- metadata +2 -2
@@ -16,13 +16,17 @@ module Aws::Mgn
|
|
16
16
|
ARN = Shapes::StringShape.new(name: 'ARN')
|
17
17
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
18
18
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
19
|
+
BootMode = Shapes::StringShape.new(name: 'BootMode')
|
19
20
|
BoundedString = Shapes::StringShape.new(name: 'BoundedString')
|
20
21
|
CPU = Shapes::StructureShape.new(name: 'CPU')
|
21
22
|
ChangeServerLifeCycleStateRequest = Shapes::StructureShape.new(name: 'ChangeServerLifeCycleStateRequest')
|
22
23
|
ChangeServerLifeCycleStateSourceServerLifecycle = Shapes::StructureShape.new(name: 'ChangeServerLifeCycleStateSourceServerLifecycle')
|
23
24
|
ChangeServerLifeCycleStateSourceServerLifecycleState = Shapes::StringShape.new(name: 'ChangeServerLifeCycleStateSourceServerLifecycleState')
|
25
|
+
CloudWatchLogGroupName = Shapes::StringShape.new(name: 'CloudWatchLogGroupName')
|
24
26
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
27
|
+
ConflictExceptionErrors = Shapes::ListShape.new(name: 'ConflictExceptionErrors')
|
25
28
|
Cpus = Shapes::ListShape.new(name: 'Cpus')
|
29
|
+
CreateLaunchConfigurationTemplateRequest = Shapes::StructureShape.new(name: 'CreateLaunchConfigurationTemplateRequest')
|
26
30
|
CreateReplicationConfigurationTemplateRequest = Shapes::StructureShape.new(name: 'CreateReplicationConfigurationTemplateRequest')
|
27
31
|
DataReplicationError = Shapes::StructureShape.new(name: 'DataReplicationError')
|
28
32
|
DataReplicationErrorString = Shapes::StringShape.new(name: 'DataReplicationErrorString')
|
@@ -37,6 +41,8 @@ module Aws::Mgn
|
|
37
41
|
DataReplicationState = Shapes::StringShape.new(name: 'DataReplicationState')
|
38
42
|
DeleteJobRequest = Shapes::StructureShape.new(name: 'DeleteJobRequest')
|
39
43
|
DeleteJobResponse = Shapes::StructureShape.new(name: 'DeleteJobResponse')
|
44
|
+
DeleteLaunchConfigurationTemplateRequest = Shapes::StructureShape.new(name: 'DeleteLaunchConfigurationTemplateRequest')
|
45
|
+
DeleteLaunchConfigurationTemplateResponse = Shapes::StructureShape.new(name: 'DeleteLaunchConfigurationTemplateResponse')
|
40
46
|
DeleteReplicationConfigurationTemplateRequest = Shapes::StructureShape.new(name: 'DeleteReplicationConfigurationTemplateRequest')
|
41
47
|
DeleteReplicationConfigurationTemplateResponse = Shapes::StructureShape.new(name: 'DeleteReplicationConfigurationTemplateResponse')
|
42
48
|
DeleteSourceServerRequest = Shapes::StructureShape.new(name: 'DeleteSourceServerRequest')
|
@@ -48,6 +54,8 @@ module Aws::Mgn
|
|
48
54
|
DescribeJobsRequestFilters = Shapes::StructureShape.new(name: 'DescribeJobsRequestFilters')
|
49
55
|
DescribeJobsRequestFiltersJobIDs = Shapes::ListShape.new(name: 'DescribeJobsRequestFiltersJobIDs')
|
50
56
|
DescribeJobsResponse = Shapes::StructureShape.new(name: 'DescribeJobsResponse')
|
57
|
+
DescribeLaunchConfigurationTemplatesRequest = Shapes::StructureShape.new(name: 'DescribeLaunchConfigurationTemplatesRequest')
|
58
|
+
DescribeLaunchConfigurationTemplatesResponse = Shapes::StructureShape.new(name: 'DescribeLaunchConfigurationTemplatesResponse')
|
51
59
|
DescribeReplicationConfigurationTemplatesRequest = Shapes::StructureShape.new(name: 'DescribeReplicationConfigurationTemplatesRequest')
|
52
60
|
DescribeReplicationConfigurationTemplatesResponse = Shapes::StructureShape.new(name: 'DescribeReplicationConfigurationTemplatesResponse')
|
53
61
|
DescribeSourceServersRequest = Shapes::StructureShape.new(name: 'DescribeSourceServersRequest')
|
@@ -61,12 +69,14 @@ module Aws::Mgn
|
|
61
69
|
Disks = Shapes::ListShape.new(name: 'Disks')
|
62
70
|
EC2InstanceID = Shapes::StringShape.new(name: 'EC2InstanceID')
|
63
71
|
EC2InstanceType = Shapes::StringShape.new(name: 'EC2InstanceType')
|
72
|
+
ErrorDetails = Shapes::StructureShape.new(name: 'ErrorDetails')
|
64
73
|
FinalizeCutoverRequest = Shapes::StructureShape.new(name: 'FinalizeCutoverRequest')
|
65
74
|
FirstBoot = Shapes::StringShape.new(name: 'FirstBoot')
|
66
75
|
GetLaunchConfigurationRequest = Shapes::StructureShape.new(name: 'GetLaunchConfigurationRequest')
|
67
76
|
GetReplicationConfigurationRequest = Shapes::StructureShape.new(name: 'GetReplicationConfigurationRequest')
|
68
77
|
IPsList = Shapes::ListShape.new(name: 'IPsList')
|
69
78
|
ISO8601DatetimeString = Shapes::StringShape.new(name: 'ISO8601DatetimeString')
|
79
|
+
ISO8601DurationString = Shapes::StringShape.new(name: 'ISO8601DurationString')
|
70
80
|
IdentificationHints = Shapes::StructureShape.new(name: 'IdentificationHints')
|
71
81
|
InitializeServiceRequest = Shapes::StructureShape.new(name: 'InitializeServiceRequest')
|
72
82
|
InitializeServiceResponse = Shapes::StructureShape.new(name: 'InitializeServiceResponse')
|
@@ -78,11 +88,16 @@ module Aws::Mgn
|
|
78
88
|
JobLogEvent = Shapes::StringShape.new(name: 'JobLogEvent')
|
79
89
|
JobLogEventData = Shapes::StructureShape.new(name: 'JobLogEventData')
|
80
90
|
JobLogs = Shapes::ListShape.new(name: 'JobLogs')
|
91
|
+
JobPostLaunchActionsLaunchStatus = Shapes::StructureShape.new(name: 'JobPostLaunchActionsLaunchStatus')
|
81
92
|
JobStatus = Shapes::StringShape.new(name: 'JobStatus')
|
82
93
|
JobType = Shapes::StringShape.new(name: 'JobType')
|
83
94
|
JobsList = Shapes::ListShape.new(name: 'JobsList')
|
84
95
|
LargeBoundedString = Shapes::StringShape.new(name: 'LargeBoundedString')
|
85
96
|
LaunchConfiguration = Shapes::StructureShape.new(name: 'LaunchConfiguration')
|
97
|
+
LaunchConfigurationTemplate = Shapes::StructureShape.new(name: 'LaunchConfigurationTemplate')
|
98
|
+
LaunchConfigurationTemplateID = Shapes::StringShape.new(name: 'LaunchConfigurationTemplateID')
|
99
|
+
LaunchConfigurationTemplateIDs = Shapes::ListShape.new(name: 'LaunchConfigurationTemplateIDs')
|
100
|
+
LaunchConfigurationTemplates = Shapes::ListShape.new(name: 'LaunchConfigurationTemplates')
|
86
101
|
LaunchDisposition = Shapes::StringShape.new(name: 'LaunchDisposition')
|
87
102
|
LaunchStatus = Shapes::StringShape.new(name: 'LaunchStatus')
|
88
103
|
LaunchedInstance = Shapes::StructureShape.new(name: 'LaunchedInstance')
|
@@ -108,6 +123,11 @@ module Aws::Mgn
|
|
108
123
|
ParticipatingServer = Shapes::StructureShape.new(name: 'ParticipatingServer')
|
109
124
|
ParticipatingServers = Shapes::ListShape.new(name: 'ParticipatingServers')
|
110
125
|
PositiveInteger = Shapes::IntegerShape.new(name: 'PositiveInteger')
|
126
|
+
PostLaunchActionExecutionStatus = Shapes::StringShape.new(name: 'PostLaunchActionExecutionStatus')
|
127
|
+
PostLaunchActions = Shapes::StructureShape.new(name: 'PostLaunchActions')
|
128
|
+
PostLaunchActionsDeploymentType = Shapes::StringShape.new(name: 'PostLaunchActionsDeploymentType')
|
129
|
+
PostLaunchActionsLaunchStatusList = Shapes::ListShape.new(name: 'PostLaunchActionsLaunchStatusList')
|
130
|
+
PostLaunchActionsStatus = Shapes::StructureShape.new(name: 'PostLaunchActionsStatus')
|
111
131
|
ReplicationConfiguration = Shapes::StructureShape.new(name: 'ReplicationConfiguration')
|
112
132
|
ReplicationConfigurationDataPlaneRouting = Shapes::StringShape.new(name: 'ReplicationConfigurationDataPlaneRouting')
|
113
133
|
ReplicationConfigurationDefaultLargeStagingDiskType = Shapes::StringShape.new(name: 'ReplicationConfigurationDefaultLargeStagingDiskType')
|
@@ -124,6 +144,7 @@ module Aws::Mgn
|
|
124
144
|
ReplicationTypes = Shapes::ListShape.new(name: 'ReplicationTypes')
|
125
145
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
126
146
|
RetryDataReplicationRequest = Shapes::StructureShape.new(name: 'RetryDataReplicationRequest')
|
147
|
+
S3LogBucketName = Shapes::StringShape.new(name: 'S3LogBucketName')
|
127
148
|
SecurityGroupID = Shapes::StringShape.new(name: 'SecurityGroupID')
|
128
149
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
129
150
|
SmallBoundedString = Shapes::StringShape.new(name: 'SmallBoundedString')
|
@@ -131,6 +152,16 @@ module Aws::Mgn
|
|
131
152
|
SourceServer = Shapes::StructureShape.new(name: 'SourceServer')
|
132
153
|
SourceServerID = Shapes::StringShape.new(name: 'SourceServerID')
|
133
154
|
SourceServersList = Shapes::ListShape.new(name: 'SourceServersList')
|
155
|
+
SsmDocument = Shapes::StructureShape.new(name: 'SsmDocument')
|
156
|
+
SsmDocumentName = Shapes::StringShape.new(name: 'SsmDocumentName')
|
157
|
+
SsmDocumentParameterName = Shapes::StringShape.new(name: 'SsmDocumentParameterName')
|
158
|
+
SsmDocumentParameters = Shapes::MapShape.new(name: 'SsmDocumentParameters')
|
159
|
+
SsmDocumentType = Shapes::StringShape.new(name: 'SsmDocumentType')
|
160
|
+
SsmDocuments = Shapes::ListShape.new(name: 'SsmDocuments')
|
161
|
+
SsmParameterStoreParameter = Shapes::StructureShape.new(name: 'SsmParameterStoreParameter')
|
162
|
+
SsmParameterStoreParameterName = Shapes::StringShape.new(name: 'SsmParameterStoreParameterName')
|
163
|
+
SsmParameterStoreParameterType = Shapes::StringShape.new(name: 'SsmParameterStoreParameterType')
|
164
|
+
SsmParameterStoreParameters = Shapes::ListShape.new(name: 'SsmParameterStoreParameters')
|
134
165
|
StartCutoverRequest = Shapes::StructureShape.new(name: 'StartCutoverRequest')
|
135
166
|
StartCutoverRequestSourceServerIDs = Shapes::ListShape.new(name: 'StartCutoverRequestSourceServerIDs')
|
136
167
|
StartCutoverResponse = Shapes::StructureShape.new(name: 'StartCutoverResponse')
|
@@ -153,6 +184,7 @@ module Aws::Mgn
|
|
153
184
|
UninitializedAccountException = Shapes::StructureShape.new(name: 'UninitializedAccountException')
|
154
185
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
155
186
|
UpdateLaunchConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateLaunchConfigurationRequest')
|
187
|
+
UpdateLaunchConfigurationTemplateRequest = Shapes::StructureShape.new(name: 'UpdateLaunchConfigurationTemplateRequest')
|
156
188
|
UpdateReplicationConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateReplicationConfigurationRequest')
|
157
189
|
UpdateReplicationConfigurationTemplateRequest = Shapes::StructureShape.new(name: 'UpdateReplicationConfigurationTemplateRequest')
|
158
190
|
UpdateSourceServerReplicationTypeRequest = Shapes::StructureShape.new(name: 'UpdateSourceServerReplicationTypeRequest')
|
@@ -180,13 +212,20 @@ module Aws::Mgn
|
|
180
212
|
ChangeServerLifeCycleStateSourceServerLifecycle.struct_class = Types::ChangeServerLifeCycleStateSourceServerLifecycle
|
181
213
|
|
182
214
|
ConflictException.add_member(:code, Shapes::ShapeRef.new(shape: LargeBoundedString, location_name: "code"))
|
215
|
+
ConflictException.add_member(:errors, Shapes::ShapeRef.new(shape: ConflictExceptionErrors, location_name: "errors"))
|
183
216
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: LargeBoundedString, location_name: "message"))
|
184
217
|
ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: LargeBoundedString, location_name: "resourceId"))
|
185
218
|
ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: LargeBoundedString, location_name: "resourceType"))
|
186
219
|
ConflictException.struct_class = Types::ConflictException
|
187
220
|
|
221
|
+
ConflictExceptionErrors.member = Shapes::ShapeRef.new(shape: ErrorDetails)
|
222
|
+
|
188
223
|
Cpus.member = Shapes::ShapeRef.new(shape: CPU)
|
189
224
|
|
225
|
+
CreateLaunchConfigurationTemplateRequest.add_member(:post_launch_actions, Shapes::ShapeRef.new(shape: PostLaunchActions, location_name: "postLaunchActions"))
|
226
|
+
CreateLaunchConfigurationTemplateRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
|
227
|
+
CreateLaunchConfigurationTemplateRequest.struct_class = Types::CreateLaunchConfigurationTemplateRequest
|
228
|
+
|
190
229
|
CreateReplicationConfigurationTemplateRequest.add_member(:associate_default_security_group, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "associateDefaultSecurityGroup"))
|
191
230
|
CreateReplicationConfigurationTemplateRequest.add_member(:bandwidth_throttling, Shapes::ShapeRef.new(shape: PositiveInteger, required: true, location_name: "bandwidthThrottling"))
|
192
231
|
CreateReplicationConfigurationTemplateRequest.add_member(:create_public_ip, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "createPublicIP"))
|
@@ -210,7 +249,7 @@ module Aws::Mgn
|
|
210
249
|
DataReplicationInfo.add_member(:data_replication_initiation, Shapes::ShapeRef.new(shape: DataReplicationInitiation, location_name: "dataReplicationInitiation"))
|
211
250
|
DataReplicationInfo.add_member(:data_replication_state, Shapes::ShapeRef.new(shape: DataReplicationState, location_name: "dataReplicationState"))
|
212
251
|
DataReplicationInfo.add_member(:eta_date_time, Shapes::ShapeRef.new(shape: ISO8601DatetimeString, location_name: "etaDateTime"))
|
213
|
-
DataReplicationInfo.add_member(:lag_duration, Shapes::ShapeRef.new(shape:
|
252
|
+
DataReplicationInfo.add_member(:lag_duration, Shapes::ShapeRef.new(shape: ISO8601DurationString, location_name: "lagDuration"))
|
214
253
|
DataReplicationInfo.add_member(:last_snapshot_date_time, Shapes::ShapeRef.new(shape: ISO8601DatetimeString, location_name: "lastSnapshotDateTime"))
|
215
254
|
DataReplicationInfo.add_member(:replicated_disks, Shapes::ShapeRef.new(shape: DataReplicationInfoReplicatedDisks, location_name: "replicatedDisks"))
|
216
255
|
DataReplicationInfo.struct_class = Types::DataReplicationInfo
|
@@ -240,6 +279,11 @@ module Aws::Mgn
|
|
240
279
|
|
241
280
|
DeleteJobResponse.struct_class = Types::DeleteJobResponse
|
242
281
|
|
282
|
+
DeleteLaunchConfigurationTemplateRequest.add_member(:launch_configuration_template_id, Shapes::ShapeRef.new(shape: LaunchConfigurationTemplateID, required: true, location_name: "launchConfigurationTemplateID"))
|
283
|
+
DeleteLaunchConfigurationTemplateRequest.struct_class = Types::DeleteLaunchConfigurationTemplateRequest
|
284
|
+
|
285
|
+
DeleteLaunchConfigurationTemplateResponse.struct_class = Types::DeleteLaunchConfigurationTemplateResponse
|
286
|
+
|
243
287
|
DeleteReplicationConfigurationTemplateRequest.add_member(:replication_configuration_template_id, Shapes::ShapeRef.new(shape: ReplicationConfigurationTemplateID, required: true, location_name: "replicationConfigurationTemplateID"))
|
244
288
|
DeleteReplicationConfigurationTemplateRequest.struct_class = Types::DeleteReplicationConfigurationTemplateRequest
|
245
289
|
|
@@ -262,7 +306,7 @@ module Aws::Mgn
|
|
262
306
|
DescribeJobLogItemsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
263
307
|
DescribeJobLogItemsResponse.struct_class = Types::DescribeJobLogItemsResponse
|
264
308
|
|
265
|
-
DescribeJobsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: DescribeJobsRequestFilters,
|
309
|
+
DescribeJobsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: DescribeJobsRequestFilters, location_name: "filters"))
|
266
310
|
DescribeJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: StrictlyPositiveInteger, location_name: "maxResults"))
|
267
311
|
DescribeJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
268
312
|
DescribeJobsRequest.struct_class = Types::DescribeJobsRequest
|
@@ -278,16 +322,25 @@ module Aws::Mgn
|
|
278
322
|
DescribeJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
279
323
|
DescribeJobsResponse.struct_class = Types::DescribeJobsResponse
|
280
324
|
|
325
|
+
DescribeLaunchConfigurationTemplatesRequest.add_member(:launch_configuration_template_i_ds, Shapes::ShapeRef.new(shape: LaunchConfigurationTemplateIDs, location_name: "launchConfigurationTemplateIDs"))
|
326
|
+
DescribeLaunchConfigurationTemplatesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: StrictlyPositiveInteger, location_name: "maxResults"))
|
327
|
+
DescribeLaunchConfigurationTemplatesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
328
|
+
DescribeLaunchConfigurationTemplatesRequest.struct_class = Types::DescribeLaunchConfigurationTemplatesRequest
|
329
|
+
|
330
|
+
DescribeLaunchConfigurationTemplatesResponse.add_member(:items, Shapes::ShapeRef.new(shape: LaunchConfigurationTemplates, location_name: "items"))
|
331
|
+
DescribeLaunchConfigurationTemplatesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
332
|
+
DescribeLaunchConfigurationTemplatesResponse.struct_class = Types::DescribeLaunchConfigurationTemplatesResponse
|
333
|
+
|
281
334
|
DescribeReplicationConfigurationTemplatesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: StrictlyPositiveInteger, location_name: "maxResults"))
|
282
335
|
DescribeReplicationConfigurationTemplatesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
283
|
-
DescribeReplicationConfigurationTemplatesRequest.add_member(:replication_configuration_template_i_ds, Shapes::ShapeRef.new(shape: ReplicationConfigurationTemplateIDs,
|
336
|
+
DescribeReplicationConfigurationTemplatesRequest.add_member(:replication_configuration_template_i_ds, Shapes::ShapeRef.new(shape: ReplicationConfigurationTemplateIDs, location_name: "replicationConfigurationTemplateIDs"))
|
284
337
|
DescribeReplicationConfigurationTemplatesRequest.struct_class = Types::DescribeReplicationConfigurationTemplatesRequest
|
285
338
|
|
286
339
|
DescribeReplicationConfigurationTemplatesResponse.add_member(:items, Shapes::ShapeRef.new(shape: ReplicationConfigurationTemplates, location_name: "items"))
|
287
340
|
DescribeReplicationConfigurationTemplatesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
288
341
|
DescribeReplicationConfigurationTemplatesResponse.struct_class = Types::DescribeReplicationConfigurationTemplatesResponse
|
289
342
|
|
290
|
-
DescribeSourceServersRequest.add_member(:filters, Shapes::ShapeRef.new(shape: DescribeSourceServersRequestFilters,
|
343
|
+
DescribeSourceServersRequest.add_member(:filters, Shapes::ShapeRef.new(shape: DescribeSourceServersRequestFilters, location_name: "filters"))
|
291
344
|
DescribeSourceServersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: StrictlyPositiveInteger, location_name: "maxResults"))
|
292
345
|
DescribeSourceServersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
293
346
|
DescribeSourceServersRequest.struct_class = Types::DescribeSourceServersRequest
|
@@ -321,6 +374,12 @@ module Aws::Mgn
|
|
321
374
|
|
322
375
|
Disks.member = Shapes::ShapeRef.new(shape: Disk)
|
323
376
|
|
377
|
+
ErrorDetails.add_member(:code, Shapes::ShapeRef.new(shape: BoundedString, location_name: "code"))
|
378
|
+
ErrorDetails.add_member(:message, Shapes::ShapeRef.new(shape: LargeBoundedString, location_name: "message"))
|
379
|
+
ErrorDetails.add_member(:resource_id, Shapes::ShapeRef.new(shape: LargeBoundedString, location_name: "resourceId"))
|
380
|
+
ErrorDetails.add_member(:resource_type, Shapes::ShapeRef.new(shape: LargeBoundedString, location_name: "resourceType"))
|
381
|
+
ErrorDetails.struct_class = Types::ErrorDetails
|
382
|
+
|
324
383
|
FinalizeCutoverRequest.add_member(:source_server_id, Shapes::ShapeRef.new(shape: SourceServerID, required: true, location_name: "sourceServerID"))
|
325
384
|
FinalizeCutoverRequest.struct_class = Types::FinalizeCutoverRequest
|
326
385
|
|
@@ -371,18 +430,37 @@ module Aws::Mgn
|
|
371
430
|
|
372
431
|
JobLogs.member = Shapes::ShapeRef.new(shape: JobLog)
|
373
432
|
|
433
|
+
JobPostLaunchActionsLaunchStatus.add_member(:execution_id, Shapes::ShapeRef.new(shape: BoundedString, location_name: "executionID"))
|
434
|
+
JobPostLaunchActionsLaunchStatus.add_member(:execution_status, Shapes::ShapeRef.new(shape: PostLaunchActionExecutionStatus, location_name: "executionStatus"))
|
435
|
+
JobPostLaunchActionsLaunchStatus.add_member(:failure_reason, Shapes::ShapeRef.new(shape: BoundedString, location_name: "failureReason"))
|
436
|
+
JobPostLaunchActionsLaunchStatus.add_member(:ssm_document, Shapes::ShapeRef.new(shape: SsmDocument, location_name: "ssmDocument"))
|
437
|
+
JobPostLaunchActionsLaunchStatus.add_member(:ssm_document_type, Shapes::ShapeRef.new(shape: SsmDocumentType, location_name: "ssmDocumentType"))
|
438
|
+
JobPostLaunchActionsLaunchStatus.struct_class = Types::JobPostLaunchActionsLaunchStatus
|
439
|
+
|
374
440
|
JobsList.member = Shapes::ShapeRef.new(shape: Job)
|
375
441
|
|
442
|
+
LaunchConfiguration.add_member(:boot_mode, Shapes::ShapeRef.new(shape: BootMode, location_name: "bootMode"))
|
376
443
|
LaunchConfiguration.add_member(:copy_private_ip, Shapes::ShapeRef.new(shape: Boolean, location_name: "copyPrivateIp"))
|
377
444
|
LaunchConfiguration.add_member(:copy_tags, Shapes::ShapeRef.new(shape: Boolean, location_name: "copyTags"))
|
378
445
|
LaunchConfiguration.add_member(:ec2_launch_template_id, Shapes::ShapeRef.new(shape: BoundedString, location_name: "ec2LaunchTemplateID"))
|
379
446
|
LaunchConfiguration.add_member(:launch_disposition, Shapes::ShapeRef.new(shape: LaunchDisposition, location_name: "launchDisposition"))
|
380
447
|
LaunchConfiguration.add_member(:licensing, Shapes::ShapeRef.new(shape: Licensing, location_name: "licensing"))
|
381
448
|
LaunchConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: SmallBoundedString, location_name: "name"))
|
449
|
+
LaunchConfiguration.add_member(:post_launch_actions, Shapes::ShapeRef.new(shape: PostLaunchActions, location_name: "postLaunchActions"))
|
382
450
|
LaunchConfiguration.add_member(:source_server_id, Shapes::ShapeRef.new(shape: SourceServerID, location_name: "sourceServerID"))
|
383
451
|
LaunchConfiguration.add_member(:target_instance_type_right_sizing_method, Shapes::ShapeRef.new(shape: TargetInstanceTypeRightSizingMethod, location_name: "targetInstanceTypeRightSizingMethod"))
|
384
452
|
LaunchConfiguration.struct_class = Types::LaunchConfiguration
|
385
453
|
|
454
|
+
LaunchConfigurationTemplate.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "arn"))
|
455
|
+
LaunchConfigurationTemplate.add_member(:launch_configuration_template_id, Shapes::ShapeRef.new(shape: LaunchConfigurationTemplateID, required: true, location_name: "launchConfigurationTemplateID"))
|
456
|
+
LaunchConfigurationTemplate.add_member(:post_launch_actions, Shapes::ShapeRef.new(shape: PostLaunchActions, location_name: "postLaunchActions"))
|
457
|
+
LaunchConfigurationTemplate.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
|
458
|
+
LaunchConfigurationTemplate.struct_class = Types::LaunchConfigurationTemplate
|
459
|
+
|
460
|
+
LaunchConfigurationTemplateIDs.member = Shapes::ShapeRef.new(shape: LaunchConfigurationTemplateID)
|
461
|
+
|
462
|
+
LaunchConfigurationTemplates.member = Shapes::ShapeRef.new(shape: LaunchConfigurationTemplate)
|
463
|
+
|
386
464
|
LaunchedInstance.add_member(:ec2_instance_id, Shapes::ShapeRef.new(shape: EC2InstanceID, location_name: "ec2InstanceID"))
|
387
465
|
LaunchedInstance.add_member(:first_boot, Shapes::ShapeRef.new(shape: FirstBoot, location_name: "firstBoot"))
|
388
466
|
LaunchedInstance.add_member(:job_id, Shapes::ShapeRef.new(shape: JobID, location_name: "jobID"))
|
@@ -392,7 +470,7 @@ module Aws::Mgn
|
|
392
470
|
Licensing.struct_class = Types::Licensing
|
393
471
|
|
394
472
|
LifeCycle.add_member(:added_to_service_date_time, Shapes::ShapeRef.new(shape: ISO8601DatetimeString, location_name: "addedToServiceDateTime"))
|
395
|
-
LifeCycle.add_member(:elapsed_replication_duration, Shapes::ShapeRef.new(shape:
|
473
|
+
LifeCycle.add_member(:elapsed_replication_duration, Shapes::ShapeRef.new(shape: ISO8601DurationString, location_name: "elapsedReplicationDuration"))
|
396
474
|
LifeCycle.add_member(:first_byte_date_time, Shapes::ShapeRef.new(shape: ISO8601DatetimeString, location_name: "firstByteDateTime"))
|
397
475
|
LifeCycle.add_member(:last_cutover, Shapes::ShapeRef.new(shape: LifeCycleLastCutover, location_name: "lastCutover"))
|
398
476
|
LifeCycle.add_member(:last_seen_by_service_date_time, Shapes::ShapeRef.new(shape: ISO8601DatetimeString, location_name: "lastSeenByServiceDateTime"))
|
@@ -452,11 +530,26 @@ module Aws::Mgn
|
|
452
530
|
OS.struct_class = Types::OS
|
453
531
|
|
454
532
|
ParticipatingServer.add_member(:launch_status, Shapes::ShapeRef.new(shape: LaunchStatus, location_name: "launchStatus"))
|
455
|
-
ParticipatingServer.add_member(:
|
533
|
+
ParticipatingServer.add_member(:launched_ec2_instance_id, Shapes::ShapeRef.new(shape: EC2InstanceID, location_name: "launchedEc2InstanceID"))
|
534
|
+
ParticipatingServer.add_member(:post_launch_actions_status, Shapes::ShapeRef.new(shape: PostLaunchActionsStatus, location_name: "postLaunchActionsStatus"))
|
535
|
+
ParticipatingServer.add_member(:source_server_id, Shapes::ShapeRef.new(shape: SourceServerID, required: true, location_name: "sourceServerID"))
|
456
536
|
ParticipatingServer.struct_class = Types::ParticipatingServer
|
457
537
|
|
458
538
|
ParticipatingServers.member = Shapes::ShapeRef.new(shape: ParticipatingServer)
|
459
539
|
|
540
|
+
PostLaunchActions.add_member(:cloud_watch_log_group_name, Shapes::ShapeRef.new(shape: CloudWatchLogGroupName, location_name: "cloudWatchLogGroupName"))
|
541
|
+
PostLaunchActions.add_member(:deployment, Shapes::ShapeRef.new(shape: PostLaunchActionsDeploymentType, location_name: "deployment"))
|
542
|
+
PostLaunchActions.add_member(:s3_log_bucket, Shapes::ShapeRef.new(shape: S3LogBucketName, location_name: "s3LogBucket"))
|
543
|
+
PostLaunchActions.add_member(:s3_output_key_prefix, Shapes::ShapeRef.new(shape: BoundedString, location_name: "s3OutputKeyPrefix"))
|
544
|
+
PostLaunchActions.add_member(:ssm_documents, Shapes::ShapeRef.new(shape: SsmDocuments, location_name: "ssmDocuments"))
|
545
|
+
PostLaunchActions.struct_class = Types::PostLaunchActions
|
546
|
+
|
547
|
+
PostLaunchActionsLaunchStatusList.member = Shapes::ShapeRef.new(shape: JobPostLaunchActionsLaunchStatus)
|
548
|
+
|
549
|
+
PostLaunchActionsStatus.add_member(:post_launch_actions_launch_status_list, Shapes::ShapeRef.new(shape: PostLaunchActionsLaunchStatusList, location_name: "postLaunchActionsLaunchStatusList"))
|
550
|
+
PostLaunchActionsStatus.add_member(:ssm_agent_discovery_datetime, Shapes::ShapeRef.new(shape: ISO8601DatetimeString, location_name: "ssmAgentDiscoveryDatetime"))
|
551
|
+
PostLaunchActionsStatus.struct_class = Types::PostLaunchActionsStatus
|
552
|
+
|
460
553
|
ReplicationConfiguration.add_member(:associate_default_security_group, Shapes::ShapeRef.new(shape: Boolean, location_name: "associateDefaultSecurityGroup"))
|
461
554
|
ReplicationConfiguration.add_member(:bandwidth_throttling, Shapes::ShapeRef.new(shape: PositiveInteger, location_name: "bandwidthThrottling"))
|
462
555
|
ReplicationConfiguration.add_member(:create_public_ip, Shapes::ShapeRef.new(shape: Boolean, location_name: "createPublicIP"))
|
@@ -478,6 +571,7 @@ module Aws::Mgn
|
|
478
571
|
ReplicationConfigurationReplicatedDisk.add_member(:iops, Shapes::ShapeRef.new(shape: PositiveInteger, location_name: "iops"))
|
479
572
|
ReplicationConfigurationReplicatedDisk.add_member(:is_boot_disk, Shapes::ShapeRef.new(shape: Boolean, location_name: "isBootDisk"))
|
480
573
|
ReplicationConfigurationReplicatedDisk.add_member(:staging_disk_type, Shapes::ShapeRef.new(shape: ReplicationConfigurationReplicatedDiskStagingDiskType, location_name: "stagingDiskType"))
|
574
|
+
ReplicationConfigurationReplicatedDisk.add_member(:throughput, Shapes::ShapeRef.new(shape: PositiveInteger, location_name: "throughput"))
|
481
575
|
ReplicationConfigurationReplicatedDisk.struct_class = Types::ReplicationConfigurationReplicatedDisk
|
482
576
|
|
483
577
|
ReplicationConfigurationReplicatedDisks.member = Shapes::ShapeRef.new(shape: ReplicationConfigurationReplicatedDisk)
|
@@ -519,6 +613,7 @@ module Aws::Mgn
|
|
519
613
|
ServiceQuotaExceededException.add_member(:code, Shapes::ShapeRef.new(shape: LargeBoundedString, location_name: "code"))
|
520
614
|
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: LargeBoundedString, location_name: "message"))
|
521
615
|
ServiceQuotaExceededException.add_member(:quota_code, Shapes::ShapeRef.new(shape: LargeBoundedString, location_name: "quotaCode"))
|
616
|
+
ServiceQuotaExceededException.add_member(:quota_value, Shapes::ShapeRef.new(shape: StrictlyPositiveInteger, location_name: "quotaValue"))
|
522
617
|
ServiceQuotaExceededException.add_member(:resource_id, Shapes::ShapeRef.new(shape: LargeBoundedString, location_name: "resourceId"))
|
523
618
|
ServiceQuotaExceededException.add_member(:resource_type, Shapes::ShapeRef.new(shape: LargeBoundedString, location_name: "resourceType"))
|
524
619
|
ServiceQuotaExceededException.add_member(:service_code, Shapes::ShapeRef.new(shape: LargeBoundedString, location_name: "serviceCode"))
|
@@ -548,6 +643,24 @@ module Aws::Mgn
|
|
548
643
|
|
549
644
|
SourceServersList.member = Shapes::ShapeRef.new(shape: SourceServer)
|
550
645
|
|
646
|
+
SsmDocument.add_member(:action_name, Shapes::ShapeRef.new(shape: BoundedString, required: true, location_name: "actionName"))
|
647
|
+
SsmDocument.add_member(:must_succeed_for_cutover, Shapes::ShapeRef.new(shape: Boolean, location_name: "mustSucceedForCutover"))
|
648
|
+
SsmDocument.add_member(:parameters, Shapes::ShapeRef.new(shape: SsmDocumentParameters, location_name: "parameters"))
|
649
|
+
SsmDocument.add_member(:ssm_document_name, Shapes::ShapeRef.new(shape: SsmDocumentName, required: true, location_name: "ssmDocumentName"))
|
650
|
+
SsmDocument.add_member(:timeout_seconds, Shapes::ShapeRef.new(shape: StrictlyPositiveInteger, location_name: "timeoutSeconds"))
|
651
|
+
SsmDocument.struct_class = Types::SsmDocument
|
652
|
+
|
653
|
+
SsmDocumentParameters.key = Shapes::ShapeRef.new(shape: SsmDocumentParameterName)
|
654
|
+
SsmDocumentParameters.value = Shapes::ShapeRef.new(shape: SsmParameterStoreParameters)
|
655
|
+
|
656
|
+
SsmDocuments.member = Shapes::ShapeRef.new(shape: SsmDocument)
|
657
|
+
|
658
|
+
SsmParameterStoreParameter.add_member(:parameter_name, Shapes::ShapeRef.new(shape: SsmParameterStoreParameterName, required: true, location_name: "parameterName"))
|
659
|
+
SsmParameterStoreParameter.add_member(:parameter_type, Shapes::ShapeRef.new(shape: SsmParameterStoreParameterType, required: true, location_name: "parameterType"))
|
660
|
+
SsmParameterStoreParameter.struct_class = Types::SsmParameterStoreParameter
|
661
|
+
|
662
|
+
SsmParameterStoreParameters.member = Shapes::ShapeRef.new(shape: SsmParameterStoreParameter)
|
663
|
+
|
551
664
|
StartCutoverRequest.add_member(:source_server_i_ds, Shapes::ShapeRef.new(shape: StartCutoverRequestSourceServerIDs, required: true, location_name: "sourceServerIDs"))
|
552
665
|
StartCutoverRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
|
553
666
|
StartCutoverRequest.struct_class = Types::StartCutoverRequest
|
@@ -601,15 +714,21 @@ module Aws::Mgn
|
|
601
714
|
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location: "querystring", location_name: "tagKeys"))
|
602
715
|
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
603
716
|
|
717
|
+
UpdateLaunchConfigurationRequest.add_member(:boot_mode, Shapes::ShapeRef.new(shape: BootMode, location_name: "bootMode"))
|
604
718
|
UpdateLaunchConfigurationRequest.add_member(:copy_private_ip, Shapes::ShapeRef.new(shape: Boolean, location_name: "copyPrivateIp"))
|
605
719
|
UpdateLaunchConfigurationRequest.add_member(:copy_tags, Shapes::ShapeRef.new(shape: Boolean, location_name: "copyTags"))
|
606
720
|
UpdateLaunchConfigurationRequest.add_member(:launch_disposition, Shapes::ShapeRef.new(shape: LaunchDisposition, location_name: "launchDisposition"))
|
607
721
|
UpdateLaunchConfigurationRequest.add_member(:licensing, Shapes::ShapeRef.new(shape: Licensing, location_name: "licensing"))
|
608
722
|
UpdateLaunchConfigurationRequest.add_member(:name, Shapes::ShapeRef.new(shape: SmallBoundedString, location_name: "name"))
|
723
|
+
UpdateLaunchConfigurationRequest.add_member(:post_launch_actions, Shapes::ShapeRef.new(shape: PostLaunchActions, location_name: "postLaunchActions"))
|
609
724
|
UpdateLaunchConfigurationRequest.add_member(:source_server_id, Shapes::ShapeRef.new(shape: SourceServerID, required: true, location_name: "sourceServerID"))
|
610
725
|
UpdateLaunchConfigurationRequest.add_member(:target_instance_type_right_sizing_method, Shapes::ShapeRef.new(shape: TargetInstanceTypeRightSizingMethod, location_name: "targetInstanceTypeRightSizingMethod"))
|
611
726
|
UpdateLaunchConfigurationRequest.struct_class = Types::UpdateLaunchConfigurationRequest
|
612
727
|
|
728
|
+
UpdateLaunchConfigurationTemplateRequest.add_member(:launch_configuration_template_id, Shapes::ShapeRef.new(shape: LaunchConfigurationTemplateID, required: true, location_name: "launchConfigurationTemplateID"))
|
729
|
+
UpdateLaunchConfigurationTemplateRequest.add_member(:post_launch_actions, Shapes::ShapeRef.new(shape: PostLaunchActions, location_name: "postLaunchActions"))
|
730
|
+
UpdateLaunchConfigurationTemplateRequest.struct_class = Types::UpdateLaunchConfigurationTemplateRequest
|
731
|
+
|
613
732
|
UpdateReplicationConfigurationRequest.add_member(:associate_default_security_group, Shapes::ShapeRef.new(shape: Boolean, location_name: "associateDefaultSecurityGroup"))
|
614
733
|
UpdateReplicationConfigurationRequest.add_member(:bandwidth_throttling, Shapes::ShapeRef.new(shape: PositiveInteger, location_name: "bandwidthThrottling"))
|
615
734
|
UpdateReplicationConfigurationRequest.add_member(:create_public_ip, Shapes::ShapeRef.new(shape: Boolean, location_name: "createPublicIP"))
|
@@ -702,6 +821,17 @@ module Aws::Mgn
|
|
702
821
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
703
822
|
end)
|
704
823
|
|
824
|
+
api.add_operation(:create_launch_configuration_template, Seahorse::Model::Operation.new.tap do |o|
|
825
|
+
o.name = "CreateLaunchConfigurationTemplate"
|
826
|
+
o.http_method = "POST"
|
827
|
+
o.http_request_uri = "/CreateLaunchConfigurationTemplate"
|
828
|
+
o.input = Shapes::ShapeRef.new(shape: CreateLaunchConfigurationTemplateRequest)
|
829
|
+
o.output = Shapes::ShapeRef.new(shape: LaunchConfigurationTemplate)
|
830
|
+
o.errors << Shapes::ShapeRef.new(shape: UninitializedAccountException)
|
831
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
832
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
833
|
+
end)
|
834
|
+
|
705
835
|
api.add_operation(:create_replication_configuration_template, Seahorse::Model::Operation.new.tap do |o|
|
706
836
|
o.name = "CreateReplicationConfigurationTemplate"
|
707
837
|
o.http_method = "POST"
|
@@ -724,6 +854,17 @@ module Aws::Mgn
|
|
724
854
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
725
855
|
end)
|
726
856
|
|
857
|
+
api.add_operation(:delete_launch_configuration_template, Seahorse::Model::Operation.new.tap do |o|
|
858
|
+
o.name = "DeleteLaunchConfigurationTemplate"
|
859
|
+
o.http_method = "POST"
|
860
|
+
o.http_request_uri = "/DeleteLaunchConfigurationTemplate"
|
861
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteLaunchConfigurationTemplateRequest)
|
862
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteLaunchConfigurationTemplateResponse)
|
863
|
+
o.errors << Shapes::ShapeRef.new(shape: UninitializedAccountException)
|
864
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
865
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
866
|
+
end)
|
867
|
+
|
727
868
|
api.add_operation(:delete_replication_configuration_template, Seahorse::Model::Operation.new.tap do |o|
|
728
869
|
o.name = "DeleteReplicationConfigurationTemplate"
|
729
870
|
o.http_method = "POST"
|
@@ -789,6 +930,23 @@ module Aws::Mgn
|
|
789
930
|
)
|
790
931
|
end)
|
791
932
|
|
933
|
+
api.add_operation(:describe_launch_configuration_templates, Seahorse::Model::Operation.new.tap do |o|
|
934
|
+
o.name = "DescribeLaunchConfigurationTemplates"
|
935
|
+
o.http_method = "POST"
|
936
|
+
o.http_request_uri = "/DescribeLaunchConfigurationTemplates"
|
937
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeLaunchConfigurationTemplatesRequest)
|
938
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeLaunchConfigurationTemplatesResponse)
|
939
|
+
o.errors << Shapes::ShapeRef.new(shape: UninitializedAccountException)
|
940
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
941
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
942
|
+
o[:pager] = Aws::Pager.new(
|
943
|
+
limit_key: "max_results",
|
944
|
+
tokens: {
|
945
|
+
"next_token" => "next_token"
|
946
|
+
}
|
947
|
+
)
|
948
|
+
end)
|
949
|
+
|
792
950
|
api.add_operation(:describe_replication_configuration_templates, Seahorse::Model::Operation.new.tap do |o|
|
793
951
|
o.name = "DescribeReplicationConfigurationTemplates"
|
794
952
|
o.http_method = "POST"
|
@@ -1011,6 +1169,18 @@ module Aws::Mgn
|
|
1011
1169
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1012
1170
|
end)
|
1013
1171
|
|
1172
|
+
api.add_operation(:update_launch_configuration_template, Seahorse::Model::Operation.new.tap do |o|
|
1173
|
+
o.name = "UpdateLaunchConfigurationTemplate"
|
1174
|
+
o.http_method = "POST"
|
1175
|
+
o.http_request_uri = "/UpdateLaunchConfigurationTemplate"
|
1176
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateLaunchConfigurationTemplateRequest)
|
1177
|
+
o.output = Shapes::ShapeRef.new(shape: LaunchConfigurationTemplate)
|
1178
|
+
o.errors << Shapes::ShapeRef.new(shape: UninitializedAccountException)
|
1179
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1180
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1181
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1182
|
+
end)
|
1183
|
+
|
1014
1184
|
api.add_operation(:update_replication_configuration, Seahorse::Model::Operation.new.tap do |o|
|
1015
1185
|
o.name = "UpdateReplicationConfiguration"
|
1016
1186
|
o.http_method = "POST"
|
data/lib/aws-sdk-mgn/errors.rb
CHANGED
@@ -76,6 +76,11 @@ module Aws::Mgn
|
|
76
76
|
@code || @data[:code]
|
77
77
|
end
|
78
78
|
|
79
|
+
# @return [String]
|
80
|
+
def errors
|
81
|
+
@data[:errors]
|
82
|
+
end
|
83
|
+
|
79
84
|
# @return [String]
|
80
85
|
def message
|
81
86
|
@message || @data[:message]
|
@@ -166,6 +171,11 @@ module Aws::Mgn
|
|
166
171
|
@data[:quota_code]
|
167
172
|
end
|
168
173
|
|
174
|
+
# @return [String]
|
175
|
+
def quota_value
|
176
|
+
@data[:quota_value]
|
177
|
+
end
|
178
|
+
|
169
179
|
# @return [String]
|
170
180
|
def resource_id
|
171
181
|
@data[:resource_id]
|