aws-sdk-sms 1.23.0 → 1.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-sms.rb +1 -1
- data/lib/aws-sdk-sms/client.rb +438 -102
- data/lib/aws-sdk-sms/client_api.rb +260 -3
- data/lib/aws-sdk-sms/errors.rb +16 -0
- data/lib/aws-sdk-sms/types.rb +949 -188
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ade17cd6389479d9cde6a66463973525fb8ea912992cbc4f5a7365491c6f73c7
|
4
|
+
data.tar.gz: f12be0bebe76e500afc20c426af3cc0bad730955021893f0c70f52060ab66328
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69be623c6c07089fc927f253f88b17672c673cedf53978c71cfed4b026ad10c4408eb1a08a3588fe10b73e90d6d374d67ce298cfa0c82df91bcdb8aa6a7c9437
|
7
|
+
data.tar.gz: 60bfb7ab3aa23fa29f2346d306bd9bf4a9b3635ef97d595c26bbf50123ac33b86bde1fd05fc805511573ea3fd2855001985f97bda6e6d8e6ee44243e1aeade04
|
data/lib/aws-sdk-sms.rb
CHANGED
data/lib/aws-sdk-sms/client.rb
CHANGED
@@ -326,23 +326,24 @@ module Aws::SMS
|
|
326
326
|
# groups. Each server group contain one or more servers.
|
327
327
|
#
|
328
328
|
# @option params [String] :name
|
329
|
-
#
|
329
|
+
# The name of the new application.
|
330
330
|
#
|
331
331
|
# @option params [String] :description
|
332
|
-
#
|
332
|
+
# The description of the new application
|
333
333
|
#
|
334
334
|
# @option params [String] :role_name
|
335
|
-
#
|
335
|
+
# The name of the service role in the customer's account to be used by
|
336
|
+
# AWS SMS.
|
336
337
|
#
|
337
338
|
# @option params [String] :client_token
|
338
|
-
# A unique, case-sensitive identifier you provide to ensure
|
339
|
-
# of application creation.
|
339
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
340
|
+
# idempotency of application creation.
|
340
341
|
#
|
341
342
|
# @option params [Array<Types::ServerGroup>] :server_groups
|
342
|
-
#
|
343
|
+
# The server groups to include in the application.
|
343
344
|
#
|
344
345
|
# @option params [Array<Types::Tag>] :tags
|
345
|
-
#
|
346
|
+
# The tags to be associated with the application.
|
346
347
|
#
|
347
348
|
# @return [Types::CreateAppResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
348
349
|
#
|
@@ -392,14 +393,17 @@ module Aws::SMS
|
|
392
393
|
# @example Response structure
|
393
394
|
#
|
394
395
|
# resp.app_summary.app_id #=> String
|
396
|
+
# resp.app_summary.imported_app_id #=> String
|
395
397
|
# resp.app_summary.name #=> String
|
396
398
|
# resp.app_summary.description #=> String
|
397
399
|
# resp.app_summary.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "DELETE_FAILED"
|
398
400
|
# resp.app_summary.status_message #=> String
|
399
|
-
# resp.app_summary.
|
401
|
+
# resp.app_summary.replication_configuration_status #=> String, one of "NOT_CONFIGURED", "CONFIGURED"
|
402
|
+
# 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"
|
400
403
|
# resp.app_summary.replication_status_message #=> String
|
401
404
|
# resp.app_summary.latest_replication_time #=> Time
|
402
|
-
# resp.app_summary.
|
405
|
+
# resp.app_summary.launch_configuration_status #=> String, one of "NOT_CONFIGURED", "CONFIGURED"
|
406
|
+
# 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"
|
403
407
|
# resp.app_summary.launch_status_message #=> String
|
404
408
|
# resp.app_summary.launch_details.latest_launch_time #=> Time
|
405
409
|
# resp.app_summary.launch_details.stack_name #=> String
|
@@ -441,7 +445,7 @@ module Aws::SMS
|
|
441
445
|
# creates an Amazon Machine Image (AMI).
|
442
446
|
#
|
443
447
|
# @option params [required, String] :server_id
|
444
|
-
# The
|
448
|
+
# The ID of the server.
|
445
449
|
#
|
446
450
|
# @option params [required, Time,DateTime,Date,Integer,String] :seed_replication_time
|
447
451
|
# The seed replication time.
|
@@ -450,6 +454,7 @@ module Aws::SMS
|
|
450
454
|
# The time between consecutive replication runs, in hours.
|
451
455
|
#
|
452
456
|
# @option params [Boolean] :run_once
|
457
|
+
# Indicates whether to run the replication job one time.
|
453
458
|
#
|
454
459
|
# @option params [String] :license_type
|
455
460
|
# The license type to be used for the AMI created by a successful
|
@@ -462,27 +467,26 @@ module Aws::SMS
|
|
462
467
|
# The description of the replication job.
|
463
468
|
#
|
464
469
|
# @option params [Integer] :number_of_recent_amis_to_keep
|
465
|
-
# The maximum number of SMS-created AMIs to retain. The oldest
|
466
|
-
# deleted
|
470
|
+
# The maximum number of SMS-created AMIs to retain. The oldest is
|
471
|
+
# deleted after the maximum number is reached and a new AMI is created.
|
467
472
|
#
|
468
473
|
# @option params [Boolean] :encrypted
|
469
|
-
#
|
470
|
-
# `KmsKeyId` below.
|
474
|
+
# Indicates whether the replication job produces encrypted AMIs.
|
471
475
|
#
|
472
476
|
# @option params [String] :kms_key_id
|
473
|
-
# KMS key
|
474
|
-
# any of the following:
|
477
|
+
# The ID of the KMS key for replication jobs that produce encrypted
|
478
|
+
# AMIs. This value can be any of the following:
|
475
479
|
#
|
476
480
|
# * KMS key ID
|
477
481
|
#
|
478
482
|
# * KMS key alias
|
479
483
|
#
|
480
|
-
# * ARN referring to KMS key ID
|
484
|
+
# * ARN referring to the KMS key ID
|
481
485
|
#
|
482
|
-
# * ARN referring to KMS key alias
|
486
|
+
# * ARN referring to the KMS key alias
|
483
487
|
#
|
484
|
-
# If encrypted is *true* but a KMS key
|
485
|
-
# customer's default KMS key for EBS is used.
|
488
|
+
# If encrypted is *true* but a KMS key ID is not specified, the
|
489
|
+
# customer's default KMS key for Amazon EBS is used.
|
486
490
|
#
|
487
491
|
# @return [Types::CreateReplicationJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
488
492
|
#
|
@@ -516,20 +520,20 @@ module Aws::SMS
|
|
516
520
|
req.send_request(options)
|
517
521
|
end
|
518
522
|
|
519
|
-
# Deletes
|
520
|
-
# associated with the application and all AWS SMS replication jobs
|
521
|
-
# servers in the application.
|
523
|
+
# Deletes the specified application. Optionally deletes the launched
|
524
|
+
# stack associated with the application and all AWS SMS replication jobs
|
525
|
+
# for servers in the application.
|
522
526
|
#
|
523
527
|
# @option params [String] :app_id
|
524
|
-
# ID of the application
|
528
|
+
# The ID of the application.
|
525
529
|
#
|
526
530
|
# @option params [Boolean] :force_stop_app_replication
|
527
|
-
#
|
528
|
-
#
|
531
|
+
# Indicates whether to stop all replication jobs corresponding to the
|
532
|
+
# servers in the application while deleting the application.
|
529
533
|
#
|
530
534
|
# @option params [Boolean] :force_terminate_app
|
531
|
-
#
|
532
|
-
# the application.
|
535
|
+
# Indicates whether to terminate the stack corresponding to the
|
536
|
+
# application while deleting the application.
|
533
537
|
#
|
534
538
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
535
539
|
#
|
@@ -550,10 +554,10 @@ module Aws::SMS
|
|
550
554
|
req.send_request(options)
|
551
555
|
end
|
552
556
|
|
553
|
-
# Deletes
|
557
|
+
# Deletes the launch configuration for the specified application.
|
554
558
|
#
|
555
559
|
# @option params [String] :app_id
|
556
|
-
# ID of the application
|
560
|
+
# The ID of the application.
|
557
561
|
#
|
558
562
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
559
563
|
#
|
@@ -572,10 +576,10 @@ module Aws::SMS
|
|
572
576
|
req.send_request(options)
|
573
577
|
end
|
574
578
|
|
575
|
-
# Deletes
|
579
|
+
# Deletes the replication configuration for the specified application.
|
576
580
|
#
|
577
581
|
# @option params [String] :app_id
|
578
|
-
# ID of the application
|
582
|
+
# The ID of the application.
|
579
583
|
#
|
580
584
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
581
585
|
#
|
@@ -594,6 +598,28 @@ module Aws::SMS
|
|
594
598
|
req.send_request(options)
|
595
599
|
end
|
596
600
|
|
601
|
+
# Deletes the validation configuration for the specified application.
|
602
|
+
#
|
603
|
+
# @option params [required, String] :app_id
|
604
|
+
# The ID of the application.
|
605
|
+
#
|
606
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
607
|
+
#
|
608
|
+
# @example Request syntax with placeholder values
|
609
|
+
#
|
610
|
+
# resp = client.delete_app_validation_configuration({
|
611
|
+
# app_id: "AppIdWithValidation", # required
|
612
|
+
# })
|
613
|
+
#
|
614
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteAppValidationConfiguration AWS API Documentation
|
615
|
+
#
|
616
|
+
# @overload delete_app_validation_configuration(params = {})
|
617
|
+
# @param [Hash] params ({})
|
618
|
+
def delete_app_validation_configuration(params = {}, options = {})
|
619
|
+
req = build_request(:delete_app_validation_configuration, params)
|
620
|
+
req.send_request(options)
|
621
|
+
end
|
622
|
+
|
597
623
|
# Deletes the specified replication job.
|
598
624
|
#
|
599
625
|
# After you delete a replication job, there are no further replication
|
@@ -602,7 +628,7 @@ module Aws::SMS
|
|
602
628
|
# deleted.
|
603
629
|
#
|
604
630
|
# @option params [required, String] :replication_job_id
|
605
|
-
# The
|
631
|
+
# The ID of the replication job.
|
606
632
|
#
|
607
633
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
608
634
|
#
|
@@ -640,7 +666,7 @@ module Aws::SMS
|
|
640
666
|
# support replication jobs.
|
641
667
|
#
|
642
668
|
# @option params [required, String] :connector_id
|
643
|
-
# The
|
669
|
+
# The ID of the connector.
|
644
670
|
#
|
645
671
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
646
672
|
#
|
@@ -663,10 +689,10 @@ module Aws::SMS
|
|
663
689
|
# writes it to an Amazon S3 object in the customer’s Amazon S3 bucket.
|
664
690
|
#
|
665
691
|
# @option params [String] :app_id
|
666
|
-
# ID of the application associated with the change set.
|
692
|
+
# The ID of the application associated with the change set.
|
667
693
|
#
|
668
694
|
# @option params [String] :changeset_format
|
669
|
-
#
|
695
|
+
# The format for the change set.
|
670
696
|
#
|
671
697
|
# @return [Types::GenerateChangeSetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
672
698
|
#
|
@@ -693,16 +719,16 @@ module Aws::SMS
|
|
693
719
|
req.send_request(options)
|
694
720
|
end
|
695
721
|
|
696
|
-
# Generates an
|
697
|
-
#
|
698
|
-
#
|
722
|
+
# Generates an AWS CloudFormation template based on the current launch
|
723
|
+
# configuration and writes it to an Amazon S3 object in the customer’s
|
724
|
+
# Amazon S3 bucket.
|
699
725
|
#
|
700
726
|
# @option params [String] :app_id
|
701
|
-
# ID of the application associated with the
|
727
|
+
# The ID of the application associated with the AWS CloudFormation
|
702
728
|
# template.
|
703
729
|
#
|
704
730
|
# @option params [String] :template_format
|
705
|
-
#
|
731
|
+
# The format for generating the AWS CloudFormation template.
|
706
732
|
#
|
707
733
|
# @return [Types::GenerateTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
708
734
|
#
|
@@ -729,10 +755,10 @@ module Aws::SMS
|
|
729
755
|
req.send_request(options)
|
730
756
|
end
|
731
757
|
|
732
|
-
# Retrieve information about
|
758
|
+
# Retrieve information about the specified application.
|
733
759
|
#
|
734
760
|
# @option params [String] :app_id
|
735
|
-
# ID of the application
|
761
|
+
# The ID of the application.
|
736
762
|
#
|
737
763
|
# @return [Types::GetAppResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
738
764
|
#
|
@@ -749,14 +775,17 @@ module Aws::SMS
|
|
749
775
|
# @example Response structure
|
750
776
|
#
|
751
777
|
# resp.app_summary.app_id #=> String
|
778
|
+
# resp.app_summary.imported_app_id #=> String
|
752
779
|
# resp.app_summary.name #=> String
|
753
780
|
# resp.app_summary.description #=> String
|
754
781
|
# resp.app_summary.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "DELETE_FAILED"
|
755
782
|
# resp.app_summary.status_message #=> String
|
756
|
-
# resp.app_summary.
|
783
|
+
# resp.app_summary.replication_configuration_status #=> String, one of "NOT_CONFIGURED", "CONFIGURED"
|
784
|
+
# 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"
|
757
785
|
# resp.app_summary.replication_status_message #=> String
|
758
786
|
# resp.app_summary.latest_replication_time #=> Time
|
759
|
-
# resp.app_summary.
|
787
|
+
# resp.app_summary.launch_configuration_status #=> String, one of "NOT_CONFIGURED", "CONFIGURED"
|
788
|
+
# 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"
|
760
789
|
# resp.app_summary.launch_status_message #=> String
|
761
790
|
# resp.app_summary.launch_details.latest_launch_time #=> Time
|
762
791
|
# resp.app_summary.launch_details.stack_name #=> String
|
@@ -793,16 +822,17 @@ module Aws::SMS
|
|
793
822
|
req.send_request(options)
|
794
823
|
end
|
795
824
|
|
796
|
-
# Retrieves the application launch configuration associated with
|
797
|
-
# application.
|
825
|
+
# Retrieves the application launch configuration associated with the
|
826
|
+
# specified application.
|
798
827
|
#
|
799
828
|
# @option params [String] :app_id
|
800
|
-
# ID of the application
|
829
|
+
# The ID of the application.
|
801
830
|
#
|
802
831
|
# @return [Types::GetAppLaunchConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
803
832
|
#
|
804
833
|
# * {Types::GetAppLaunchConfigurationResponse#app_id #app_id} => String
|
805
834
|
# * {Types::GetAppLaunchConfigurationResponse#role_name #role_name} => String
|
835
|
+
# * {Types::GetAppLaunchConfigurationResponse#auto_launch #auto_launch} => Boolean
|
806
836
|
# * {Types::GetAppLaunchConfigurationResponse#server_group_launch_configurations #server_group_launch_configurations} => Array<Types::ServerGroupLaunchConfiguration>
|
807
837
|
#
|
808
838
|
# @example Request syntax with placeholder values
|
@@ -815,6 +845,7 @@ module Aws::SMS
|
|
815
845
|
#
|
816
846
|
# resp.app_id #=> String
|
817
847
|
# resp.role_name #=> String
|
848
|
+
# resp.auto_launch #=> Boolean
|
818
849
|
# resp.server_group_launch_configurations #=> Array
|
819
850
|
# resp.server_group_launch_configurations[0].server_group_id #=> String
|
820
851
|
# resp.server_group_launch_configurations[0].launch_order #=> Integer
|
@@ -838,6 +869,10 @@ module Aws::SMS
|
|
838
869
|
# resp.server_group_launch_configurations[0].server_launch_configurations[0].user_data.s3_location.key #=> String
|
839
870
|
# resp.server_group_launch_configurations[0].server_launch_configurations[0].instance_type #=> String
|
840
871
|
# resp.server_group_launch_configurations[0].server_launch_configurations[0].associate_public_ip_address #=> Boolean
|
872
|
+
# resp.server_group_launch_configurations[0].server_launch_configurations[0].iam_instance_profile_name #=> String
|
873
|
+
# resp.server_group_launch_configurations[0].server_launch_configurations[0].configure_script.bucket #=> String
|
874
|
+
# resp.server_group_launch_configurations[0].server_launch_configurations[0].configure_script.key #=> String
|
875
|
+
# resp.server_group_launch_configurations[0].server_launch_configurations[0].configure_script_type #=> String, one of "SHELL_SCRIPT", "POWERSHELL_SCRIPT"
|
841
876
|
#
|
842
877
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetAppLaunchConfiguration AWS API Documentation
|
843
878
|
#
|
@@ -848,11 +883,11 @@ module Aws::SMS
|
|
848
883
|
req.send_request(options)
|
849
884
|
end
|
850
885
|
|
851
|
-
# Retrieves
|
852
|
-
# application.
|
886
|
+
# Retrieves the application replication configuration associated with
|
887
|
+
# the specified application.
|
853
888
|
#
|
854
889
|
# @option params [String] :app_id
|
855
|
-
# ID of the application
|
890
|
+
# The ID of the application.
|
856
891
|
#
|
857
892
|
# @return [Types::GetAppReplicationConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
858
893
|
#
|
@@ -896,6 +931,110 @@ module Aws::SMS
|
|
896
931
|
req.send_request(options)
|
897
932
|
end
|
898
933
|
|
934
|
+
# Retrieves information about a configuration for validating an
|
935
|
+
# application.
|
936
|
+
#
|
937
|
+
# @option params [required, String] :app_id
|
938
|
+
# The ID of the application.
|
939
|
+
#
|
940
|
+
# @return [Types::GetAppValidationConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
941
|
+
#
|
942
|
+
# * {Types::GetAppValidationConfigurationResponse#app_validation_configurations #app_validation_configurations} => Array<Types::AppValidationConfiguration>
|
943
|
+
# * {Types::GetAppValidationConfigurationResponse#server_group_validation_configurations #server_group_validation_configurations} => Array<Types::ServerGroupValidationConfiguration>
|
944
|
+
#
|
945
|
+
# @example Request syntax with placeholder values
|
946
|
+
#
|
947
|
+
# resp = client.get_app_validation_configuration({
|
948
|
+
# app_id: "AppIdWithValidation", # required
|
949
|
+
# })
|
950
|
+
#
|
951
|
+
# @example Response structure
|
952
|
+
#
|
953
|
+
# resp.app_validation_configurations #=> Array
|
954
|
+
# resp.app_validation_configurations[0].validation_id #=> String
|
955
|
+
# resp.app_validation_configurations[0].name #=> String
|
956
|
+
# resp.app_validation_configurations[0].app_validation_strategy #=> String, one of "SSM"
|
957
|
+
# resp.app_validation_configurations[0].ssm_validation_parameters.source.s3_location.bucket #=> String
|
958
|
+
# resp.app_validation_configurations[0].ssm_validation_parameters.source.s3_location.key #=> String
|
959
|
+
# resp.app_validation_configurations[0].ssm_validation_parameters.instance_id #=> String
|
960
|
+
# resp.app_validation_configurations[0].ssm_validation_parameters.script_type #=> String, one of "SHELL_SCRIPT", "POWERSHELL_SCRIPT"
|
961
|
+
# resp.app_validation_configurations[0].ssm_validation_parameters.command #=> String
|
962
|
+
# resp.app_validation_configurations[0].ssm_validation_parameters.execution_timeout_seconds #=> Integer
|
963
|
+
# resp.app_validation_configurations[0].ssm_validation_parameters.output_s3_bucket_name #=> String
|
964
|
+
# resp.server_group_validation_configurations #=> Array
|
965
|
+
# resp.server_group_validation_configurations[0].server_group_id #=> String
|
966
|
+
# resp.server_group_validation_configurations[0].server_validation_configurations #=> Array
|
967
|
+
# resp.server_group_validation_configurations[0].server_validation_configurations[0].server.server_id #=> String
|
968
|
+
# resp.server_group_validation_configurations[0].server_validation_configurations[0].server.server_type #=> String, one of "VIRTUAL_MACHINE"
|
969
|
+
# resp.server_group_validation_configurations[0].server_validation_configurations[0].server.vm_server.vm_server_address.vm_manager_id #=> String
|
970
|
+
# resp.server_group_validation_configurations[0].server_validation_configurations[0].server.vm_server.vm_server_address.vm_id #=> String
|
971
|
+
# resp.server_group_validation_configurations[0].server_validation_configurations[0].server.vm_server.vm_name #=> String
|
972
|
+
# resp.server_group_validation_configurations[0].server_validation_configurations[0].server.vm_server.vm_manager_name #=> String
|
973
|
+
# resp.server_group_validation_configurations[0].server_validation_configurations[0].server.vm_server.vm_manager_type #=> String, one of "VSPHERE", "SCVMM", "HYPERV-MANAGER"
|
974
|
+
# resp.server_group_validation_configurations[0].server_validation_configurations[0].server.vm_server.vm_path #=> String
|
975
|
+
# resp.server_group_validation_configurations[0].server_validation_configurations[0].server.replication_job_id #=> String
|
976
|
+
# resp.server_group_validation_configurations[0].server_validation_configurations[0].server.replication_job_terminated #=> Boolean
|
977
|
+
# resp.server_group_validation_configurations[0].server_validation_configurations[0].validation_id #=> String
|
978
|
+
# resp.server_group_validation_configurations[0].server_validation_configurations[0].name #=> String
|
979
|
+
# resp.server_group_validation_configurations[0].server_validation_configurations[0].server_validation_strategy #=> String, one of "USERDATA"
|
980
|
+
# resp.server_group_validation_configurations[0].server_validation_configurations[0].user_data_validation_parameters.source.s3_location.bucket #=> String
|
981
|
+
# resp.server_group_validation_configurations[0].server_validation_configurations[0].user_data_validation_parameters.source.s3_location.key #=> String
|
982
|
+
# resp.server_group_validation_configurations[0].server_validation_configurations[0].user_data_validation_parameters.script_type #=> String, one of "SHELL_SCRIPT", "POWERSHELL_SCRIPT"
|
983
|
+
#
|
984
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetAppValidationConfiguration AWS API Documentation
|
985
|
+
#
|
986
|
+
# @overload get_app_validation_configuration(params = {})
|
987
|
+
# @param [Hash] params ({})
|
988
|
+
def get_app_validation_configuration(params = {}, options = {})
|
989
|
+
req = build_request(:get_app_validation_configuration, params)
|
990
|
+
req.send_request(options)
|
991
|
+
end
|
992
|
+
|
993
|
+
# Retrieves output from validating an application.
|
994
|
+
#
|
995
|
+
# @option params [required, String] :app_id
|
996
|
+
# The ID of the application.
|
997
|
+
#
|
998
|
+
# @return [Types::GetAppValidationOutputResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
999
|
+
#
|
1000
|
+
# * {Types::GetAppValidationOutputResponse#validation_output_list #validation_output_list} => Array<Types::ValidationOutput>
|
1001
|
+
#
|
1002
|
+
# @example Request syntax with placeholder values
|
1003
|
+
#
|
1004
|
+
# resp = client.get_app_validation_output({
|
1005
|
+
# app_id: "AppIdWithValidation", # required
|
1006
|
+
# })
|
1007
|
+
#
|
1008
|
+
# @example Response structure
|
1009
|
+
#
|
1010
|
+
# resp.validation_output_list #=> Array
|
1011
|
+
# resp.validation_output_list[0].validation_id #=> String
|
1012
|
+
# resp.validation_output_list[0].name #=> String
|
1013
|
+
# resp.validation_output_list[0].status #=> String, one of "READY_FOR_VALIDATION", "PENDING", "IN_PROGRESS", "SUCCEEDED", "FAILED"
|
1014
|
+
# resp.validation_output_list[0].status_message #=> String
|
1015
|
+
# resp.validation_output_list[0].latest_validation_time #=> Time
|
1016
|
+
# resp.validation_output_list[0].app_validation_output.ssm_output.s3_location.bucket #=> String
|
1017
|
+
# resp.validation_output_list[0].app_validation_output.ssm_output.s3_location.key #=> String
|
1018
|
+
# resp.validation_output_list[0].server_validation_output.server.server_id #=> String
|
1019
|
+
# resp.validation_output_list[0].server_validation_output.server.server_type #=> String, one of "VIRTUAL_MACHINE"
|
1020
|
+
# resp.validation_output_list[0].server_validation_output.server.vm_server.vm_server_address.vm_manager_id #=> String
|
1021
|
+
# resp.validation_output_list[0].server_validation_output.server.vm_server.vm_server_address.vm_id #=> String
|
1022
|
+
# resp.validation_output_list[0].server_validation_output.server.vm_server.vm_name #=> String
|
1023
|
+
# resp.validation_output_list[0].server_validation_output.server.vm_server.vm_manager_name #=> String
|
1024
|
+
# resp.validation_output_list[0].server_validation_output.server.vm_server.vm_manager_type #=> String, one of "VSPHERE", "SCVMM", "HYPERV-MANAGER"
|
1025
|
+
# resp.validation_output_list[0].server_validation_output.server.vm_server.vm_path #=> String
|
1026
|
+
# resp.validation_output_list[0].server_validation_output.server.replication_job_id #=> String
|
1027
|
+
# resp.validation_output_list[0].server_validation_output.server.replication_job_terminated #=> Boolean
|
1028
|
+
#
|
1029
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetAppValidationOutput AWS API Documentation
|
1030
|
+
#
|
1031
|
+
# @overload get_app_validation_output(params = {})
|
1032
|
+
# @param [Hash] params ({})
|
1033
|
+
def get_app_validation_output(params = {}, options = {})
|
1034
|
+
req = build_request(:get_app_validation_output, params)
|
1035
|
+
req.send_request(options)
|
1036
|
+
end
|
1037
|
+
|
899
1038
|
# Describes the connectors registered with the AWS SMS.
|
900
1039
|
#
|
901
1040
|
# @option params [String] :next_token
|
@@ -927,7 +1066,7 @@ module Aws::SMS
|
|
927
1066
|
# resp.connector_list[0].version #=> String
|
928
1067
|
# resp.connector_list[0].status #=> String, one of "HEALTHY", "UNHEALTHY"
|
929
1068
|
# resp.connector_list[0].capability_list #=> Array
|
930
|
-
# resp.connector_list[0].capability_list[0] #=> String, one of "VSPHERE", "SCVMM", "HYPERV-MANAGER", "SNAPSHOT_BATCHING"
|
1069
|
+
# resp.connector_list[0].capability_list[0] #=> String, one of "VSPHERE", "SCVMM", "HYPERV-MANAGER", "SNAPSHOT_BATCHING", "SMS_OPTIMIZED"
|
931
1070
|
# resp.connector_list[0].vm_manager_name #=> String
|
932
1071
|
# resp.connector_list[0].vm_manager_type #=> String, one of "VSPHERE", "SCVMM", "HYPERV-MANAGER"
|
933
1072
|
# resp.connector_list[0].vm_manager_id #=> String
|
@@ -949,7 +1088,7 @@ module Aws::SMS
|
|
949
1088
|
# jobs.
|
950
1089
|
#
|
951
1090
|
# @option params [String] :replication_job_id
|
952
|
-
# The
|
1091
|
+
# The ID of the replication job.
|
953
1092
|
#
|
954
1093
|
# @option params [String] :next_token
|
955
1094
|
# The token for the next set of results.
|
@@ -1026,7 +1165,7 @@ module Aws::SMS
|
|
1026
1165
|
# Describes the replication runs for the specified replication job.
|
1027
1166
|
#
|
1028
1167
|
# @option params [required, String] :replication_job_id
|
1029
|
-
# The
|
1168
|
+
# The ID of the replication job.
|
1030
1169
|
#
|
1031
1170
|
# @option params [String] :next_token
|
1032
1171
|
# The token for the next set of results.
|
@@ -1127,7 +1266,7 @@ module Aws::SMS
|
|
1127
1266
|
# the returned `NextToken` value.
|
1128
1267
|
#
|
1129
1268
|
# @option params [Array<Types::VmServerAddress>] :vm_server_address_list
|
1130
|
-
#
|
1269
|
+
# The server addresses.
|
1131
1270
|
#
|
1132
1271
|
# @return [Types::GetServersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1133
1272
|
#
|
@@ -1177,8 +1316,37 @@ module Aws::SMS
|
|
1177
1316
|
req.send_request(options)
|
1178
1317
|
end
|
1179
1318
|
|
1319
|
+
# Allows application import from AWS Migration Hub.
|
1320
|
+
#
|
1321
|
+
# @option params [String] :role_name
|
1322
|
+
# The name of the service role. If you omit this parameter, we create a
|
1323
|
+
# service-linked role for AWS Migration Hub in your account. Otherwise,
|
1324
|
+
# the role that you provide must have the [policy and trust policy][1]
|
1325
|
+
# described in the *AWS Migration Hub User Guide*.
|
1326
|
+
#
|
1327
|
+
#
|
1328
|
+
#
|
1329
|
+
# [1]: https://docs.aws.amazon.com/migrationhub/latest/ug/new-customer-setup.html#sms-managed
|
1330
|
+
#
|
1331
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1332
|
+
#
|
1333
|
+
# @example Request syntax with placeholder values
|
1334
|
+
#
|
1335
|
+
# resp = client.import_app_catalog({
|
1336
|
+
# role_name: "RoleName",
|
1337
|
+
# })
|
1338
|
+
#
|
1339
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ImportAppCatalog AWS API Documentation
|
1340
|
+
#
|
1341
|
+
# @overload import_app_catalog(params = {})
|
1342
|
+
# @param [Hash] params ({})
|
1343
|
+
def import_app_catalog(params = {}, options = {})
|
1344
|
+
req = build_request(:import_app_catalog, params)
|
1345
|
+
req.send_request(options)
|
1346
|
+
end
|
1347
|
+
|
1180
1348
|
# Gathers a complete list of on-premises servers. Connectors must be
|
1181
|
-
# installed and monitoring all servers
|
1349
|
+
# installed and monitoring all servers to import.
|
1182
1350
|
#
|
1183
1351
|
# This call returns immediately, but might take additional time to
|
1184
1352
|
# retrieve all the servers.
|
@@ -1194,10 +1362,10 @@ module Aws::SMS
|
|
1194
1362
|
req.send_request(options)
|
1195
1363
|
end
|
1196
1364
|
|
1197
|
-
# Launches
|
1365
|
+
# Launches the specified application as a stack in AWS CloudFormation.
|
1198
1366
|
#
|
1199
1367
|
# @option params [String] :app_id
|
1200
|
-
# ID of the application
|
1368
|
+
# The ID of the application.
|
1201
1369
|
#
|
1202
1370
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1203
1371
|
#
|
@@ -1216,17 +1384,18 @@ module Aws::SMS
|
|
1216
1384
|
req.send_request(options)
|
1217
1385
|
end
|
1218
1386
|
|
1219
|
-
#
|
1387
|
+
# Retrieves summaries for all applications.
|
1220
1388
|
#
|
1221
1389
|
# @option params [Array<String>] :app_ids
|
1390
|
+
# The unique application IDs.
|
1222
1391
|
#
|
1223
1392
|
# @option params [String] :next_token
|
1224
1393
|
# The token for the next set of results.
|
1225
1394
|
#
|
1226
1395
|
# @option params [Integer] :max_results
|
1227
1396
|
# The maximum number of results to return in a single call. The default
|
1228
|
-
# value is
|
1229
|
-
# the returned `NextToken` value.
|
1397
|
+
# value is 100. To retrieve the remaining results, make another call
|
1398
|
+
# with the returned `NextToken` value.
|
1230
1399
|
#
|
1231
1400
|
# @return [Types::ListAppsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1232
1401
|
#
|
@@ -1245,14 +1414,17 @@ module Aws::SMS
|
|
1245
1414
|
#
|
1246
1415
|
# resp.apps #=> Array
|
1247
1416
|
# resp.apps[0].app_id #=> String
|
1417
|
+
# resp.apps[0].imported_app_id #=> String
|
1248
1418
|
# resp.apps[0].name #=> String
|
1249
1419
|
# resp.apps[0].description #=> String
|
1250
1420
|
# resp.apps[0].status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "DELETE_FAILED"
|
1251
1421
|
# resp.apps[0].status_message #=> String
|
1252
|
-
# resp.apps[0].
|
1422
|
+
# resp.apps[0].replication_configuration_status #=> String, one of "NOT_CONFIGURED", "CONFIGURED"
|
1423
|
+
# 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"
|
1253
1424
|
# resp.apps[0].replication_status_message #=> String
|
1254
1425
|
# resp.apps[0].latest_replication_time #=> Time
|
1255
|
-
# resp.apps[0].
|
1426
|
+
# resp.apps[0].launch_configuration_status #=> String, one of "NOT_CONFIGURED", "CONFIGURED"
|
1427
|
+
# 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"
|
1256
1428
|
# resp.apps[0].launch_status_message #=> String
|
1257
1429
|
# resp.apps[0].launch_details.latest_launch_time #=> Time
|
1258
1430
|
# resp.apps[0].launch_details.stack_name #=> String
|
@@ -1273,17 +1445,54 @@ module Aws::SMS
|
|
1273
1445
|
req.send_request(options)
|
1274
1446
|
end
|
1275
1447
|
|
1276
|
-
#
|
1448
|
+
# Provides information to AWS SMS about whether application validation
|
1449
|
+
# is successful.
|
1450
|
+
#
|
1451
|
+
# @option params [required, String] :app_id
|
1452
|
+
# The ID of the application.
|
1453
|
+
#
|
1454
|
+
# @option params [Types::NotificationContext] :notification_context
|
1455
|
+
# The notification information.
|
1456
|
+
#
|
1457
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1458
|
+
#
|
1459
|
+
# @example Request syntax with placeholder values
|
1460
|
+
#
|
1461
|
+
# resp = client.notify_app_validation_output({
|
1462
|
+
# app_id: "AppIdWithValidation", # required
|
1463
|
+
# notification_context: {
|
1464
|
+
# validation_id: "ValidationId",
|
1465
|
+
# status: "READY_FOR_VALIDATION", # accepts READY_FOR_VALIDATION, PENDING, IN_PROGRESS, SUCCEEDED, FAILED
|
1466
|
+
# status_message: "ValidationStatusMessage",
|
1467
|
+
# },
|
1468
|
+
# })
|
1469
|
+
#
|
1470
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/NotifyAppValidationOutput AWS API Documentation
|
1471
|
+
#
|
1472
|
+
# @overload notify_app_validation_output(params = {})
|
1473
|
+
# @param [Hash] params ({})
|
1474
|
+
def notify_app_validation_output(params = {}, options = {})
|
1475
|
+
req = build_request(:notify_app_validation_output, params)
|
1476
|
+
req.send_request(options)
|
1477
|
+
end
|
1478
|
+
|
1479
|
+
# Creates or updates the launch configuration for the specified
|
1480
|
+
# application.
|
1277
1481
|
#
|
1278
1482
|
# @option params [String] :app_id
|
1279
|
-
# ID of the application
|
1483
|
+
# The ID of the application.
|
1280
1484
|
#
|
1281
1485
|
# @option params [String] :role_name
|
1282
|
-
#
|
1486
|
+
# The name of service role in the customer's account that AWS
|
1283
1487
|
# CloudFormation uses to launch the application.
|
1284
1488
|
#
|
1489
|
+
# @option params [Boolean] :auto_launch
|
1490
|
+
# Indicates whether the application is configured to launch
|
1491
|
+
# automatically after replication is complete.
|
1492
|
+
#
|
1285
1493
|
# @option params [Array<Types::ServerGroupLaunchConfiguration>] :server_group_launch_configurations
|
1286
|
-
#
|
1494
|
+
# Information about the launch configurations for server groups in the
|
1495
|
+
# application.
|
1287
1496
|
#
|
1288
1497
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1289
1498
|
#
|
@@ -1292,6 +1501,7 @@ module Aws::SMS
|
|
1292
1501
|
# resp = client.put_app_launch_configuration({
|
1293
1502
|
# app_id: "AppId",
|
1294
1503
|
# role_name: "RoleName",
|
1504
|
+
# auto_launch: false,
|
1295
1505
|
# server_group_launch_configurations: [
|
1296
1506
|
# {
|
1297
1507
|
# server_group_id: "ServerGroupId",
|
@@ -1321,12 +1531,18 @@ module Aws::SMS
|
|
1321
1531
|
# ec2_key_name: "EC2KeyName",
|
1322
1532
|
# user_data: {
|
1323
1533
|
# s3_location: {
|
1324
|
-
# bucket: "
|
1325
|
-
# key: "
|
1534
|
+
# bucket: "S3BucketName",
|
1535
|
+
# key: "S3KeyName",
|
1326
1536
|
# },
|
1327
1537
|
# },
|
1328
1538
|
# instance_type: "InstanceType",
|
1329
1539
|
# associate_public_ip_address: false,
|
1540
|
+
# iam_instance_profile_name: "RoleName",
|
1541
|
+
# configure_script: {
|
1542
|
+
# bucket: "S3BucketName",
|
1543
|
+
# key: "S3KeyName",
|
1544
|
+
# },
|
1545
|
+
# configure_script_type: "SHELL_SCRIPT", # accepts SHELL_SCRIPT, POWERSHELL_SCRIPT
|
1330
1546
|
# },
|
1331
1547
|
# ],
|
1332
1548
|
# },
|
@@ -1342,13 +1558,15 @@ module Aws::SMS
|
|
1342
1558
|
req.send_request(options)
|
1343
1559
|
end
|
1344
1560
|
|
1345
|
-
# Creates or updates
|
1561
|
+
# Creates or updates the replication configuration for the specified
|
1562
|
+
# application.
|
1346
1563
|
#
|
1347
1564
|
# @option params [String] :app_id
|
1348
|
-
# ID of the application
|
1565
|
+
# The ID of the application.
|
1349
1566
|
#
|
1350
1567
|
# @option params [Array<Types::ServerGroupReplicationConfiguration>] :server_group_replication_configurations
|
1351
|
-
#
|
1568
|
+
# Information about the replication configurations for server groups in
|
1569
|
+
# the application.
|
1352
1570
|
#
|
1353
1571
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1354
1572
|
#
|
@@ -1401,10 +1619,97 @@ module Aws::SMS
|
|
1401
1619
|
req.send_request(options)
|
1402
1620
|
end
|
1403
1621
|
|
1404
|
-
#
|
1622
|
+
# Creates or updates a validation configuration for the specified
|
1623
|
+
# application.
|
1624
|
+
#
|
1625
|
+
# @option params [required, String] :app_id
|
1626
|
+
# The ID of the application.
|
1627
|
+
#
|
1628
|
+
# @option params [Array<Types::AppValidationConfiguration>] :app_validation_configurations
|
1629
|
+
# The configuration for application validation.
|
1630
|
+
#
|
1631
|
+
# @option params [Array<Types::ServerGroupValidationConfiguration>] :server_group_validation_configurations
|
1632
|
+
# The configuration for instance validation.
|
1633
|
+
#
|
1634
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1635
|
+
#
|
1636
|
+
# @example Request syntax with placeholder values
|
1637
|
+
#
|
1638
|
+
# resp = client.put_app_validation_configuration({
|
1639
|
+
# app_id: "AppIdWithValidation", # required
|
1640
|
+
# app_validation_configurations: [
|
1641
|
+
# {
|
1642
|
+
# validation_id: "ValidationId",
|
1643
|
+
# name: "NonEmptyStringWithMaxLen255",
|
1644
|
+
# app_validation_strategy: "SSM", # accepts SSM
|
1645
|
+
# ssm_validation_parameters: {
|
1646
|
+
# source: {
|
1647
|
+
# s3_location: {
|
1648
|
+
# bucket: "S3BucketName",
|
1649
|
+
# key: "S3KeyName",
|
1650
|
+
# },
|
1651
|
+
# },
|
1652
|
+
# instance_id: "InstanceId",
|
1653
|
+
# script_type: "SHELL_SCRIPT", # accepts SHELL_SCRIPT, POWERSHELL_SCRIPT
|
1654
|
+
# command: "Command",
|
1655
|
+
# execution_timeout_seconds: 1,
|
1656
|
+
# output_s3_bucket_name: "BucketName",
|
1657
|
+
# },
|
1658
|
+
# },
|
1659
|
+
# ],
|
1660
|
+
# server_group_validation_configurations: [
|
1661
|
+
# {
|
1662
|
+
# server_group_id: "ServerGroupId",
|
1663
|
+
# server_validation_configurations: [
|
1664
|
+
# {
|
1665
|
+
# server: {
|
1666
|
+
# server_id: "ServerId",
|
1667
|
+
# server_type: "VIRTUAL_MACHINE", # accepts VIRTUAL_MACHINE
|
1668
|
+
# vm_server: {
|
1669
|
+
# vm_server_address: {
|
1670
|
+
# vm_manager_id: "VmManagerId",
|
1671
|
+
# vm_id: "VmId",
|
1672
|
+
# },
|
1673
|
+
# vm_name: "VmName",
|
1674
|
+
# vm_manager_name: "VmManagerName",
|
1675
|
+
# vm_manager_type: "VSPHERE", # accepts VSPHERE, SCVMM, HYPERV-MANAGER
|
1676
|
+
# vm_path: "VmPath",
|
1677
|
+
# },
|
1678
|
+
# replication_job_id: "ReplicationJobId",
|
1679
|
+
# replication_job_terminated: false,
|
1680
|
+
# },
|
1681
|
+
# validation_id: "ValidationId",
|
1682
|
+
# name: "NonEmptyStringWithMaxLen255",
|
1683
|
+
# server_validation_strategy: "USERDATA", # accepts USERDATA
|
1684
|
+
# user_data_validation_parameters: {
|
1685
|
+
# source: {
|
1686
|
+
# s3_location: {
|
1687
|
+
# bucket: "S3BucketName",
|
1688
|
+
# key: "S3KeyName",
|
1689
|
+
# },
|
1690
|
+
# },
|
1691
|
+
# script_type: "SHELL_SCRIPT", # accepts SHELL_SCRIPT, POWERSHELL_SCRIPT
|
1692
|
+
# },
|
1693
|
+
# },
|
1694
|
+
# ],
|
1695
|
+
# },
|
1696
|
+
# ],
|
1697
|
+
# })
|
1698
|
+
#
|
1699
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/PutAppValidationConfiguration AWS API Documentation
|
1700
|
+
#
|
1701
|
+
# @overload put_app_validation_configuration(params = {})
|
1702
|
+
# @param [Hash] params ({})
|
1703
|
+
def put_app_validation_configuration(params = {}, options = {})
|
1704
|
+
req = build_request(:put_app_validation_configuration, params)
|
1705
|
+
req.send_request(options)
|
1706
|
+
end
|
1707
|
+
|
1708
|
+
# Starts replicating the specified application by creating replication
|
1709
|
+
# jobs for each server in the application.
|
1405
1710
|
#
|
1406
1711
|
# @option params [String] :app_id
|
1407
|
-
# ID of the application
|
1712
|
+
# The ID of the application.
|
1408
1713
|
#
|
1409
1714
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1410
1715
|
#
|
@@ -1423,15 +1728,41 @@ module Aws::SMS
|
|
1423
1728
|
req.send_request(options)
|
1424
1729
|
end
|
1425
1730
|
|
1731
|
+
# Starts an on-demand replication run for the specified application.
|
1732
|
+
#
|
1733
|
+
# @option params [required, String] :app_id
|
1734
|
+
# The ID of the application.
|
1735
|
+
#
|
1736
|
+
# @option params [String] :description
|
1737
|
+
# The description of the replication run.
|
1738
|
+
#
|
1739
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1740
|
+
#
|
1741
|
+
# @example Request syntax with placeholder values
|
1742
|
+
#
|
1743
|
+
# resp = client.start_on_demand_app_replication({
|
1744
|
+
# app_id: "AppId", # required
|
1745
|
+
# description: "Description",
|
1746
|
+
# })
|
1747
|
+
#
|
1748
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/StartOnDemandAppReplication AWS API Documentation
|
1749
|
+
#
|
1750
|
+
# @overload start_on_demand_app_replication(params = {})
|
1751
|
+
# @param [Hash] params ({})
|
1752
|
+
def start_on_demand_app_replication(params = {}, options = {})
|
1753
|
+
req = build_request(:start_on_demand_app_replication, params)
|
1754
|
+
req.send_request(options)
|
1755
|
+
end
|
1756
|
+
|
1426
1757
|
# Starts an on-demand replication run for the specified replication job.
|
1427
1758
|
# This replication run starts immediately. This replication run is in
|
1428
1759
|
# addition to the ones already scheduled.
|
1429
1760
|
#
|
1430
|
-
# There is a limit on the number of on-demand replications runs you
|
1431
|
-
# request in a 24-hour period.
|
1761
|
+
# There is a limit on the number of on-demand replications runs that you
|
1762
|
+
# can request in a 24-hour period.
|
1432
1763
|
#
|
1433
1764
|
# @option params [required, String] :replication_job_id
|
1434
|
-
# The
|
1765
|
+
# The ID of the replication job.
|
1435
1766
|
#
|
1436
1767
|
# @option params [String] :description
|
1437
1768
|
# The description of the replication run.
|
@@ -1460,10 +1791,11 @@ module Aws::SMS
|
|
1460
1791
|
req.send_request(options)
|
1461
1792
|
end
|
1462
1793
|
|
1463
|
-
# Stops replicating
|
1794
|
+
# Stops replicating the specified application by deleting the
|
1795
|
+
# replication job for each server in the application.
|
1464
1796
|
#
|
1465
1797
|
# @option params [String] :app_id
|
1466
|
-
# ID of the application
|
1798
|
+
# The ID of the application.
|
1467
1799
|
#
|
1468
1800
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1469
1801
|
#
|
@@ -1482,10 +1814,10 @@ module Aws::SMS
|
|
1482
1814
|
req.send_request(options)
|
1483
1815
|
end
|
1484
1816
|
|
1485
|
-
# Terminates the stack for
|
1817
|
+
# Terminates the stack for the specified application.
|
1486
1818
|
#
|
1487
1819
|
# @option params [String] :app_id
|
1488
|
-
# ID of the application
|
1820
|
+
# The ID of the application.
|
1489
1821
|
#
|
1490
1822
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1491
1823
|
#
|
@@ -1504,25 +1836,26 @@ module Aws::SMS
|
|
1504
1836
|
req.send_request(options)
|
1505
1837
|
end
|
1506
1838
|
|
1507
|
-
# Updates
|
1839
|
+
# Updates the specified application.
|
1508
1840
|
#
|
1509
1841
|
# @option params [String] :app_id
|
1510
|
-
# ID of the application
|
1842
|
+
# The ID of the application.
|
1511
1843
|
#
|
1512
1844
|
# @option params [String] :name
|
1513
|
-
#
|
1845
|
+
# The new name of the application.
|
1514
1846
|
#
|
1515
1847
|
# @option params [String] :description
|
1516
|
-
#
|
1848
|
+
# The new description of the application.
|
1517
1849
|
#
|
1518
1850
|
# @option params [String] :role_name
|
1519
|
-
#
|
1851
|
+
# The name of the service role in the customer's account used by AWS
|
1852
|
+
# SMS.
|
1520
1853
|
#
|
1521
1854
|
# @option params [Array<Types::ServerGroup>] :server_groups
|
1522
|
-
#
|
1855
|
+
# The server groups in the application to update.
|
1523
1856
|
#
|
1524
1857
|
# @option params [Array<Types::Tag>] :tags
|
1525
|
-
#
|
1858
|
+
# The tags to associate with the application.
|
1526
1859
|
#
|
1527
1860
|
# @return [Types::UpdateAppResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1528
1861
|
#
|
@@ -1572,14 +1905,17 @@ module Aws::SMS
|
|
1572
1905
|
# @example Response structure
|
1573
1906
|
#
|
1574
1907
|
# resp.app_summary.app_id #=> String
|
1908
|
+
# resp.app_summary.imported_app_id #=> String
|
1575
1909
|
# resp.app_summary.name #=> String
|
1576
1910
|
# resp.app_summary.description #=> String
|
1577
1911
|
# resp.app_summary.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "DELETE_FAILED"
|
1578
1912
|
# resp.app_summary.status_message #=> String
|
1579
|
-
# resp.app_summary.
|
1913
|
+
# resp.app_summary.replication_configuration_status #=> String, one of "NOT_CONFIGURED", "CONFIGURED"
|
1914
|
+
# 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"
|
1580
1915
|
# resp.app_summary.replication_status_message #=> String
|
1581
1916
|
# resp.app_summary.latest_replication_time #=> Time
|
1582
|
-
# resp.app_summary.
|
1917
|
+
# resp.app_summary.launch_configuration_status #=> String, one of "NOT_CONFIGURED", "CONFIGURED"
|
1918
|
+
# 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"
|
1583
1919
|
# resp.app_summary.launch_status_message #=> String
|
1584
1920
|
# resp.app_summary.launch_details.latest_launch_time #=> Time
|
1585
1921
|
# resp.app_summary.launch_details.stack_name #=> String
|
@@ -1619,7 +1955,7 @@ module Aws::SMS
|
|
1619
1955
|
# Updates the specified settings for the specified replication job.
|
1620
1956
|
#
|
1621
1957
|
# @option params [required, String] :replication_job_id
|
1622
|
-
# The
|
1958
|
+
# The ID of the replication job.
|
1623
1959
|
#
|
1624
1960
|
# @option params [Integer] :frequency
|
1625
1961
|
# The time between consecutive replication runs, in hours.
|
@@ -1638,27 +1974,27 @@ module Aws::SMS
|
|
1638
1974
|
# The description of the replication job.
|
1639
1975
|
#
|
1640
1976
|
# @option params [Integer] :number_of_recent_amis_to_keep
|
1641
|
-
# The maximum number of SMS-created AMIs to retain. The oldest
|
1642
|
-
# deleted
|
1977
|
+
# The maximum number of SMS-created AMIs to retain. The oldest is
|
1978
|
+
# deleted after the maximum number is reached and a new AMI is created.
|
1643
1979
|
#
|
1644
1980
|
# @option params [Boolean] :encrypted
|
1645
|
-
# When true, the replication job produces encrypted AMIs
|
1646
|
-
# `KmsKeyId
|
1981
|
+
# When true, the replication job produces encrypted AMIs. For more
|
1982
|
+
# information, `KmsKeyId`.
|
1647
1983
|
#
|
1648
1984
|
# @option params [String] :kms_key_id
|
1649
|
-
# KMS key
|
1650
|
-
# any of the following:
|
1985
|
+
# The ID of the KMS key for replication jobs that produce encrypted
|
1986
|
+
# AMIs. This value can be any of the following:
|
1651
1987
|
#
|
1652
1988
|
# * KMS key ID
|
1653
1989
|
#
|
1654
1990
|
# * KMS key alias
|
1655
1991
|
#
|
1656
|
-
# * ARN referring to KMS key ID
|
1992
|
+
# * ARN referring to the KMS key ID
|
1657
1993
|
#
|
1658
|
-
# * ARN referring to KMS key alias
|
1994
|
+
# * ARN referring to the KMS key alias
|
1659
1995
|
#
|
1660
|
-
# If encrypted is
|
1661
|
-
# customer's default KMS key for EBS is used.
|
1996
|
+
# If encrypted is enabled but a KMS key ID is not specified, the
|
1997
|
+
# customer's default KMS key for Amazon EBS is used.
|
1662
1998
|
#
|
1663
1999
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1664
2000
|
#
|
@@ -1698,7 +2034,7 @@ module Aws::SMS
|
|
1698
2034
|
params: params,
|
1699
2035
|
config: config)
|
1700
2036
|
context[:gem_name] = 'aws-sdk-sms'
|
1701
|
-
context[:gem_version] = '1.
|
2037
|
+
context[:gem_version] = '1.24.0'
|
1702
2038
|
Seahorse::Client::Request.new(handlers, context)
|
1703
2039
|
end
|
1704
2040
|
|