aws-sdk-migrationhub 1.18.0 → 1.19.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f767176f282a7ef86f5a7304644905c13fbe3478
4
- data.tar.gz: 4a0508a018d7b50f182508627cbbd842f07ce234
3
+ metadata.gz: 12b6b9366e413cf05fc3622085cf4aaea0c797a1
4
+ data.tar.gz: b6e40cea86d7c58fdad016e7bb83e3993ec2c759
5
5
  SHA512:
6
- metadata.gz: e8b7e59979fadcc7f566b9ee622fff763773321194032201fbff5c78991299b82caede7abb6eb5eee5fd0894f229719e8df510f9155c06590b74413213afd7e6
7
- data.tar.gz: 467f582796c9a254f12c6df2c5eba334fa13e5f4a7c01884b559a6aac2765f3d5f9e90e3ee4fac1867dee21d374c091e586eae39069d6f52030173ec22bd0c34
6
+ metadata.gz: cff9cce2dc24c82b609fcf49cd1e8047be2230e161779065eb62e69ef0742eb5ad969889601b376dafd69f70b91ec71b9ead8b941ec88278a5704f57e72c85dc
7
+ data.tar.gz: b88883ca1114761f7d3e67b35fde68d1ac368b90bc937325ac670ea69f0f542712041b2c982133286df197e3f0caf190fd9919f858a56478b4928016b13e9ec6
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-migrationhub/customizations'
42
42
  # @service
43
43
  module Aws::MigrationHub
44
44
 
45
- GEM_VERSION = '1.18.0'
45
+ GEM_VERSION = '1.19.0'
46
46
 
47
47
  end
@@ -283,7 +283,8 @@ module Aws::MigrationHub
283
283
  # The name of the ProgressUpdateStream.
284
284
  #
285
285
  # @option params [required, String] :migration_task_name
286
- # Unique identifier that references the migration task.
286
+ # Unique identifier that references the migration task. *Do not store
287
+ # personal data in this field.*
287
288
  #
288
289
  # @option params [required, Types::CreatedArtifact] :created_artifact
289
290
  # An ARN of the AWS resource related to the migration (e.g., AMI, EC2
@@ -317,13 +318,14 @@ module Aws::MigrationHub
317
318
  end
318
319
 
319
320
  # Associates a discovered resource ID from Application Discovery Service
320
- # (ADS) with a migration task.
321
+ # with a migration task.
321
322
  #
322
323
  # @option params [required, String] :progress_update_stream
323
324
  # The name of the ProgressUpdateStream.
324
325
  #
325
326
  # @option params [required, String] :migration_task_name
326
- # The identifier given to the MigrationTask.
327
+ # The identifier given to the MigrationTask. *Do not store personal data
328
+ # in this field.*
327
329
  #
328
330
  # @option params [required, Types::DiscoveredResource] :discovered_resource
329
331
  # Object representing a Resource.
@@ -363,7 +365,8 @@ module Aws::MigrationHub
363
365
  # is scoped to the AWS account.
364
366
  #
365
367
  # @option params [required, String] :progress_update_stream_name
366
- # The name of the ProgressUpdateStream.
368
+ # The name of the ProgressUpdateStream. *Do not store personal data in
369
+ # this field.*
367
370
  #
368
371
  # @option params [Boolean] :dry_run
369
372
  # Optional boolean flag to indicate whether any effect should take
@@ -402,7 +405,7 @@ module Aws::MigrationHub
402
405
  # `ListProgressUpdateStreams` call.
403
406
  #
404
407
  # * `CreateProgressUpdateStream`, `ImportMigrationTask`,
405
- # `NotifyMigrationTaskState`, and all Associate\[*\] APIs realted to
408
+ # `NotifyMigrationTaskState`, and all Associate\[*\] APIs related to
406
409
  # the tasks belonging to the stream will throw
407
410
  # "InvalidInputException" if the stream of the same name is in the
408
411
  # process of being deleted.
@@ -413,7 +416,8 @@ module Aws::MigrationHub
413
416
  # (without any resources associated with the old stream).
414
417
  #
415
418
  # @option params [required, String] :progress_update_stream_name
416
- # The name of the ProgressUpdateStream.
419
+ # The name of the ProgressUpdateStream. *Do not store personal data in
420
+ # this field.*
417
421
  #
418
422
  # @option params [Boolean] :dry_run
419
423
  # Optional boolean flag to indicate whether any effect should take
@@ -440,8 +444,8 @@ module Aws::MigrationHub
440
444
  # Gets the migration status of an application.
