aws-sdk-sms 1.21.1 → 1.26.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
  SHA256:
3
- metadata.gz: '027499cf3b4dfb11e99cb7fdf2e061d18a35a13ff07a5d44a157dcd8a3bf2c92'
4
- data.tar.gz: 2fdff9e5c1b8a4164dcb0982793395c54358a536a32971577787b2d9b90d240b
3
+ metadata.gz: 7f487d38dc1a517457ada99150754a81f71f7d2490d867b62fd12a719f9bbd42
4
+ data.tar.gz: 883f20337ff408c4a797ed27caf4844177d38d4fec8ea28e01c532eac95d2d48
5
5
  SHA512:
6
- metadata.gz: 77a081d9bf950e431766703bc5395a6f5ce3a082a7a4e915e9b6ddf7c8cc047977c3e4b46d21add83bd0c8ab818d08bb69b826684a12e1bd51c9f00ad1466384
7
- data.tar.gz: 9c7b3ac1b49df0236db53f505afebbf3d398c50e7c6fc2dd10c271be34a3b3f0607c4cc1e163a3fbb183b991d850255af092ba25f1c4d55a1b2f80465e5ba78a
6
+ metadata.gz: bd088d77604b0169739bbeaeaa9b2d51d464abad853070f8b1bdf6aa796a9217d966f20e767628c8343586cf407593b258aa22257648f86302366add634644bd
7
+ data.tar.gz: 5ac3c121b471e1bbf529ccf22c0607079b8b9a1920aeaf91fc6d4c25c496e58d303b7d1dd8450c0b331b69d1d81974be58ba02c2d379b869eb7597461367d041
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -5,6 +7,7 @@
5
7
  #
6
8
  # WARNING ABOUT GENERATED CODE
7
9
 
10
+
8
11
  require 'aws-sdk-core'
9
12
  require 'aws-sigv4'
10
13
 
@@ -42,9 +45,9 @@ require_relative 'aws-sdk-sms/customizations'
42
45
  #
43
46
  # See {Errors} for more information.
44
47
  #
45
- # @service
48
+ # @!group service
46
49
  module Aws::SMS
47
50
 
48
- GEM_VERSION = '1.21.1'
51
+ GEM_VERSION = '1.26.0'
49
52
 
50
53
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -83,13 +85,28 @@ module Aws::SMS
83
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
84
86
  # credentials.
85
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
86
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
87
103
  # from an EC2 IMDS on an EC2 instance.
88
104
  #
89
- # * `Aws::SharedCredentials` - Used for loading credentials from a
90
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
91
107
  #
92
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
93
110
  #
94
111
  # When `:credentials` are not configured directly, the following
95
112
  # locations will be searched for credentials:
@@ -99,10 +116,10 @@ module Aws::SMS
99
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
100
117
  # * `~/.aws/credentials`
101
118
  # * `~/.aws/config`
102
- # * EC2 IMDS instance profile - When used by default, the timeouts are
103
- # very aggressive. Construct and pass an instance of
104
- # `Aws::InstanceProfileCredentails` to enable retries and extended
105
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
106
123
  #
107
124
  # @option options [required, String] :region
108
125
  # The AWS region to connect to. The configured `:region` is
@@ -324,23 +341,24 @@ module Aws::SMS
324
341
  # groups. Each server group contain one or more servers.
325
342
  #
326
343
  # @option params [String] :name
327
- # Name of the new application.
344
+ # The name of the new application.
328
345
  #
329
346
  # @option params [String] :description
330
- # Description of the new application
347
+ # The description of the new application
331
348
  #
332
349
  # @option params [String] :role_name
333
- # Name of service role in customer's account to be used by AWS SMS.
350
+ # The name of the service role in the customer's account to be used by
351
+ # AWS SMS.
334
352
  #
335
353
  # @option params [String] :client_token
336
- # A unique, case-sensitive identifier you provide to ensure idempotency
337
- # of application creation.
354
+ # A unique, case-sensitive identifier that you provide to ensure the
355
+ # idempotency of application creation.
338
356
  #
339
357
  # @option params [Array<Types::ServerGroup>] :server_groups
340
- # List of server groups to include in the application.
358
+ # The server groups to include in the application.
341
359
  #
342
360
  # @option params [Array<Types::Tag>] :tags
343
- # List of tags to be associated with the application.
361
+ # The tags to be associated with the application.
344
362
  #
345
363
  # @return [Types::CreateAppResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
346
364
  #
@@ -390,14 +408,17 @@ module Aws::SMS
390
408
  # @example Response structure
391
409
  #
392
410
  # resp.app_summary.app_id #=> String
411
+ # resp.app_summary.imported_app_id #=> String
393
412
  # resp.app_summary.name #=> String
394
413
  # resp.app_summary.description #=> String
395
414
  # resp.app_summary.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "DELETE_FAILED"
396
415
  # resp.app_summary.status_message #=> String
397
- # resp.app_summary.replication_status #=> String, one of "READY_FOR_CONFIGURATION", "CONFIGURATION_IN_PROGRESS", "CONFIGURATION_INVALID", "READY_FOR_REPLICATION", "VALIDATION_IN_PROGRESS", "REPLICATION_PENDING", "REPLICATION_IN_PROGRESS", "REPLICATED", "DELTA_REPLICATION_IN_PROGRESS", "DELTA_REPLICATED", "DELTA_REPLICATION_FAILED", "REPLICATION_FAILED", "REPLICATION_STOPPING", "REPLICATION_STOP_FAILED", "REPLICATION_STOPPED"
416
+ # resp.app_summary.replication_configuration_status #=> String, one of "NOT_CONFIGURED", "CONFIGURED"
417
+ # resp.app_summary.replication_status #=> String, one of "READY_FOR_CONFIGURATION", "CONFIGURATION_IN_PROGRESS", "CONFIGURATION_INVALID", "READY_FOR_REPLICATION", "VALIDATION_IN_PROGRESS", "REPLICATION_PENDING", "REPLICATION_IN_PROGRESS", "REPLICATED", "PARTIALLY_REPLICATED", "DELTA_REPLICATION_IN_PROGRESS", "DELTA_REPLICATED", "DELTA_REPLICATION_FAILED", "REPLICATION_FAILED", "REPLICATION_STOPPING", "REPLICATION_STOP_FAILED", "REPLICATION_STOPPED"
398
418
  # resp.app_summary.replication_status_message #=> String
399
419
  # resp.app_summary.latest_replication_time #=> Time
400
- # resp.app_summary.launch_status #=> String, one of "READY_FOR_CONFIGURATION", "CONFIGURATION_IN_PROGRESS", "CONFIGURATION_INVALID", "READY_FOR_LAUNCH", "VALIDATION_IN_PROGRESS", "LAUNCH_PENDING", "LAUNCH_IN_PROGRESS", "LAUNCHED", "DELTA_LAUNCH_IN_PROGRESS", "DELTA_LAUNCH_FAILED", "LAUNCH_FAILED", "TERMINATE_IN_PROGRESS", "TERMINATE_FAILED", "TERMINATED"
420
+ # resp.app_summary.launch_configuration_status #=> String, one of "NOT_CONFIGURED", "CONFIGURED"
421
+ # resp.app_summary.launch_status #=> String, one of "READY_FOR_CONFIGURATION", "CONFIGURATION_IN_PROGRESS", "CONFIGURATION_INVALID", "READY_FOR_LAUNCH", "VALIDATION_IN_PROGRESS", "LAUNCH_PENDING", "LAUNCH_IN_PROGRESS", "LAUNCHED", "PARTIALLY_LAUNCHED", "DELTA_LAUNCH_IN_PROGRESS", "DELTA_LAUNCH_FAILED", "LAUNCH_FAILED", "TERMINATE_IN_PROGRESS", "TERMINATE_FAILED", "TERMINATED"
401
422
  # resp.app_summary.launch_status_message #=> String
