aws-sdk-migrationhub 1.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
File without changes
@@ -0,0 +1,14 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::MigrationHub
9
+ module Errors
10
+
11
+ extend Aws::Errors::DynamicErrors
12
+
13
+ end
14
+ end
@@ -0,0 +1,23 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::MigrationHub
9
+ class Resource
10
+
11
+ # @param options ({})
12
+ # @option options [Client] :client
13
+ def initialize(options = {})
14
+ @client = options[:client] || Client.new(options)
15
+ end
16
+
17
+ # @return [Client]
18
+ def client
19
+ @client
20
+ end
21
+
22
+ end
23
+ end
@@ -0,0 +1,905 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::MigrationHub
9
+ module Types
10
+
11
+ # @note When making an API call, you may pass AssociateCreatedArtifactRequest
12
+ # data as a hash:
13
+ #
14
+ # {
15
+ # progress_update_stream: "ProgressUpdateStream", # required
16
+ # migration_task_name: "MigrationTaskName", # required
17
+ # created_artifact: { # required
18
+ # name: "CreatedArtifactName", # required
19
+ # description: "CreatedArtifactDescription",
20
+ # },
21
+ # dry_run: false,
22
+ # }
23
+ #
24
+ # @!attribute [rw] progress_update_stream
25
+ # The name of the ProgressUpdateStream.
26
+ # @return [String]
27
+ #
28
+ # @!attribute [rw] migration_task_name
29
+ # Unique identifier that references the migration task.
30
+ # @return [String]
31
+ #
32
+ # @!attribute [rw] created_artifact
33
+ # An ARN of the AWS resource related to the migration (e.g., AMI, EC2
34
+ # instance, RDS instance, etc.)
35
+ # @return [Types::CreatedArtifact]
36
+ #
37
+ # @!attribute [rw] dry_run
38
+ # Optional boolean flag to indicate whether any effect should take
39
+ # place. Used to test if the caller has permission to make the call.
40
+ # @return [Boolean]
41
+ #
42
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/AssociateCreatedArtifactRequest AWS API Documentation
43
+ #
44
+ class AssociateCreatedArtifactRequest < Struct.new(
45
+ :progress_update_stream,
46
+ :migration_task_name,
47
+ :created_artifact,
48
+ :dry_run)
49
+ include Aws::Structure
50
+ end
51
+
52
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/AssociateCreatedArtifactResult AWS API Documentation
53
+ #
54
+ class AssociateCreatedArtifactResult < Aws::EmptyStructure; end
55
+
56
+ # @note When making an API call, you may pass AssociateDiscoveredResourceRequest
57
+ # data as a hash:
58
+ #
59
+ # {
60
+ # progress_update_stream: "ProgressUpdateStream", # required
61
+ # migration_task_name: "MigrationTaskName", # required
62
+ # discovered_resource: { # required
63
+ # configuration_id: "ConfigurationId", # required
64
+ # description: "DiscoveredResourceDescription",
65
+ # },
66
+ # dry_run: false,
67
+ # }
68
+ #
69
+ # @!attribute [rw] progress_update_stream
70
+ # The name of the ProgressUpdateStream.
71
+ # @return [String]
72
+ #
73
+ # @!attribute [rw] migration_task_name
74
+ # The identifier given to the MigrationTask.
75
+ # @return [String]
76
+ #
77
+ # @!attribute [rw] discovered_resource
78
+ # Object representing a Resource.
79
+ # @return [Types::DiscoveredResource]
80
+ #
81
+ # @!attribute [rw] dry_run
82
+ # Optional boolean flag to indicate whether any effect should take
83
+ # place. Used to test if the caller has permission to make the call.
84
+ # @return [Boolean]
85
+ #
86
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/AssociateDiscoveredResourceRequest AWS API Documentation
87
+ #
88
+ class AssociateDiscoveredResourceRequest < Struct.new(
89
+ :progress_update_stream,
90
+ :migration_task_name,
91
+ :discovered_resource,
92
+ :dry_run)
93
+ include Aws::Structure
94
+ end
95
+
96
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/AssociateDiscoveredResourceResult AWS API Documentation
97
+ #
98
+ class AssociateDiscoveredResourceResult < Aws::EmptyStructure; end
99
+
100
+ # @note When making an API call, you may pass CreateProgressUpdateStreamRequest
101
+ # data as a hash:
102
+ #
103
+ # {
104
+ # progress_update_stream_name: "ProgressUpdateStream", # required
105
+ # dry_run: false,
106
+ # }
107
+ #
108
+ # @!attribute [rw] progress_update_stream_name
109
+ # The name of the ProgressUpdateStream.
110
+ # @return [String]
111
+ #
112
+ # @!attribute [rw] dry_run
113
+ # Optional boolean flag to indicate whether any effect should take
114
+ # place. Used to test if the caller has permission to make the call.
115
+ # @return [Boolean]
116
+ #
117
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/CreateProgressUpdateStreamRequest AWS API Documentation
118
+ #
119
+ class CreateProgressUpdateStreamRequest < Struct.new(
120
+ :progress_update_stream_name,
121
+ :dry_run)
122
+ include Aws::Structure
123
+ end
124
+
125
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/CreateProgressUpdateStreamResult AWS API Documentation
126
+ #
127
+ class CreateProgressUpdateStreamResult < Aws::EmptyStructure; end
128
+
129
+ # An ARN of the AWS cloud resource target receiving the migration (e.g.,
130
+ # AMI, EC2 instance, RDS instance, etc.).
131
+ #
132
+ # @note When making an API call, you may pass CreatedArtifact
133
+ # data as a hash:
134
+ #
135
+ # {
136
+ # name: "CreatedArtifactName", # required
137
+ # description: "CreatedArtifactDescription",
138
+ # }
139
+ #
140
+ # @!attribute [rw] name
141
+ # An ARN that uniquely identifies the result of a migration task.
142
+ # @return [String]
143
+ #
144
+ # @!attribute [rw] description
145
+ # A description that can be free-form text to record additional detail
146
+ # about the artifact for clarity or for later reference.
147
+ # @return [String]
148
+ #
149
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/CreatedArtifact AWS API Documentation
150
+ #
151
+ class CreatedArtifact < Struct.new(
152
+ :name,
153
+ :description)
154
+ include Aws::Structure
155
+ end
156
+
157
+ # @note When making an API call, you may pass DeleteProgressUpdateStreamRequest
158
+ # data as a hash:
159
+ #
160
+ # {
161
+ # progress_update_stream_name: "ProgressUpdateStream", # required
162
+ # dry_run: false,
163
+ # }
164
+ #
165
+ # @!attribute [rw] progress_update_stream_name
166
+ # The name of the ProgressUpdateStream.
167
+ # @return [String]
168
+ #
169
+ # @!attribute [rw] dry_run
170
+ # Optional boolean flag to indicate whether any effect should take
171
+ # place. Used to test if the caller has permission to make the call.
172
+ # @return [Boolean]
173
+ #
174
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DeleteProgressUpdateStreamRequest AWS API Documentation
175
+ #
176
+ class DeleteProgressUpdateStreamRequest < Struct.new(
177
+ :progress_update_stream_name,
178
+ :dry_run)
179
+ include Aws::Structure
180
+ end
181
+
182
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DeleteProgressUpdateStreamResult AWS API Documentation
183
+ #
184
+ class DeleteProgressUpdateStreamResult < Aws::EmptyStructure; end
185
+
186
+ # @note When making an API call, you may pass DescribeApplicationStateRequest
187
+ # data as a hash:
188
+ #
189
+ # {
190
+ # application_id: "ApplicationId", # required
191
+ # }
192
+ #
193
+ # @!attribute [rw] application_id
194
+ # The configurationId in ADS that uniquely identifies the grouped
195
+ # application.
196
+ # @return [String]
197
+ #
198
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DescribeApplicationStateRequest AWS API Documentation
199
+ #
200
+ class DescribeApplicationStateRequest < Struct.new(
201
+ :application_id)
202
+ include Aws::Structure
203
+ end
204
+
205
+ # @!attribute [rw] application_status
206
+ # Status of the application - Not Started, In-Progress, Complete.
207
+ # @return [String]
208
+ #
209
+ # @!attribute [rw] last_updated_time
210
+ # The timestamp when the application status was last updated.
211
+ # @return [Time]
212
+ #
213
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DescribeApplicationStateResult AWS API Documentation
214
+ #
215
+ class DescribeApplicationStateResult < Struct.new(
216
+ :application_status,
217
+ :last_updated_time)
218
+ include Aws::Structure
219
+ end
220
+
221
+ # @note When making an API call, you may pass DescribeMigrationTaskRequest
222
+ # data as a hash:
223
+ #
224
+ # {
225
+ # progress_update_stream: "ProgressUpdateStream", # required
226
+ # migration_task_name: "MigrationTaskName", # required
227
+ # }
228
+ #
229
+ # @!attribute [rw] progress_update_stream
230
+ # The name of the ProgressUpdateStream.
231
+ # @return [String]
232
+ #
233
+ # @!attribute [rw] migration_task_name
234
+ # The identifier given to the MigrationTask.
235
+ # @return [String]
236
+ #
237
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DescribeMigrationTaskRequest AWS API Documentation
238
+ #
239
+ class DescribeMigrationTaskRequest < Struct.new(
240
+ :progress_update_stream,
241
+ :migration_task_name)
242
+ include Aws::Structure
243
+ end
244
+
245
+ # @!attribute [rw] migration_task
246
+ # Object encapsulating information about the migration task.
247
+ # @return [Types::MigrationTask]
248
+ #
249
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DescribeMigrationTaskResult AWS API Documentation
250
+ #
251
+ class DescribeMigrationTaskResult < Struct.new(
252
+ :migration_task)
253
+ include Aws::Structure
254
+ end
255
+
256
+ # @note When making an API call, you may pass DisassociateCreatedArtifactRequest
257
+ # data as a hash:
258
+ #
259
+ # {
260
+ # progress_update_stream: "ProgressUpdateStream", # required
261
+ # migration_task_name: "MigrationTaskName", # required
262
+ # created_artifact_name: "CreatedArtifactName", # required
263
+ # dry_run: false,
264
+ # }
265
+ #
266
+ # @!attribute [rw] progress_update_stream
267
+ # The name of the ProgressUpdateStream.
268
+ # @return [String]
269
+ #
270
+ # @!attribute [rw] migration_task_name
271
+ # Unique identifier that references the migration task to be
272
+ # disassociated with the artifact.
273
+ # @return [String]
274
+ #
275
+ # @!attribute [rw] created_artifact_name
276
+ # An ARN of the AWS resource related to the migration (e.g., AMI, EC2
277
+ # instance, RDS instance, etc.)
278
+ # @return [String]
279
+ #
280
+ # @!attribute [rw] dry_run
281
+ # Optional boolean flag to indicate whether any effect should take
282
+ # place. Used to test if the caller has permission to make the call.
283
+ # @return [Boolean]
284
+ #
285
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DisassociateCreatedArtifactRequest AWS API Documentation
286
+ #
287
+ class DisassociateCreatedArtifactRequest < Struct.new(
288
+ :progress_update_stream,
289
+ :migration_task_name,
290
+ :created_artifact_name,
291
+ :dry_run)
292
+ include Aws::Structure
293
+ end
294
+
295
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DisassociateCreatedArtifactResult AWS API Documentation
296
+ #
297
+ class DisassociateCreatedArtifactResult < Aws::EmptyStructure; end
298
+
299
+ # @note When making an API call, you may pass DisassociateDiscoveredResourceRequest
300
+ # data as a hash:
301
+ #
302
+ # {
303
+ # progress_update_stream: "ProgressUpdateStream", # required
304
+ # migration_task_name: "MigrationTaskName", # required
305
+ # configuration_id: "ConfigurationId", # required
306
+ # dry_run: false,
307
+ # }
308
+ #
309
+ # @!attribute [rw] progress_update_stream
310
+ # The name of the ProgressUpdateStream.
311
+ # @return [String]
312
+ #
313
+ # @!attribute [rw] migration_task_name
314
+ # The identifier given to the MigrationTask.
315
+ # @return [String]
316
+ #
317
+ # @!attribute [rw] configuration_id
318
+ # ConfigurationId of the ADS resource to be disassociated.
319
+ # @return [String]
320
+ #
321
+ # @!attribute [rw] dry_run
322
+ # Optional boolean flag to indicate whether any effect should take
323
+ # place. Used to test if the caller has permission to make the call.
324
+ # @return [Boolean]
325
+ #
326
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DisassociateDiscoveredResourceRequest AWS API Documentation
327
+ #
328
+ class DisassociateDiscoveredResourceRequest < Struct.new(
329
+ :progress_update_stream,
330
+ :migration_task_name,
331
+ :configuration_id,
332
+ :dry_run)
333
+ include Aws::Structure
334
+ end
335
+
336
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DisassociateDiscoveredResourceResult AWS API Documentation
337
+ #
338
+ class DisassociateDiscoveredResourceResult < Aws::EmptyStructure; end
339
+
340
+ # Object representing the on-premises resource being migrated.
341
+ #
342
+ # @note When making an API call, you may pass DiscoveredResource
343
+ # data as a hash:
344
+ #
345
+ # {
346
+ # configuration_id: "ConfigurationId", # required
347
+ # description: "DiscoveredResourceDescription",
348
+ # }
349
+ #
350
+ # @!attribute [rw] configuration_id
351
+ # The configurationId in ADS that uniquely identifies the on-premise
352
+ # resource.
353
+ # @return [String]
354
+ #
355
+ # @!attribute [rw] description
356
+ # A description that can be free-form text to record additional detail
357
+ # about the discovered resource for clarity or later reference.
358
+ # @return [String]
359
+ #
360
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DiscoveredResource AWS API Documentation
361
+ #
362
+ class DiscoveredResource < Struct.new(
363
+ :configuration_id,
364
+ :description)
365
+ include Aws::Structure
366
+ end
367
+
368
+ # @note When making an API call, you may pass ImportMigrationTaskRequest
369
+ # data as a hash:
370
+ #
371
+ # {
372
+ # progress_update_stream: "ProgressUpdateStream", # required
373
+ # migration_task_name: "MigrationTaskName", # required
374
+ # dry_run: false,
375
+ # }
376
+ #
377
+ # @!attribute [rw] progress_update_stream
378
+ # The name of the ProgressUpdateStream.
379
+ # @return [String]
380
+ #
381
+ # @!attribute [rw] migration_task_name
382
+ # Unique identifier that references the migration task.
383
+ # @return [String]
384
+ #
385
+ # @!attribute [rw] dry_run
386
+ # Optional boolean flag to indicate whether any effect should take
387
+ # place. Used to test if the caller has permission to make the call.
388
+ # @return [Boolean]
389
+ #
390
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ImportMigrationTaskRequest AWS API Documentation
391
+ #
392
+ class ImportMigrationTaskRequest < Struct.new(
393
+ :progress_update_stream,
394
+ :migration_task_name,
395
+ :dry_run)
396
+ include Aws::Structure
397
+ end
398
+
399
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ImportMigrationTaskResult AWS API Documentation
400
+ #
401
+ class ImportMigrationTaskResult < Aws::EmptyStructure; end
402
+
403
+ # @note When making an API call, you may pass ListCreatedArtifactsRequest
404
+ # data as a hash:
405
+ #
406
+ # {
407
+ # progress_update_stream: "ProgressUpdateStream", # required
408
+ # migration_task_name: "MigrationTaskName", # required
409
+ # next_token: "Token",
410
+ # max_results: 1,
411
+ # }
412
+ #
413
+ # @!attribute [rw] progress_update_stream
414
+ # The name of the ProgressUpdateStream.
415
+ # @return [String]
416
+ #
417
+ # @!attribute [rw] migration_task_name
418
+ # Unique identifier that references the migration task.
419
+ # @return [String]
420
+ #
421
+ # @!attribute [rw] next_token
422
+ # If a `NextToken` was returned by a previous call, there are more
423
+ # results available. To retrieve the next page of results, make the
424
+ # call again using the returned token in `NextToken`.
425
+ # @return [String]
426
+ #
427
+ # @!attribute [rw] max_results
428
+ # Maximum number of results to be returned per page.
429
+ # @return [Integer]
430
+ #
431
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListCreatedArtifactsRequest AWS API Documentation
432
+ #
433
+ class ListCreatedArtifactsRequest < Struct.new(
434
+ :progress_update_stream,
435
+ :migration_task_name,
436
+ :next_token,
437
+ :max_results)
438
+ include Aws::Structure
439
+ end
440
+
441
+ # @!attribute [rw] next_token
442
+ # If there are more created artifacts than the max result, return the
443
+ # next token to be passed to the next call as a bookmark of where to
444
+ # start from.
445
+ # @return [String]
446
+ #
447
+ # @!attribute [rw] created_artifact_list
448
+ # List of created artifacts up to the maximum number of results
449
+ # specified in the request.
450
+ # @return [Array<Types::CreatedArtifact>]
451
+ #
452
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListCreatedArtifactsResult AWS API Documentation
453
+ #
454
+ class ListCreatedArtifactsResult < Struct.new(
455
+ :next_token,
456
+ :created_artifact_list)
457
+ include Aws::Structure
458
+ end
459
+
460
+ # @note When making an API call, you may pass ListDiscoveredResourcesRequest
461
+ # data as a hash:
462
+ #
463
+ # {
464
+ # progress_update_stream: "ProgressUpdateStream", # required
465
+ # migration_task_name: "MigrationTaskName", # required
466
+ # next_token: "Token",
467
+ # max_results: 1,
468
+ # }
469
+ #
470
+ # @!attribute [rw] progress_update_stream
471
+ # The name of the ProgressUpdateStream.
472
+ # @return [String]
473
+ #
474
+ # @!attribute [rw] migration_task_name
475
+ # The name of the MigrationTask.
476
+ # @return [String]
477
+ #
478
+ # @!attribute [rw] next_token
479
+ # If a `NextToken` was returned by a previous call, there are more
480
+ # results available. To retrieve the next page of results, make the
481
+ # call again using the returned token in `NextToken`.
482
+ # @return [String]
483
+ #
484
+ # @!attribute [rw] max_results
485
+ # The maximum number of results returned per page.
486
+ # @return [Integer]
487
+ #
488
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListDiscoveredResourcesRequest AWS API Documentation
489
+ #
490
+ class ListDiscoveredResourcesRequest < Struct.new(
491
+ :progress_update_stream,
492
+ :migration_task_name,
493
+ :next_token,
494
+ :max_results)
495
+ include Aws::Structure
496
+ end
497
+
498
+ # @!attribute [rw] next_token
499
+ # If there are more discovered resources than the max result, return
500
+ # the next token to be passed to the next call as a bookmark of where
501
+ # to start from.
502
+ # @return [String]
503
+ #
504
+ # @!attribute [rw] discovered_resource_list
505
+ # Returned list of discovered resources associated with the given
506
+ # MigrationTask.
507
+ # @return [Array<Types::DiscoveredResource>]
508
+ #
509
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListDiscoveredResourcesResult AWS API Documentation
510
+ #
511
+ class ListDiscoveredResourcesResult < Struct.new(
512
+ :next_token,
513
+ :discovered_resource_list)
514
+ include Aws::Structure
515
+ end
516
+
517
+ # @note When making an API call, you may pass ListMigrationTasksRequest
518
+ # data as a hash:
519
+ #
520
+ # {
521
+ # next_token: "Token",
522
+ # max_results: 1,
523
+ # resource_name: "ResourceName",
524
+ # }
525
+ #
526
+ # @!attribute [rw] next_token
527
+ # If a `NextToken` was returned by a previous call, there are more
528
+ # results available. To retrieve the next page of results, make the
529
+ # call again using the returned token in `NextToken`.
530
+ # @return [String]
531
+ #
532
+ # @!attribute [rw] max_results
533
+ # Value to specify how many results are returned per page.
534
+ # @return [Integer]
535
+ #
536
+ # @!attribute [rw] resource_name
537
+ # Filter migration tasks by discovered resource name.
538
+ # @return [String]
539
+ #
540
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListMigrationTasksRequest AWS API Documentation
541
+ #
542
+ class ListMigrationTasksRequest < Struct.new(
543
+ :next_token,
544
+ :max_results,
545
+ :resource_name)
546
+ include Aws::Structure
547
+ end
548
+
549
+ # @!attribute [rw] next_token
550
+ # If there are more migration tasks than the max result, return the
551
+ # next token to be passed to the next call as a bookmark of where to
552
+ # start from.
553
+ # @return [String]
554
+ #
555
+ # @!attribute [rw] migration_task_summary_list
556
+ # Lists the migration task's summary which includes:
557
+ # `MigrationTaskName`, `ProgressPercent`, `ProgressUpdateStream`,
558
+ # `Status`, and the `UpdateDateTime` for each task.
559
+ # @return [Array<Types::MigrationTaskSummary>]
560
+ #
561
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListMigrationTasksResult AWS API Documentation
562
+ #
563
+ class ListMigrationTasksResult < Struct.new(
564
+ :next_token,
565
+ :migration_task_summary_list)
566
+ include Aws::Structure
567
+ end
568
+
569
+ # @note When making an API call, you may pass ListProgressUpdateStreamsRequest
570
+ # data as a hash:
571
+ #
572
+ # {
573
+ # next_token: "Token",
574
+ # max_results: 1,
575
+ # }
576
+ #
577
+ # @!attribute [rw] next_token
578
+ # If a `NextToken` was returned by a previous call, there are more
579
+ # results available. To retrieve the next page of results, make the
580
+ # call again using the returned token in `NextToken`.
581
+ # @return [String]
582
+ #
583
+ # @!attribute [rw] max_results
584
+ # Filter to limit the maximum number of results to list per page.
585
+ # @return [Integer]
586
+ #
587
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListProgressUpdateStreamsRequest AWS API Documentation
588
+ #
589
+ class ListProgressUpdateStreamsRequest < Struct.new(
590
+ :next_token,
591
+ :max_results)
592
+ include Aws::Structure
593
+ end
594
+
595
+ # @!attribute [rw] progress_update_stream_summary_list
596
+ # List of progress update streams up to the max number of results
597
+ # passed in the input.
598
+ # @return [Array<Types::ProgressUpdateStreamSummary>]
599
+ #
600
+ # @!attribute [rw] next_token
601
+ # If there are more streams created than the max result, return the
602
+ # next token to be passed to the next call as a bookmark of where to
603
+ # start from.
604
+ # @return [String]
605
+ #
606
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListProgressUpdateStreamsResult AWS API Documentation
607
+ #
608
+ class ListProgressUpdateStreamsResult < Struct.new(
609
+ :progress_update_stream_summary_list,
610
+ :next_token)
611
+ include Aws::Structure
612
+ end
613
+
614
+ # Represents a migration task in a migration tool.
615
+ #
616
+ # @!attribute [rw] progress_update_stream
617
+ # A name that identifies the vendor of the migration tool being used.
618
+ # @return [String]
619
+ #
620
+ # @!attribute [rw] migration_task_name
621
+ # Unique identifier that references the migration task.
622
+ # @return [String]
623
+ #
624
+ # @!attribute [rw] task
625
+ # Task object encapsulating task information.
626
+ # @return [Types::Task]
627
+ #
628
+ # @!attribute [rw] update_date_time
629
+ # The timestamp when the task was gathered.
630
+ # @return [Time]
631
+ #
632
+ # @!attribute [rw] resource_attribute_list
633
+ # @return [Array<Types::ResourceAttribute>]
634
+ #
635
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/MigrationTask AWS API Documentation
636
+ #
637
+ class MigrationTask < Struct.new(
638
+ :progress_update_stream,
639
+ :migration_task_name,
640
+ :task,
641
+ :update_date_time,
642
+ :resource_attribute_list)
643
+ include Aws::Structure
644
+ end
645
+
646
+ # MigrationTaskSummary includes `MigrationTaskName`, `ProgressPercent`,
647
+ # `ProgressUpdateStream`, `Status`, and `UpdateDateTime` for each task.
648
+ #
649
+ # @!attribute [rw] progress_update_stream
650
+ # An AWS resource used for access control. It should uniquely identify
651
+ # the migration tool as it is used for all updates made by the tool.
652
+ # @return [String]
653
+ #
654
+ # @!attribute [rw] migration_task_name
655
+ # Unique identifier that references the migration task.
656
+ # @return [String]
657
+ #
658
+ # @!attribute [rw] status
659
+ # Status of the task.
660
+ # @return [String]
661
+ #
662
+ # @!attribute [rw] progress_percent
663
+ # @return [Integer]
664
+ #
665
+ # @!attribute [rw] status_detail
666
+ # Detail information of what is being done within the overall status
667
+ # state.
668
+ # @return [String]
669
+ #
670
+ # @!attribute [rw] update_date_time
671
+ # The timestamp when the task was gathered.
672
+ # @return [Time]
673
+ #
674
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/MigrationTaskSummary AWS API Documentation
675
+ #
676
+ class MigrationTaskSummary < Struct.new(
677
+ :progress_update_stream,
678
+ :migration_task_name,
679
+ :status,
680
+ :progress_percent,
681
+ :status_detail,
682
+ :update_date_time)
683
+ include Aws::Structure
684
+ end
685
+
686
+ # @note When making an API call, you may pass NotifyApplicationStateRequest
687
+ # data as a hash:
688
+ #
689
+ # {
690
+ # application_id: "ApplicationId", # required
691
+ # status: "NOT_STARTED", # required, accepts NOT_STARTED, IN_PROGRESS, COMPLETED
692
+ # dry_run: false,
693
+ # }
694
+ #
695
+ # @!attribute [rw] application_id
696
+ # The configurationId in ADS that uniquely identifies the grouped
697
+ # application.
698
+ # @return [String]
699
+ #
700
+ # @!attribute [rw] status
701
+ # Status of the application - Not Started, In-Progress, Complete.
702
+ # @return [String]
703
+ #
704
+ # @!attribute [rw] dry_run
705
+ # Optional boolean flag to indicate whether any effect should take
706
+ # place. Used to test if the caller has permission to make the call.
707
+ # @return [Boolean]
708
+ #
709
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/NotifyApplicationStateRequest AWS API Documentation
710
+ #
711
+ class NotifyApplicationStateRequest < Struct.new(
712
+ :application_id,
713
+ :status,
714
+ :dry_run)
715
+ include Aws::Structure
716
+ end
717
+
718
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/NotifyApplicationStateResult AWS API Documentation
719
+ #
720
+ class NotifyApplicationStateResult < Aws::EmptyStructure; end
721
+
722
+ # @note When making an API call, you may pass NotifyMigrationTaskStateRequest
723
+ # data as a hash:
724
+ #
725
+ # {
726
+ # progress_update_stream: "ProgressUpdateStream", # required
727
+ # migration_task_name: "MigrationTaskName", # required
728
+ # task: { # required
729
+ # status: "NOT_STARTED", # required, accepts NOT_STARTED, IN_PROGRESS, FAILED, COMPLETED
730
+ # status_detail: "StatusDetail",
731
+ # progress_percent: 1,
732
+ # },
733
+ # update_date_time: Time.now, # required
734
+ # next_update_seconds: 1, # required
735
+ # dry_run: false,
736
+ # }
737
+ #
738
+ # @!attribute [rw] progress_update_stream
739
+ # The name of the ProgressUpdateStream.
740
+ # @return [String]
741
+ #
742
+ # @!attribute [rw] migration_task_name
743
+ # Unique identifier that references the migration task.
744
+ # @return [String]
745
+ #
746
+ # @!attribute [rw] task
747
+ # Information about the task's progress and status.
748
+ # @return [Types::Task]
749
+ #
750
+ # @!attribute [rw] update_date_time
751
+ # The timestamp when the task was gathered.
752
+ # @return [Time]
753
+ #
754
+ # @!attribute [rw] next_update_seconds
755
+ # Number of seconds after the UpdateDateTime within which the
756
+ # Migration Hub can expect an update. If Migration Hub does not
757
+ # receive an update within the specified interval, then the migration
758
+ # task will be considered stale.
759
+ # @return [Integer]
760
+ #
761
+ # @!attribute [rw] dry_run
762
+ # Optional boolean flag to indicate whether any effect should take
763
+ # place. Used to test if the caller has permission to make the call.
764
+ # @return [Boolean]
765
+ #
766
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/NotifyMigrationTaskStateRequest AWS API Documentation
767
+ #
768
+ class NotifyMigrationTaskStateRequest < Struct.new(
769
+ :progress_update_stream,
770
+ :migration_task_name,
771
+ :task,
772
+ :update_date_time,
773
+ :next_update_seconds,
774
+ :dry_run)
775
+ include Aws::Structure
776
+ end
777
+
778
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/NotifyMigrationTaskStateResult AWS API Documentation
779
+ #
780
+ class NotifyMigrationTaskStateResult < Aws::EmptyStructure; end
781
+
782
+ # Summary of the AWS resource used for access control that is implicitly
783
+ # linked to your AWS account.
784
+ #
785
+ # @!attribute [rw] progress_update_stream_name
786
+ # The name of the ProgressUpdateStream.
787
+ # @return [String]
788
+ #
789
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ProgressUpdateStreamSummary AWS API Documentation
790
+ #
791
+ class ProgressUpdateStreamSummary < Struct.new(
792
+ :progress_update_stream_name)
793
+ include Aws::Structure
794
+ end
795
+
796
+ # @note When making an API call, you may pass PutResourceAttributesRequest
797
+ # data as a hash:
798
+ #
799
+ # {
800
+ # progress_update_stream: "ProgressUpdateStream", # required
801
+ # migration_task_name: "MigrationTaskName", # required
802
+ # resource_attribute_list: [ # required
803
+ # {
804
+ # type: "IPV4_ADDRESS", # required, accepts IPV4_ADDRESS, IPV6_ADDRESS, MAC_ADDRESS, FQDN, VM_MANAGER_ID, VM_MANAGED_OBJECT_REFERENCE, VM_NAME, VM_PATH, BIOS_ID, MOTHERBOARD_SERIAL_NUMBER, LABEL
805
+ # value: "ResourceAttributeValue", # required
806
+ # },
807
+ # ],
808
+ # dry_run: false,
809
+ # }
810
+ #
811
+ # @!attribute [rw] progress_update_stream
812
+ # The name of the ProgressUpdateStream.
813
+ # @return [String]
814
+ #
815
+ # @!attribute [rw] migration_task_name
816
+ # Unique identifier that references the migration task.
817
+ # @return [String]
818
+ #
819
+ # @!attribute [rw] resource_attribute_list
820
+ # Information about the resource that is being migrated. This data
821
+ # will be used to map the task to a resource in the Application
822
+ # Discovery Service (ADS)'s repository.
823
+ # @return [Array<Types::ResourceAttribute>]
824
+ #
825
+ # @!attribute [rw] dry_run
826
+ # Optional boolean flag to indicate whether any effect should take
827
+ # place. Used to test if the caller has permission to make the call.
828
+ # @return [Boolean]
829
+ #
830
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/PutResourceAttributesRequest AWS API Documentation
831
+ #
832
+ class PutResourceAttributesRequest < Struct.new(
833
+ :progress_update_stream,
834
+ :migration_task_name,
835
+ :resource_attribute_list,
836
+ :dry_run)
837
+ include Aws::Structure
838
+ end
839
+
840
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/PutResourceAttributesResult AWS API Documentation
841
+ #
842
+ class PutResourceAttributesResult < Aws::EmptyStructure; end
843
+
844
+ # Attribute associated with a resource.
845
+ #
846
+ # @note When making an API call, you may pass ResourceAttribute
847
+ # data as a hash:
848
+ #
849
+ # {
850
+ # type: "IPV4_ADDRESS", # required, accepts IPV4_ADDRESS, IPV6_ADDRESS, MAC_ADDRESS, FQDN, VM_MANAGER_ID, VM_MANAGED_OBJECT_REFERENCE, VM_NAME, VM_PATH, BIOS_ID, MOTHERBOARD_SERIAL_NUMBER, LABEL
851
+ # value: "ResourceAttributeValue", # required
852
+ # }
853
+ #
854
+ # @!attribute [rw] type
855
+ # Type of resource.
856
+ # @return [String]
857
+ #
858
+ # @!attribute [rw] value
859
+ # Value of the resource type.
860
+ # @return [String]
861
+ #
862
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ResourceAttribute AWS API Documentation
863
+ #
864
+ class ResourceAttribute < Struct.new(
865
+ :type,
866
+ :value)
867
+ include Aws::Structure
868
+ end
869
+
870
+ # Task object encapsulating task information.
871
+ #
872
+ # @note When making an API call, you may pass Task
873
+ # data as a hash:
874
+ #
875
+ # {
876
+ # status: "NOT_STARTED", # required, accepts NOT_STARTED, IN_PROGRESS, FAILED, COMPLETED
877
+ # status_detail: "StatusDetail",
878
+ # progress_percent: 1,
879
+ # }
880
+ #
881
+ # @!attribute [rw] status
882
+ # Status of the task - Not Started, In-Progress, Complete.
883
+ # @return [String]
884
+ #
885
+ # @!attribute [rw] status_detail
886
+ # Details of task status as notified by a migration tool. A tool might
887
+ # use this field to provide clarifying information about the status
888
+ # that is unique to that tool or that explains an error state.
889
+ # @return [String]
890
+ #
891
+ # @!attribute [rw] progress_percent
892
+ # Indication of the percentage completion of the task.
893
+ # @return [Integer]
894
+ #
895
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/Task AWS API Documentation
896
+ #
897
+ class Task < Struct.new(
898
+ :status,
899
+ :status_detail,
900
+ :progress_percent)
901
+ include Aws::Structure
902
+ end
903
+
904
+ end
905
+ end