441
445
  #
442
446
  # @option params [required, String] :application_id
443
- # The configurationId in ADS that uniquely identifies the grouped
444
- # application.
447
+ # The configurationId in Application Discovery Service that uniquely
448
+ # identifies the grouped application.
445
449
  #
446
450
  # @return [Types::DescribeApplicationStateResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
447
451
  #
@@ -475,7 +479,8 @@ module Aws::MigrationHub
475
479
  # The name of the ProgressUpdateStream.
476
480
  #
477
481
  # @option params [required, String] :migration_task_name
478
- # The identifier given to the MigrationTask.
482
+ # The identifier given to the MigrationTask. *Do not store personal data
483
+ # in this field.*
479
484
  #
480
485
  # @return [Types::DescribeMigrationTaskResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
481
486
  #
@@ -530,7 +535,8 @@ module Aws::MigrationHub
530
535
  #
531
536
  # @option params [required, String] :migration_task_name
532
537
  # Unique identifier that references the migration task to be
533
- # disassociated with the artifact.
538
+ # disassociated with the artifact. *Do not store personal data in this
539
+ # field.*
534
540
  #
535
541
  # @option params [required, String] :created_artifact_name
536
542
  # An ARN of the AWS resource related to the migration (e.g., AMI, EC2
@@ -560,17 +566,19 @@ module Aws::MigrationHub
560
566
  req.send_request(options)
561
567
  end
562
568
 
563
- # Disassociate an Application Discovery Service (ADS) discovered
564
- # resource from a migration task.
569
+ # Disassociate an Application Discovery Service discovered resource from
570
+ # a migration task.
565
571
  #
566
572
  # @option params [required, String] :progress_update_stream
567
573
  # The name of the ProgressUpdateStream.
568
574
  #
569
575
  # @option params [required, String] :migration_task_name
570
- # The identifier given to the MigrationTask.
576
+ # The identifier given to the MigrationTask. *Do not store personal data
577
+ # in this field.*
571
578
  #
572
579
  # @option params [required, String] :configuration_id
573
- # ConfigurationId of the ADS resource to be disassociated.
580
+ # ConfigurationId of the Application Discovery Service resource to be
581
+ # disassociated.
574
582
  #
575
583
  # @option params [Boolean] :dry_run
576
584
  # Optional boolean flag to indicate whether any effect should take
@@ -604,10 +612,11 @@ module Aws::MigrationHub
604
612
  # Migration Hub.
605
613
  #
606
614
  # @option params [required, String] :progress_update_stream
607
- # The name of the ProgressUpdateStream.
615
+ # The name of the ProgressUpdateStream. >
608
616
  #
609
617
  # @option params [required, String] :migration_task_name
610
- # Unique identifier that references the migration task.
618
+ # Unique identifier that references the migration task. *Do not store
619
+ # personal data in this field.*
611
620
  #
612
621
  # @option params [Boolean] :dry_run
613
622
  # Optional boolean flag to indicate whether any effect should take
@@ -647,7 +656,8 @@ module Aws::MigrationHub
647
656
  # The name of the ProgressUpdateStream.
648
657
  #
649
658
  # @option params [required, String] :migration_task_name
650
- # Unique identifier that references the migration task.
659
+ # Unique identifier that references the migration task. *Do not store
660
+ # personal data in this field.*
651
661
  #
652
662
  # @option params [String] :next_token
653
663
  # If a `NextToken` was returned by a previous call, there are more
@@ -693,7 +703,8 @@ module Aws::MigrationHub
693
703
  # The name of the ProgressUpdateStream.
694
704
  #
695
705
  # @option params [required, String] :migration_task_name
696
- # The name of the MigrationTask.
706
+ # The name of the MigrationTask. *Do not store personal data in this
707
+ # field.*
697
708
  #
698
709
  # @option params [String] :next_token
699
710
  # If a `NextToken` was returned by a previous call, there are more
@@ -832,12 +843,15 @@ module Aws::MigrationHub
832
843
  # IN_PROGRESS | COMPLETED`.
833
844
  #
834
845
  # @option params [required, String] :application_id
835
- # The configurationId in ADS that uniquely identifies the grouped
836
- # application.
846
+ # The configurationId in Application Discovery Service that uniquely
847
+ # identifies the grouped application.
837
848
  #
838
849
  # @option params [required, String] :status
839
850
  # Status of the application - Not Started, In-Progress, Complete.
840
851
  #