402
423
  # resp.app_summary.launch_details.latest_launch_time #=> Time
403
424
  # resp.app_summary.launch_details.stack_name #=> String
@@ -439,7 +460,7 @@ module Aws::SMS
439
460
  # creates an Amazon Machine Image (AMI).
440
461
  #
441
462
  # @option params [required, String] :server_id
442
- # The identifier of the server.
463
+ # The ID of the server.
443
464
  #
444
465
  # @option params [required, Time,DateTime,Date,Integer,String] :seed_replication_time
445
466
  # The seed replication time.
@@ -448,6 +469,7 @@ module Aws::SMS
448
469
  # The time between consecutive replication runs, in hours.
449
470
  #
450
471
  # @option params [Boolean] :run_once
472
+ # Indicates whether to run the replication job one time.
451
473
  #
452
474
  # @option params [String] :license_type
453
475
  # The license type to be used for the AMI created by a successful
@@ -460,27 +482,26 @@ module Aws::SMS
460
482
  # The description of the replication job.
461
483
  #
462
484
  # @option params [Integer] :number_of_recent_amis_to_keep
463
- # The maximum number of SMS-created AMIs to retain. The oldest will be
464
- # deleted once the maximum number is reached and a new AMI is created.
485
+ # The maximum number of SMS-created AMIs to retain. The oldest is
486
+ # deleted after the maximum number is reached and a new AMI is created.
465
487
  #
466
488
  # @option params [Boolean] :encrypted
467
- # When *true*, the replication job produces encrypted AMIs. See also
468
- # `KmsKeyId` below.
489
+ # Indicates whether the replication job produces encrypted AMIs.
469
490
  #
470
491
  # @option params [String] :kms_key_id
471
- # KMS key ID for replication jobs that produce encrypted AMIs. Can be
472
- # any of the following:
492
+ # The ID of the KMS key for replication jobs that produce encrypted
493
+ # AMIs. This value can be any of the following:
473
494
  #
474
495
  # * KMS key ID
475
496
  #
476
497
  # * KMS key alias
477
498
  #
478
- # * ARN referring to KMS key ID
499
+ # * ARN referring to the KMS key ID
479
500
  #
480
- # * ARN referring to KMS key alias
501
+ # * ARN referring to the KMS key alias
481
502
  #
482
- # If encrypted is *true* but a KMS key id is not specified, the
483
- # customer's default KMS key for EBS is used.
503
+ # If encrypted is *true* but a KMS key ID is not specified, the
504
+ # customer's default KMS key for Amazon EBS is used.
484
505
  #
485
506
  # @return [Types::CreateReplicationJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
486
507
  #
@@ -514,20 +535,20 @@ module Aws::SMS
514
535
  req.send_request(options)
515
536
  end
516
537
 
517
- # Deletes an existing application. Optionally deletes the launched stack
518
- # associated with the application and all AWS SMS replication jobs for
519
- # servers in the application.
538
+ # Deletes the specified application. Optionally deletes the launched
539
+ # stack associated with the application and all AWS SMS replication jobs
540
+ # for servers in the application.
520
541
  #
521
542
  # @option params [String] :app_id
522
- # ID of the application to delete.
543
+ # The ID of the application.
523
544
  #
524
545
  # @option params [Boolean] :force_stop_app_replication
525
- # While deleting the application, stop all replication jobs
526
- # corresponding to the servers in the application.
546
+ # Indicates whether to stop all replication jobs corresponding to the
547
+ # servers in the application while deleting the application.
527
548
  #
528
549
  # @option params [Boolean] :force_terminate_app
529
- # While deleting the application, terminate the stack corresponding to
530
- # the application.
550
+ # Indicates whether to terminate the stack corresponding to the
551
+ # application while deleting the application.
531
552
  #
532
553
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
533
554
  #
@@ -548,10 +569,10 @@ module Aws::SMS
548
569
  req.send_request(options)
549
570
  end
550
571
 
551
- # Deletes existing launch configuration for an application.
572
+ # Deletes the launch configuration for the specified application.
552
573
  #
553
574
  # @option params [String] :app_id
554
- # ID of the application associated with the launch configuration.
575
+ # The ID of the application.
555
576
  #
556
577
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
557
578
  #
@@ -570,10 +591,10 @@ module Aws::SMS
570
591
  req.send_request(options)
571
592
  end
572
593
 
573
- # Deletes existing replication configuration for an application.
594
+ # Deletes the replication configuration for the specified application.
574
595
  #
575
596
  # @option params [String] :app_id
576
- # ID of the application associated with the replication configuration.
597
+ # The ID of the application.
577
598
  #
578
599
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
579
600
  #
@@ -592,6 +613,28 @@ module Aws::SMS
592
613
  req.send_request(options)
593
614
  end
594
615
 
616
+ # Deletes the validation configuration for the specified application.
617
+ #
618
+ # @option params [required, String] :app_id
619
+ # The ID of the application.
620
+ #
621
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
622
+ #
623
+ # @example Request syntax with placeholder values
624
+ #
625
+ # resp = client.delete_app_validation_configuration({
626
+ # app_id: "AppIdWithValidation", # required
627
+ # })
628
+ #
629
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteAppValidationConfiguration AWS API Documentation
630
+ #
631
+ # @overload delete_app_validation_configuration(params = {})
632
+ # @param [Hash] params ({})
633
+ def delete_app_validation_configuration(params = {}, options = {})
634
+ req = build_request(:delete_app_validation_configuration, params)
635
+ req.send_request(options)
636
+ end
637
+
595
638
  # Deletes the specified replication job.
596
639
  #
597
640
  # After you delete a replication job, there are no further replication
@@ -600,7 +643,7 @@ module Aws::SMS
600
643
  # deleted.
601
644
  #
602
645
  # @option params [required, String] :replication_job_id
603
- # The identifier of the replication job.
646
+ # The ID of the replication job.
604
647
  #
605
648
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
606
649
  #
@@ -638,7 +681,7 @@ module Aws::SMS
638
681
  # support replication jobs.
639
682
  #
640
683
  # @option params [required, String] :connector_id
641
- # The identifier of the connector.
684
+ # The ID of the connector.
642
685
  #
643
686
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
644
687
  #
@@ -661,10 +704,10 @@ module Aws::SMS
661
704
  # writes it to an Amazon S3 object in the customer’s Amazon S3 bucket.
662
705
  #
663
706
  # @option params [String] :app_id
664
- # ID of the application associated with the change set.
707
+ # The ID of the application associated with the change set.
665
708
  #
666
709
  # @option params [String] :changeset_format
667
- # Format for the change set.
710
+ # The format for the change set.
668
711
  #
669
712
  # @return [Types::GenerateChangeSetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
670
713
  #
@@ -691,16 +734,16 @@ module Aws::SMS
691
734
  req.send_request(options)
