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