852
+ # @option params [Time,DateTime,Date,Integer,String] :update_date_time
853
+ # The timestamp when the application state changed.
854
+ #
841
855
  # @option params [Boolean] :dry_run
842
856
  # Optional boolean flag to indicate whether any effect should take
843
857
  # place. Used to test if the caller has permission to make the call.
@@ -849,6 +863,7 @@ module Aws::MigrationHub
849
863
  # resp = client.notify_application_state({
850
864
  # application_id: "ApplicationId", # required
851
865
  # status: "NOT_STARTED", # required, accepts NOT_STARTED, IN_PROGRESS, COMPLETED
866
+ # update_date_time: Time.now,
852
867
  # dry_run: false,
853
868
  # })
854
869
  #
@@ -877,7 +892,8 @@ module Aws::MigrationHub
877
892
  # The name of the ProgressUpdateStream.
878
893
  #
879
894
  # @option params [required, String] :migration_task_name
880
- # Unique identifier that references the migration task.
895
+ # Unique identifier that references the migration task. *Do not store
896
+ # personal data in this field.*
881
897
  #
882
898
  # @option params [required, Types::Task] :task
883
899
  # Information about the task's progress and status.
@@ -922,15 +938,15 @@ module Aws::MigrationHub
922
938
  end
923
939
 
924
940
  # Provides identifying details of the resource being migrated so that it
925
- # can be associated in the Application Discovery Service (ADS)'s
926
- # repository. This association occurs asynchronously after
927
- # `PutResourceAttributes` returns.
941
+ # can be associated in the Application Discovery Service repository.
942
+ # This association occurs asynchronously after `PutResourceAttributes`
943
+ # returns.
928
944
  #
929
945
  # * Keep in mind that subsequent calls to PutResourceAttributes will
930
946
  # override previously stored attributes. For example, if it is first
931
947
  # called with a MAC address, but later, it is desired to *add* an IP
932
948
  # address, it will then be required to call it with *both* the IP and
933
- # MAC addresses to prevent overiding the MAC address.
949
+ # MAC addresses to prevent overriding the MAC address.
934
950
  #
935
951
  # * Note the instructions regarding the special use case of the [
936
952
  # `ResourceAttributeList` ][1] parameter when specifying any "VM"
@@ -950,12 +966,13 @@ module Aws::MigrationHub
950
966
  # The name of the ProgressUpdateStream.
951
967
  #
952
968
  # @option params [required, String] :migration_task_name
953
- # Unique identifier that references the migration task.
969
+ # Unique identifier that references the migration task. *Do not store
970
+ # personal data in this field.*
954
971
  #
955
972
  # @option params [required, Array<Types::ResourceAttribute>] :resource_attribute_list
956
973
  # Information about the resource that is being migrated. This data will
957
974
  # be used to map the task to a resource in the Application Discovery
958
- # Service (ADS)'s repository.
975
+ # Service repository.
959
976
  #
960
977
  # <note markdown="1"> Takes the object array of `ResourceAttribute` where the `Type` field
961
978
  # is reserved for the following values: `IPV4_ADDRESS | IPV6_ADDRESS |
@@ -969,9 +986,9 @@ module Aws::MigrationHub
969
986
  # it is required that `VM_MANAGER_ID`, as a minimum, is always set. If
970
987
  # `VM_MANAGER_ID` is not set, then all "VM" fields will be discarded
971
988
  # and "VM" fields will not be used for matching the migration task
972
- # to a server in Application Discovery Service (ADS)'s repository.
973
- # See the [Example][1] section below for a use case of specifying
974
- # "VM" related values.
989
+ # to a server in Application Discovery Service repository. See the
990
+ # [Example][1] section below for a use case of specifying "VM"
991
+ # related values.
975
992
  #
976
993
  # * If a server you are trying to match has multiple IP or MAC
977
994
  # addresses, you should provide as many as you know in separate
@@ -1024,7 +1041,7 @@ module Aws::MigrationHub
1024
1041
  params: params,
1025
1042
  config: config)
1026
1043
  context[:gem_name] = 'aws-sdk-migrationhub'
1027
- context[:gem_version] = '1.18.0'
1044
+ context[:gem_version] = '1.19.0'
1028
1045
  Seahorse::Client::Request.new(handlers, context)
1029
1046
  end
1030
1047
 
@@ -41,6 +41,7 @@ module Aws::MigrationHub
41
41
  DryRun = Shapes::BooleanShape.new(name: 'DryRun')
42
42
  DryRunOperation = Shapes::StructureShape.new(name: 'DryRunOperation')