692
735
  end
693
736
 
694
- # Generates an Amazon CloudFormation template based on the current
695
- # launch configuration and writes it to an Amazon S3 object in the
696
- # customer’s Amazon S3 bucket.
737
+ # Generates an AWS CloudFormation template based on the current launch
738
+ # configuration and writes it to an Amazon S3 object in the customer’s
739
+ # Amazon S3 bucket.
697
740
  #
698
741
  # @option params [String] :app_id
699
- # ID of the application associated with the Amazon CloudFormation
742
+ # The ID of the application associated with the AWS CloudFormation
700
743
  # template.
701
744
  #
702
745
  # @option params [String] :template_format
703
- # Format for generating the Amazon CloudFormation template.
746
+ # The format for generating the AWS CloudFormation template.
704
747
  #
705
748
  # @return [Types::GenerateTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
706
749
  #
@@ -727,10 +770,10 @@ module Aws::SMS
727
770
  req.send_request(options)
728
771
  end
729
772
 
730
- # Retrieve information about an application.
773
+ # Retrieve information about the specified application.
731
774
  #
732
775
  # @option params [String] :app_id
733
- # ID of the application whose information is being retrieved.
776
+ # The ID of the application.
734
777
  #
735
778
  # @return [Types::GetAppResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
736
779
  #
@@ -747,14 +790,17 @@ module Aws::SMS
747
790
  # @example Response structure
748
791
  #
749
792
  # resp.app_summary.app_id #=> String
793
+ # resp.app_summary.imported_app_id #=> String
750
794
  # resp.app_summary.name #=> String
751
795
  # resp.app_summary.description #=> String
752
796
  # resp.app_summary.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "DELETE_FAILED"
753
797
  # resp.app_summary.status_message #=> String
754
- # resp.app_summary.replication_status #=> String, one of "READY_FOR_CONFIGURATION", "CONFIGURATION_IN_PROGRESS", "CONFIGURATION_INVALID", "READY_FOR_REPLICATION", "VALIDATION_IN_PROGRESS", "REPLICATION_PENDING", "REPLICATION_IN_PROGRESS", "REPLICATED", "DELTA_REPLICATION_IN_PROGRESS", "DELTA_REPLICATED", "DELTA_REPLICATION_FAILED", "REPLICATION_FAILED", "REPLICATION_STOPPING", "REPLICATION_STOP_FAILED", "REPLICATION_STOPPED"
798
+ # resp.app_summary.replication_configuration_status #=> String, one of "NOT_CONFIGURED", "CONFIGURED"
799
+ # resp.app_summary.replication_status #=> String, one of "READY_FOR_CONFIGURATION", "CONFIGURATION_IN_PROGRESS", "CONFIGURATION_INVALID", "READY_FOR_REPLICATION", "VALIDATION_IN_PROGRESS", "REPLICATION_PENDING", "REPLICATION_IN_PROGRESS", "REPLICATED", "PARTIALLY_REPLICATED", "DELTA_REPLICATION_IN_PROGRESS", "DELTA_REPLICATED", "DELTA_REPLICATION_FAILED", "REPLICATION_FAILED", "REPLICATION_STOPPING", "REPLICATION_STOP_FAILED", "REPLICATION_STOPPED"
755
800
  # resp.app_summary.replication_status_message #=> String
756
801
  # resp.app_summary.latest_replication_time #=> Time
757
- # resp.app_summary.launch_status #=> String, one of "READY_FOR_CONFIGURATION", "CONFIGURATION_IN_PROGRESS", "CONFIGURATION_INVALID", "READY_FOR_LAUNCH", "VALIDATION_IN_PROGRESS", "LAUNCH_PENDING", "LAUNCH_IN_PROGRESS", "LAUNCHED", "DELTA_LAUNCH_IN_PROGRESS", "DELTA_LAUNCH_FAILED", "LAUNCH_FAILED", "TERMINATE_IN_PROGRESS", "TERMINATE_FAILED", "TERMINATED"
802
+ # resp.app_summary.launch_configuration_status #=> String, one of "NOT_CONFIGURED", "CONFIGURED"
803
+ # resp.app_summary.launch_status #=> String, one of "READY_FOR_CONFIGURATION", "CONFIGURATION_IN_PROGRESS", "CONFIGURATION_INVALID", "READY_FOR_LAUNCH", "VALIDATION_IN_PROGRESS", "LAUNCH_PENDING", "LAUNCH_IN_PROGRESS", "LAUNCHED", "PARTIALLY_LAUNCHED", "DELTA_LAUNCH_IN_PROGRESS", "DELTA_LAUNCH_FAILED", "LAUNCH_FAILED", "TERMINATE_IN_PROGRESS", "TERMINATE_FAILED", "TERMINATED"
758
804
  # resp.app_summary.launch_status_message #=> String
759
805
  # resp.app_summary.launch_details.latest_launch_time #=> Time
760
806
  # resp.app_summary.launch_details.stack_name #=> String
@@ -791,16 +837,17 @@ module Aws::SMS
791
837
  req.send_request(options)
792
838
  end
793
839
 
794
- # Retrieves the application launch configuration associated with an
795
- # application.
840
+ # Retrieves the application launch configuration associated with the
841
+ # specified application.
796
842
  #
797
843
  # @option params [String] :app_id
798
- # ID of the application launch configuration.
844
+ # The ID of the application.
799
845
  #
800
846
  # @return [Types::GetAppLaunchConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
801
847
  #
802
848
  # * {Types::GetAppLaunchConfigurationResponse#app_id #app_id} => String
803
849
  # * {Types::GetAppLaunchConfigurationResponse#role_name #role_name} => String
850
+ # * {Types::GetAppLaunchConfigurationResponse#auto_launch #auto_launch} => Boolean
804
851
  # * {Types::GetAppLaunchConfigurationResponse#server_group_launch_configurations #server_group_launch_configurations} => Array&lt;Types::ServerGroupLaunchConfiguration&gt;
805
852
  #
806
853
  # @example Request syntax with placeholder values
@@ -813,6 +860,7 @@ module Aws::SMS
813
860
  #
814
861
  # resp.app_id #=> String
815
862
  # resp.role_name #=> String
863
+ # resp.auto_launch #=> Boolean
816
864
  # resp.server_group_launch_configurations #=> Array
817
865
  # resp.server_group_launch_configurations[0].server_group_id #=> String
818
866
  # resp.server_group_launch_configurations[0].launch_order #=> Integer
@@ -836,6 +884,10 @@ module Aws::SMS
836
884
  # resp.server_group_launch_configurations[0].server_launch_configurations[0].user_data.s3_location.key #=> String
837
885
  # resp.server_group_launch_configurations[0].server_launch_configurations[0].instance_type #=> String
838
886
  # resp.server_group_launch_configurations[0].server_launch_configurations[0].associate_public_ip_address #=> Boolean
887
+ # resp.server_group_launch_configurations[0].server_launch_configurations[0].iam_instance_profile_name #=> String
888
+ # resp.server_group_launch_configurations[0].server_launch_configurations[0].configure_script.bucket #=> String
889
+ # resp.server_group_launch_configurations[0].server_launch_configurations[0].configure_script.key #=> String
890
+ # resp.server_group_launch_configurations[0].server_launch_configurations[0].configure_script_type #=> String, one of "SHELL_SCRIPT", "POWERSHELL_SCRIPT"
839
891
  #
