aws-sdk-mgn 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
File without changes
@@ -0,0 +1,225 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::Mgn
11
+
12
+ # When Mgn returns an error response, the Ruby SDK constructs and raises an error.
13
+ # These errors all extend Aws::Mgn::Errors::ServiceError < {Aws::Errors::ServiceError}
14
+ #
15
+ # You can rescue all Mgn errors using ServiceError:
16
+ #
17
+ # begin
18
+ # # do stuff
19
+ # rescue Aws::Mgn::Errors::ServiceError
20
+ # # rescues all Mgn API errors
21
+ # end
22
+ #
23
+ #
24
+ # ## Request Context
25
+ # ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
26
+ # information about the request that generated the error.
27
+ # See {Seahorse::Client::RequestContext} for more information.
28
+ #
29
+ # ## Error Classes
30
+ # * {AccessDeniedException}
31
+ # * {ConflictException}
32
+ # * {InternalServerException}
33
+ # * {ResourceNotFoundException}
34
+ # * {ThrottlingException}
35
+ # * {UninitializedAccountException}
36
+ # * {ValidationException}
37
+ #
38
+ # Additionally, error classes are dynamically generated for service errors based on the error code
39
+ # if they are not defined above.
40
+ module Errors
41
+
42
+ extend Aws::Errors::DynamicErrors
43
+
44
+ class AccessDeniedException < ServiceError
45
+
46
+ # @param [Seahorse::Client::RequestContext] context
47
+ # @param [String] message
48
+ # @param [Aws::Mgn::Types::AccessDeniedException] data
49
+ def initialize(context, message, data = Aws::EmptyStructure.new)
50
+ super(context, message, data)
51
+ end
52
+
53
+ # @return [String]
54
+ def code
55
+ @code || @data[:code]
56
+ end
57
+
58
+ # @return [String]
59
+ def message
60
+ @message || @data[:message]
61
+ end
62
+ end
63
+
64
+ class ConflictException < ServiceError
65
+
66
+ # @param [Seahorse::Client::RequestContext] context
67
+ # @param [String] message
68
+ # @param [Aws::Mgn::Types::ConflictException] data
69
+ def initialize(context, message, data = Aws::EmptyStructure.new)
70
+ super(context, message, data)
71
+ end
72
+
73
+ # @return [String]
74
+ def code
75
+ @code || @data[:code]
76
+ end
77
+
78
+ # @return [String]
79
+ def message
80
+ @message || @data[:message]
81
+ end
82
+
83
+ # @return [String]
84
+ def resource_id
85
+ @data[:resource_id]
86
+ end
87
+
88
+ # @return [String]
89
+ def resource_type
90
+ @data[:resource_type]
91
+ end
92
+ end
93
+
94
+ class InternalServerException < ServiceError
95
+
96
+ # @param [Seahorse::Client::RequestContext] context
97
+ # @param [String] message
98
+ # @param [Aws::Mgn::Types::InternalServerException] data
99
+ def initialize(context, message, data = Aws::EmptyStructure.new)
100
+ super(context, message, data)
101
+ end
102
+
103
+ # @return [String]
104
+ def message
105
+ @message || @data[:message]
106
+ end
107
+
108
+ # @return [String]
109
+ def retry_after_seconds
110
+ @data[:retry_after_seconds]
111
+ end
112
+ end
113
+
114
+ class ResourceNotFoundException < ServiceError
115
+
116
+ # @param [Seahorse::Client::RequestContext] context
117
+ # @param [String] message
118
+ # @param [Aws::Mgn::Types::ResourceNotFoundException] data
119
+ def initialize(context, message, data = Aws::EmptyStructure.new)
120
+ super(context, message, data)
121
+ end
122
+
123
+ # @return [String]
124
+ def code
125
+ @code || @data[:code]
126
+ end
127
+
128
+ # @return [String]
129
+ def message
130
+ @message || @data[:message]
131
+ end
132
+
133
+ # @return [String]
134
+ def resource_id
135
+ @data[:resource_id]
136
+ end
137
+
138
+ # @return [String]
139
+ def resource_type
140
+ @data[:resource_type]
141
+ end
142
+ end
143
+
144
+ class ThrottlingException < ServiceError
145
+
146
+ # @param [Seahorse::Client::RequestContext] context
147
+ # @param [String] message
148
+ # @param [Aws::Mgn::Types::ThrottlingException] data
149
+ def initialize(context, message, data = Aws::EmptyStructure.new)
150
+ super(context, message, data)
151
+ end
152
+
153
+ # @return [String]
154
+ def message
155
+ @message || @data[:message]
156
+ end
157
+
158
+ # @return [String]
159
+ def quota_code
160
+ @data[:quota_code]
161
+ end
162
+
163
+ # @return [String]
164
+ def retry_after_seconds
165
+ @data[:retry_after_seconds]
166
+ end
167
+
168
+ # @return [String]
169
+ def service_code
170
+ @data[:service_code]
171
+ end
172
+ end
173
+
174
+ class UninitializedAccountException < ServiceError
175
+
176
+ # @param [Seahorse::Client::RequestContext] context
177
+ # @param [String] message
178
+ # @param [Aws::Mgn::Types::UninitializedAccountException] data
179
+ def initialize(context, message, data = Aws::EmptyStructure.new)
180
+ super(context, message, data)
181
+ end
182
+
183
+ # @return [String]
184
+ def code
185
+ @code || @data[:code]
186
+ end
187
+
188
+ # @return [String]
189
+ def message
190
+ @message || @data[:message]
191
+ end
192
+ end
193
+
194
+ class ValidationException < ServiceError
195
+
196
+ # @param [Seahorse::Client::RequestContext] context
197
+ # @param [String] message
198
+ # @param [Aws::Mgn::Types::ValidationException] data
199
+ def initialize(context, message, data = Aws::EmptyStructure.new)
200
+ super(context, message, data)
201
+ end
202
+
203
+ # @return [String]
204
+ def code
205
+ @code || @data[:code]
206
+ end
207
+
208
+ # @return [String]
209
+ def field_list
210
+ @data[:field_list]
211
+ end
212
+
213
+ # @return [String]
214
+ def message
215
+ @message || @data[:message]
216
+ end
217
+
218
+ # @return [String]
219
+ def reason
220
+ @data[:reason]
221
+ end
222
+ end
223
+
224
+ end
225
+ end
@@ -0,0 +1,26 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::Mgn
11
+
12
+ class Resource
13
+
14
+ # @param options ({})
15
+ # @option options [Client] :client
16
+ def initialize(options = {})
17
+ @client = options[:client] || Client.new(options)
18
+ end
19
+
20
+ # @return [Client]
21
+ def client
22
+ @client
23
+ end
24
+
25
+ end
26
+ end
@@ -0,0 +1,2240 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::Mgn
11
+ module Types
12
+
13
+ # Operating denied due to a file permission or access check error.
14
+ #
15
+ # @!attribute [rw] code
16
+ # @return [String]
17
+ #
18
+ # @!attribute [rw] message
19
+ # @return [String]
20
+ #
21
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/AccessDeniedException AWS API Documentation
22
+ #
23
+ class AccessDeniedException < Struct.new(
24
+ :code,
25
+ :message)
26
+ SENSITIVE = []
27
+ include Aws::Structure
28
+ end
29
+
30
+ # Source server CPU information.
31
+ #
32
+ # @!attribute [rw] cores
33
+ # The number of CPU cores on the source server.
34
+ # @return [Integer]
35
+ #
36
+ # @!attribute [rw] model_name
37
+ # The source server's CPU model name.
38
+ # @return [String]
39
+ #
40
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/CPU AWS API Documentation
41
+ #
42
+ class CPU < Struct.new(
43
+ :cores,
44
+ :model_name)
45
+ SENSITIVE = []
46
+ include Aws::Structure
47
+ end
48
+
49
+ # @note When making an API call, you may pass ChangeServerLifeCycleStateRequest
50
+ # data as a hash:
51
+ #
52
+ # {
53
+ # life_cycle: { # required
54
+ # state: "READY_FOR_TEST", # required, accepts READY_FOR_TEST, READY_FOR_CUTOVER, CUTOVER
55
+ # },
56
+ # source_server_id: "SourceServerID", # required
57
+ # }
58
+ #
59
+ # @!attribute [rw] life_cycle
60
+ # The request to change the source server migration lifecycle state.
61
+ # @return [Types::ChangeServerLifeCycleStateSourceServerLifecycle]
62
+ #
63
+ # @!attribute [rw] source_server_id
64
+ # The request to change the source server migration lifecycle state by
65
+ # source server ID.
66
+ # @return [String]
67
+ #
68
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ChangeServerLifeCycleStateRequest AWS API Documentation
69
+ #
70
+ class ChangeServerLifeCycleStateRequest < Struct.new(
71
+ :life_cycle,
72
+ :source_server_id)
73
+ SENSITIVE = []
74
+ include Aws::Structure
75
+ end
76
+
77
+ # The request to change the source server migration lifecycle state.
78
+ #
79
+ # @note When making an API call, you may pass ChangeServerLifeCycleStateSourceServerLifecycle
80
+ # data as a hash:
81
+ #
82
+ # {
83
+ # state: "READY_FOR_TEST", # required, accepts READY_FOR_TEST, READY_FOR_CUTOVER, CUTOVER
84
+ # }
85
+ #
86
+ # @!attribute [rw] state
87
+ # The request to change the source server migration lifecycle state.
88
+ # @return [String]
89
+ #
90
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ChangeServerLifeCycleStateSourceServerLifecycle AWS API Documentation
91
+ #
92
+ class ChangeServerLifeCycleStateSourceServerLifecycle < Struct.new(
93
+ :state)
94
+ SENSITIVE = []
95
+ include Aws::Structure
96
+ end
97
+
98
+ # The request could not be completed due to a conflict with the current
99
+ # state of the target resource.
100
+ #
101
+ # @!attribute [rw] code
102
+ # @return [String]
103
+ #
104
+ # @!attribute [rw] message
105
+ # @return [String]
106
+ #
107
+ # @!attribute [rw] resource_id
108
+ # A conflict occured when prompting for the Resource ID.
109
+ # @return [String]
110
+ #
111
+ # @!attribute [rw] resource_type
112
+ # A conflict occured when prompting for resource type.
113
+ # @return [String]
114
+ #
115
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ConflictException AWS API Documentation
116
+ #
117
+ class ConflictException < Struct.new(
118
+ :code,
119
+ :message,
120
+ :resource_id,
121
+ :resource_type)
122
+ SENSITIVE = []
123
+ include Aws::Structure
124
+ end
125
+
126
+ # @note When making an API call, you may pass CreateReplicationConfigurationTemplateRequest
127
+ # data as a hash:
128
+ #
129
+ # {
130
+ # associate_default_security_group: false, # required
131
+ # bandwidth_throttling: 1, # required
132
+ # create_public_ip: false, # required
133
+ # data_plane_routing: "PRIVATE_IP", # required, accepts PRIVATE_IP, PUBLIC_IP
134
+ # default_large_staging_disk_type: "GP2", # required, accepts GP2, ST1
135
+ # ebs_encryption: "NONE", # required, accepts NONE, DEFAULT, CUSTOM
136
+ # ebs_encryption_key_arn: "ARN",
137
+ # replication_server_instance_type: "EC2InstanceType", # required
138
+ # replication_servers_security_groups_i_ds: ["SecurityGroupID"], # required
139
+ # staging_area_subnet_id: "SubnetID", # required
140
+ # staging_area_tags: { # required
141
+ # "TagKey" => "TagValue",
142
+ # },
143
+ # tags: {
144
+ # "TagKey" => "TagValue",
145
+ # },
146
+ # use_dedicated_replication_server: false, # required
147
+ # }
148
+ #
149
+ # @!attribute [rw] associate_default_security_group
150
+ # Request to associate the default Application Migration Service
151
+ # Security group with the Replication Settings template.
152
+ # @return [Boolean]
153
+ #
154
+ # @!attribute [rw] bandwidth_throttling
155
+ # Request to configure bandwidth throttling during Replication
156
+ # Settings template creation.
157
+ # @return [Integer]
158
+ #
159
+ # @!attribute [rw] create_public_ip
160
+ # Request to create Public IP during Replication Settings template
161
+ # creation.
162
+ # @return [Boolean]
163
+ #
164
+ # @!attribute [rw] data_plane_routing
165
+ # Request to configure data plane routing during Replication Settings
166
+ # template creation.
167
+ # @return [String]
168
+ #
169
+ # @!attribute [rw] default_large_staging_disk_type
170
+ # Request to configure the Staging Disk EBS volume type to "gp2"
171
+ # during Replication Settings template creation.
172
+ # @return [String]
173
+ #
174
+ # @!attribute [rw] ebs_encryption
175
+ # Request to configure EBS enryption during Replication Settings
176
+ # template creation.
177
+ # @return [String]
178
+ #
179
+ # @!attribute [rw] ebs_encryption_key_arn
180
+ # Request to configure an EBS enryption key during Replication
181
+ # Settings template creation.
182
+ # @return [String]
183
+ #
184
+ # @!attribute [rw] replication_server_instance_type
185
+ # Request to configure the Replication Server instance type during
186
+ # Replication Settings template creation.
187
+ # @return [String]
188
+ #
189
+ # @!attribute [rw] replication_servers_security_groups_i_ds
190
+ # Request to configure the Replication Server Secuirity group ID
191
+ # during Replication Settings template creation.
192
+ # @return [Array<String>]
193
+ #
194
+ # @!attribute [rw] staging_area_subnet_id
195
+ # Request to configure the Staging Area subnet ID during Replication
196
+ # Settings template creation.
197
+ # @return [String]
198
+ #
199
+ # @!attribute [rw] staging_area_tags
200
+ # Request to configure Staiging Area tags during Replication Settings
201
+ # template creation.
202
+ # @return [Hash<String,String>]
203
+ #
204
+ # @!attribute [rw] tags
205
+ # Request to configure tags during Replication Settings template
206
+ # creation.
207
+ # @return [Hash<String,String>]
208
+ #
209
+ # @!attribute [rw] use_dedicated_replication_server
210
+ # Request to use Dedicated Replication Servers during Replication
211
+ # Settings template creation.
212
+ # @return [Boolean]
213
+ #
214
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/CreateReplicationConfigurationTemplateRequest AWS API Documentation
215
+ #
216
+ class CreateReplicationConfigurationTemplateRequest < Struct.new(
217
+ :associate_default_security_group,
218
+ :bandwidth_throttling,
219
+ :create_public_ip,
220
+ :data_plane_routing,
221
+ :default_large_staging_disk_type,
222
+ :ebs_encryption,
223
+ :ebs_encryption_key_arn,
224
+ :replication_server_instance_type,
225
+ :replication_servers_security_groups_i_ds,
226
+ :staging_area_subnet_id,
227
+ :staging_area_tags,
228
+ :tags,
229
+ :use_dedicated_replication_server)
230
+ SENSITIVE = [:staging_area_tags, :tags]
231
+ include Aws::Structure
232
+ end
233
+
234
+ # Error in data replication.
235
+ #
236
+ # @!attribute [rw] error
237
+ # Error in data replication.
238
+ # @return [String]
239
+ #
240
+ # @!attribute [rw] raw_error
241
+ # Error in data replication.
242
+ # @return [String]
243
+ #
244
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DataReplicationError AWS API Documentation
245
+ #
246
+ class DataReplicationError < Struct.new(
247
+ :error,
248
+ :raw_error)
249
+ SENSITIVE = []
250
+ include Aws::Structure
251
+ end
252
+
253
+ # Request data replication info.
254
+ #
255
+ # @!attribute [rw] data_replication_error
256
+ # Error in obtaining data replication info.
257
+ # @return [Types::DataReplicationError]
258
+ #
259
+ # @!attribute [rw] data_replication_initiation
260
+ # Request to query whether data replication has been initiated.
261
+ # @return [Types::DataReplicationInitiation]
262
+ #
263
+ # @!attribute [rw] data_replication_state
264
+ # Request to query the data replication state.
265
+ # @return [String]
266
+ #
267
+ # @!attribute [rw] eta_date_time
268
+ # Request to query the time when data replication will be complete.
269
+ # @return [String]
270
+ #
271
+ # @!attribute [rw] lag_duration
272
+ # Request to query data replication lag durating.
273
+ # @return [String]
274
+ #
275
+ # @!attribute [rw] replicated_disks
276
+ # Request to query disks replicated.
277
+ # @return [Array<Types::DataReplicationInfoReplicatedDisk>]
278
+ #
279
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DataReplicationInfo AWS API Documentation
280
+ #
281
+ class DataReplicationInfo < Struct.new(
282
+ :data_replication_error,
283
+ :data_replication_initiation,
284
+ :data_replication_state,
285
+ :eta_date_time,
286
+ :lag_duration,
287
+ :replicated_disks)
288
+ SENSITIVE = []
289
+ include Aws::Structure
290
+ end
291
+
292
+ # Request to query disks replicated.
293
+ #
294
+ # @!attribute [rw] backlogged_storage_bytes
295
+ # Request to query data replication backlog size in bytes.
296
+ # @return [Integer]
297
+ #
298
+ # @!attribute [rw] device_name
299
+ # Request to query device name.
300
+ # @return [String]
301
+ #
302
+ # @!attribute [rw] replicated_storage_bytes
303
+ # Request to query amount of data replicated in bytes.
304
+ # @return [Integer]
305
+ #
306
+ # @!attribute [rw] rescanned_storage_bytes
307
+ # Request to query amount of data rescanned in bytes.
308
+ # @return [Integer]
309
+ #
310
+ # @!attribute [rw] total_storage_bytes
311
+ # Request to query total amount of data replicated in bytes.
312
+ # @return [Integer]
313
+ #
314
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DataReplicationInfoReplicatedDisk AWS API Documentation
315
+ #
316
+ class DataReplicationInfoReplicatedDisk < Struct.new(
317
+ :backlogged_storage_bytes,
318
+ :device_name,
319
+ :replicated_storage_bytes,
320
+ :rescanned_storage_bytes,
321
+ :total_storage_bytes)
322
+ SENSITIVE = []
323
+ include Aws::Structure
324
+ end
325
+
326
+ # Data replication initiation.
327
+ #
328
+ # @!attribute [rw] next_attempt_date_time
329
+ # Request to query next data initiation date and time.
330
+ # @return [String]
331
+ #
332
+ # @!attribute [rw] start_date_time
333
+ # Request to query data initiation start date and time.
334
+ # @return [String]
335
+ #
336
+ # @!attribute [rw] steps
337
+ # Request to query data initiation steps.
338
+ # @return [Array<Types::DataReplicationInitiationStep>]
339
+ #
340
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DataReplicationInitiation AWS API Documentation
341
+ #
342
+ class DataReplicationInitiation < Struct.new(
343
+ :next_attempt_date_time,
344
+ :start_date_time,
345
+ :steps)
346
+ SENSITIVE = []
347
+ include Aws::Structure
348
+ end
349
+
350
+ # Data replication intiation step.
351
+ #
352
+ # @!attribute [rw] name
353
+ # Request to query data initiation step name.
354
+ # @return [String]
355
+ #
356
+ # @!attribute [rw] status
357
+ # Request to query data initiation status.
358
+ # @return [String]
359
+ #
360
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DataReplicationInitiationStep AWS API Documentation
361
+ #
362
+ class DataReplicationInitiationStep < Struct.new(
363
+ :name,
364
+ :status)
365
+ SENSITIVE = []
366
+ include Aws::Structure
367
+ end
368
+
369
+ # @note When making an API call, you may pass DeleteJobRequest
370
+ # data as a hash:
371
+ #
372
+ # {
373
+ # job_id: "JobID", # required
374
+ # }
375
+ #
376
+ # @!attribute [rw] job_id
377
+ # Request to delete Job from service by Job ID.
378
+ # @return [String]
379
+ #
380
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DeleteJobRequest AWS API Documentation
381
+ #
382
+ class DeleteJobRequest < Struct.new(
383
+ :job_id)
384
+ SENSITIVE = []
385
+ include Aws::Structure
386
+ end
387
+
388
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DeleteJobResponse AWS API Documentation
389
+ #
390
+ class DeleteJobResponse < Aws::EmptyStructure; end
391
+
392
+ # @note When making an API call, you may pass DeleteReplicationConfigurationTemplateRequest
393
+ # data as a hash:
394
+ #
395
+ # {
396
+ # replication_configuration_template_id: "ReplicationConfigurationTemplateID", # required
397
+ # }
398
+ #
399
+ # @!attribute [rw] replication_configuration_template_id
400
+ # Request to delete Replication Configuration Template from service by
401
+ # Replication Configuration Template ID.
402
+ # @return [String]
403
+ #
404
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DeleteReplicationConfigurationTemplateRequest AWS API Documentation
405
+ #
406
+ class DeleteReplicationConfigurationTemplateRequest < Struct.new(
407
+ :replication_configuration_template_id)
408
+ SENSITIVE = []
409
+ include Aws::Structure
410
+ end
411
+
412
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DeleteReplicationConfigurationTemplateResponse AWS API Documentation
413
+ #
414
+ class DeleteReplicationConfigurationTemplateResponse < Aws::EmptyStructure; end
415
+
416
+ # @note When making an API call, you may pass DeleteSourceServerRequest
417
+ # data as a hash:
418
+ #
419
+ # {
420
+ # source_server_id: "SourceServerID", # required
421
+ # }
422
+ #
423
+ # @!attribute [rw] source_server_id
424
+ # Request to delete Source Server from service by Server ID.
425
+ # @return [String]
426
+ #
427
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DeleteSourceServerRequest AWS API Documentation
428
+ #
429
+ class DeleteSourceServerRequest < Struct.new(
430
+ :source_server_id)
431
+ SENSITIVE = []
432
+ include Aws::Structure
433
+ end
434
+
435
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DeleteSourceServerResponse AWS API Documentation
436
+ #
437
+ class DeleteSourceServerResponse < Aws::EmptyStructure; end
438
+
439
+ # @note When making an API call, you may pass DescribeJobLogItemsRequest
440
+ # data as a hash:
441
+ #
442
+ # {
443
+ # job_id: "JobID", # required
444
+ # max_results: 1,
445
+ # next_token: "PaginationToken",
446
+ # }
447
+ #
448
+ # @!attribute [rw] job_id
449
+ # Request to describe Job log job ID.
450
+ # @return [String]
451
+ #
452
+ # @!attribute [rw] max_results
453
+ # Request to describe Job log item maximum results.
454
+ # @return [Integer]
455
+ #
456
+ # @!attribute [rw] next_token
457
+ # Request to describe Job log next token.
458
+ # @return [String]
459
+ #
460
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DescribeJobLogItemsRequest AWS API Documentation
461
+ #
462
+ class DescribeJobLogItemsRequest < Struct.new(
463
+ :job_id,
464
+ :max_results,
465
+ :next_token)
466
+ SENSITIVE = []
467
+ include Aws::Structure
468
+ end
469
+
470
+ # @!attribute [rw] items
471
+ # Request to describe Job log response items.
472
+ # @return [Array<Types::JobLog>]
473
+ #
474
+ # @!attribute [rw] next_token
475
+ # Request to describe Job log response next token.
476
+ # @return [String]
477
+ #
478
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DescribeJobLogItemsResponse AWS API Documentation
479
+ #
480
+ class DescribeJobLogItemsResponse < Struct.new(
481
+ :items,
482
+ :next_token)
483
+ SENSITIVE = []
484
+ include Aws::Structure
485
+ end
486
+
487
+ # @note When making an API call, you may pass DescribeJobsRequest
488
+ # data as a hash:
489
+ #
490
+ # {
491
+ # filters: { # required
492
+ # from_date: "ISO8601DatetimeString",
493
+ # job_i_ds: ["JobID"],
494
+ # to_date: "ISO8601DatetimeString",
495
+ # },
496
+ # max_results: 1,
497
+ # next_token: "PaginationToken",
498
+ # }
499
+ #
500
+ # @!attribute [rw] filters
501
+ # Request to describe Job log filters.
502
+ # @return [Types::DescribeJobsRequestFilters]
503
+ #
504
+ # @!attribute [rw] max_results
505
+ # Request to describe Job log by max results.
506
+ # @return [Integer]
507
+ #
508
+ # @!attribute [rw] next_token
509
+ # Request to describe Job logby next token.
510
+ # @return [String]
511
+ #
512
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DescribeJobsRequest AWS API Documentation
513
+ #
514
+ class DescribeJobsRequest < Struct.new(
515
+ :filters,
516
+ :max_results,
517
+ :next_token)
518
+ SENSITIVE = []
519
+ include Aws::Structure
520
+ end
521
+
522
+ # Request to describe Job log filters.
523
+ #
524
+ # @note When making an API call, you may pass DescribeJobsRequestFilters
525
+ # data as a hash:
526
+ #
527
+ # {
528
+ # from_date: "ISO8601DatetimeString",
529
+ # job_i_ds: ["JobID"],
530
+ # to_date: "ISO8601DatetimeString",
531
+ # }
532
+ #
533
+ # @!attribute [rw] from_date
534
+ # Request to describe Job log filters by date.
535
+ # @return [String]
536
+ #
537
+ # @!attribute [rw] job_i_ds
538
+ # Request to describe Job log filters by job ID.
539
+ # @return [Array<String>]
540
+ #
541
+ # @!attribute [rw] to_date
542
+ # Request to describe Job log by last date.
543
+ # @return [String]
544
+ #
545
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DescribeJobsRequestFilters AWS API Documentation
546
+ #
547
+ class DescribeJobsRequestFilters < Struct.new(
548
+ :from_date,
549
+ :job_i_ds,
550
+ :to_date)
551
+ SENSITIVE = []
552
+ include Aws::Structure
553
+ end
554
+
555
+ # @!attribute [rw] items
556
+ # Request to describe Job log items.
557
+ # @return [Array<Types::Job>]
558
+ #
559
+ # @!attribute [rw] next_token
560
+ # Request to describe Job response by next token.
561
+ # @return [String]
562
+ #
563
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DescribeJobsResponse AWS API Documentation
564
+ #
565
+ class DescribeJobsResponse < Struct.new(
566
+ :items,
567
+ :next_token)
568
+ SENSITIVE = []
569
+ include Aws::Structure
570
+ end
571
+
572
+ # @note When making an API call, you may pass DescribeReplicationConfigurationTemplatesRequest
573
+ # data as a hash:
574
+ #
575
+ # {
576
+ # max_results: 1,
577
+ # next_token: "PaginationToken",
578
+ # replication_configuration_template_i_ds: ["ReplicationConfigurationTemplateID"], # required
579
+ # }
580
+ #
581
+ # @!attribute [rw] max_results
582
+ # Request to describe Replication Configuration template by max
583
+ # results.
584
+ # @return [Integer]
585
+ #
586
+ # @!attribute [rw] next_token
587
+ # Request to describe Replication Configuration template by next
588
+ # token.
589
+ # @return [String]
590
+ #
591
+ # @!attribute [rw] replication_configuration_template_i_ds
592
+ # Request to describe Replication Configuration template by template
593
+ # IDs.
594
+ # @return [Array<String>]
595
+ #
596
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DescribeReplicationConfigurationTemplatesRequest AWS API Documentation
597
+ #
598
+ class DescribeReplicationConfigurationTemplatesRequest < Struct.new(
599
+ :max_results,
600
+ :next_token,
601
+ :replication_configuration_template_i_ds)
602
+ SENSITIVE = []
603
+ include Aws::Structure
604
+ end
605
+
606
+ # @!attribute [rw] items
607
+ # Request to describe Replication Configuration template by items.
608
+ # @return [Array<Types::ReplicationConfigurationTemplate>]
609
+ #
610
+ # @!attribute [rw] next_token
611
+ # Request to describe Replication Configuration template by next
612
+ # token.
613
+ # @return [String]
614
+ #
615
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DescribeReplicationConfigurationTemplatesResponse AWS API Documentation
616
+ #
617
+ class DescribeReplicationConfigurationTemplatesResponse < Struct.new(
618
+ :items,
619
+ :next_token)
620
+ SENSITIVE = []
621
+ include Aws::Structure
622
+ end
623
+
624
+ # @note When making an API call, you may pass DescribeSourceServersRequest
625
+ # data as a hash:
626
+ #
627
+ # {
628
+ # filters: { # required
629
+ # is_archived: false,
630
+ # source_server_i_ds: ["SourceServerID"],
631
+ # },
632
+ # max_results: 1,
633
+ # next_token: "PaginationToken",
634
+ # }
635
+ #
636
+ # @!attribute [rw] filters
637
+ # Request to filter Source Servers list.
638
+ # @return [Types::DescribeSourceServersRequestFilters]
639
+ #
640
+ # @!attribute [rw] max_results
641
+ # Request to filter Source Servers list by maximum results.
642
+ # @return [Integer]
643
+ #
644
+ # @!attribute [rw] next_token
645
+ # Request to filter Source Servers list by next token.
646
+ # @return [String]
647
+ #
648
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DescribeSourceServersRequest AWS API Documentation
649
+ #
650
+ class DescribeSourceServersRequest < Struct.new(
651
+ :filters,
652
+ :max_results,
653
+ :next_token)
654
+ SENSITIVE = []
655
+ include Aws::Structure
656
+ end
657
+
658
+ # Request to filter Source Servers list.
659
+ #
660
+ # @note When making an API call, you may pass DescribeSourceServersRequestFilters
661
+ # data as a hash:
662
+ #
663
+ # {
664
+ # is_archived: false,
665
+ # source_server_i_ds: ["SourceServerID"],
666
+ # }
667
+ #
668
+ # @!attribute [rw] is_archived
669
+ # Request to filter Source Servers list by archived.
670
+ # @return [Boolean]
671
+ #
672
+ # @!attribute [rw] source_server_i_ds
673
+ # Request to filter Source Servers list by Source Server ID.
674
+ # @return [Array<String>]
675
+ #
676
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DescribeSourceServersRequestFilters AWS API Documentation
677
+ #
678
+ class DescribeSourceServersRequestFilters < Struct.new(
679
+ :is_archived,
680
+ :source_server_i_ds)
681
+ SENSITIVE = []
682
+ include Aws::Structure
683
+ end
684
+
685
+ # @!attribute [rw] items
686
+ # Request to filter Source Servers list by item.
687
+ # @return [Array<Types::SourceServer>]
688
+ #
689
+ # @!attribute [rw] next_token
690
+ # Request to filter Source Servers next token.
691
+ # @return [String]
692
+ #
693
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DescribeSourceServersResponse AWS API Documentation
694
+ #
695
+ class DescribeSourceServersResponse < Struct.new(
696
+ :items,
697
+ :next_token)
698
+ SENSITIVE = []
699
+ include Aws::Structure
700
+ end
701
+
702
+ # @note When making an API call, you may pass DisconnectFromServiceRequest
703
+ # data as a hash:
704
+ #
705
+ # {
706
+ # source_server_id: "SourceServerID", # required
707
+ # }
708
+ #
709
+ # @!attribute [rw] source_server_id
710
+ # Request to disconnect Source Server from service by Server ID.
711
+ # @return [String]
712
+ #
713
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DisconnectFromServiceRequest AWS API Documentation
714
+ #
715
+ class DisconnectFromServiceRequest < Struct.new(
716
+ :source_server_id)
717
+ SENSITIVE = []
718
+ include Aws::Structure
719
+ end
720
+
721
+ # The disk identifier.
722
+ #
723
+ # @!attribute [rw] bytes
724
+ # The amount of storage on the disk in bytes.
725
+ # @return [Integer]
726
+ #
727
+ # @!attribute [rw] device_name
728
+ # The disk or device name.
729
+ # @return [String]
730
+ #
731
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/Disk AWS API Documentation
732
+ #
733
+ class Disk < Struct.new(
734
+ :bytes,
735
+ :device_name)
736
+ SENSITIVE = []
737
+ include Aws::Structure
738
+ end
739
+
740
+ # @note When making an API call, you may pass FinalizeCutoverRequest
741
+ # data as a hash:
742
+ #
743
+ # {
744
+ # source_server_id: "SourceServerID", # required
745
+ # }
746
+ #
747
+ # @!attribute [rw] source_server_id
748
+ # Request to finalize Cutover by Soure Server ID.
749
+ # @return [String]
750
+ #
751
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/FinalizeCutoverRequest AWS API Documentation
752
+ #
753
+ class FinalizeCutoverRequest < Struct.new(
754
+ :source_server_id)
755
+ SENSITIVE = []
756
+ include Aws::Structure
757
+ end
758
+
759
+ # @note When making an API call, you may pass GetLaunchConfigurationRequest
760
+ # data as a hash:
761
+ #
762
+ # {
763
+ # source_server_id: "SourceServerID", # required
764
+ # }
765
+ #
766
+ # @!attribute [rw] source_server_id
767
+ # Request to get Launch Configuration information by Source Server ID.
768
+ # @return [String]
769
+ #
770
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/GetLaunchConfigurationRequest AWS API Documentation
771
+ #
772
+ class GetLaunchConfigurationRequest < Struct.new(
773
+ :source_server_id)
774
+ SENSITIVE = []
775
+ include Aws::Structure
776
+ end
777
+
778
+ # @note When making an API call, you may pass GetReplicationConfigurationRequest
779
+ # data as a hash:
780
+ #
781
+ # {
782
+ # source_server_id: "SourceServerID", # required
783
+ # }
784
+ #
785
+ # @!attribute [rw] source_server_id
786
+ # Request to get Replication Configuaration by Source Server ID.
787
+ # @return [String]
788
+ #
789
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/GetReplicationConfigurationRequest AWS API Documentation
790
+ #
791
+ class GetReplicationConfigurationRequest < Struct.new(
792
+ :source_server_id)
793
+ SENSITIVE = []
794
+ include Aws::Structure
795
+ end
796
+
797
+ # Identification hints.
798
+ #
799
+ # @!attribute [rw] aws_instance_id
800
+ # AWS Instance ID identification hint.
801
+ # @return [String]
802
+ #
803
+ # @!attribute [rw] fqdn
804
+ # FQDN address identification hint.
805
+ # @return [String]
806
+ #
807
+ # @!attribute [rw] hostname
808
+ # Hostname identification hint.
809
+ # @return [String]
810
+ #
811
+ # @!attribute [rw] vm_ware_uuid
812
+ # vmWare UUID identification hint.
813
+ # @return [String]
814
+ #
815
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/IdentificationHints AWS API Documentation
816
+ #
817
+ class IdentificationHints < Struct.new(
818
+ :aws_instance_id,
819
+ :fqdn,
820
+ :hostname,
821
+ :vm_ware_uuid)
822
+ SENSITIVE = []
823
+ include Aws::Structure
824
+ end
825
+
826
+ # @api private
827
+ #
828
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/InitializeServiceRequest AWS API Documentation
829
+ #
830
+ class InitializeServiceRequest < Aws::EmptyStructure; end
831
+
832
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/InitializeServiceResponse AWS API Documentation
833
+ #
834
+ class InitializeServiceResponse < Aws::EmptyStructure; end
835
+
836
+ # The server encountered an unexpected condition that prevented it from
837
+ # fulfilling the request.
838
+ #
839
+ # @!attribute [rw] message
840
+ # @return [String]
841
+ #
842
+ # @!attribute [rw] retry_after_seconds
843
+ # The server encountered an unexpected condition that prevented it
844
+ # from fulfilling the request. The request will be retried again after
845
+ # x seconds.
846
+ # @return [Integer]
847
+ #
848
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/InternalServerException AWS API Documentation
849
+ #
850
+ class InternalServerException < Struct.new(
851
+ :message,
852
+ :retry_after_seconds)
853
+ SENSITIVE = []
854
+ include Aws::Structure
855
+ end
856
+
857
+ # Job.
858
+ #
859
+ # @!attribute [rw] arn
860
+ # the ARN of the specific Job.
861
+ # @return [String]
862
+ #
863
+ # @!attribute [rw] creation_date_time
864
+ # Job creation time.
865
+ # @return [String]
866
+ #
867
+ # @!attribute [rw] end_date_time
868
+ # Job end time.
869
+ # @return [String]
870
+ #
871
+ # @!attribute [rw] initiated_by
872
+ # Job initiated by field.
873
+ # @return [String]
874
+ #
875
+ # @!attribute [rw] job_id
876
+ # Job ID.
877
+ # @return [String]
878
+ #
879
+ # @!attribute [rw] participating_servers
880
+ # Servers participating in a specific Job.
881
+ # @return [Array<Types::ParticipatingServer>]
882
+ #
883
+ # @!attribute [rw] status
884
+ # Job status.
885
+ # @return [String]
886
+ #
887
+ # @!attribute [rw] tags
888
+ # Tags associated with spcific Job.
889
+ # @return [Hash<String,String>]
890
+ #
891
+ # @!attribute [rw] type
892
+ # Job type.
893
+ # @return [String]
894
+ #
895
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/Job AWS API Documentation
896
+ #
897
+ class Job < Struct.new(
898
+ :arn,
899
+ :creation_date_time,
900
+ :end_date_time,
901
+ :initiated_by,
902
+ :job_id,
903
+ :participating_servers,
904
+ :status,
905
+ :tags,
906
+ :type)
907
+ SENSITIVE = [:tags]
908
+ include Aws::Structure
909
+ end
910
+
911
+ # Job log.
912
+ #
913
+ # @!attribute [rw] event
914
+ # Job log event.
915
+ # @return [String]
916
+ #
917
+ # @!attribute [rw] event_data
918
+ # Job event data
919
+ # @return [Types::JobLogEventData]
920
+ #
921
+ # @!attribute [rw] log_date_time
922
+ # Job log event date and time.
923
+ # @return [String]
924
+ #
925
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/JobLog AWS API Documentation
926
+ #
927
+ class JobLog < Struct.new(
928
+ :event,
929
+ :event_data,
930
+ :log_date_time)
931
+ SENSITIVE = []
932
+ include Aws::Structure
933
+ end
934
+
935
+ # Job log data
936
+ #
937
+ # @!attribute [rw] conversion_server_id
938
+ # Job Event conversion Server ID.
939
+ # @return [String]
940
+ #
941
+ # @!attribute [rw] raw_error
942
+ # Job error.
943
+ # @return [String]
944
+ #
945
+ # @!attribute [rw] source_server_id
946
+ # Job Event Source Server ID.
947
+ # @return [String]
948
+ #
949
+ # @!attribute [rw] target_instance_id
950
+ # Job Event Target instance ID.
951
+ # @return [String]
952
+ #
953
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/JobLogEventData AWS API Documentation
954
+ #
955
+ class JobLogEventData < Struct.new(
956
+ :conversion_server_id,
957
+ :raw_error,
958
+ :source_server_id,
959
+ :target_instance_id)
960
+ SENSITIVE = []
961
+ include Aws::Structure
962
+ end
963
+
964
+ # @!attribute [rw] copy_private_ip
965
+ # Copy Private IP during Launch Configuration.
966
+ # @return [Boolean]
967
+ #
968
+ # @!attribute [rw] copy_tags
969
+ # Copy Tags during Launch Configuration.
970
+ # @return [Boolean]
971
+ #
972
+ # @!attribute [rw] ec2_launch_template_id
973
+ # Configure EC2 lauch configuration template ID.
974
+ # @return [String]
975
+ #
976
+ # @!attribute [rw] launch_disposition
977
+ # Configure launch dispostion for launch configuration.
978
+ # @return [String]
979
+ #
980
+ # @!attribute [rw] licensing
981
+ # Configure launch configuration OS licensing.
982
+ # @return [Types::Licensing]
983
+ #
984
+ # @!attribute [rw] name
985
+ # Configure launch configuration name.
986
+ # @return [String]
987
+ #
988
+ # @!attribute [rw] source_server_id
989
+ # Configure launch configuration Source Server ID.
990
+ # @return [String]
991
+ #
992
+ # @!attribute [rw] target_instance_type_right_sizing_method
993
+ # Configure launch configuration Target instance type right sizing
994
+ # method.
995
+ # @return [String]
996
+ #
997
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/LaunchConfiguration AWS API Documentation
998
+ #
999
+ class LaunchConfiguration < Struct.new(
1000
+ :copy_private_ip,
1001
+ :copy_tags,
1002
+ :ec2_launch_template_id,
1003
+ :launch_disposition,
1004
+ :licensing,
1005
+ :name,
1006
+ :source_server_id,
1007
+ :target_instance_type_right_sizing_method)
1008
+ SENSITIVE = []
1009
+ include Aws::Structure
1010
+ end
1011
+
1012
+ # Configure launced instance.
1013
+ #
1014
+ # @!attribute [rw] ec2_instance_id
1015
+ # Configure launced instance EC2 ID.
1016
+ # @return [String]
1017
+ #
1018
+ # @!attribute [rw] first_boot
1019
+ # Configure launced instance first boot.
1020
+ # @return [String]
1021
+ #
1022
+ # @!attribute [rw] job_id
1023
+ # Configure launced instance Job ID.
1024
+ # @return [String]
1025
+ #
1026
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/LaunchedInstance AWS API Documentation
1027
+ #
1028
+ class LaunchedInstance < Struct.new(
1029
+ :ec2_instance_id,
1030
+ :first_boot,
1031
+ :job_id)
1032
+ SENSITIVE = []
1033
+ include Aws::Structure
1034
+ end
1035
+
1036
+ # Configure Licensing.
1037
+ #
1038
+ # @note When making an API call, you may pass Licensing
1039
+ # data as a hash:
1040
+ #
1041
+ # {
1042
+ # os_byol: false,
1043
+ # }
1044
+ #
1045
+ # @!attribute [rw] os_byol
1046
+ # Configure BYOL OS licensing.
1047
+ # @return [Boolean]
1048
+ #
1049
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/Licensing AWS API Documentation
1050
+ #
1051
+ class Licensing < Struct.new(
1052
+ :os_byol)
1053
+ SENSITIVE = []
1054
+ include Aws::Structure
1055
+ end
1056
+
1057
+ # Lifecycle.
1058
+ #
1059
+ # @!attribute [rw] added_to_service_date_time
1060
+ # Lifecycle added to service data and time.
1061
+ # @return [String]
1062
+ #
1063
+ # @!attribute [rw] elapsed_replication_duration
1064
+ # Lifecycle elapsed time and duration.
1065
+ # @return [String]
1066
+ #
1067
+ # @!attribute [rw] first_byte_date_time
1068
+ # Lifecycle replication initiation date and time.
1069
+ # @return [String]
1070
+ #
1071
+ # @!attribute [rw] last_cutover
1072
+ # Lifecycle last Cutover.
1073
+ # @return [Types::LifeCycleLastCutover]
1074
+ #
1075
+ # @!attribute [rw] last_seen_by_service_date_time
1076
+ # Lifecycle last seen date and time.
1077
+ # @return [String]
1078
+ #
1079
+ # @!attribute [rw] last_test
1080
+ # Lifecycle last Test.
1081
+ # @return [Types::LifeCycleLastTest]
1082
+ #
1083
+ # @!attribute [rw] state
1084
+ # Lifecycle state.
1085
+ # @return [String]
1086
+ #
1087
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/LifeCycle AWS API Documentation
1088
+ #
1089
+ class LifeCycle < Struct.new(
1090
+ :added_to_service_date_time,
1091
+ :elapsed_replication_duration,
1092
+ :first_byte_date_time,
1093
+ :last_cutover,
1094
+ :last_seen_by_service_date_time,
1095
+ :last_test,
1096
+ :state)
1097
+ SENSITIVE = []
1098
+ include Aws::Structure
1099
+ end
1100
+
1101
+ # Lifecycle last Cutover .
1102
+ #
1103
+ # @!attribute [rw] finalized
1104
+ # Lifecycle Cutover finalized date and time.
1105
+ # @return [Types::LifeCycleLastCutoverFinalized]
1106
+ #
1107
+ # @!attribute [rw] initiated
1108
+ # Lifecycle last Cutover initiated.
1109
+ # @return [Types::LifeCycleLastCutoverInitiated]
1110
+ #
1111
+ # @!attribute [rw] reverted
1112
+ # Lifecycle last Cutover reverted.
1113
+ # @return [Types::LifeCycleLastCutoverReverted]
1114
+ #
1115
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/LifeCycleLastCutover AWS API Documentation
1116
+ #
1117
+ class LifeCycleLastCutover < Struct.new(
1118
+ :finalized,
1119
+ :initiated,
1120
+ :reverted)
1121
+ SENSITIVE = []
1122
+ include Aws::Structure
1123
+ end
1124
+
1125
+ # Lifecycle Cutover finalized
1126
+ #
1127
+ # @!attribute [rw] api_call_date_time
1128
+ # Lifecycle Cutover finalized date and time.
1129
+ # @return [String]
1130
+ #
1131
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/LifeCycleLastCutoverFinalized AWS API Documentation
1132
+ #
1133
+ class LifeCycleLastCutoverFinalized < Struct.new(
1134
+ :api_call_date_time)
1135
+ SENSITIVE = []
1136
+ include Aws::Structure
1137
+ end
1138
+
1139
+ # Lifecycle last Cutover initiated.
1140
+ #
1141
+ # @!attribute [rw] api_call_date_time
1142
+ # @return [String]
1143
+ #
1144
+ # @!attribute [rw] job_id
1145
+ # Lifecycle last Cutover initiated by Job ID.
1146
+ # @return [String]
1147
+ #
1148
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/LifeCycleLastCutoverInitiated AWS API Documentation
1149
+ #
1150
+ class LifeCycleLastCutoverInitiated < Struct.new(
1151
+ :api_call_date_time,
1152
+ :job_id)
1153
+ SENSITIVE = []
1154
+ include Aws::Structure
1155
+ end
1156
+
1157
+ # Lifecycle last Cutover reverted.
1158
+ #
1159
+ # @!attribute [rw] api_call_date_time
1160
+ # Lifecycle last Cutover reverted API call date time.
1161
+ # @return [String]
1162
+ #
1163
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/LifeCycleLastCutoverReverted AWS API Documentation
1164
+ #
1165
+ class LifeCycleLastCutoverReverted < Struct.new(
1166
+ :api_call_date_time)
1167
+ SENSITIVE = []
1168
+ include Aws::Structure
1169
+ end
1170
+
1171
+ # Lifecycle last Test.
1172
+ #
1173
+ # @!attribute [rw] finalized
1174
+ # Lifecycle last Test finlized.
1175
+ # @return [Types::LifeCycleLastTestFinalized]
1176
+ #
1177
+ # @!attribute [rw] initiated
1178
+ # Lifecycle last Test initiated.
1179
+ # @return [Types::LifeCycleLastTestInitiated]
1180
+ #
1181
+ # @!attribute [rw] reverted
1182
+ # Lifecycle last Test reverted.
1183
+ # @return [Types::LifeCycleLastTestReverted]
1184
+ #
1185
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/LifeCycleLastTest AWS API Documentation
1186
+ #
1187
+ class LifeCycleLastTest < Struct.new(
1188
+ :finalized,
1189
+ :initiated,
1190
+ :reverted)
1191
+ SENSITIVE = []
1192
+ include Aws::Structure
1193
+ end
1194
+
1195
+ # Lifecycle last Test finlized.
1196
+ #
1197
+ # @!attribute [rw] api_call_date_time
1198
+ # Lifecycle Test failed API call date and time.
1199
+ # @return [String]
1200
+ #
1201
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/LifeCycleLastTestFinalized AWS API Documentation
1202
+ #
1203
+ class LifeCycleLastTestFinalized < Struct.new(
1204
+ :api_call_date_time)
1205
+ SENSITIVE = []
1206
+ include Aws::Structure
1207
+ end
1208
+
1209
+ # Lifecycle last Test initiated.
1210
+ #
1211
+ # @!attribute [rw] api_call_date_time
1212
+ # Lifecycle last Test initiated API call date and time.
1213
+ # @return [String]
1214
+ #
1215
+ # @!attribute [rw] job_id
1216
+ # Lifecycle last Test initiated Job ID.
1217
+ # @return [String]
1218
+ #
1219
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/LifeCycleLastTestInitiated AWS API Documentation
1220
+ #
1221
+ class LifeCycleLastTestInitiated < Struct.new(
1222
+ :api_call_date_time,
1223
+ :job_id)
1224
+ SENSITIVE = []
1225
+ include Aws::Structure
1226
+ end
1227
+
1228
+ # Lifecycle last Test reverted.
1229
+ #
1230
+ # @!attribute [rw] api_call_date_time
1231
+ # Lifecycle last Test reverted API call date and time.
1232
+ # @return [String]
1233
+ #
1234
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/LifeCycleLastTestReverted AWS API Documentation
1235
+ #
1236
+ class LifeCycleLastTestReverted < Struct.new(
1237
+ :api_call_date_time)
1238
+ SENSITIVE = []
1239
+ include Aws::Structure
1240
+ end
1241
+
1242
+ # @note When making an API call, you may pass ListTagsForResourceRequest
1243
+ # data as a hash:
1244
+ #
1245
+ # {
1246
+ # resource_arn: "ARN", # required
1247
+ # }
1248
+ #
1249
+ # @!attribute [rw] resource_arn
1250
+ # List tags for resource request by ARN.
1251
+ # @return [String]
1252
+ #
1253
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ListTagsForResourceRequest AWS API Documentation
1254
+ #
1255
+ class ListTagsForResourceRequest < Struct.new(
1256
+ :resource_arn)
1257
+ SENSITIVE = []
1258
+ include Aws::Structure
1259
+ end
1260
+
1261
+ # @!attribute [rw] tags
1262
+ # List tags for resource response.
1263
+ # @return [Hash<String,String>]
1264
+ #
1265
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ListTagsForResourceResponse AWS API Documentation
1266
+ #
1267
+ class ListTagsForResourceResponse < Struct.new(
1268
+ :tags)
1269
+ SENSITIVE = [:tags]
1270
+ include Aws::Structure
1271
+ end
1272
+
1273
+ # @note When making an API call, you may pass MarkAsArchivedRequest
1274
+ # data as a hash:
1275
+ #
1276
+ # {
1277
+ # source_server_id: "SourceServerID", # required
1278
+ # }
1279
+ #
1280
+ # @!attribute [rw] source_server_id
1281
+ # Mark as archived by Source Server ID.
1282
+ # @return [String]
1283
+ #
1284
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/MarkAsArchivedRequest AWS API Documentation
1285
+ #
1286
+ class MarkAsArchivedRequest < Struct.new(
1287
+ :source_server_id)
1288
+ SENSITIVE = []
1289
+ include Aws::Structure
1290
+ end
1291
+
1292
+ # Network interface.
1293
+ #
1294
+ # @!attribute [rw] ips
1295
+ # Network interface IPs.
1296
+ # @return [Array<String>]
1297
+ #
1298
+ # @!attribute [rw] is_primary
1299
+ # Network interface primary IP.
1300
+ # @return [Boolean]
1301
+ #
1302
+ # @!attribute [rw] mac_address
1303
+ # Network interface Mac address.
1304
+ # @return [String]
1305
+ #
1306
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/NetworkInterface AWS API Documentation
1307
+ #
1308
+ class NetworkInterface < Struct.new(
1309
+ :ips,
1310
+ :is_primary,
1311
+ :mac_address)
1312
+ SENSITIVE = []
1313
+ include Aws::Structure
1314
+ end
1315
+
1316
+ # Operating System.
1317
+ #
1318
+ # @!attribute [rw] full_string
1319
+ # OS full string.
1320
+ # @return [String]
1321
+ #
1322
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/OS AWS API Documentation
1323
+ #
1324
+ class OS < Struct.new(
1325
+ :full_string)
1326
+ SENSITIVE = []
1327
+ include Aws::Structure
1328
+ end
1329
+
1330
+ # Server participating in Job.
1331
+ #
1332
+ # @!attribute [rw] launch_status
1333
+ # Participating server launch status.
1334
+ # @return [String]
1335
+ #
1336
+ # @!attribute [rw] source_server_id
1337
+ # Participating server Source Server ID.
1338
+ # @return [String]
1339
+ #
1340
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ParticipatingServer AWS API Documentation
1341
+ #
1342
+ class ParticipatingServer < Struct.new(
1343
+ :launch_status,
1344
+ :source_server_id)
1345
+ SENSITIVE = []
1346
+ include Aws::Structure
1347
+ end
1348
+
1349
+ # @!attribute [rw] associate_default_security_group
1350
+ # Replication Configuration associate default Application Migration
1351
+ # Service Security Group.
1352
+ # @return [Boolean]
1353
+ #
1354
+ # @!attribute [rw] bandwidth_throttling
1355
+ # Replication Configuration set bandwidth throttling.
1356
+ # @return [Integer]
1357
+ #
1358
+ # @!attribute [rw] create_public_ip
1359
+ # Replication Configuration create Public IP.
1360
+ # @return [Boolean]
1361
+ #
1362
+ # @!attribute [rw] data_plane_routing
1363
+ # Replication Configuration data plane routing.
1364
+ # @return [String]
1365
+ #
1366
+ # @!attribute [rw] default_large_staging_disk_type
1367
+ # Replication Configuration use default large Staging Disks.
1368
+ # @return [String]
1369
+ #
1370
+ # @!attribute [rw] ebs_encryption
1371
+ # Replication Configuration EBS encryption.
1372
+ # @return [String]
1373
+ #
1374
+ # @!attribute [rw] ebs_encryption_key_arn
1375
+ # Replication Configuration EBS encryption key ARN.
1376
+ # @return [String]
1377
+ #
1378
+ # @!attribute [rw] name
1379
+ # Replication Configuration name.
1380
+ # @return [String]
1381
+ #
1382
+ # @!attribute [rw] replicated_disks
1383
+ # Replication Configuration replicated disks.
1384
+ # @return [Array<Types::ReplicationConfigurationReplicatedDisk>]
1385
+ #
1386
+ # @!attribute [rw] replication_server_instance_type
1387
+ # Replication Configuration Replication Server instance type.
1388
+ # @return [String]
1389
+ #
1390
+ # @!attribute [rw] replication_servers_security_groups_i_ds
1391
+ # Replication Configuration Replication Server Security Group IDs.
1392
+ # @return [Array<String>]
1393
+ #
1394
+ # @!attribute [rw] source_server_id
1395
+ # Replication Configuration Source Server ID.
1396
+ # @return [String]
1397
+ #
1398
+ # @!attribute [rw] staging_area_subnet_id
1399
+ # Replication Configuration Staging Area subnet ID.
1400
+ # @return [String]
1401
+ #
1402
+ # @!attribute [rw] staging_area_tags
1403
+ # Replication Configuration Staging Area tags.
1404
+ # @return [Hash<String,String>]
1405
+ #
1406
+ # @!attribute [rw] use_dedicated_replication_server
1407
+ # Replication Configuration use Dedicated Replication Server.
1408
+ # @return [Boolean]
1409
+ #
1410
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ReplicationConfiguration AWS API Documentation
1411
+ #
1412
+ class ReplicationConfiguration < Struct.new(
1413
+ :associate_default_security_group,
1414
+ :bandwidth_throttling,
1415
+ :create_public_ip,
1416
+ :data_plane_routing,
1417
+ :default_large_staging_disk_type,
1418
+ :ebs_encryption,
1419
+ :ebs_encryption_key_arn,
1420
+ :name,
1421
+ :replicated_disks,
1422
+ :replication_server_instance_type,
1423
+ :replication_servers_security_groups_i_ds,
1424
+ :source_server_id,
1425
+ :staging_area_subnet_id,
1426
+ :staging_area_tags,
1427
+ :use_dedicated_replication_server)
1428
+ SENSITIVE = [:staging_area_tags]
1429
+ include Aws::Structure
1430
+ end
1431
+
1432
+ # Replication Configuration replicated disk.
1433
+ #
1434
+ # @note When making an API call, you may pass ReplicationConfigurationReplicatedDisk
1435
+ # data as a hash:
1436
+ #
1437
+ # {
1438
+ # device_name: "BoundedString",
1439
+ # iops: 1,
1440
+ # is_boot_disk: false,
1441
+ # staging_disk_type: "AUTO", # accepts AUTO, GP2, IO1, SC1, ST1, STANDARD
1442
+ # }
1443
+ #
1444
+ # @!attribute [rw] device_name
1445
+ # Replication Configuration replicated disk device name.
1446
+ # @return [String]
1447
+ #
1448
+ # @!attribute [rw] iops
1449
+ # Replication Configuration replicated disk IOPs.
1450
+ # @return [Integer]
1451
+ #
1452
+ # @!attribute [rw] is_boot_disk
1453
+ # Replication Configuration replicated disk boot disk.
1454
+ # @return [Boolean]
1455
+ #
1456
+ # @!attribute [rw] staging_disk_type
1457
+ # Replication Configuration replicated disk staging disk type.
1458
+ # @return [String]
1459
+ #
1460
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ReplicationConfigurationReplicatedDisk AWS API Documentation
1461
+ #
1462
+ class ReplicationConfigurationReplicatedDisk < Struct.new(
1463
+ :device_name,
1464
+ :iops,
1465
+ :is_boot_disk,
1466
+ :staging_disk_type)
1467
+ SENSITIVE = []
1468
+ include Aws::Structure
1469
+ end
1470
+
1471
+ # @!attribute [rw] arn
1472
+ # Replication Configuration template ARN.
1473
+ # @return [String]
1474
+ #
1475
+ # @!attribute [rw] associate_default_security_group
1476
+ # Replication Configuration template associate default Application
1477
+ # Migration Service Security group.
1478
+ # @return [Boolean]
1479
+ #
1480
+ # @!attribute [rw] bandwidth_throttling
1481
+ # Replication Configuration template bandwidth throtting.
1482
+ # @return [Integer]
1483
+ #
1484
+ # @!attribute [rw] create_public_ip
1485
+ # Replication Configuration template create Public IP.
1486
+ # @return [Boolean]
1487
+ #
1488
+ # @!attribute [rw] data_plane_routing
1489
+ # Replication Configuration template data plane routing.
1490
+ # @return [String]
1491
+ #
1492
+ # @!attribute [rw] default_large_staging_disk_type
1493
+ # Replication Configuration template use dedault large Staging Disk
1494
+ # type.
1495
+ # @return [String]
1496
+ #
1497
+ # @!attribute [rw] ebs_encryption
1498
+ # Replication Configuration template EBS encryption.
1499
+ # @return [String]
1500
+ #
1501
+ # @!attribute [rw] ebs_encryption_key_arn
1502
+ # Replication Configuration template EBS encryption key ARN.
1503
+ # @return [String]
1504
+ #
1505
+ # @!attribute [rw] replication_configuration_template_id
1506
+ # Replication Configuration template template ID.
1507
+ # @return [String]
1508
+ #
1509
+ # @!attribute [rw] replication_server_instance_type
1510
+ # Replication Configuration template server instance type.
1511
+ # @return [String]
1512
+ #
1513
+ # @!attribute [rw] replication_servers_security_groups_i_ds
1514
+ # Replication Configuration template server Security Groups IDs.
1515
+ # @return [Array<String>]
1516
+ #
1517
+ # @!attribute [rw] staging_area_subnet_id
1518
+ # Replication Configuration template Staging Area subnet ID.
1519
+ # @return [String]
1520
+ #
1521
+ # @!attribute [rw] staging_area_tags
1522
+ # Replication Configuration template Staging Area Tags.
1523
+ # @return [Hash<String,String>]
1524
+ #
1525
+ # @!attribute [rw] tags
1526
+ # Replication Configuration template Tags.
1527
+ # @return [Hash<String,String>]
1528
+ #
1529
+ # @!attribute [rw] use_dedicated_replication_server
1530
+ # Replication Configuration template use Dedicated Replication Server.
1531
+ # @return [Boolean]
1532
+ #
1533
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ReplicationConfigurationTemplate AWS API Documentation
1534
+ #
1535
+ class ReplicationConfigurationTemplate < Struct.new(
1536
+ :arn,
1537
+ :associate_default_security_group,
1538
+ :bandwidth_throttling,
1539
+ :create_public_ip,
1540
+ :data_plane_routing,
1541
+ :default_large_staging_disk_type,
1542
+ :ebs_encryption,
1543
+ :ebs_encryption_key_arn,
1544
+ :replication_configuration_template_id,
1545
+ :replication_server_instance_type,
1546
+ :replication_servers_security_groups_i_ds,
1547
+ :staging_area_subnet_id,
1548
+ :staging_area_tags,
1549
+ :tags,
1550
+ :use_dedicated_replication_server)
1551
+ SENSITIVE = [:staging_area_tags, :tags]
1552
+ include Aws::Structure
1553
+ end
1554
+
1555
+ # Resource not found exception.
1556
+ #
1557
+ # @!attribute [rw] code
1558
+ # @return [String]
1559
+ #
1560
+ # @!attribute [rw] message
1561
+ # @return [String]
1562
+ #
1563
+ # @!attribute [rw] resource_id
1564
+ # Resource ID not found error.
1565
+ # @return [String]
1566
+ #
1567
+ # @!attribute [rw] resource_type
1568
+ # Resource type not found error.
1569
+ # @return [String]
1570
+ #
1571
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ResourceNotFoundException AWS API Documentation
1572
+ #
1573
+ class ResourceNotFoundException < Struct.new(
1574
+ :code,
1575
+ :message,
1576
+ :resource_id,
1577
+ :resource_type)
1578
+ SENSITIVE = []
1579
+ include Aws::Structure
1580
+ end
1581
+
1582
+ # @note When making an API call, you may pass RetryDataReplicationRequest
1583
+ # data as a hash:
1584
+ #
1585
+ # {
1586
+ # source_server_id: "SourceServerID", # required
1587
+ # }
1588
+ #
1589
+ # @!attribute [rw] source_server_id
1590
+ # Retry data replication for Source Server ID.
1591
+ # @return [String]
1592
+ #
1593
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/RetryDataReplicationRequest AWS API Documentation
1594
+ #
1595
+ class RetryDataReplicationRequest < Struct.new(
1596
+ :source_server_id)
1597
+ SENSITIVE = []
1598
+ include Aws::Structure
1599
+ end
1600
+
1601
+ # Source server properties.
1602
+ #
1603
+ # @!attribute [rw] cpus
1604
+ # Source Server CPUs.
1605
+ # @return [Array<Types::CPU>]
1606
+ #
1607
+ # @!attribute [rw] disks
1608
+ # Source Server disks.
1609
+ # @return [Array<Types::Disk>]
1610
+ #
1611
+ # @!attribute [rw] identification_hints
1612
+ # Source server identification hints.
1613
+ # @return [Types::IdentificationHints]
1614
+ #
1615
+ # @!attribute [rw] last_updated_date_time
1616
+ # Source server last update date and time.
1617
+ # @return [String]
1618
+ #
1619
+ # @!attribute [rw] network_interfaces
1620
+ # Source server network interfaces.
1621
+ # @return [Array<Types::NetworkInterface>]
1622
+ #
1623
+ # @!attribute [rw] os
1624
+ # Source server OS.
1625
+ # @return [Types::OS]
1626
+ #
1627
+ # @!attribute [rw] ram_bytes
1628
+ # Source server RAM in bytes.
1629
+ # @return [Integer]
1630
+ #
1631
+ # @!attribute [rw] recommended_instance_type
1632
+ # Source server recommended instance type.
1633
+ # @return [String]
1634
+ #
1635
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/SourceProperties AWS API Documentation
1636
+ #
1637
+ class SourceProperties < Struct.new(
1638
+ :cpus,
1639
+ :disks,
1640
+ :identification_hints,
1641
+ :last_updated_date_time,
1642
+ :network_interfaces,
1643
+ :os,
1644
+ :ram_bytes,
1645
+ :recommended_instance_type)
1646
+ SENSITIVE = []
1647
+ include Aws::Structure
1648
+ end
1649
+
1650
+ # @!attribute [rw] arn
1651
+ # Source server ARN.
1652
+ # @return [String]
1653
+ #
1654
+ # @!attribute [rw] data_replication_info
1655
+ # Source server data replication info.
1656
+ # @return [Types::DataReplicationInfo]
1657
+ #
1658
+ # @!attribute [rw] is_archived
1659
+ # Source server archived status.
1660
+ # @return [Boolean]
1661
+ #
1662
+ # @!attribute [rw] launched_instance
1663
+ # Source server launched instance.
1664
+ # @return [Types::LaunchedInstance]
1665
+ #
1666
+ # @!attribute [rw] life_cycle
1667
+ # Source server lifecycle state.
1668
+ # @return [Types::LifeCycle]
1669
+ #
1670
+ # @!attribute [rw] source_properties
1671
+ # Source server properties.
1672
+ # @return [Types::SourceProperties]
1673
+ #
1674
+ # @!attribute [rw] source_server_id
1675
+ # Source server ID.
1676
+ # @return [String]
1677
+ #
1678
+ # @!attribute [rw] tags
1679
+ # Source server Tags.
1680
+ # @return [Hash<String,String>]
1681
+ #
1682
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/SourceServer AWS API Documentation
1683
+ #
1684
+ class SourceServer < Struct.new(
1685
+ :arn,
1686
+ :data_replication_info,
1687
+ :is_archived,
1688
+ :launched_instance,
1689
+ :life_cycle,
1690
+ :source_properties,
1691
+ :source_server_id,
1692
+ :tags)
1693
+ SENSITIVE = [:tags]
1694
+ include Aws::Structure
1695
+ end
1696
+
1697
+ # @note When making an API call, you may pass StartCutoverRequest
1698
+ # data as a hash:
1699
+ #
1700
+ # {
1701
+ # source_server_i_ds: ["SourceServerID"], # required
1702
+ # tags: {
1703
+ # "TagKey" => "TagValue",
1704
+ # },
1705
+ # }
1706
+ #
1707
+ # @!attribute [rw] source_server_i_ds
1708
+ # Start Cutover by Source Server IDs.
1709
+ # @return [Array<String>]
1710
+ #
1711
+ # @!attribute [rw] tags
1712
+ # Start Cutover by Tags.
1713
+ # @return [Hash<String,String>]
1714
+ #
1715
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/StartCutoverRequest AWS API Documentation
1716
+ #
1717
+ class StartCutoverRequest < Struct.new(
1718
+ :source_server_i_ds,
1719
+ :tags)
1720
+ SENSITIVE = [:tags]
1721
+ include Aws::Structure
1722
+ end
1723
+
1724
+ # @!attribute [rw] job
1725
+ # Start Cutover Job response.
1726
+ # @return [Types::Job]
1727
+ #
1728
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/StartCutoverResponse AWS API Documentation
1729
+ #
1730
+ class StartCutoverResponse < Struct.new(
1731
+ :job)
1732
+ SENSITIVE = []
1733
+ include Aws::Structure
1734
+ end
1735
+
1736
+ # @note When making an API call, you may pass StartTestRequest
1737
+ # data as a hash:
1738
+ #
1739
+ # {
1740
+ # source_server_i_ds: ["SourceServerID"], # required
1741
+ # tags: {
1742
+ # "TagKey" => "TagValue",
1743
+ # },
1744
+ # }
1745
+ #
1746
+ # @!attribute [rw] source_server_i_ds
1747
+ # Start Test for Source Server IDs.
1748
+ # @return [Array<String>]
1749
+ #
1750
+ # @!attribute [rw] tags
1751
+ # Start Test by Tags.
1752
+ # @return [Hash<String,String>]
1753
+ #
1754
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/StartTestRequest AWS API Documentation
1755
+ #
1756
+ class StartTestRequest < Struct.new(
1757
+ :source_server_i_ds,
1758
+ :tags)
1759
+ SENSITIVE = [:tags]
1760
+ include Aws::Structure
1761
+ end
1762
+
1763
+ # @!attribute [rw] job
1764
+ # Start Test Job response.
1765
+ # @return [Types::Job]
1766
+ #
1767
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/StartTestResponse AWS API Documentation
1768
+ #
1769
+ class StartTestResponse < Struct.new(
1770
+ :job)
1771
+ SENSITIVE = []
1772
+ include Aws::Structure
1773
+ end
1774
+
1775
+ # @note When making an API call, you may pass TagResourceRequest
1776
+ # data as a hash:
1777
+ #
1778
+ # {
1779
+ # resource_arn: "ARN", # required
1780
+ # tags: { # required
1781
+ # "TagKey" => "TagValue",
1782
+ # },
1783
+ # }
1784
+ #
1785
+ # @!attribute [rw] resource_arn
1786
+ # Tag resource by ARN.
1787
+ # @return [String]
1788
+ #
1789
+ # @!attribute [rw] tags
1790
+ # Tag resource by Tags.
1791
+ # @return [Hash<String,String>]
1792
+ #
1793
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/TagResourceRequest AWS API Documentation
1794
+ #
1795
+ class TagResourceRequest < Struct.new(
1796
+ :resource_arn,
1797
+ :tags)
1798
+ SENSITIVE = [:tags]
1799
+ include Aws::Structure
1800
+ end
1801
+
1802
+ # @note When making an API call, you may pass TerminateTargetInstancesRequest
1803
+ # data as a hash:
1804
+ #
1805
+ # {
1806
+ # source_server_i_ds: ["SourceServerID"], # required
1807
+ # tags: {
1808
+ # "TagKey" => "TagValue",
1809
+ # },
1810
+ # }
1811
+ #
1812
+ # @!attribute [rw] source_server_i_ds
1813
+ # Terminate Target instance by Source Server IDs.
1814
+ # @return [Array<String>]
1815
+ #
1816
+ # @!attribute [rw] tags
1817
+ # Terminate Target instance by Tags.
1818
+ # @return [Hash<String,String>]
1819
+ #
1820
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/TerminateTargetInstancesRequest AWS API Documentation
1821
+ #
1822
+ class TerminateTargetInstancesRequest < Struct.new(
1823
+ :source_server_i_ds,
1824
+ :tags)
1825
+ SENSITIVE = [:tags]
1826
+ include Aws::Structure
1827
+ end
1828
+
1829
+ # @!attribute [rw] job
1830
+ # Terminate Target instance Job response.
1831
+ # @return [Types::Job]
1832
+ #
1833
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/TerminateTargetInstancesResponse AWS API Documentation
1834
+ #
1835
+ class TerminateTargetInstancesResponse < Struct.new(
1836
+ :job)
1837
+ SENSITIVE = []
1838
+ include Aws::Structure
1839
+ end
1840
+
1841
+ # Reached throttling quota exception.
1842
+ #
1843
+ # @!attribute [rw] message
1844
+ # @return [String]
1845
+ #
1846
+ # @!attribute [rw] quota_code
1847
+ # Reached throttling quota exception.
1848
+ # @return [String]
1849
+ #
1850
+ # @!attribute [rw] retry_after_seconds
1851
+ # Reached throttling quota exception will retry after x seconds.
1852
+ # @return [String]
1853
+ #
1854
+ # @!attribute [rw] service_code
1855
+ # Reached throttling quota exception service code.
1856
+ # @return [String]
1857
+ #
1858
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ThrottlingException AWS API Documentation
1859
+ #
1860
+ class ThrottlingException < Struct.new(
1861
+ :message,
1862
+ :quota_code,
1863
+ :retry_after_seconds,
1864
+ :service_code)
1865
+ SENSITIVE = []
1866
+ include Aws::Structure
1867
+ end
1868
+
1869
+ # Unitialized account exception.
1870
+ #
1871
+ # @!attribute [rw] code
1872
+ # @return [String]
1873
+ #
1874
+ # @!attribute [rw] message
1875
+ # @return [String]
1876
+ #
1877
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UninitializedAccountException AWS API Documentation
1878
+ #
1879
+ class UninitializedAccountException < Struct.new(
1880
+ :code,
1881
+ :message)
1882
+ SENSITIVE = []
1883
+ include Aws::Structure
1884
+ end
1885
+
1886
+ # @note When making an API call, you may pass UntagResourceRequest
1887
+ # data as a hash:
1888
+ #
1889
+ # {
1890
+ # resource_arn: "ARN", # required
1891
+ # tag_keys: ["TagKey"], # required
1892
+ # }
1893
+ #
1894
+ # @!attribute [rw] resource_arn
1895
+ # Untag resource by ARN.
1896
+ # @return [String]
1897
+ #
1898
+ # @!attribute [rw] tag_keys
1899
+ # Untag resource by Keys.
1900
+ # @return [Array<String>]
1901
+ #
1902
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UntagResourceRequest AWS API Documentation
1903
+ #
1904
+ class UntagResourceRequest < Struct.new(
1905
+ :resource_arn,
1906
+ :tag_keys)
1907
+ SENSITIVE = [:tag_keys]
1908
+ include Aws::Structure
1909
+ end
1910
+
1911
+ # @note When making an API call, you may pass UpdateLaunchConfigurationRequest
1912
+ # data as a hash:
1913
+ #
1914
+ # {
1915
+ # copy_private_ip: false,
1916
+ # copy_tags: false,
1917
+ # launch_disposition: "STOPPED", # accepts STOPPED, STARTED
1918
+ # licensing: {
1919
+ # os_byol: false,
1920
+ # },
1921
+ # name: "SmallBoundedString",
1922
+ # source_server_id: "SourceServerID", # required
1923
+ # target_instance_type_right_sizing_method: "NONE", # accepts NONE, BASIC
1924
+ # }
1925
+ #
1926
+ # @!attribute [rw] copy_private_ip
1927
+ # Update Launch configuration copy Private IP request.
1928
+ # @return [Boolean]
1929
+ #
1930
+ # @!attribute [rw] copy_tags
1931
+ # Update Launch configuration copy Tags request.
1932
+ # @return [Boolean]
1933
+ #
1934
+ # @!attribute [rw] launch_disposition
1935
+ # Update Launch configuration launch disposition request.
1936
+ # @return [String]
1937
+ #
1938
+ # @!attribute [rw] licensing
1939
+ # Update Launch configuration licensing request.
1940
+ # @return [Types::Licensing]
1941
+ #
1942
+ # @!attribute [rw] name
1943
+ # Update Launch configuration name request.
1944
+ # @return [String]
1945
+ #
1946
+ # @!attribute [rw] source_server_id
1947
+ # Update Launch configuration by Source Server ID request.
1948
+ # @return [String]
1949
+ #
1950
+ # @!attribute [rw] target_instance_type_right_sizing_method
1951
+ # Update Launch configuration Target instance right sizing request.
1952
+ # @return [String]
1953
+ #
1954
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateLaunchConfigurationRequest AWS API Documentation
1955
+ #
1956
+ class UpdateLaunchConfigurationRequest < Struct.new(
1957
+ :copy_private_ip,
1958
+ :copy_tags,
1959
+ :launch_disposition,
1960
+ :licensing,
1961
+ :name,
1962
+ :source_server_id,
1963
+ :target_instance_type_right_sizing_method)
1964
+ SENSITIVE = []
1965
+ include Aws::Structure
1966
+ end
1967
+
1968
+ # @note When making an API call, you may pass UpdateReplicationConfigurationRequest
1969
+ # data as a hash:
1970
+ #
1971
+ # {
1972
+ # associate_default_security_group: false,
1973
+ # bandwidth_throttling: 1,
1974
+ # create_public_ip: false,
1975
+ # data_plane_routing: "PRIVATE_IP", # accepts PRIVATE_IP, PUBLIC_IP
1976
+ # default_large_staging_disk_type: "GP2", # accepts GP2, ST1
1977
+ # ebs_encryption: "NONE", # accepts NONE, DEFAULT, CUSTOM
1978
+ # ebs_encryption_key_arn: "ARN",
1979
+ # name: "SmallBoundedString",
1980
+ # replicated_disks: [
1981
+ # {
1982
+ # device_name: "BoundedString",
1983
+ # iops: 1,
1984
+ # is_boot_disk: false,
1985
+ # staging_disk_type: "AUTO", # accepts AUTO, GP2, IO1, SC1, ST1, STANDARD
1986
+ # },
1987
+ # ],
1988
+ # replication_server_instance_type: "EC2InstanceType",
1989
+ # replication_servers_security_groups_i_ds: ["SecurityGroupID"],
1990
+ # source_server_id: "SourceServerID", # required
1991
+ # staging_area_subnet_id: "SubnetID",
1992
+ # staging_area_tags: {
1993
+ # "TagKey" => "TagValue",
1994
+ # },
1995
+ # use_dedicated_replication_server: false,
1996
+ # }
1997
+ #
1998
+ # @!attribute [rw] associate_default_security_group
1999
+ # Update replication configuration associate default Application
2000
+ # Migration Service Security group request.
2001
+ # @return [Boolean]
2002
+ #
2003
+ # @!attribute [rw] bandwidth_throttling
2004
+ # Update replication configuration bandwidth throttling request.
2005
+ # @return [Integer]
2006
+ #
2007
+ # @!attribute [rw] create_public_ip
2008
+ # Update replication configuration create Public IP request.
2009
+ # @return [Boolean]
2010
+ #
2011
+ # @!attribute [rw] data_plane_routing
2012
+ # Update replication configuration data plane routing request.
2013
+ # @return [String]
2014
+ #
2015
+ # @!attribute [rw] default_large_staging_disk_type
2016
+ # Update replication configuration use default large Staging Disk type
2017
+ # request.
2018
+ # @return [String]
2019
+ #
2020
+ # @!attribute [rw] ebs_encryption
2021
+ # Update replication configuration EBS encryption request.
2022
+ # @return [String]
2023
+ #
2024
+ # @!attribute [rw] ebs_encryption_key_arn
2025
+ # Update replication configuration EBS encryption key ARN request.
2026
+ # @return [String]
2027
+ #
2028
+ # @!attribute [rw] name
2029
+ # Update replication configuration name request.
2030
+ # @return [String]
2031
+ #
2032
+ # @!attribute [rw] replicated_disks
2033
+ # Update replication configuration replicated disks request.
2034
+ # @return [Array<Types::ReplicationConfigurationReplicatedDisk>]
2035
+ #
2036
+ # @!attribute [rw] replication_server_instance_type
2037
+ # Update replication configuration Replication Server instance type
2038
+ # request.
2039
+ # @return [String]
2040
+ #
2041
+ # @!attribute [rw] replication_servers_security_groups_i_ds
2042
+ # Update replication configuration Replication Server Security Groups
2043
+ # IDs request.
2044
+ # @return [Array<String>]
2045
+ #
2046
+ # @!attribute [rw] source_server_id
2047
+ # Update replication configuration Source Server ID request.
2048
+ # @return [String]
2049
+ #
2050
+ # @!attribute [rw] staging_area_subnet_id
2051
+ # Update replication configuration Staging Area subnet request.
2052
+ # @return [String]
2053
+ #
2054
+ # @!attribute [rw] staging_area_tags
2055
+ # Update replication configuration Staging Area Tags request.
2056
+ # @return [Hash<String,String>]
2057
+ #
2058
+ # @!attribute [rw] use_dedicated_replication_server
2059
+ # Update replication configuration use dedicated Replication Server
2060
+ # request.
2061
+ # @return [Boolean]
2062
+ #
2063
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateReplicationConfigurationRequest AWS API Documentation
2064
+ #
2065
+ class UpdateReplicationConfigurationRequest < Struct.new(
2066
+ :associate_default_security_group,
2067
+ :bandwidth_throttling,
2068
+ :create_public_ip,
2069
+ :data_plane_routing,
2070
+ :default_large_staging_disk_type,
2071
+ :ebs_encryption,
2072
+ :ebs_encryption_key_arn,
2073
+ :name,
2074
+ :replicated_disks,
2075
+ :replication_server_instance_type,
2076
+ :replication_servers_security_groups_i_ds,
2077
+ :source_server_id,
2078
+ :staging_area_subnet_id,
2079
+ :staging_area_tags,
2080
+ :use_dedicated_replication_server)
2081
+ SENSITIVE = [:staging_area_tags]
2082
+ include Aws::Structure
2083
+ end
2084
+
2085
+ # @note When making an API call, you may pass UpdateReplicationConfigurationTemplateRequest
2086
+ # data as a hash:
2087
+ #
2088
+ # {
2089
+ # arn: "ARN",
2090
+ # associate_default_security_group: false,
2091
+ # bandwidth_throttling: 1,
2092
+ # create_public_ip: false,
2093
+ # data_plane_routing: "PRIVATE_IP", # accepts PRIVATE_IP, PUBLIC_IP
2094
+ # default_large_staging_disk_type: "GP2", # accepts GP2, ST1
2095
+ # ebs_encryption: "NONE", # accepts NONE, DEFAULT, CUSTOM
2096
+ # ebs_encryption_key_arn: "ARN",
2097
+ # replication_configuration_template_id: "ReplicationConfigurationTemplateID", # required
2098
+ # replication_server_instance_type: "EC2InstanceType",
2099
+ # replication_servers_security_groups_i_ds: ["SecurityGroupID"],
2100
+ # staging_area_subnet_id: "SubnetID",
2101
+ # staging_area_tags: {
2102
+ # "TagKey" => "TagValue",
2103
+ # },
2104
+ # use_dedicated_replication_server: false,
2105
+ # }
2106
+ #
2107
+ # @!attribute [rw] arn
2108
+ # Update replication configuration template ARN request.
2109
+ # @return [String]
2110
+ #
2111
+ # @!attribute [rw] associate_default_security_group
2112
+ # Update replication configuration template associate default
2113
+ # Application Migration Service Security group request.
2114
+ # @return [Boolean]
2115
+ #
2116
+ # @!attribute [rw] bandwidth_throttling
2117
+ # Update replication configuration template bandwidth throttling
2118
+ # request.
2119
+ # @return [Integer]
2120
+ #
2121
+ # @!attribute [rw] create_public_ip
2122
+ # Update replication configuration template create Public IP request.
2123
+ # @return [Boolean]
2124
+ #
2125
+ # @!attribute [rw] data_plane_routing
2126
+ # Update replication configuration template data plane routing
2127
+ # request.
2128
+ # @return [String]
2129
+ #
2130
+ # @!attribute [rw] default_large_staging_disk_type
2131
+ # Update replication configuration template use default large Staging
2132
+ # Disk type request.
2133
+ # @return [String]
2134
+ #
2135
+ # @!attribute [rw] ebs_encryption
2136
+ # Update replication configuration template EBS encryption request.
2137
+ # @return [String]
2138
+ #
2139
+ # @!attribute [rw] ebs_encryption_key_arn
2140
+ # Update replication configuration template EBS encryption key ARN
2141
+ # request.
2142
+ # @return [String]
2143
+ #
2144
+ # @!attribute [rw] replication_configuration_template_id
2145
+ # Update replication configuration template template ID request.
2146
+ # @return [String]
2147
+ #
2148
+ # @!attribute [rw] replication_server_instance_type
2149
+ # Update replication configuration template Replication Server
2150
+ # instance type request.
2151
+ # @return [String]
2152
+ #
2153
+ # @!attribute [rw] replication_servers_security_groups_i_ds
2154
+ # Update replication configuration template Replication Server
2155
+ # Security groups IDs request.
2156
+ # @return [Array<String>]
2157
+ #
2158
+ # @!attribute [rw] staging_area_subnet_id
2159
+ # Update replication configuration template Staging Area subnet ID
2160
+ # request.
2161
+ # @return [String]
2162
+ #
2163
+ # @!attribute [rw] staging_area_tags
2164
+ # Update replication configuration template Staging Area Tags request.
2165
+ # @return [Hash<String,String>]
2166
+ #
2167
+ # @!attribute [rw] use_dedicated_replication_server
2168
+ # Update replication configuration template use dedicated Replication
2169
+ # Server request.
2170
+ # @return [Boolean]
2171
+ #
2172
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateReplicationConfigurationTemplateRequest AWS API Documentation
2173
+ #
2174
+ class UpdateReplicationConfigurationTemplateRequest < Struct.new(
2175
+ :arn,
2176
+ :associate_default_security_group,
2177
+ :bandwidth_throttling,
2178
+ :create_public_ip,
2179
+ :data_plane_routing,
2180
+ :default_large_staging_disk_type,
2181
+ :ebs_encryption,
2182
+ :ebs_encryption_key_arn,
2183
+ :replication_configuration_template_id,
2184
+ :replication_server_instance_type,
2185
+ :replication_servers_security_groups_i_ds,
2186
+ :staging_area_subnet_id,
2187
+ :staging_area_tags,
2188
+ :use_dedicated_replication_server)
2189
+ SENSITIVE = [:staging_area_tags]
2190
+ include Aws::Structure
2191
+ end
2192
+
2193
+ # Validate exception.
2194
+ #
2195
+ # @!attribute [rw] code
2196
+ # @return [String]
2197
+ #
2198
+ # @!attribute [rw] field_list
2199
+ # Validate exception field list.
2200
+ # @return [Array<Types::ValidationExceptionField>]
2201
+ #
2202
+ # @!attribute [rw] message
2203
+ # @return [String]
2204
+ #
2205
+ # @!attribute [rw] reason
2206
+ # Validate exception reason.
2207
+ # @return [String]
2208
+ #
2209
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ValidationException AWS API Documentation
2210
+ #
2211
+ class ValidationException < Struct.new(
2212
+ :code,
2213
+ :field_list,
2214
+ :message,
2215
+ :reason)
2216
+ SENSITIVE = []
2217
+ include Aws::Structure
2218
+ end
2219
+
2220
+ # Validate exception field.
2221
+ #
2222
+ # @!attribute [rw] message
2223
+ # Validate exception field message.
2224
+ # @return [String]
2225
+ #
2226
+ # @!attribute [rw] name
2227
+ # Validate exception field name.
2228
+ # @return [String]
2229
+ #
2230
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ValidationExceptionField AWS API Documentation
2231
+ #
2232
+ class ValidationExceptionField < Struct.new(
2233
+ :message,
2234
+ :name)
2235
+ SENSITIVE = []
2236
+ include Aws::Structure
2237
+ end
2238
+
2239
+ end
2240
+ end