43
43
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
44
+ HomeRegionNotSetException = Shapes::StructureShape.new(name: 'HomeRegionNotSetException')
44
45
  ImportMigrationTaskRequest = Shapes::StructureShape.new(name: 'ImportMigrationTaskRequest')
45
46
  ImportMigrationTaskResult = Shapes::StructureShape.new(name: 'ImportMigrationTaskResult')
46
47
  InternalServerError = Shapes::StructureShape.new(name: 'InternalServerError')
@@ -163,6 +164,9 @@ module Aws::MigrationHub
163
164
  DryRunOperation.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
164
165
  DryRunOperation.struct_class = Types::DryRunOperation
165
166
 
167
+ HomeRegionNotSetException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
168
+ HomeRegionNotSetException.struct_class = Types::HomeRegionNotSetException
169
+
166
170
  ImportMigrationTaskRequest.add_member(:progress_update_stream, Shapes::ShapeRef.new(shape: ProgressUpdateStream, required: true, location_name: "ProgressUpdateStream"))
167
171
  ImportMigrationTaskRequest.add_member(:migration_task_name, Shapes::ShapeRef.new(shape: MigrationTaskName, required: true, location_name: "MigrationTaskName"))
168
172
  ImportMigrationTaskRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: DryRun, location_name: "DryRun"))
@@ -234,6 +238,7 @@ module Aws::MigrationHub
234
238
 
235
239
  NotifyApplicationStateRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location_name: "ApplicationId"))
236
240
  NotifyApplicationStateRequest.add_member(:status, Shapes::ShapeRef.new(shape: ApplicationStatus, required: true, location_name: "Status"))
241
+ NotifyApplicationStateRequest.add_member(:update_date_time, Shapes::ShapeRef.new(shape: UpdateDateTime, location_name: "UpdateDateTime"))
237
242
  NotifyApplicationStateRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: DryRun, location_name: "DryRun"))
238
243
  NotifyApplicationStateRequest.struct_class = Types::NotifyApplicationStateRequest
239
244
 
@@ -297,6 +302,7 @@ module Aws::MigrationHub
297
302
  "jsonVersion" => "1.1",
298
303
  "protocol" => "json",
299
304
  "serviceFullName" => "AWS Migration Hub",
305
+ "serviceId" => "Migration Hub",
300
306
  "signatureVersion" => "v4",
301
307
  "targetPrefix" => "AWSMigrationHub",
302
308
  "uid" => "AWSMigrationHub-2017-05-31",
@@ -315,6 +321,7 @@ module Aws::MigrationHub
315
321
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperation)
316
322
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
317
323
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
324
+ o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
318
325
  end)
319
326
 
320
327
  api.add_operation(:associate_discovered_resource, Seahorse::Model::Operation.new.tap do |o|
@@ -331,6 +338,7 @@ module Aws::MigrationHub
331
338
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
332
339
  o.errors << Shapes::ShapeRef.new(shape: PolicyErrorException)
333
340
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
341
+ o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
334
342
  end)
335
343
 
336
344
  api.add_operation(:create_progress_update_stream, Seahorse::Model::Operation.new.tap do |o|
@@ -345,6 +353,7 @@ module Aws::MigrationHub
345
353
  o.errors << Shapes::ShapeRef.new(shape: DryRunOperation)
346
354
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperation)
347
355
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
356
+ o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
348
357
  end)
349
358
 
350
359
  api.add_operation(:delete_progress_update_stream, Seahorse::Model::Operation.new.tap do |o|
@@ -360,6 +369,7 @@ module Aws::MigrationHub
360
369
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperation)
361
370
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
362
371
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
372
+ o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
363
373
  end)
364
374
 
365
375
  api.add_operation(:describe_application_state, Seahorse::Model::Operation.new.tap do |o|
@@ -374,6 +384,7 @@ module Aws::MigrationHub
374
384
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
375
385
  o.errors << Shapes::ShapeRef.new(shape: PolicyErrorException)
376
386
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
387
+ o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
377
388
  end)
378
389
 
379
390
  api.add_operation(:describe_migration_task, Seahorse::Model::Operation.new.tap do |o|
@@ -387,6 +398,7 @@ module Aws::MigrationHub
387
398
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
388
399
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
389
400
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
401
+ o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
390
402
  end)
391
403
 
392
404
  api.add_operation(:disassociate_created_artifact, Seahorse::Model::Operation.new.tap do |o|
@@ -402,6 +414,7 @@ module Aws::MigrationHub
402
414
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperation)
403
415
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
404
416
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
417
+ o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
405
418
  end)