840
892
  # @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetAppLaunchConfiguration AWS API Documentation
841
893
  #
@@ -846,11 +898,11 @@ module Aws::SMS
846
898
  req.send_request(options)
847
899
  end
848
900
 
849
- # Retrieves an application replication configuration associatd with an
850
- # application.
901
+ # Retrieves the application replication configuration associated with
902
+ # the specified application.
851
903
  #
852
904
  # @option params [String] :app_id
853
- # ID of the application associated with the replication configuration.
905
+ # The ID of the application.
854
906
  #
855
907
  # @return [Types::GetAppReplicationConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
856
908
  #
@@ -894,6 +946,110 @@ module Aws::SMS
894
946
  req.send_request(options)
895
947
  end
896
948
 
949
+ # Retrieves information about a configuration for validating an
950
+ # application.
951
+ #
952
+ # @option params [required, String] :app_id
953
+ # The ID of the application.
954
+ #
955
+ # @return [Types::GetAppValidationConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
956
+ #
957
+ # * {Types::GetAppValidationConfigurationResponse#app_validation_configurations #app_validation_configurations} => Array&lt;Types::AppValidationConfiguration&gt;
958
+ # * {Types::GetAppValidationConfigurationResponse#server_group_validation_configurations #server_group_validation_configurations} => Array&lt;Types::ServerGroupValidationConfiguration&gt;
959
+ #
960
+ # @example Request syntax with placeholder values
961
+ #
962
+ # resp = client.get_app_validation_configuration({
963
+ # app_id: "AppIdWithValidation", # required
964
+ # })
965
+ #
966
+ # @example Response structure
967
+ #
968
+ # resp.app_validation_configurations #=> Array
969
+ # resp.app_validation_configurations[0].validation_id #=> String
970
+ # resp.app_validation_configurations[0].name #=> String
971
+ # resp.app_validation_configurations[0].app_validation_strategy #=> String, one of "SSM"
972
+ # resp.app_validation_configurations[0].ssm_validation_parameters.source.s3_location.bucket #=> String
973
+ # resp.app_validation_configurations[0].ssm_validation_parameters.source.s3_location.key #=> String
974
+ # resp.app_validation_configurations[0].ssm_validation_parameters.instance_id #=> String
975
+ # resp.app_validation_configurations[0].ssm_validation_parameters.script_type #=> String, one of "SHELL_SCRIPT", "POWERSHELL_SCRIPT"
976
+ # resp.app_validation_configurations[0].ssm_validation_parameters.command #=> String
977
+ # resp.app_validation_configurations[0].ssm_validation_parameters.execution_timeout_seconds #=> Integer
978
+ # resp.app_validation_configurations[0].ssm_validation_parameters.output_s3_bucket_name #=> String
979
+ # resp.server_group_validation_configurations #=> Array
980
+ # resp.server_group_validation_configurations[0].server_group_id #=> String
981
+ # resp.server_group_validation_configurations[0].server_validation_configurations #=> Array
982
+ # resp.server_group_validation_configurations[0].server_validation_configurations[0].server.server_id #=> String
983
+ # resp.server_group_validation_configurations[0].server_validation_configurations[0].server.server_type #=> String, one of "VIRTUAL_MACHINE"
984
+ # resp.server_group_validation_configurations[0].server_validation_configurations[0].server.vm_server.vm_server_address.vm_manager_id #=> String
985
+ # resp.server_group_validation_configurations[0].server_validation_configurations[0].server.vm_server.vm_server_address.vm_id #=> String
986
+ # resp.server_group_validation_configurations[0].server_validation_configurations[0].server.vm_server.vm_name #=> String
987
+ # resp.server_group_validation_configurations[0].server_validation_configurations[0].server.vm_server.vm_manager_name #=> String
988
+ # resp.server_group_validation_configurations[0].server_validation_configurations[0].server.vm_server.vm_manager_type #=> String, one of "VSPHERE", "SCVMM", "HYPERV-MANAGER"
989
+ # resp.server_group_validation_configurations[0].server_validation_configurations[0].server.vm_server.vm_path #=> String
990
+ # resp.server_group_validation_configurations[0].server_validation_configurations[0].server.replication_job_id #=> String
991
+ # resp.server_group_validation_configurations[0].server_validation_configurations[0].server.replication_job_terminated #=> Boolean
992
+ # resp.server_group_validation_configurations[0].server_validation_configurations[0].validation_id #=> String
993
+ # resp.server_group_validation_configurations[0].server_validation_configurations[0].name #=> String
994
+ # resp.server_group_validation_configurations[0].server_validation_configurations[0].server_validation_strategy #=> String, one of "USERDATA"
995
+ # resp.server_group_validation_configurations[0].server_validation_configurations[0].user_data_validation_parameters.source.s3_location.bucket #=> String
996
+ # resp.server_group_validation_configurations[0].server_validation_configurations[0].user_data_validation_parameters.source.s3_location.key #=> String
997
+ # resp.server_group_validation_configurations[0].server_validation_configurations[0].user_data_validation_parameters.script_type #=> String, one of "SHELL_SCRIPT", "POWERSHELL_SCRIPT"
998
+ #
999
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetAppValidationConfiguration AWS API Documentation
1000
+ #
1001
+ # @overload get_app_validation_configuration(params = {})
1002
+ # @param [Hash] params ({})
1003
+ def get_app_validation_configuration(params = {}, options = {})
1004
+ req = build_request(:get_app_validation_configuration, params)
1005
+ req.send_request(options)
1006
+ end
1007
+
1008
+ # Retrieves output from validating an application.
1009
+ #
1010
+ # @option params [required, String] :app_id
1011
+ # The ID of the application.
1012
+ #
1013
+ # @return [Types::GetAppValidationOutputResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1014
+ #
1015
+ # * {Types::GetAppValidationOutputResponse#validation_output_list #validation_output_list} => Array&lt;Types::ValidationOutput&gt;
1016
+ #
1017
+ # @example Request syntax with placeholder values
1018
+ #
1019
+ # resp = client.get_app_validation_output({
1020
+ # app_id: "AppIdWithValidation", # required
1021
+ # })
1022
+ #
1023
+ # @example Response structure
1024
+ #
1025
+ # resp.validation_output_list #=> Array
1026
+ # resp.validation_output_list[0].validation_id #=> String
1027
+ # resp.validation_output_list[0].name #=> String
1028
+ # resp.validation_output_list[0].status #=> String, one of "READY_FOR_VALIDATION", "PENDING", "IN_PROGRESS", "SUCCEEDED", "FAILED"
1029
+ # resp.validation_output_list[0].status_message #=> String
1030
+ # resp.validation_output_list[0].latest_validation_time #=> Time
1031
+ # resp.validation_output_list[0].app_validation_output.ssm_output.s3_location.bucket #=> String
1032
+ # resp.validation_output_list[0].app_validation_output.ssm_output.s3_location.key #=> String
1033
+ # resp.validation_output_list[0].server_validation_output.server.server_id #=> String
1034
+ # resp.validation_output_list[0].server_validation_output.server.server_type #=> String, one of "VIRTUAL_MACHINE"
1035
+ # resp.validation_output_list[0].server_validation_output.server.vm_server.vm_server_address.vm_manager_id #=> String
1036
+ # resp.validation_output_list[0].server_validation_output.server.vm_server.vm_server_address.vm_id #=> String
1037
+ # resp.validation_output_list[0].server_validation_output.server.vm_server.vm_name #=> String
1038
+ # resp.validation_output_list[0].server_validation_output.server.vm_server.vm_manager_name #=> String
1039
+ # resp.validation_output_list[0].server_validation_output.server.vm_server.vm_manager_type #=> String, one of "VSPHERE", "SCVMM", "HYPERV-MANAGER"
1040
+ # resp.validation_output_list[0].server_validation_output.server.vm_server.vm_path #=> String
1041
+ # resp.validation_output_list[0].server_validation_output.server.replication_job_id #=> String
1042
+ # resp.validation_output_list[0].server_validation_output.server.replication_job_terminated #=> Boolean
1043
+ #
1044
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetAppValidationOutput AWS API Documentation
1045
+ #
1046
+ # @overload get_app_validation_output(params = {})
1047
+ # @param [Hash] params ({})
1048
+ def get_app_validation_output(params = {}, options = {})
1049
+ req = build_request(:get_app_validation_output, params)
1050
+ req.send_request(options)
1051
+ end
1052
+
897
1053
  # Describes the connectors registered with the AWS SMS.
