aws-sdk-sms 1.19.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 +3 -1
- data/lib/aws-sdk-sms/client.rb +444 -104
- data/lib/aws-sdk-sms/client_api.rb +262 -3
- data/lib/aws-sdk-sms/customizations.rb +1 -0
- data/lib/aws-sdk-sms/errors.rb +18 -0
- data/lib/aws-sdk-sms/resource.rb +2 -0
- data/lib/aws-sdk-sms/types.rb +1019 -188
- metadata +4 -4
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
@@ -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:
|
@@ -45,6 +47,6 @@ require_relative 'aws-sdk-sms/customizations'
|
|
45
47
|
# @service
|
46
48
|
module Aws::SMS
|
47
49
|
|
48
|
-
GEM_VERSION = '1.
|
50
|
+
GEM_VERSION = '1.24.0'
|
49
51
|
|
50
52
|
end
|
data/lib/aws-sdk-sms/client.rb
CHANGED
@@ -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:
|
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
29
32
|
|
@@ -69,6 +72,7 @@ module Aws::SMS
|
|
69
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
77
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
74
78
|
|
@@ -161,7 +165,7 @@ module Aws::SMS
|
|
161
165
|
# @option options [String] :endpoint
|
162
166
|
# The client endpoint is normally constructed from the `:region`
|
163
167
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be a valid HTTP(S) URI.
|
168
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
169
|
#
|
166
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -176,7 +180,7 @@ module Aws::SMS
|
|
176
180
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
181
|
#
|
178
182
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
183
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
180
184
|
#
|
181
185
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
186
|
# The log formatter.
|
@@ -322,23 +326,24 @@ module Aws::SMS
|
|
322
326
|
# groups. Each server group contain one or more servers.
|
323
327
|
#
|
324
328
|
# @option params [String] :name
|
325
|
-
#
|
329
|
+
# The name of the new application.
|
326
330
|
#
|
327
331
|
# @option params [String] :description
|
328
|
-
#
|
332
|
+
# The description of the new application
|
329
333
|
#
|
330
334
|
# @option params [String] :role_name
|
331
|
-
#
|
335
|
+
# The name of the service role in the customer's account to be used by
|
336
|
+
# AWS SMS.
|
332
337
|
#
|
333
338
|
# @option params [String] :client_token
|
334
|
-
# A unique, case-sensitive identifier you provide to ensure
|
335
|
-
# of application creation.
|
339
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
340
|
+
# idempotency of application creation.
|
336
341
|
#
|
337
342
|
# @option params [Array<Types::ServerGroup>] :server_groups
|
338
|
-
#
|
343
|
+
# The server groups to include in the application.
|
339
344
|
#
|
340
345
|
# @option params [Array<Types::Tag>] :tags
|
341
|
-
#
|
346
|
+
# The tags to be associated with the application.
|
342
347
|
#
|
343
348
|
# @return [Types::CreateAppResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
344
349
|
#
|
@@ -388,14 +393,17 @@ module Aws::SMS
|
|
388
393
|
# @example Response structure
|
389
394
|
#
|
390
395
|
# resp.app_summary.app_id #=> String
|
396
|
+
# resp.app_summary.imported_app_id #=> String
|
391
397
|
# resp.app_summary.name #=> String
|
392
398
|
# resp.app_summary.description #=> String
|
393
399
|
# resp.app_summary.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "DELETE_FAILED"
|
394
400
|
# resp.app_summary.status_message #=> String
|
395
|
-
# 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"
|
396
403
|
# resp.app_summary.replication_status_message #=> String
|
397
404
|
# resp.app_summary.latest_replication_time #=> Time
|
398
|
-
# 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"
|
399
407
|
# resp.app_summary.launch_status_message #=> String
|
400
408
|
# resp.app_summary.launch_details.latest_launch_time #=> Time
|
401
409
|
# resp.app_summary.launch_details.stack_name #=> String
|
@@ -437,7 +445,7 @@ module Aws::SMS
|
|
437
445
|
# creates an Amazon Machine Image (AMI).
|
438
446
|
#
|
439
447
|
# @option params [required, String] :server_id
|
440
|
-
# The
|
448
|
+
# The ID of the server.
|
441
449
|
#
|
442
450
|
# @option params [required, Time,DateTime,Date,Integer,String] :seed_replication_time
|
443
451
|
# The seed replication time.
|
@@ -446,6 +454,7 @@ module Aws::SMS
|
|
446
454
|
# The time between consecutive replication runs, in hours.
|
447
455
|
#
|
448
456
|
# @option params [Boolean] :run_once
|
457
|
+
# Indicates whether to run the replication job one time.
|
449
458
|
#
|
450
459
|
# @option params [String] :license_type
|
451
460
|
# The license type to be used for the AMI created by a successful
|
@@ -458,27 +467,26 @@ module Aws::SMS
|
|
458
467
|
# The description of the replication job.
|
459
468
|
#
|
460
469
|
# @option params [Integer] :number_of_recent_amis_to_keep
|
461
|
-
# The maximum number of SMS-created AMIs to retain. The oldest
|
462
|
-
# 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.
|
463
472
|
#
|
464
473
|
# @option params [Boolean] :encrypted
|
465
|
-
#
|
466
|
-
# `KmsKeyId` below.
|
474
|
+
# Indicates whether the replication job produces encrypted AMIs.
|
467
475
|
#
|
468
476
|
# @option params [String] :kms_key_id
|
469
|
-
# KMS key
|
470
|
-
# 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:
|
471
479
|
#
|
472
480
|
# * KMS key ID
|
473
481
|
#
|
474
482
|
# * KMS key alias
|
475
483
|
#
|
476
|
-
# * ARN referring to KMS key ID
|
484
|
+
# * ARN referring to the KMS key ID
|
477
485
|
#
|
478
|
-
# * ARN referring to KMS key alias
|
486
|
+
# * ARN referring to the KMS key alias
|
479
487
|
#
|
480
|
-
# If encrypted is *true* but a KMS key
|
481
|
-
# 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.
|
482
490
|
#
|
483
491
|
# @return [Types::CreateReplicationJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
484
492
|
#
|
@@ -512,20 +520,20 @@ module Aws::SMS
|
|
512
520
|
req.send_request(options)
|
513
521
|
end
|
514
522
|
|
515
|
-
# Deletes
|
516
|
-
# associated with the application and all AWS SMS replication jobs
|
517
|
-
# 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.
|
518
526
|
#
|
519
527
|
# @option params [String] :app_id
|
520
|
-
# ID of the application
|
528
|
+
# The ID of the application.
|
521
529
|
#
|
522
530
|
# @option params [Boolean] :force_stop_app_replication
|
523
|
-
#
|
524
|
-
#
|
531
|
+
# Indicates whether to stop all replication jobs corresponding to the
|
532
|
+
# servers in the application while deleting the application.
|
525
533
|
#
|
526
534
|
# @option params [Boolean] :force_terminate_app
|
527
|
-
#
|
528
|
-
# the application.
|
535
|
+
# Indicates whether to terminate the stack corresponding to the
|
536
|
+
# application while deleting the application.
|
529
537
|
#
|
530
538
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
531
539
|
#
|
@@ -546,10 +554,10 @@ module Aws::SMS
|
|
546
554
|
req.send_request(options)
|
547
555
|
end
|
548
556
|
|
549
|
-
# Deletes
|
557
|
+
# Deletes the launch configuration for the specified application.
|
550
558
|
#
|
551
559
|
# @option params [String] :app_id
|
552
|
-
# ID of the application
|
560
|
+
# The ID of the application.
|
553
561
|
#
|
554
562
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
555
563
|
#
|
@@ -568,10 +576,10 @@ module Aws::SMS
|
|
568
576
|
req.send_request(options)
|
569
577
|
end
|
570
578
|
|
571
|
-
# Deletes
|
579
|
+
# Deletes the replication configuration for the specified application.
|
572
580
|
#
|
573
581
|
# @option params [String] :app_id
|
574
|
-
# ID of the application
|
582
|
+
# The ID of the application.
|
575
583
|
#
|
576
584
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
577
585
|
#
|
@@ -590,6 +598,28 @@ module Aws::SMS
|
|
590
598
|
req.send_request(options)
|
591
599
|
end
|
592
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
|
+
|
593
623
|
# Deletes the specified replication job.
|
594
624
|
#
|
595
625
|
# After you delete a replication job, there are no further replication
|
@@ -598,7 +628,7 @@ module Aws::SMS
|
|
598
628
|
# deleted.
|
599
629
|
#
|
600
630
|
# @option params [required, String] :replication_job_id
|
601
|
-
# The
|
631
|
+
# The ID of the replication job.
|
602
632
|
#
|
603
633
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
604
634
|
#
|
@@ -636,7 +666,7 @@ module Aws::SMS
|
|
636
666
|
# support replication jobs.
|
637
667
|
#
|
638
668
|
# @option params [required, String] :connector_id
|
639
|
-
# The
|
669
|
+
# The ID of the connector.
|
640
670
|
#
|
641
671
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
642
672
|
#
|
@@ -659,10 +689,10 @@ module Aws::SMS
|
|
659
689
|
# writes it to an Amazon S3 object in the customer’s Amazon S3 bucket.
|
660
690
|
#
|
661
691
|
# @option params [String] :app_id
|
662
|
-
# ID of the application associated with the change set.
|
692
|
+
# The ID of the application associated with the change set.
|
663
693
|
#
|
664
694
|
# @option params [String] :changeset_format
|
665
|
-
#
|
695
|
+
# The format for the change set.
|
666
696
|
#
|
667
697
|
# @return [Types::GenerateChangeSetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
668
698
|
#
|
@@ -689,16 +719,16 @@ module Aws::SMS
|
|
689
719
|
req.send_request(options)
|
690
720
|
end
|
691
721
|
|
692
|
-
# Generates an
|
693
|
-
#
|
694
|
-
#
|
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.
|
695
725
|
#
|
696
726
|
# @option params [String] :app_id
|
697
|
-
# ID of the application associated with the
|
727
|
+
# The ID of the application associated with the AWS CloudFormation
|
698
728
|
# template.
|
699
729
|
#
|
700
730
|
# @option params [String] :template_format
|
701
|
-
#
|
731
|
+
# The format for generating the AWS CloudFormation template.
|
702
732
|
#
|
703
733
|
# @return [Types::GenerateTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
704
734
|
#
|
@@ -725,10 +755,10 @@ module Aws::SMS
|
|
725
755
|
req.send_request(options)
|
726
756
|
end
|
727
757
|
|
728
|
-
# Retrieve information about
|
758
|
+
# Retrieve information about the specified application.
|
729
759
|
#
|
730
760
|
# @option params [String] :app_id
|
731
|
-
# ID of the application
|
761
|
+
# The ID of the application.
|
732
762
|
#
|
733
763
|
# @return [Types::GetAppResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
734
764
|
#
|
@@ -745,14 +775,17 @@ module Aws::SMS
|
|
745
775
|
# @example Response structure
|
746
776
|
#
|
747
777
|
# resp.app_summary.app_id #=> String
|
778
|
+
# resp.app_summary.imported_app_id #=> String
|
748
779
|
# resp.app_summary.name #=> String
|
749
780
|
# resp.app_summary.description #=> String
|
750
781
|
# resp.app_summary.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "DELETE_FAILED"
|
751
782
|
# resp.app_summary.status_message #=> String
|
752
|
-
# 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"
|
753
785
|
# resp.app_summary.replication_status_message #=> String
|
754
786
|
# resp.app_summary.latest_replication_time #=> Time
|
755
|
-
# 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"
|
756
789
|
# resp.app_summary.launch_status_message #=> String
|
757
790
|
# resp.app_summary.launch_details.latest_launch_time #=> Time
|
758
791
|
# resp.app_summary.launch_details.stack_name #=> String
|
@@ -789,16 +822,17 @@ module Aws::SMS
|
|
789
822
|
req.send_request(options)
|
790
823
|
end
|
791
824
|
|
792
|
-
# Retrieves the application launch configuration associated with
|
793
|
-
# application.
|
825
|
+
# Retrieves the application launch configuration associated with the
|
826
|
+
# specified application.
|
794
827
|
#
|
795
828
|
# @option params [String] :app_id
|
796
|
-
# ID of the application
|
829
|
+
# The ID of the application.
|
797
830
|
#
|
798
831
|
# @return [Types::GetAppLaunchConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
799
832
|
#
|
800
833
|
# * {Types::GetAppLaunchConfigurationResponse#app_id #app_id} => String
|
801
834
|
# * {Types::GetAppLaunchConfigurationResponse#role_name #role_name} => String
|
835
|
+
# * {Types::GetAppLaunchConfigurationResponse#auto_launch #auto_launch} => Boolean
|
802
836
|
# * {Types::GetAppLaunchConfigurationResponse#server_group_launch_configurations #server_group_launch_configurations} => Array<Types::ServerGroupLaunchConfiguration>
|
803
837
|
#
|
804
838
|
# @example Request syntax with placeholder values
|
@@ -811,6 +845,7 @@ module Aws::SMS
|
|
811
845
|
#
|
812
846
|
# resp.app_id #=> String
|
813
847
|
# resp.role_name #=> String
|
848
|
+
# resp.auto_launch #=> Boolean
|
814
849
|
# resp.server_group_launch_configurations #=> Array
|
815
850
|
# resp.server_group_launch_configurations[0].server_group_id #=> String
|
816
851
|
# resp.server_group_launch_configurations[0].launch_order #=> Integer
|
@@ -834,6 +869,10 @@ module Aws::SMS
|
|
834
869
|
# resp.server_group_launch_configurations[0].server_launch_configurations[0].user_data.s3_location.key #=> String
|
835
870
|
# resp.server_group_launch_configurations[0].server_launch_configurations[0].instance_type #=> String
|
836
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"
|
837
876
|
#
|
838
877
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetAppLaunchConfiguration AWS API Documentation
|
839
878
|
#
|
@@ -844,11 +883,11 @@ module Aws::SMS
|
|
844
883
|
req.send_request(options)
|
845
884
|
end
|
846
885
|
|
847
|
-
# Retrieves
|
848
|
-
# application.
|
886
|
+
# Retrieves the application replication configuration associated with
|
887
|
+
# the specified application.
|
849
888
|
#
|
850
889
|
# @option params [String] :app_id
|
851
|
-
# ID of the application
|
890
|
+
# The ID of the application.
|
852
891
|
#
|
853
892
|
# @return [Types::GetAppReplicationConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
854
893
|
#
|
@@ -892,6 +931,110 @@ module Aws::SMS
|
|
892
931
|
req.send_request(options)
|
893
932
|
end
|
894
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
|
+
|
895
1038
|
# Describes the connectors registered with the AWS SMS.
|
896
1039
|
#
|
897
1040
|
# @option params [String] :next_token
|
@@ -923,7 +1066,7 @@ module Aws::SMS
|
|
923
1066
|
# resp.connector_list[0].version #=> String
|
924
1067
|
# resp.connector_list[0].status #=> String, one of "HEALTHY", "UNHEALTHY"
|
925
1068
|
# resp.connector_list[0].capability_list #=> Array
|
926
|
-
# 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"
|
927
1070
|
# resp.connector_list[0].vm_manager_name #=> String
|
928
1071
|
# resp.connector_list[0].vm_manager_type #=> String, one of "VSPHERE", "SCVMM", "HYPERV-MANAGER"
|
929
1072
|
# resp.connector_list[0].vm_manager_id #=> String
|
@@ -945,7 +1088,7 @@ module Aws::SMS
|
|
945
1088
|
# jobs.
|
946
1089
|
#
|
947
1090
|
# @option params [String] :replication_job_id
|
948
|
-
# The
|
1091
|
+
# The ID of the replication job.
|
949
1092
|
#
|
950
1093
|
# @option params [String] :next_token
|
951
1094
|
# The token for the next set of results.
|
@@ -1022,7 +1165,7 @@ module Aws::SMS
|
|
1022
1165
|
# Describes the replication runs for the specified replication job.
|
1023
1166
|
#
|
1024
1167
|
# @option params [required, String] :replication_job_id
|
1025
|
-
# The
|
1168
|
+
# The ID of the replication job.
|
1026
1169
|
#
|
1027
1170
|
# @option params [String] :next_token
|
1028
1171
|
# The token for the next set of results.
|
@@ -1123,7 +1266,7 @@ module Aws::SMS
|
|
1123
1266
|
# the returned `NextToken` value.
|
1124
1267
|
#
|
1125
1268
|
# @option params [Array<Types::VmServerAddress>] :vm_server_address_list
|
1126
|
-
#
|
1269
|
+
# The server addresses.
|
1127
1270
|
#
|
1128
1271
|
# @return [Types::GetServersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1129
1272
|
#
|
@@ -1173,8 +1316,37 @@ module Aws::SMS
|
|
1173
1316
|
req.send_request(options)
|
1174
1317
|
end
|
1175
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
|
+
|
1176
1348
|
# Gathers a complete list of on-premises servers. Connectors must be
|
1177
|
-
# installed and monitoring all servers
|
1349
|
+
# installed and monitoring all servers to import.
|
1178
1350
|
#
|
1179
1351
|
# This call returns immediately, but might take additional time to
|
1180
1352
|
# retrieve all the servers.
|
@@ -1190,10 +1362,10 @@ module Aws::SMS
|
|
1190
1362
|
req.send_request(options)
|
1191
1363
|
end
|
1192
1364
|
|
1193
|
-
# Launches
|
1365
|
+
# Launches the specified application as a stack in AWS CloudFormation.
|
1194
1366
|
#
|
1195
1367
|
# @option params [String] :app_id
|
1196
|
-
# ID of the application
|
1368
|
+
# The ID of the application.
|
1197
1369
|
#
|
1198
1370
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1199
1371
|
#
|
@@ -1212,17 +1384,18 @@ module Aws::SMS
|
|
1212
1384
|
req.send_request(options)
|
1213
1385
|
end
|
1214
1386
|
|
1215
|
-
#
|
1387
|
+
# Retrieves summaries for all applications.
|
1216
1388
|
#
|
1217
1389
|
# @option params [Array<String>] :app_ids
|
1390
|
+
# The unique application IDs.
|
1218
1391
|
#
|
1219
1392
|
# @option params [String] :next_token
|
1220
1393
|
# The token for the next set of results.
|
1221
1394
|
#
|
1222
1395
|
# @option params [Integer] :max_results
|
1223
1396
|
# The maximum number of results to return in a single call. The default
|
1224
|
-
# value is
|
1225
|
-
# the returned `NextToken` value.
|
1397
|
+
# value is 100. To retrieve the remaining results, make another call
|
1398
|
+
# with the returned `NextToken` value.
|
1226
1399
|
#
|
1227
1400
|
# @return [Types::ListAppsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1228
1401
|
#
|
@@ -1241,14 +1414,17 @@ module Aws::SMS
|
|
1241
1414
|
#
|
1242
1415
|
# resp.apps #=> Array
|
1243
1416
|
# resp.apps[0].app_id #=> String
|
1417
|
+
# resp.apps[0].imported_app_id #=> String
|
1244
1418
|
# resp.apps[0].name #=> String
|
1245
1419
|
# resp.apps[0].description #=> String
|
1246
1420
|
# resp.apps[0].status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "DELETE_FAILED"
|
1247
1421
|
# resp.apps[0].status_message #=> String
|
1248
|
-
# 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"
|
1249
1424
|
# resp.apps[0].replication_status_message #=> String
|
1250
1425
|
# resp.apps[0].latest_replication_time #=> Time
|
1251
|
-
# 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"
|
1252
1428
|
# resp.apps[0].launch_status_message #=> String
|
1253
1429
|
# resp.apps[0].launch_details.latest_launch_time #=> Time
|
1254
1430
|
# resp.apps[0].launch_details.stack_name #=> String
|
@@ -1269,17 +1445,54 @@ module Aws::SMS
|
|
1269
1445
|
req.send_request(options)
|
1270
1446
|
end
|
1271
1447
|
|
1272
|
-
#
|
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.
|
1273
1481
|
#
|
1274
1482
|
# @option params [String] :app_id
|
1275
|
-
# ID of the application
|
1483
|
+
# The ID of the application.
|
1276
1484
|
#
|
1277
1485
|
# @option params [String] :role_name
|
1278
|
-
#
|
1486
|
+
# The name of service role in the customer's account that AWS
|
1279
1487
|
# CloudFormation uses to launch the application.
|
1280
1488
|
#
|
1489
|
+
# @option params [Boolean] :auto_launch
|
1490
|
+
# Indicates whether the application is configured to launch
|
1491
|
+
# automatically after replication is complete.
|
1492
|
+
#
|
1281
1493
|
# @option params [Array<Types::ServerGroupLaunchConfiguration>] :server_group_launch_configurations
|
1282
|
-
#
|
1494
|
+
# Information about the launch configurations for server groups in the
|
1495
|
+
# application.
|
1283
1496
|
#
|
1284
1497
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1285
1498
|
#
|
@@ -1288,6 +1501,7 @@ module Aws::SMS
|
|
1288
1501
|
# resp = client.put_app_launch_configuration({
|
1289
1502
|
# app_id: "AppId",
|
1290
1503
|
# role_name: "RoleName",
|
1504
|
+
# auto_launch: false,
|
1291
1505
|
# server_group_launch_configurations: [
|
1292
1506
|
# {
|
1293
1507
|
# server_group_id: "ServerGroupId",
|
@@ -1317,12 +1531,18 @@ module Aws::SMS
|
|
1317
1531
|
# ec2_key_name: "EC2KeyName",
|
1318
1532
|
# user_data: {
|
1319
1533
|
# s3_location: {
|
1320
|
-
# bucket: "
|
1321
|
-
# key: "
|
1534
|
+
# bucket: "S3BucketName",
|
1535
|
+
# key: "S3KeyName",
|
1322
1536
|
# },
|
1323
1537
|
# },
|
1324
1538
|
# instance_type: "InstanceType",
|
1325
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
|
1326
1546
|
# },
|
1327
1547
|
# ],
|
1328
1548
|
# },
|
@@ -1338,13 +1558,15 @@ module Aws::SMS
|
|
1338
1558
|
req.send_request(options)
|
1339
1559
|
end
|
1340
1560
|
|
1341
|
-
# Creates or updates
|
1561
|
+
# Creates or updates the replication configuration for the specified
|
1562
|
+
# application.
|
1342
1563
|
#
|
1343
1564
|
# @option params [String] :app_id
|
1344
|
-
# ID of the application
|
1565
|
+
# The ID of the application.
|
1345
1566
|
#
|
1346
1567
|
# @option params [Array<Types::ServerGroupReplicationConfiguration>] :server_group_replication_configurations
|
1347
|
-
#
|
1568
|
+
# Information about the replication configurations for server groups in
|
1569
|
+
# the application.
|
1348
1570
|
#
|
1349
1571
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1350
1572
|
#
|
@@ -1397,10 +1619,97 @@ module Aws::SMS
|
|
1397
1619
|
req.send_request(options)
|
1398
1620
|
end
|
1399
1621
|
|
1400
|
-
#
|
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.
|
1401
1710
|
#
|
1402
1711
|
# @option params [String] :app_id
|
1403
|
-
# ID of the application
|
1712
|
+
# The ID of the application.
|
1404
1713
|
#
|
1405
1714
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1406
1715
|
#
|
@@ -1419,15 +1728,41 @@ module Aws::SMS
|
|
1419
1728
|
req.send_request(options)
|
1420
1729
|
end
|
1421
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
|
+
|
1422
1757
|
# Starts an on-demand replication run for the specified replication job.
|
1423
1758
|
# This replication run starts immediately. This replication run is in
|
1424
1759
|
# addition to the ones already scheduled.
|
1425
1760
|
#
|
1426
|
-
# There is a limit on the number of on-demand replications runs you
|
1427
|
-
# 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.
|
1428
1763
|
#
|
1429
1764
|
# @option params [required, String] :replication_job_id
|
1430
|
-
# The
|
1765
|
+
# The ID of the replication job.
|
1431
1766
|
#
|
1432
1767
|
# @option params [String] :description
|
1433
1768
|
# The description of the replication run.
|
@@ -1456,10 +1791,11 @@ module Aws::SMS
|
|
1456
1791
|
req.send_request(options)
|
1457
1792
|
end
|
1458
1793
|
|
1459
|
-
# Stops replicating
|
1794
|
+
# Stops replicating the specified application by deleting the
|
1795
|
+
# replication job for each server in the application.
|
1460
1796
|
#
|
1461
1797
|
# @option params [String] :app_id
|
1462
|
-
# ID of the application
|
1798
|
+
# The ID of the application.
|
1463
1799
|
#
|
1464
1800
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1465
1801
|
#
|
@@ -1478,10 +1814,10 @@ module Aws::SMS
|
|
1478
1814
|
req.send_request(options)
|
1479
1815
|
end
|
1480
1816
|
|
1481
|
-
# Terminates the stack for
|
1817
|
+
# Terminates the stack for the specified application.
|
1482
1818
|
#
|
1483
1819
|
# @option params [String] :app_id
|
1484
|
-
# ID of the application
|
1820
|
+
# The ID of the application.
|
1485
1821
|
#
|
1486
1822
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1487
1823
|
#
|
@@ -1500,25 +1836,26 @@ module Aws::SMS
|
|
1500
1836
|
req.send_request(options)
|
1501
1837
|
end
|
1502
1838
|
|
1503
|
-
# Updates
|
1839
|
+
# Updates the specified application.
|
1504
1840
|
#
|
1505
1841
|
# @option params [String] :app_id
|
1506
|
-
# ID of the application
|
1842
|
+
# The ID of the application.
|
1507
1843
|
#
|
1508
1844
|
# @option params [String] :name
|
1509
|
-
#
|
1845
|
+
# The new name of the application.
|
1510
1846
|
#
|
1511
1847
|
# @option params [String] :description
|
1512
|
-
#
|
1848
|
+
# The new description of the application.
|
1513
1849
|
#
|
1514
1850
|
# @option params [String] :role_name
|
1515
|
-
#
|
1851
|
+
# The name of the service role in the customer's account used by AWS
|
1852
|
+
# SMS.
|
1516
1853
|
#
|
1517
1854
|
# @option params [Array<Types::ServerGroup>] :server_groups
|
1518
|
-
#
|
1855
|
+
# The server groups in the application to update.
|
1519
1856
|
#
|
1520
1857
|
# @option params [Array<Types::Tag>] :tags
|
1521
|
-
#
|
1858
|
+
# The tags to associate with the application.
|
1522
1859
|
#
|
1523
1860
|
# @return [Types::UpdateAppResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1524
1861
|
#
|
@@ -1568,14 +1905,17 @@ module Aws::SMS
|
|
1568
1905
|
# @example Response structure
|
1569
1906
|
#
|
1570
1907
|
# resp.app_summary.app_id #=> String
|
1908
|
+
# resp.app_summary.imported_app_id #=> String
|
1571
1909
|
# resp.app_summary.name #=> String
|
1572
1910
|
# resp.app_summary.description #=> String
|
1573
1911
|
# resp.app_summary.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "DELETE_FAILED"
|
1574
1912
|
# resp.app_summary.status_message #=> String
|
1575
|
-
# 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"
|
1576
1915
|
# resp.app_summary.replication_status_message #=> String
|
1577
1916
|
# resp.app_summary.latest_replication_time #=> Time
|
1578
|
-
# 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"
|
1579
1919
|
# resp.app_summary.launch_status_message #=> String
|
1580
1920
|
# resp.app_summary.launch_details.latest_launch_time #=> Time
|
1581
1921
|
# resp.app_summary.launch_details.stack_name #=> String
|
@@ -1615,7 +1955,7 @@ module Aws::SMS
|
|
1615
1955
|
# Updates the specified settings for the specified replication job.
|
1616
1956
|
#
|
1617
1957
|
# @option params [required, String] :replication_job_id
|
1618
|
-
# The
|
1958
|
+
# The ID of the replication job.
|
1619
1959
|
#
|
1620
1960
|
# @option params [Integer] :frequency
|
1621
1961
|
# The time between consecutive replication runs, in hours.
|
@@ -1634,27 +1974,27 @@ module Aws::SMS
|
|
1634
1974
|
# The description of the replication job.
|
1635
1975
|
#
|
1636
1976
|
# @option params [Integer] :number_of_recent_amis_to_keep
|
1637
|
-
# The maximum number of SMS-created AMIs to retain. The oldest
|
1638
|
-
# 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.
|
1639
1979
|
#
|
1640
1980
|
# @option params [Boolean] :encrypted
|
1641
|
-
# When true, the replication job produces encrypted AMIs
|
1642
|
-
# `KmsKeyId
|
1981
|
+
# When true, the replication job produces encrypted AMIs. For more
|
1982
|
+
# information, `KmsKeyId`.
|
1643
1983
|
#
|
1644
1984
|
# @option params [String] :kms_key_id
|
1645
|
-
# KMS key
|
1646
|
-
# 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:
|
1647
1987
|
#
|
1648
1988
|
# * KMS key ID
|
1649
1989
|
#
|
1650
1990
|
# * KMS key alias
|
1651
1991
|
#
|
1652
|
-
# * ARN referring to KMS key ID
|
1992
|
+
# * ARN referring to the KMS key ID
|
1653
1993
|
#
|
1654
|
-
# * ARN referring to KMS key alias
|
1994
|
+
# * ARN referring to the KMS key alias
|
1655
1995
|
#
|
1656
|
-
# If encrypted is
|
1657
|
-
# 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.
|
1658
1998
|
#
|
1659
1999
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1660
2000
|
#
|
@@ -1694,7 +2034,7 @@ module Aws::SMS
|
|
1694
2034
|
params: params,
|
1695
2035
|
config: config)
|
1696
2036
|
context[:gem_name] = 'aws-sdk-sms'
|
1697
|
-
context[:gem_version] = '1.
|
2037
|
+
context[:gem_version] = '1.24.0'
|
1698
2038
|
Seahorse::Client::Request.new(handlers, context)
|
1699
2039
|
end
|
1700
2040
|
|