406
419
 
407
420
  api.add_operation(:disassociate_discovered_resource, Seahorse::Model::Operation.new.tap do |o|
@@ -417,6 +430,7 @@ module Aws::MigrationHub
417
430
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperation)
418
431
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
419
432
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
433
+ o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
420
434
  end)
421
435
 
422
436
  api.add_operation(:import_migration_task, Seahorse::Model::Operation.new.tap do |o|
@@ -432,6 +446,7 @@ module Aws::MigrationHub
432
446
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperation)
433
447
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
434
448
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
449
+ o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
435
450
  end)
436
451
 
437
452
  api.add_operation(:list_created_artifacts, Seahorse::Model::Operation.new.tap do |o|
@@ -445,6 +460,13 @@ module Aws::MigrationHub
445
460
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
446
461
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
447
462
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
463
+ o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
464
+ o[:pager] = Aws::Pager.new(
465
+ limit_key: "max_results",
466
+ tokens: {
467
+ "next_token" => "next_token"
468
+ }
469
+ )
448
470
  end)
449
471
 
450
472
  api.add_operation(:list_discovered_resources, Seahorse::Model::Operation.new.tap do |o|
@@ -458,6 +480,13 @@ module Aws::MigrationHub
458
480
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
459
481
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
460
482
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
483
+ o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
484
+ o[:pager] = Aws::Pager.new(
485
+ limit_key: "max_results",
486
+ tokens: {
487
+ "next_token" => "next_token"
488
+ }
489
+ )
461
490
  end)
462
491
 
463
492
  api.add_operation(:list_migration_tasks, Seahorse::Model::Operation.new.tap do |o|
@@ -472,6 +501,13 @@ module Aws::MigrationHub
472
501
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
473
502
  o.errors << Shapes::ShapeRef.new(shape: PolicyErrorException)
474
503
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
504
+ o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
505
+ o[:pager] = Aws::Pager.new(
506
+ limit_key: "max_results",
507
+ tokens: {
508
+ "next_token" => "next_token"
509
+ }
510
+ )
475
511
  end)
476
512
 
477
513
  api.add_operation(:list_progress_update_streams, Seahorse::Model::Operation.new.tap do |o|
@@ -484,6 +520,13 @@ module Aws::MigrationHub
484
520
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
485
521
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
486
522
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
523
+ o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
524
+ o[:pager] = Aws::Pager.new(
525
+ limit_key: "max_results",
526
+ tokens: {
527
+ "next_token" => "next_token"
528
+ }
529
+ )
487
530
  end)
488
531
 
489
532
  api.add_operation(:notify_application_state, Seahorse::Model::Operation.new.tap do |o|
@@ -500,6 +543,7 @@ module Aws::MigrationHub
500
543
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
501
544
  o.errors << Shapes::ShapeRef.new(shape: PolicyErrorException)
502
545
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
546
+ o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
503
547
  end)
504
548
 
505
549
  api.add_operation(:notify_migration_task_state, Seahorse::Model::Operation.new.tap do |o|
@@ -515,6 +559,7 @@ module Aws::MigrationHub
515
559
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperation)
516
560
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
517
561
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
562
+ o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
518
563
  end)
519
564
 
520
565
  api.add_operation(:put_resource_attributes, Seahorse::Model::Operation.new.tap do |o|
@@ -530,6 +575,7 @@ module Aws::MigrationHub
530
575
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperation)
531
576
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
532
577
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
578
+ o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
533
579
  end)
534
580
  end
535
581
 
@@ -42,6 +42,22 @@ module Aws::MigrationHub
42
42
 
43
43
  end
44
44
 
45
+ class HomeRegionNotSetException < ServiceError
46
+
47
+ # @param [Seahorse::Client::RequestContext] context
48
+ # @param [String] message
49
+ # @param [Aws::MigrationHub::Types::HomeRegionNotSetException] data
50
+ def initialize(context, message, data = Aws::EmptyStructure.new)
51
+ super(context, message, data)
52
+ end
53
+
54
+ # @return [String]
55
+ def message
56
+ @message || @data[:message]
57
+ end
58
+
59
+ end
60
+
45
61
  class InternalServerError < ServiceError
46
62
 
47
63
  # @param [Seahorse::Client::RequestContext] context
@@ -38,7 +38,8 @@ module Aws::MigrationHub
38
38
  # @return [String]
39
39
  #