898
1054
  #
899
1055
  # @option params [String] :next_token
@@ -925,7 +1081,7 @@ module Aws::SMS
925
1081
  # resp.connector_list[0].version #=> String
926
1082
  # resp.connector_list[0].status #=> String, one of "HEALTHY", "UNHEALTHY"
927
1083
  # resp.connector_list[0].capability_list #=> Array
928
- # resp.connector_list[0].capability_list[0] #=> String, one of "VSPHERE", "SCVMM", "HYPERV-MANAGER", "SNAPSHOT_BATCHING"
1084
+ # resp.connector_list[0].capability_list[0] #=> String, one of "VSPHERE", "SCVMM", "HYPERV-MANAGER", "SNAPSHOT_BATCHING", "SMS_OPTIMIZED"
929
1085
  # resp.connector_list[0].vm_manager_name #=> String
930
1086
  # resp.connector_list[0].vm_manager_type #=> String, one of "VSPHERE", "SCVMM", "HYPERV-MANAGER"
931
1087
  # resp.connector_list[0].vm_manager_id #=> String
@@ -947,7 +1103,7 @@ module Aws::SMS
947
1103
  # jobs.
948
1104
  #
949
1105
  # @option params [String] :replication_job_id
950
- # The identifier of the replication job.
1106
+ # The ID of the replication job.
951
1107
  #
952
1108
  # @option params [String] :next_token
953
1109
  # The token for the next set of results.
@@ -1024,7 +1180,7 @@ module Aws::SMS
1024
1180
  # Describes the replication runs for the specified replication job.
1025
1181
  #
1026
1182
  # @option params [required, String] :replication_job_id
1027
- # The identifier of the replication job.
1183
+ # The ID of the replication job.
1028
1184
  #
1029
1185
  # @option params [String] :next_token
1030
1186
  # The token for the next set of results.
@@ -1125,7 +1281,7 @@ module Aws::SMS
1125
1281
  # the returned `NextToken` value.
1126
1282
  #
1127
1283
  # @option params [Array<Types::VmServerAddress>] :vm_server_address_list
1128
- # List of `VmServerAddress` objects
1284
+ # The server addresses.
1129
1285
  #
1130
1286
  # @return [Types::GetServersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1131
1287
  #
@@ -1175,8 +1331,37 @@ module Aws::SMS
1175
1331
  req.send_request(options)
1176
1332
  end
1177
1333
 
1334
+ # Allows application import from AWS Migration Hub.
1335
+ #
1336
+ # @option params [String] :role_name
1337
+ # The name of the service role. If you omit this parameter, we create a
1338
+ # service-linked role for AWS Migration Hub in your account. Otherwise,
1339
+ # the role that you provide must have the [policy and trust policy][1]
1340
+ # described in the *AWS Migration Hub User Guide*.
1341
+ #
1342
+ #
1343
+ #
1344
+ # [1]: https://docs.aws.amazon.com/migrationhub/latest/ug/new-customer-setup.html#sms-managed
1345
+ #
1346
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1347
+ #
1348
+ # @example Request syntax with placeholder values
1349
+ #
1350
+ # resp = client.import_app_catalog({
1351
+ # role_name: "RoleName",
1352
+ # })
1353
+ #
1354
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ImportAppCatalog AWS API Documentation
1355
+ #
1356
+ # @overload import_app_catalog(params = {})
1357
+ # @param [Hash] params ({})
1358
+ def import_app_catalog(params = {}, options = {})
1359
+ req = build_request(:import_app_catalog, params)
1360
+ req.send_request(options)
1361
+ end
1362
+
1178
1363
  # Gathers a complete list of on-premises servers. Connectors must be
1179
- # installed and monitoring all servers that you want to import.
1364
+ # installed and monitoring all servers to import.
1180
1365
  #
1181
1366
  # This call returns immediately, but might take additional time to
1182
1367
  # retrieve all the servers.
@@ -1192,10 +1377,10 @@ module Aws::SMS
1192
1377
  req.send_request(options)
1193
1378
  end
1194
1379
 
1195
- # Launches an application stack.
1380
+ # Launches the specified application as a stack in AWS CloudFormation.
1196
1381
  #
1197
1382
  # @option params [String] :app_id
1198
- # ID of the application to launch.
1383
+ # The ID of the application.
1199
1384
  #
1200
1385
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1201
1386
  #
@@ -1214,17 +1399,18 @@ module Aws::SMS
1214
1399
  req.send_request(options)
1215
1400
  end
1216
1401
 
1217
- # Returns a list of summaries for all applications.
1402
+ # Retrieves summaries for all applications.
1218
1403
  #
1219
1404
  # @option params [Array<String>] :app_ids
1405
+ # The unique application IDs.
1220
1406
  #
1221
1407
  # @option params [String] :next_token
1222
1408
  # The token for the next set of results.
1223
1409
  #
1224
1410
  # @option params [Integer] :max_results
1225
1411
  # The maximum number of results to return in a single call. The default
1226
- # value is 50. To retrieve the remaining results, make another call with
1227
- # the returned `NextToken` value.
1412
+ # value is 100. To retrieve the remaining results, make another call
1413
+ # with the returned `NextToken` value.
1228
1414
  #
1229
1415
  # @return [Types::ListAppsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1230
1416
  #
@@ -1243,14 +1429,17 @@ module Aws::SMS
1243
1429
  #
1244
1430
  # resp.apps #=> Array
1245
1431
  # resp.apps[0].app_id #=> String
1432
+ # resp.apps[0].imported_app_id #=> String
1246
1433
  # resp.apps[0].name #=> String
1247
1434
  # resp.apps[0].description #=> String
1248
1435
  # resp.apps[0].status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "DELETE_FAILED"
1249
1436
  # resp.apps[0].status_message #=> String
1250
- # resp.apps[0].replication_status #=> String, one of "READY_FOR_CONFIGURATION", "CONFIGURATION_IN_PROGRESS", "CONFIGURATION_INVALID", "READY_FOR_REPLICATION", "VALIDATION_IN_PROGRESS", "REPLICATION_PENDING", "REPLICATION_IN_PROGRESS", "REPLICATED", "DELTA_REPLICATION_IN_PROGRESS", "DELTA_REPLICATED", "DELTA_REPLICATION_FAILED", "REPLICATION_FAILED", "REPLICATION_STOPPING", "REPLICATION_STOP_FAILED", "REPLICATION_STOPPED"
1437
+ # resp.apps[0].replication_configuration_status #=> String, one of "NOT_CONFIGURED", "CONFIGURED"
1438
+ # resp.apps[0].replication_status #=> String, one of "READY_FOR_CONFIGURATION", "CONFIGURATION_IN_PROGRESS", "CONFIGURATION_INVALID", "READY_FOR_REPLICATION", "VALIDATION_IN_PROGRESS", "REPLICATION_PENDING", "REPLICATION_IN_PROGRESS", "REPLICATED", "PARTIALLY_REPLICATED", "DELTA_REPLICATION_IN_PROGRESS", "DELTA_REPLICATED", "DELTA_REPLICATION_FAILED", "REPLICATION_FAILED", "REPLICATION_STOPPING", "REPLICATION_STOP_FAILED", "REPLICATION_STOPPED"
1251
1439
  # resp.apps[0].replication_status_message #=> String
1252
1440
  # resp.apps[0].latest_replication_time #=> Time
1253
- # resp.apps[0].launch_status #=> String, one of "READY_FOR_CONFIGURATION", "CONFIGURATION_IN_PROGRESS", "CONFIGURATION_INVALID", "READY_FOR_LAUNCH", "VALIDATION_IN_PROGRESS", "LAUNCH_PENDING", "LAUNCH_IN_PROGRESS", "LAUNCHED", "DELTA_LAUNCH_IN_PROGRESS", "DELTA_LAUNCH_FAILED", "LAUNCH_FAILED", "TERMINATE_IN_PROGRESS", "TERMINATE_FAILED", "TERMINATED"
1441
+ # resp.apps[0].launch_configuration_status #=> String, one of "NOT_CONFIGURED", "CONFIGURED"
1442
+ # resp.apps[0].launch_status #=> String, one of "READY_FOR_CONFIGURATION", "CONFIGURATION_IN_PROGRESS", "CONFIGURATION_INVALID", "READY_FOR_LAUNCH", "VALIDATION_IN_PROGRESS", "LAUNCH_PENDING", "LAUNCH_IN_PROGRESS", "LAUNCHED", "PARTIALLY_LAUNCHED", "DELTA_LAUNCH_IN_PROGRESS", "DELTA_LAUNCH_FAILED", "LAUNCH_FAILED", "TERMINATE_IN_PROGRESS", "TERMINATE_FAILED", "TERMINATED"
1254
1443
  # resp.apps[0].launch_status_message #=> String
1255
1444
  # resp.apps[0].launch_details.latest_launch_time #=> Time
1256
1445
  # resp.apps[0].launch_details.stack_name #=> String
@@ -1271,17 +1460,54 @@ module Aws::SMS
1271
1460
  req.send_request(options)
1272
1461
  end
1273
1462
 
1274
- # Creates a launch configuration for an application.
1463
+ # Provides information to AWS SMS about whether application validation
1464
+ # is successful.
1465
+ #
1466
+ # @option params [required, String] :app_id
1467
+ # The ID of the application.
1468
+ #
1469
+ # @option params [Types::NotificationContext] :notification_context
1470
+ # The notification information.
1471
+ #
1472
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1473
+ #
1474
+ # @example Request syntax with placeholder values
1475
+ #
1476
+ # resp = client.notify_app_validation_output({
1477
+ # app_id: "AppIdWithValidation", # required
1478
+ # notification_context: {
1479
+ # validation_id: "ValidationId",
1480
+ # status: "READY_FOR_VALIDATION", # accepts READY_FOR_VALIDATION, PENDING, IN_PROGRESS, SUCCEEDED, FAILED
1481
+ # status_message: "ValidationStatusMessage",
1482
+ # },
1483
+ # })
1484
+ #
1485
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/NotifyAppValidationOutput AWS API Documentation
1486
+ #
1487
+ # @overload notify_app_validation_output(params = {})
1488
+ # @param [Hash] params ({})
1489
+ def notify_app_validation_output(params = {}, options = {})
1490
+ req = build_request(:notify_app_validation_output, params)
1491
+ req.send_request(options)
1492
+ end
1493
+
1494
+ # Creates or updates the launch configuration for the specified
1495
+ # application.
1275
1496
  #
1276
1497
  # @option params [String] :app_id
1277
- # ID of the application associated with the launch configuration.
1498
+ # The ID of the application.
1278
1499
  #
1279
1500
  # @option params [String] :role_name
1280
- # Name of service role in the customer's account that Amazon
1501
+ # The name of service role in the customer's account that AWS
1281
1502
  # CloudFormation uses to launch the application.
1282
1503
  #
1504
+ # @option params [Boolean] :auto_launch
1505
+ # Indicates whether the application is configured to launch
1506
+ # automatically after replication is complete.
1507
+ #
1283
1508
  # @option params [Array<Types::ServerGroupLaunchConfiguration>] :server_group_launch_configurations
1284
- # Launch configurations for server groups in the application.
1509
+ # Information about the launch configurations for server groups in the
1510
+ # application.
1285
1511
  #
1286
1512
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1287
1513
  #
@@ -1290,6 +1516,7 @@ module Aws::SMS
1290
1516
  # resp = client.put_app_launch_configuration({
1291
1517
  # app_id: "AppId",
1292
1518
  # role_name: "RoleName",
1519
+ # auto_launch: false,
1293
1520
  # server_group_launch_configurations: [
1294
1521
  # {
1295
1522
  # server_group_id: "ServerGroupId",
@@ -1319,12 +1546,18 @@ module Aws::SMS
1319
1546
  # ec2_key_name: "EC2KeyName",
1320
1547
  # user_data: {
1321
1548
  # s3_location: {
1322
- # bucket: "BucketName",
1323
- # key: "KeyName",
1549
+ # bucket: "S3BucketName",
1550
+ # key: "S3KeyName",
1324
1551
  # },
1325
1552
  # },
1326
1553
  # instance_type: "InstanceType",
1327
1554
  # associate_public_ip_address: false,
1555
+ # iam_instance_profile_name: "RoleName",
1556
+ # configure_script: {
1557
+ # bucket: "S3BucketName",
1558
+ # key: "S3KeyName",
1559
+ # },
1560
+ # configure_script_type: "SHELL_SCRIPT", # accepts SHELL_SCRIPT, POWERSHELL_SCRIPT
1328
1561
  # },
1329
1562
  # ],
1330
1563
  # },
@@ -1340,13 +1573,15 @@ module Aws::SMS
1340
1573
  req.send_request(options)
1341
1574
  end
1342
1575
 
1343
- # Creates or updates a replication configuration for an application.
1576
+ # Creates or updates the replication configuration for the specified
1577
+ # application.
1344
1578
  #
1345
1579
  # @option params [String] :app_id
1346
- # ID of the application tassociated with the replication configuration.
1580
+ # The ID of the application.
1347
1581
  #
1348
1582
  # @option params [Array<Types::ServerGroupReplicationConfiguration>] :server_group_replication_configurations