40
40
  # @!attribute [rw] migration_task_name
41
- # Unique identifier that references the migration task.
41
+ # Unique identifier that references the migration task. *Do not store
42
+ # personal data in this field.*
42
43
  # @return [String]
43
44
  #
44
45
  # @!attribute [rw] created_artifact
@@ -83,7 +84,8 @@ module Aws::MigrationHub
83
84
  # @return [String]
84
85
  #
85
86
  # @!attribute [rw] migration_task_name
86
- # The identifier given to the MigrationTask.
87
+ # The identifier given to the MigrationTask. *Do not store personal
88
+ # data in this field.*
87
89
  # @return [String]
88
90
  #
89
91
  # @!attribute [rw] discovered_resource
@@ -118,7 +120,8 @@ module Aws::MigrationHub
118
120
  # }
119
121
  #
120
122
  # @!attribute [rw] progress_update_stream_name
121
- # The name of the ProgressUpdateStream.
123
+ # The name of the ProgressUpdateStream. *Do not store personal data in
124
+ # this field.*
122
125
  # @return [String]
123
126
  #
124
127
  # @!attribute [rw] dry_run
@@ -175,7 +178,8 @@ module Aws::MigrationHub
175
178
  # }
176
179
  #
177
180
  # @!attribute [rw] progress_update_stream_name
178
- # The name of the ProgressUpdateStream.
181
+ # The name of the ProgressUpdateStream. *Do not store personal data in
182
+ # this field.*
179
183
  # @return [String]
180
184
  #
181
185
  # @!attribute [rw] dry_run
@@ -203,8 +207,8 @@ module Aws::MigrationHub
203
207
  # }
204
208
  #
205
209
  # @!attribute [rw] application_id
206
- # The configurationId in ADS that uniquely identifies the grouped
207
- # application.
210
+ # The configurationId in Application Discovery Service that uniquely
211
+ # identifies the grouped application.
208
212
  # @return [String]
209
213
  #
210
214
  # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DescribeApplicationStateRequest AWS API Documentation
@@ -243,7 +247,8 @@ module Aws::MigrationHub
243
247
  # @return [String]
244
248
  #
245
249
  # @!attribute [rw] migration_task_name
246
- # The identifier given to the MigrationTask.
250
+ # The identifier given to the MigrationTask. *Do not store personal
251
+ # data in this field.*
247
252
  # @return [String]
248
253
  #
249
254
  # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DescribeMigrationTaskRequest AWS API Documentation
@@ -281,7 +286,8 @@ module Aws::MigrationHub
281
286
  #
282
287
  # @!attribute [rw] migration_task_name
283
288
  # Unique identifier that references the migration task to be
284
- # disassociated with the artifact.
289
+ # disassociated with the artifact. *Do not store personal data in this
290
+ # field.*
285
291
  # @return [String]
286
292
  #
287
293
  # @!attribute [rw] created_artifact_name
@@ -323,11 +329,13 @@ module Aws::MigrationHub
323
329
  # @return [String]
324
330
  #
325
331
  # @!attribute [rw] migration_task_name
326
- # The identifier given to the MigrationTask.
332
+ # The identifier given to the MigrationTask. *Do not store personal
333
+ # data in this field.*
327
334
  # @return [String]
328
335
  #
329
336
  # @!attribute [rw] configuration_id
330
- # ConfigurationId of the ADS resource to be disassociated.
337
+ # ConfigurationId of the Application Discovery Service resource to be
338
+ # disassociated.
331
339
  # @return [String]
332
340
  #
333
341
  # @!attribute [rw] dry_run
@@ -360,8 +368,8 @@ module Aws::MigrationHub
360
368
  # }
361
369
  #
362
370
  # @!attribute [rw] configuration_id
363
- # The configurationId in ADS that uniquely identifies the on-premise
364
- # resource.
371
+ # The configurationId in Application Discovery Service that uniquely
372
+ # identifies the on-premise resource.
365
373
  # @return [String]
366
374
  #
367
375
  # @!attribute [rw] description
@@ -390,6 +398,18 @@ module Aws::MigrationHub
390
398
  include Aws::Structure
391
399
  end
392
400
 
401
+ # The home region is not set. Set the home region to continue.
402
+ #
403
+ # @!attribute [rw] message
404
+ # @return [String]
405
+ #
406
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/HomeRegionNotSetException AWS API Documentation
407
+ #
408
+ class HomeRegionNotSetException < Struct.new(
409
+ :message)
410
+ include Aws::Structure
411
+ end
412
+
393
413
  # @note When making an API call, you may pass ImportMigrationTaskRequest