1349
- # Replication configurations for server groups in the application.
1583
+ # Information about the replication configurations for server groups in
1584
+ # the application.
1350
1585
  #
1351
1586
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1352
1587
  #
@@ -1399,10 +1634,97 @@ module Aws::SMS
1399
1634
  req.send_request(options)
1400
1635
  end
1401
1636
 
1402
- # Starts replicating an application.
1637
+ # Creates or updates a validation configuration for the specified
1638
+ # application.
1639
+ #
1640
+ # @option params [required, String] :app_id
1641
+ # The ID of the application.
1642
+ #
1643
+ # @option params [Array<Types::AppValidationConfiguration>] :app_validation_configurations
1644
+ # The configuration for application validation.
1645
+ #
1646
+ # @option params [Array<Types::ServerGroupValidationConfiguration>] :server_group_validation_configurations
1647
+ # The configuration for instance validation.
1648
+ #
1649
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1650
+ #
1651
+ # @example Request syntax with placeholder values
1652
+ #
1653
+ # resp = client.put_app_validation_configuration({
1654
+ # app_id: "AppIdWithValidation", # required
1655
+ # app_validation_configurations: [
1656
+ # {
1657
+ # validation_id: "ValidationId",
1658
+ # name: "NonEmptyStringWithMaxLen255",
1659
+ # app_validation_strategy: "SSM", # accepts SSM
1660
+ # ssm_validation_parameters: {
1661
+ # source: {
1662
+ # s3_location: {
1663
+ # bucket: "S3BucketName",
1664
+ # key: "S3KeyName",
1665
+ # },
1666
+ # },
1667
+ # instance_id: "InstanceId",
1668
+ # script_type: "SHELL_SCRIPT", # accepts SHELL_SCRIPT, POWERSHELL_SCRIPT
1669
+ # command: "Command",
1670
+ # execution_timeout_seconds: 1,
1671
+ # output_s3_bucket_name: "BucketName",
1672
+ # },
1673
+ # },
1674
+ # ],
1675
+ # server_group_validation_configurations: [
1676
+ # {
1677
+ # server_group_id: "ServerGroupId",
1678
+ # server_validation_configurations: [
1679
+ # {
1680
+ # server: {
1681
+ # server_id: "ServerId",
1682
+ # server_type: "VIRTUAL_MACHINE", # accepts VIRTUAL_MACHINE
1683
+ # vm_server: {
1684
+ # vm_server_address: {
1685
+ # vm_manager_id: "VmManagerId",
1686
+ # vm_id: "VmId",
1687
+ # },
1688
+ # vm_name: "VmName",
1689
+ # vm_manager_name: "VmManagerName",
1690
+ # vm_manager_type: "VSPHERE", # accepts VSPHERE, SCVMM, HYPERV-MANAGER
1691
+ # vm_path: "VmPath",
1692
+ # },
1693
+ # replication_job_id: "ReplicationJobId",
1694
+ # replication_job_terminated: false,
1695
+ # },
1696
+ # validation_id: "ValidationId",
1697
+ # name: "NonEmptyStringWithMaxLen255",
1698
+ # server_validation_strategy: "USERDATA", # accepts USERDATA
1699
+ # user_data_validation_parameters: {
1700
+ # source: {
1701
+ # s3_location: {
1702
+ # bucket: "S3BucketName",
1703
+ # key: "S3KeyName",
1704
+ # },
1705
+ # },
1706
+ # script_type: "SHELL_SCRIPT", # accepts SHELL_SCRIPT, POWERSHELL_SCRIPT
1707
+ # },
1708
+ # },
1709
+ # ],
1710
+ # },
1711
+ # ],
1712
+ # })
1713
+ #
1714
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/PutAppValidationConfiguration AWS API Documentation
1715
+ #
1716
+ # @overload put_app_validation_configuration(params = {})
1717
+ # @param [Hash] params ({})
1718
+ def put_app_validation_configuration(params = {}, options = {})
1719
+ req = build_request(:put_app_validation_configuration, params)
1720
+ req.send_request(options)
1721
+ end
1722
+
1723
+ # Starts replicating the specified application by creating replication
1724
+ # jobs for each server in the application.
1403
1725
  #
1404
1726
  # @option params [String] :app_id
1405
- # ID of the application to replicate.
1727
+ # The ID of the application.
1406
1728
  #
1407
1729
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1408
1730
  #
@@ -1421,15 +1743,41 @@ module Aws::SMS
1421
1743
  req.send_request(options)
1422
1744
  end
1423
1745
 
1746
+ # Starts an on-demand replication run for the specified application.
1747
+ #
1748
+ # @option params [required, String] :app_id
1749
+ # The ID of the application.
1750
+ #
1751
+ # @option params [String] :description
1752
+ # The description of the replication run.
1753
+ #
1754
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1755
+ #
1756
+ # @example Request syntax with placeholder values
1757
+ #
1758
+ # resp = client.start_on_demand_app_replication({
1759
+ # app_id: "AppId", # required
1760
+ # description: "Description",
1761
+ # })
1762
+ #
1763
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/StartOnDemandAppReplication AWS API Documentation
1764
+ #
1765
+ # @overload start_on_demand_app_replication(params = {})
1766
+ # @param [Hash] params ({})
1767
+ def start_on_demand_app_replication(params = {}, options = {})
1768
+ req = build_request(:start_on_demand_app_replication, params)
1769
+ req.send_request(options)
1770
+ end
1771
+
1424
1772
  # Starts an on-demand replication run for the specified replication job.
1425
1773
  # This replication run starts immediately. This replication run is in
1426
1774
  # addition to the ones already scheduled.
1427
1775
  #
1428
- # There is a limit on the number of on-demand replications runs you can
1429
- # request in a 24-hour period.
1776
+ # There is a limit on the number of on-demand replications runs that you
1777
+ # can request in a 24-hour period.
1430
1778
  #
1431
1779
  # @option params [required, String] :replication_job_id
1432
- # The identifier of the replication job.
1780
+ # The ID of the replication job.
1433
1781
  #
1434
1782
  # @option params [String] :description
1435
1783
  # The description of the replication run.
@@ -1458,10 +1806,11 @@ module Aws::SMS
1458
1806
  req.send_request(options)
1459
1807
  end
1460
1808
 
1461
- # Stops replicating an application.
1809
+ # Stops replicating the specified application by deleting the
1810
+ # replication job for each server in the application.
1462
1811
  #
1463
1812
  # @option params [String] :app_id
1464
- # ID of the application to stop replicating.
1813
+ # The ID of the application.
1465
1814
  #
1466
1815
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1467
1816
  #
@@ -1480,10 +1829,10 @@ module Aws::SMS
1480
1829
  req.send_request(options)
1481
1830
  end
1482
1831
 
1483
- # Terminates the stack for an application.
1832
+ # Terminates the stack for the specified application.
1484
1833
  #
1485
1834
  # @option params [String] :app_id
1486
- # ID of the application to terminate.
1835
+ # The ID of the application.
1487
1836
  #
1488
1837
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1489
1838
  #
@@ -1502,25 +1851,26 @@ module Aws::SMS
1502
1851
  req.send_request(options)
1503
1852
  end
1504
1853
 
1505
- # Updates an application.
1854
+ # Updates the specified application.
1506
1855
  #
1507
1856
  # @option params [String] :app_id
1508
- # ID of the application to update.
1857
+ # The ID of the application.
1509
1858
  #