394
414
  # data as a hash:
395
415
  #
@@ -400,11 +420,12 @@ module Aws::MigrationHub
400
420
  # }
401
421
  #
402
422
  # @!attribute [rw] progress_update_stream
403
- # The name of the ProgressUpdateStream.
423
+ # The name of the ProgressUpdateStream. &gt;
404
424
  # @return [String]
405
425
  #
406
426
  # @!attribute [rw] migration_task_name
407
- # Unique identifier that references the migration task.
427
+ # Unique identifier that references the migration task. *Do not store
428
+ # personal data in this field.*
408
429
  # @return [String]
409
430
  #
410
431
  # @!attribute [rw] dry_run
@@ -425,8 +446,8 @@ module Aws::MigrationHub
425
446
  #
426
447
  class ImportMigrationTaskResult < Aws::EmptyStructure; end
427
448
 
428
- # Exception raised when there is an internal, configuration, or
429
- # dependency error encountered.
449
+ # Exception raised when an internal, configuration, or dependency error
450
+ # is encountered.
430
451
  #
431
452
  # @!attribute [rw] message
432
453
  # @return [String]
@@ -466,7 +487,8 @@ module Aws::MigrationHub
466
487
  # @return [String]
467
488
  #
468
489
  # @!attribute [rw] migration_task_name
469
- # Unique identifier that references the migration task.
490
+ # Unique identifier that references the migration task. *Do not store
491
+ # personal data in this field.*
470
492
  # @return [String]
471
493
  #
472
494
  # @!attribute [rw] next_token
@@ -523,7 +545,8 @@ module Aws::MigrationHub
523
545
  # @return [String]
524
546
  #
525
547
  # @!attribute [rw] migration_task_name
526
- # The name of the MigrationTask.
548
+ # The name of the MigrationTask. *Do not store personal data in this
549
+ # field.*
527
550
  # @return [String]
528
551
  #
529
552
  # @!attribute [rw] next_token
@@ -669,7 +692,8 @@ module Aws::MigrationHub
669
692
  # @return [String]
670
693
  #
671
694
  # @!attribute [rw] migration_task_name
672
- # Unique identifier that references the migration task.
695
+ # Unique identifier that references the migration task. *Do not store
696
+ # personal data in this field.*
673
697
  # @return [String]
674
698
  #
675
699
  # @!attribute [rw] task
@@ -681,6 +705,9 @@ module Aws::MigrationHub
681
705
  # @return [Time]
682
706
  #
683
707
  # @!attribute [rw] resource_attribute_list
708
+ # Information about the resource that is being migrated. This data
709
+ # will be used to map the task to a resource in the Application
710
+ # Discovery Service repository.
684
711
  # @return [Array<Types::ResourceAttribute>]
685
712
  #
686
713
  # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/MigrationTask AWS API Documentation
@@ -703,7 +730,8 @@ module Aws::MigrationHub
703
730
  # @return [String]
704
731
  #
705
732
  # @!attribute [rw] migration_task_name
706
- # Unique identifier that references the migration task.
733
+ # Unique identifier that references the migration task. *Do not store
734
+ # personal data in this field.*
707
735
  # @return [String]
708
736
  #
709
737
  # @!attribute [rw] status
@@ -711,6 +739,7 @@ module Aws::MigrationHub
711
739
  # @return [String]
712
740
  #
713
741
  # @!attribute [rw] progress_percent
742
+ # Indication of the percentage completion of the task.
714
743
  # @return [Integer]
715
744
  #
716
745
  # @!attribute [rw] status_detail
@@ -740,18 +769,23 @@ module Aws::MigrationHub
740
769
  # {
741
770
  # application_id: "ApplicationId", # required
742
771
  # status: "NOT_STARTED", # required, accepts NOT_STARTED, IN_PROGRESS, COMPLETED
772
+ # update_date_time: Time.now,
743
773
  # dry_run: false,
744
774
  # }
745
775
  #
746
776
  # @!attribute [rw] application_id
747
- # The configurationId in ADS that uniquely identifies the grouped
748
- # application.
777
+ # The configurationId in Application Discovery Service that uniquely
778
+ # identifies the grouped application.
749
779
  # @return [String]
750
780
  #
751
781
  # @!attribute [rw] status
752
782
  # Status of the application - Not Started, In-Progress, Complete.
753
783
  # @return [String]
754
784
  #
785
+ # @!attribute [rw] update_date_time
786
+ # The timestamp when the application state changed.
787
+ # @return [Time]
788
+ #
755
789
  # @!attribute [rw] dry_run
756
790
  # Optional boolean flag to indicate whether any effect should take
757
791
  # place. Used to test if the caller has permission to make the call.
@@ -762,6 +796,7 @@ module Aws::MigrationHub
762
796
  class NotifyApplicationStateRequest < Struct.new(
763
797
  :application_id,
764
798
  :status,
799
+ :update_date_time,
765
800
  :dry_run)
766
801
  include Aws::Structure
767
802
  end
@@ -791,7 +826,8 @@ module Aws::MigrationHub
791
826
  # @return [String]
792
827
  #
793
828
  # @!attribute [rw] migration_task_name
794
- # Unique identifier that references the migration task.
829
+ # Unique identifier that references the migration task. *Do not store
830
+ # personal data in this field.*
795
831
  # @return [String]
796
832
  #
797
833
  # @!attribute [rw] task
@@ -830,9 +866,10 @@ module Aws::MigrationHub
830
866
  #
831
867
  class NotifyMigrationTaskStateResult < Aws::EmptyStructure; end
832
868
 
833
- # Exception raised when there are problems accessing ADS (Application
834
- # Discovery Service); most likely due to a misconfigured policy or the
835
- # `migrationhub-discovery` role is missing or not configured correctly.
869
+ # Exception raised when there are problems accessing Application
870
+ # Discovery Service (Application Discovery Service); most likely due to
871
+ # a misconfigured policy or the `migrationhub-discovery` role is missing
872
+ # or not configured correctly.
836
873
  #
837
874
  # @!attribute [rw] message
838
875
  # @return [String]
@@ -848,7 +885,8 @@ module Aws::MigrationHub
848
885
  # linked to your AWS account.
849
886
  #
850
887
  # @!attribute [rw] progress_update_stream_name
851
- # The name of the ProgressUpdateStream.
888
+ # The name of the ProgressUpdateStream. *Do not store personal data in
889
+ # this field.*
852
890
  # @return [String]
853
891
  #
854
892
  # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ProgressUpdateStreamSummary AWS API Documentation
@@ -878,13 +916,14 @@ module Aws::MigrationHub
878
916
  # @return [String]
879
917
  #
880
918
  # @!attribute [rw] migration_task_name
881
- # Unique identifier that references the migration task.
919
+ # Unique identifier that references the migration task. *Do not store
920
+ # personal data in this field.*
882
921
  # @return [String]
883
922
  #
884
923
  # @!attribute [rw] resource_attribute_list
885
924
  # Information about the resource that is being migrated. This data
886
925
  # will be used to map the task to a resource in the Application
887
- # Discovery Service (ADS)'s repository.
926
+ # Discovery Service repository.
888
927
  #
889
928
  # <note markdown="1"> Takes the object array of `ResourceAttribute` where the `Type` field
890
929
  # is reserved for the following values: `IPV4_ADDRESS | IPV6_ADDRESS |
@@ -899,8 +938,8 @@ module Aws::MigrationHub
899
938
  # always set. If `VM_MANAGER_ID` is not set, then all "VM" fields
900
939
  # will be discarded and "VM" fields will not be used for matching
901
940
  # the migration task to a server in Application Discovery Service
902
- # (ADS)'s repository. See the [Example][1] section below for a use
903
- # case of specifying "VM" related values.
941
+ # repository. See the [Example][1] section below for a use case of
942
+ # specifying "VM" related values.
904
943
  #
905
944
  # * If a server you are trying to match has multiple IP or MAC
906
945
  # addresses, you should provide as many as you know in separate
@@ -979,10 +1018,10 @@ module Aws::MigrationHub
979
1018
  include Aws::Structure
980
1019
  end
981
1020
 
982
- # Exception raised when the request references a resource (ADS
983
- # configuration, update stream, migration task, etc.) that does not
984
- # exist in ADS (Application Discovery Service) or in Migration Hub's
985
- # repository.
1021
+ # Exception raised when the request references a resource (Application
1022
+ # Discovery Service configuration, update stream, migration task, etc.)
1023
+ # that does not exist in Application Discovery Service (Application
1024
+ # Discovery Service) or in Migration Hub's repository.
986
1025
  #
987
1026
  # @!attribute [rw] message
988
1027
  # @return [String]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-migrationhub
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.18.0
4
+ version: 1.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-23 00:00:00.000000000 Z
11
+ date: 2019-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core