1510
1859
  # @option params [String] :name
1511
- # New name of the application.
1860
+ # The new name of the application.
1512
1861
  #
1513
1862
  # @option params [String] :description
1514
- # New description of the application.
1863
+ # The new description of the application.
1515
1864
  #
1516
1865
  # @option params [String] :role_name
1517
- # Name of the service role in the customer's account used by AWS SMS.
1866
+ # The name of the service role in the customer's account used by AWS
1867
+ # SMS.
1518
1868
  #
1519
1869
  # @option params [Array<Types::ServerGroup>] :server_groups
1520
- # List of server groups in the application to update.
1870
+ # The server groups in the application to update.
1521
1871
  #
1522
1872
  # @option params [Array<Types::Tag>] :tags
1523
- # List of tags to associate with the application.
1873
+ # The tags to associate with the application.
1524
1874
  #
1525
1875
  # @return [Types::UpdateAppResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1526
1876
  #
@@ -1570,14 +1920,17 @@ module Aws::SMS
1570
1920
  # @example Response structure
1571
1921
  #
1572
1922
  # resp.app_summary.app_id #=> String
1923
+ # resp.app_summary.imported_app_id #=> String
1573
1924
  # resp.app_summary.name #=> String
1574
1925
  # resp.app_summary.description #=> String
1575
1926
  # resp.app_summary.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "DELETE_FAILED"
1576
1927
  # resp.app_summary.status_message #=> String
1577
- # resp.app_summary.replication_status #=> String, one of "READY_FOR_CONFIGURATION", "CONFIGURATION_IN_PROGRESS", "CONFIGURATION_INVALID", "READY_FOR_REPLICATION", "VALIDATION_IN_PROGRESS", "REPLICATION_PENDING", "REPLICATION_IN_PROGRESS", "REPLICATED", "DELTA_REPLICATION_IN_PROGRESS", "DELTA_REPLICATED", "DELTA_REPLICATION_FAILED", "REPLICATION_FAILED", "REPLICATION_STOPPING", "REPLICATION_STOP_FAILED", "REPLICATION_STOPPED"
1928
+ # resp.app_summary.replication_configuration_status #=> String, one of "NOT_CONFIGURED", "CONFIGURED"
1929
+ # resp.app_summary.replication_status #=> String, one of "READY_FOR_CONFIGURATION", "CONFIGURATION_IN_PROGRESS", "CONFIGURATION_INVALID", "READY_FOR_REPLICATION", "VALIDATION_IN_PROGRESS", "REPLICATION_PENDING", "REPLICATION_IN_PROGRESS", "REPLICATED", "PARTIALLY_REPLICATED", "DELTA_REPLICATION_IN_PROGRESS", "DELTA_REPLICATED", "DELTA_REPLICATION_FAILED", "REPLICATION_FAILED", "REPLICATION_STOPPING", "REPLICATION_STOP_FAILED", "REPLICATION_STOPPED"
1578
1930
  # resp.app_summary.replication_status_message #=> String
1579
1931
  # resp.app_summary.latest_replication_time #=> Time
1580
- # resp.app_summary.launch_status #=> String, one of "READY_FOR_CONFIGURATION", "CONFIGURATION_IN_PROGRESS", "CONFIGURATION_INVALID", "READY_FOR_LAUNCH", "VALIDATION_IN_PROGRESS", "LAUNCH_PENDING", "LAUNCH_IN_PROGRESS", "LAUNCHED", "DELTA_LAUNCH_IN_PROGRESS", "DELTA_LAUNCH_FAILED", "LAUNCH_FAILED", "TERMINATE_IN_PROGRESS", "TERMINATE_FAILED", "TERMINATED"
1932
+ # resp.app_summary.launch_configuration_status #=> String, one of "NOT_CONFIGURED", "CONFIGURED"
1933
+ # resp.app_summary.launch_status #=> String, one of "READY_FOR_CONFIGURATION", "CONFIGURATION_IN_PROGRESS", "CONFIGURATION_INVALID", "READY_FOR_LAUNCH", "VALIDATION_IN_PROGRESS", "LAUNCH_PENDING", "LAUNCH_IN_PROGRESS", "LAUNCHED", "PARTIALLY_LAUNCHED", "DELTA_LAUNCH_IN_PROGRESS", "DELTA_LAUNCH_FAILED", "LAUNCH_FAILED", "TERMINATE_IN_PROGRESS", "TERMINATE_FAILED", "TERMINATED"
1581
1934
  # resp.app_summary.launch_status_message #=> String
1582
1935
  # resp.app_summary.launch_details.latest_launch_time #=> Time
1583
1936
  # resp.app_summary.launch_details.stack_name #=> String
@@ -1617,7 +1970,7 @@ module Aws::SMS
1617
1970
  # Updates the specified settings for the specified replication job.
1618
1971
  #
1619
1972
  # @option params [required, String] :replication_job_id
1620
- # The identifier of the replication job.
1973
+ # The ID of the replication job.
1621
1974
  #
1622
1975
  # @option params [Integer] :frequency
1623
1976
  # The time between consecutive replication runs, in hours.
@@ -1636,27 +1989,27 @@ module Aws::SMS
1636
1989
  # The description of the replication job.
1637
1990
  #
1638
1991
  # @option params [Integer] :number_of_recent_amis_to_keep
1639
- # The maximum number of SMS-created AMIs to retain. The oldest will be
1640
- # deleted once the maximum number is reached and a new AMI is created.
1992
+ # The maximum number of SMS-created AMIs to retain. The oldest is
1993
+ # deleted after the maximum number is reached and a new AMI is created.
1641
1994
  #
1642
1995
  # @option params [Boolean] :encrypted
1643
- # When true, the replication job produces encrypted AMIs . See also
1644
- # `KmsKeyId` below.
1996
+ # When true, the replication job produces encrypted AMIs. For more
1997
+ # information, `KmsKeyId`.
1645
1998
  #
1646
1999
  # @option params [String] :kms_key_id
1647
- # KMS key ID for replication jobs that produce encrypted AMIs. Can be
1648
- # any of the following:
2000
+ # The ID of the KMS key for replication jobs that produce encrypted
2001
+ # AMIs. This value can be any of the following:
1649
2002
  #
1650
2003
  # * KMS key ID
1651
2004
  #
1652
2005
  # * KMS key alias
1653
2006
  #
1654
- # * ARN referring to KMS key ID
2007
+ # * ARN referring to the KMS key ID
1655
2008
  #
1656
- # * ARN referring to KMS key alias
2009
+ # * ARN referring to the KMS key alias
1657
2010
  #
1658
- # If encrypted is *true* but a KMS key id is not specified, the
1659
- # customer's default KMS key for EBS is used.
2011
+ # If encrypted is enabled but a KMS key ID is not specified, the
2012
+ # customer's default KMS key for Amazon EBS is used.
1660
2013
  #
1661
2014
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1662
2015
  #
@@ -1696,7 +2049,7 @@ module Aws::SMS
1696
2049
  params: params,
1697
2050
  config: config)
1698
2051
  context[:gem_name] = 'aws-sdk-sms'
1699
- context[:gem_version] = '1.21.1'
2052
+ context[:gem_version] = '1.26.0'
1700
2053
  Seahorse::Client::Request.new(handlers, context)
1701
2054
  end
1702
2055