aws-sdk-sms 1.20.0 → 1.25.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 +4 -2
- data/lib/aws-sdk-sms/client.rb +465 -110
- 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: 50b8a5a0428be33c99004bd4b8034b39f883e4eab02613af7856b8add504d87b
|
|
4
|
+
data.tar.gz: dde761da3c84181b9eabb74060a660675b223258c6b837bdffc6bf3d3e5e48e9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 73017952b011c736225cc5d77cf2b24fb7dafe51cfb419bbb1838b207c285d4329b6b2c9886c7c406230cd40cbde81133f3ccbd924eb3554e88880d32691c362
|
|
7
|
+
data.tar.gz: 525a0228538415eda8c116b5e3e2538bfda74715db8a869abec44e0efbfe5ef998e2aab172494decb6f62f33274891d6693ce18b8a68f5449fe9206fcd1a90bb
|
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:
|
|
@@ -42,9 +44,9 @@ require_relative 'aws-sdk-sms/customizations'
|
|
|
42
44
|
#
|
|
43
45
|
# See {Errors} for more information.
|
|
44
46
|
#
|
|
45
|
-
#
|
|
47
|
+
# @!group service
|
|
46
48
|
module Aws::SMS
|
|
47
49
|
|
|
48
|
-
GEM_VERSION = '1.
|
|
50
|
+
GEM_VERSION = '1.25.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
|
|
|
@@ -81,13 +85,28 @@ module Aws::SMS
|
|
|
81
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
|
82
86
|
# credentials.
|
|
83
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
|
+
#
|
|
84
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
|
85
103
|
# from an EC2 IMDS on an EC2 instance.
|
|
86
104
|
#
|
|
87
|
-
# * `Aws::
|
|
88
|
-
#
|
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
|
106
|
+
# instances running in ECS.
|
|
89
107
|
#
|
|
90
|
-
# * `Aws::
|
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
|
109
|
+
# from the Cognito Identity service.
|
|
91
110
|
#
|
|
92
111
|
# When `:credentials` are not configured directly, the following
|
|
93
112
|
# locations will be searched for credentials:
|
|
@@ -97,10 +116,10 @@ module Aws::SMS
|
|
|
97
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
|
98
117
|
# * `~/.aws/credentials`
|
|
99
118
|
# * `~/.aws/config`
|
|
100
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
|
101
|
-
# very aggressive. Construct and pass an instance of
|
|
102
|
-
# `Aws::InstanceProfileCredentails`
|
|
103
|
-
# 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.
|
|
104
123
|
#
|
|
105
124
|
# @option options [required, String] :region
|
|
106
125
|
# The AWS region to connect to. The configured `:region` is
|
|
@@ -161,7 +180,7 @@ module Aws::SMS
|
|
|
161
180
|
# @option options [String] :endpoint
|
|
162
181
|
# The client endpoint is normally constructed from the `:region`
|
|
163
182
|
# option. You should only configure an `:endpoint` when connecting
|
|
164
|
-
# to test endpoints. This should be a valid HTTP(S) URI.
|
|
183
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
|
165
184
|
#
|
|
166
185
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
|
167
186
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
|
@@ -322,23 +341,24 @@ module Aws::SMS
|
|
|
322
341
|
# groups. Each server group contain one or more servers.
|
|
323
342
|
#
|
|
324
343
|
# @option params [String] :name
|
|
325
|
-
#
|
|
344
|
+
# The name of the new application.
|
|
326
345
|
#
|
|
327
346
|
# @option params [String] :description
|
|
328
|
-
#
|
|
347
|
+
# The description of the new application
|
|
329
348
|
#
|
|
330
349
|
# @option params [String] :role_name
|
|
331
|
-
#
|
|
350
|
+
# The name of the service role in the customer's account to be used by
|
|
351
|
+
# AWS SMS.
|
|
332
352
|
#
|
|
333
353
|
# @option params [String] :client_token
|
|
334
|
-
# A unique, case-sensitive identifier you provide to ensure
|
|
335
|
-
# of application creation.
|
|
354
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
|
355
|
+
# idempotency of application creation.
|
|
336
356
|
#
|
|
337
357
|
# @option params [Array<Types::ServerGroup>] :server_groups
|
|
338
|
-
#
|
|
358
|
+
# The server groups to include in the application.
|
|
339
359
|
#
|
|
340
360
|
# @option params [Array<Types::Tag>] :tags
|
|
341
|
-
#
|
|
361
|
+
# The tags to be associated with the application.
|
|
342
362
|
#
|
|
343
363
|
# @return [Types::CreateAppResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
344
364
|
#
|
|
@@ -388,14 +408,17 @@ module Aws::SMS
|
|
|
388
408
|
# @example Response structure
|
|
389
409
|
#
|
|
390
410
|
# resp.app_summary.app_id #=> String
|
|
411
|
+
# resp.app_summary.imported_app_id #=> String
|
|
391
412
|
# resp.app_summary.name #=> String
|
|
392
413
|
# resp.app_summary.description #=> String
|
|
393
414
|
# resp.app_summary.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "DELETE_FAILED"
|
|
394
415
|
# resp.app_summary.status_message #=> String
|
|
395
|
-
# 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"
|
|
396
418
|
# resp.app_summary.replication_status_message #=> String
|
|
397
419
|
# resp.app_summary.latest_replication_time #=> Time
|
|
398
|
-
# 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"
|
|
399
422
|
# resp.app_summary.launch_status_message #=> String
|
|
400
423
|
# resp.app_summary.launch_details.latest_launch_time #=> Time
|
|
401
424
|
# resp.app_summary.launch_details.stack_name #=> String
|
|
@@ -437,7 +460,7 @@ module Aws::SMS
|
|
|
437
460
|
# creates an Amazon Machine Image (AMI).
|
|
438
461
|
#
|
|
439
462
|
# @option params [required, String] :server_id
|
|
440
|
-
# The
|
|
463
|
+
# The ID of the server.
|
|
441
464
|
#
|
|
442
465
|
# @option params [required, Time,DateTime,Date,Integer,String] :seed_replication_time
|
|
443
466
|
# The seed replication time.
|
|
@@ -446,6 +469,7 @@ module Aws::SMS
|
|
|
446
469
|
# The time between consecutive replication runs, in hours.
|
|
447
470
|
#
|
|
448
471
|
# @option params [Boolean] :run_once
|
|
472
|
+
# Indicates whether to run the replication job one time.
|
|
449
473
|
#
|
|
450
474
|
# @option params [String] :license_type
|
|
451
475
|
# The license type to be used for the AMI created by a successful
|
|
@@ -458,27 +482,26 @@ module Aws::SMS
|
|
|
458
482
|
# The description of the replication job.
|
|
459
483
|
#
|
|
460
484
|
# @option params [Integer] :number_of_recent_amis_to_keep
|
|
461
|
-
# The maximum number of SMS-created AMIs to retain. The oldest
|
|
462
|
-
# 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.
|
|
463
487
|
#
|
|
464
488
|
# @option params [Boolean] :encrypted
|
|
465
|
-
#
|
|
466
|
-
# `KmsKeyId` below.
|
|
489
|
+
# Indicates whether the replication job produces encrypted AMIs.
|
|
467
490
|
#
|
|
468
491
|
# @option params [String] :kms_key_id
|
|
469
|
-
# KMS key
|
|
470
|
-
# 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:
|
|
471
494
|
#
|
|
472
495
|
# * KMS key ID
|
|
473
496
|
#
|
|
474
497
|
# * KMS key alias
|
|
475
498
|
#
|
|
476
|
-
# * ARN referring to KMS key ID
|
|
499
|
+
# * ARN referring to the KMS key ID
|
|
477
500
|
#
|
|
478
|
-
# * ARN referring to KMS key alias
|
|
501
|
+
# * ARN referring to the KMS key alias
|
|
479
502
|
#
|
|
480
|
-
# If encrypted is *true* but a KMS key
|
|
481
|
-
# 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.
|
|
482
505
|
#
|
|
483
506
|
# @return [Types::CreateReplicationJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
484
507
|
#
|
|
@@ -512,20 +535,20 @@ module Aws::SMS
|
|
|
512
535
|
req.send_request(options)
|
|
513
536
|
end
|
|
514
537
|
|
|
515
|
-
# Deletes
|
|
516
|
-
# associated with the application and all AWS SMS replication jobs
|
|
517
|
-
# 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.
|
|
518
541
|
#
|
|
519
542
|
# @option params [String] :app_id
|
|
520
|
-
# ID of the application
|
|
543
|
+
# The ID of the application.
|
|
521
544
|
#
|
|
522
545
|
# @option params [Boolean] :force_stop_app_replication
|
|
523
|
-
#
|
|
524
|
-
#
|
|
546
|
+
# Indicates whether to stop all replication jobs corresponding to the
|
|
547
|
+
# servers in the application while deleting the application.
|
|
525
548
|
#
|
|
526
549
|
# @option params [Boolean] :force_terminate_app
|
|
527
|
-
#
|
|
528
|
-
# the application.
|
|
550
|
+
# Indicates whether to terminate the stack corresponding to the
|
|
551
|
+
# application while deleting the application.
|
|
529
552
|
#
|
|
530
553
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
531
554
|
#
|
|
@@ -546,10 +569,10 @@ module Aws::SMS
|
|
|
546
569
|
req.send_request(options)
|
|
547
570
|
end
|
|
548
571
|
|
|
549
|
-
# Deletes
|
|
572
|
+
# Deletes the launch configuration for the specified application.
|
|
550
573
|
#
|
|
551
574
|
# @option params [String] :app_id
|
|
552
|
-
# ID of the application
|
|
575
|
+
# The ID of the application.
|
|
553
576
|
#
|
|
554
577
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
555
578
|
#
|
|
@@ -568,10 +591,10 @@ module Aws::SMS
|
|
|
568
591
|
req.send_request(options)
|
|
569
592
|
end
|
|
570
593
|
|
|
571
|
-
# Deletes
|
|
594
|
+
# Deletes the replication configuration for the specified application.
|
|
572
595
|
#
|
|
573
596
|
# @option params [String] :app_id
|
|
574
|
-
# ID of the application
|
|
597
|
+
# The ID of the application.
|
|
575
598
|
#
|
|
576
599
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
577
600
|
#
|
|
@@ -590,6 +613,28 @@ module Aws::SMS
|
|
|
590
613
|
req.send_request(options)
|
|
591
614
|
end
|
|
592
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
|
+
|
|
593
638
|
# Deletes the specified replication job.
|
|
594
639
|
#
|
|
595
640
|
# After you delete a replication job, there are no further replication
|
|
@@ -598,7 +643,7 @@ module Aws::SMS
|
|
|
598
643
|
# deleted.
|
|
599
644
|
#
|
|
600
645
|
# @option params [required, String] :replication_job_id
|
|
601
|
-
# The
|
|
646
|
+
# The ID of the replication job.
|
|
602
647
|
#
|
|
603
648
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
604
649
|
#
|
|
@@ -636,7 +681,7 @@ module Aws::SMS
|
|
|
636
681
|
# support replication jobs.
|
|
637
682
|
#
|
|
638
683
|
# @option params [required, String] :connector_id
|
|
639
|
-
# The
|
|
684
|
+
# The ID of the connector.
|
|
640
685
|
#
|
|
641
686
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
642
687
|
#
|
|
@@ -659,10 +704,10 @@ module Aws::SMS
|
|
|
659
704
|
# writes it to an Amazon S3 object in the customer’s Amazon S3 bucket.
|
|
660
705
|
#
|
|
661
706
|
# @option params [String] :app_id
|
|
662
|
-
# ID of the application associated with the change set.
|
|
707
|
+
# The ID of the application associated with the change set.
|
|
663
708
|
#
|
|
664
709
|
# @option params [String] :changeset_format
|
|
665
|
-
#
|
|
710
|
+
# The format for the change set.
|
|
666
711
|
#
|
|
667
712
|
# @return [Types::GenerateChangeSetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
668
713
|
#
|
|
@@ -689,16 +734,16 @@ module Aws::SMS
|
|
|
689
734
|
req.send_request(options)
|
|
690
735
|
end
|
|
691
736
|
|
|
692
|
-
# Generates an
|
|
693
|
-
#
|
|
694
|
-
#
|
|
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.
|
|
695
740
|
#
|
|
696
741
|
# @option params [String] :app_id
|
|
697
|
-
# ID of the application associated with the
|
|
742
|
+
# The ID of the application associated with the AWS CloudFormation
|
|
698
743
|
# template.
|
|
699
744
|
#
|
|
700
745
|
# @option params [String] :template_format
|
|
701
|
-
#
|
|
746
|
+
# The format for generating the AWS CloudFormation template.
|
|
702
747
|
#
|
|
703
748
|
# @return [Types::GenerateTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
704
749
|
#
|
|
@@ -725,10 +770,10 @@ module Aws::SMS
|
|
|
725
770
|
req.send_request(options)
|
|
726
771
|
end
|
|
727
772
|
|
|
728
|
-
# Retrieve information about
|
|
773
|
+
# Retrieve information about the specified application.
|
|
729
774
|
#
|
|
730
775
|
# @option params [String] :app_id
|
|
731
|
-
# ID of the application
|
|
776
|
+
# The ID of the application.
|
|
732
777
|
#
|
|
733
778
|
# @return [Types::GetAppResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
734
779
|
#
|
|
@@ -745,14 +790,17 @@ module Aws::SMS
|
|
|
745
790
|
# @example Response structure
|
|
746
791
|
#
|
|
747
792
|
# resp.app_summary.app_id #=> String
|
|
793
|
+
# resp.app_summary.imported_app_id #=> String
|
|
748
794
|
# resp.app_summary.name #=> String
|
|
749
795
|
# resp.app_summary.description #=> String
|
|
750
796
|
# resp.app_summary.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "DELETE_FAILED"
|
|
751
797
|
# resp.app_summary.status_message #=> String
|
|
752
|
-
# 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"
|
|
753
800
|
# resp.app_summary.replication_status_message #=> String
|
|
754
801
|
# resp.app_summary.latest_replication_time #=> Time
|
|
755
|
-
# 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"
|
|
756
804
|
# resp.app_summary.launch_status_message #=> String
|
|
757
805
|
# resp.app_summary.launch_details.latest_launch_time #=> Time
|
|
758
806
|
# resp.app_summary.launch_details.stack_name #=> String
|
|
@@ -789,16 +837,17 @@ module Aws::SMS
|
|
|
789
837
|
req.send_request(options)
|
|
790
838
|
end
|
|
791
839
|
|
|
792
|
-
# Retrieves the application launch configuration associated with
|
|
793
|
-
# application.
|
|
840
|
+
# Retrieves the application launch configuration associated with the
|
|
841
|
+
# specified application.
|
|
794
842
|
#
|
|
795
843
|
# @option params [String] :app_id
|
|
796
|
-
# ID of the application
|
|
844
|
+
# The ID of the application.
|
|
797
845
|
#
|
|
798
846
|
# @return [Types::GetAppLaunchConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
799
847
|
#
|
|
800
848
|
# * {Types::GetAppLaunchConfigurationResponse#app_id #app_id} => String
|
|
801
849
|
# * {Types::GetAppLaunchConfigurationResponse#role_name #role_name} => String
|
|
850
|
+
# * {Types::GetAppLaunchConfigurationResponse#auto_launch #auto_launch} => Boolean
|
|
802
851
|
# * {Types::GetAppLaunchConfigurationResponse#server_group_launch_configurations #server_group_launch_configurations} => Array<Types::ServerGroupLaunchConfiguration>
|
|
803
852
|
#
|
|
804
853
|
# @example Request syntax with placeholder values
|
|
@@ -811,6 +860,7 @@ module Aws::SMS
|
|
|
811
860
|
#
|
|
812
861
|
# resp.app_id #=> String
|
|
813
862
|
# resp.role_name #=> String
|
|
863
|
+
# resp.auto_launch #=> Boolean
|
|
814
864
|
# resp.server_group_launch_configurations #=> Array
|
|
815
865
|
# resp.server_group_launch_configurations[0].server_group_id #=> String
|
|
816
866
|
# resp.server_group_launch_configurations[0].launch_order #=> Integer
|
|
@@ -834,6 +884,10 @@ module Aws::SMS
|
|
|
834
884
|
# resp.server_group_launch_configurations[0].server_launch_configurations[0].user_data.s3_location.key #=> String
|
|
835
885
|
# resp.server_group_launch_configurations[0].server_launch_configurations[0].instance_type #=> String
|
|
836
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"
|
|
837
891
|
#
|
|
838
892
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetAppLaunchConfiguration AWS API Documentation
|
|
839
893
|
#
|
|
@@ -844,11 +898,11 @@ module Aws::SMS
|
|
|
844
898
|
req.send_request(options)
|
|
845
899
|
end
|
|
846
900
|
|
|
847
|
-
# Retrieves
|
|
848
|
-
# application.
|
|
901
|
+
# Retrieves the application replication configuration associated with
|
|
902
|
+
# the specified application.
|
|
849
903
|
#
|
|
850
904
|
# @option params [String] :app_id
|
|
851
|
-
# ID of the application
|
|
905
|
+
# The ID of the application.
|
|
852
906
|
#
|
|
853
907
|
# @return [Types::GetAppReplicationConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
854
908
|
#
|
|
@@ -892,6 +946,110 @@ module Aws::SMS
|
|
|
892
946
|
req.send_request(options)
|
|
893
947
|
end
|
|
894
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
|
+
|
|
895
1053
|
# Describes the connectors registered with the AWS SMS.
|
|
896
1054
|
#
|
|
897
1055
|
# @option params [String] :next_token
|
|
@@ -923,7 +1081,7 @@ module Aws::SMS
|
|
|
923
1081
|
# resp.connector_list[0].version #=> String
|
|
924
1082
|
# resp.connector_list[0].status #=> String, one of "HEALTHY", "UNHEALTHY"
|
|
925
1083
|
# resp.connector_list[0].capability_list #=> Array
|
|
926
|
-
# 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"
|
|
927
1085
|
# resp.connector_list[0].vm_manager_name #=> String
|
|
928
1086
|
# resp.connector_list[0].vm_manager_type #=> String, one of "VSPHERE", "SCVMM", "HYPERV-MANAGER"
|
|
929
1087
|
# resp.connector_list[0].vm_manager_id #=> String
|
|
@@ -945,7 +1103,7 @@ module Aws::SMS
|
|
|
945
1103
|
# jobs.
|
|
946
1104
|
#
|
|
947
1105
|
# @option params [String] :replication_job_id
|
|
948
|
-
# The
|
|
1106
|
+
# The ID of the replication job.
|
|
949
1107
|
#
|
|
950
1108
|
# @option params [String] :next_token
|
|
951
1109
|
# The token for the next set of results.
|
|
@@ -1022,7 +1180,7 @@ module Aws::SMS
|
|
|
1022
1180
|
# Describes the replication runs for the specified replication job.
|
|
1023
1181
|
#
|
|
1024
1182
|
# @option params [required, String] :replication_job_id
|
|
1025
|
-
# The
|
|
1183
|
+
# The ID of the replication job.
|
|
1026
1184
|
#
|
|
1027
1185
|
# @option params [String] :next_token
|
|
1028
1186
|
# The token for the next set of results.
|
|
@@ -1123,7 +1281,7 @@ module Aws::SMS
|
|
|
1123
1281
|
# the returned `NextToken` value.
|
|
1124
1282
|
#
|
|
1125
1283
|
# @option params [Array<Types::VmServerAddress>] :vm_server_address_list
|
|
1126
|
-
#
|
|
1284
|
+
# The server addresses.
|
|
1127
1285
|
#
|
|
1128
1286
|
# @return [Types::GetServersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1129
1287
|
#
|
|
@@ -1173,8 +1331,37 @@ module Aws::SMS
|
|
|
1173
1331
|
req.send_request(options)
|
|
1174
1332
|
end
|
|
1175
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
|
+
|
|
1176
1363
|
# Gathers a complete list of on-premises servers. Connectors must be
|
|
1177
|
-
# installed and monitoring all servers
|
|
1364
|
+
# installed and monitoring all servers to import.
|
|
1178
1365
|
#
|
|
1179
1366
|
# This call returns immediately, but might take additional time to
|
|
1180
1367
|
# retrieve all the servers.
|
|
@@ -1190,10 +1377,10 @@ module Aws::SMS
|
|
|
1190
1377
|
req.send_request(options)
|
|
1191
1378
|
end
|
|
1192
1379
|
|
|
1193
|
-
# Launches
|
|
1380
|
+
# Launches the specified application as a stack in AWS CloudFormation.
|
|
1194
1381
|
#
|
|
1195
1382
|
# @option params [String] :app_id
|
|
1196
|
-
# ID of the application
|
|
1383
|
+
# The ID of the application.
|
|
1197
1384
|
#
|
|
1198
1385
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1199
1386
|
#
|
|
@@ -1212,17 +1399,18 @@ module Aws::SMS
|
|
|
1212
1399
|
req.send_request(options)
|
|
1213
1400
|
end
|
|
1214
1401
|
|
|
1215
|
-
#
|
|
1402
|
+
# Retrieves summaries for all applications.
|
|
1216
1403
|
#
|
|
1217
1404
|
# @option params [Array<String>] :app_ids
|
|
1405
|
+
# The unique application IDs.
|
|
1218
1406
|
#
|
|
1219
1407
|
# @option params [String] :next_token
|
|
1220
1408
|
# The token for the next set of results.
|
|
1221
1409
|
#
|
|
1222
1410
|
# @option params [Integer] :max_results
|
|
1223
1411
|
# The maximum number of results to return in a single call. The default
|
|
1224
|
-
# value is
|
|
1225
|
-
# the returned `NextToken` value.
|
|
1412
|
+
# value is 100. To retrieve the remaining results, make another call
|
|
1413
|
+
# with the returned `NextToken` value.
|
|
1226
1414
|
#
|
|
1227
1415
|
# @return [Types::ListAppsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1228
1416
|
#
|
|
@@ -1241,14 +1429,17 @@ module Aws::SMS
|
|
|
1241
1429
|
#
|
|
1242
1430
|
# resp.apps #=> Array
|
|
1243
1431
|
# resp.apps[0].app_id #=> String
|
|
1432
|
+
# resp.apps[0].imported_app_id #=> String
|
|
1244
1433
|
# resp.apps[0].name #=> String
|
|
1245
1434
|
# resp.apps[0].description #=> String
|
|
1246
1435
|
# resp.apps[0].status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "DELETE_FAILED"
|
|
1247
1436
|
# resp.apps[0].status_message #=> String
|
|
1248
|
-
# 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"
|
|
1249
1439
|
# resp.apps[0].replication_status_message #=> String
|
|
1250
1440
|
# resp.apps[0].latest_replication_time #=> Time
|
|
1251
|
-
# 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"
|
|
1252
1443
|
# resp.apps[0].launch_status_message #=> String
|
|
1253
1444
|
# resp.apps[0].launch_details.latest_launch_time #=> Time
|
|
1254
1445
|
# resp.apps[0].launch_details.stack_name #=> String
|
|
@@ -1269,17 +1460,54 @@ module Aws::SMS
|
|
|
1269
1460
|
req.send_request(options)
|
|
1270
1461
|
end
|
|
1271
1462
|
|
|
1272
|
-
#
|
|
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.
|
|
1273
1496
|
#
|
|
1274
1497
|
# @option params [String] :app_id
|
|
1275
|
-
# ID of the application
|
|
1498
|
+
# The ID of the application.
|
|
1276
1499
|
#
|
|
1277
1500
|
# @option params [String] :role_name
|
|
1278
|
-
#
|
|
1501
|
+
# The name of service role in the customer's account that AWS
|
|
1279
1502
|
# CloudFormation uses to launch the application.
|
|
1280
1503
|
#
|
|
1504
|
+
# @option params [Boolean] :auto_launch
|
|
1505
|
+
# Indicates whether the application is configured to launch
|
|
1506
|
+
# automatically after replication is complete.
|
|
1507
|
+
#
|
|
1281
1508
|
# @option params [Array<Types::ServerGroupLaunchConfiguration>] :server_group_launch_configurations
|
|
1282
|
-
#
|
|
1509
|
+
# Information about the launch configurations for server groups in the
|
|
1510
|
+
# application.
|
|
1283
1511
|
#
|
|
1284
1512
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1285
1513
|
#
|
|
@@ -1288,6 +1516,7 @@ module Aws::SMS
|
|
|
1288
1516
|
# resp = client.put_app_launch_configuration({
|
|
1289
1517
|
# app_id: "AppId",
|
|
1290
1518
|
# role_name: "RoleName",
|
|
1519
|
+
# auto_launch: false,
|
|
1291
1520
|
# server_group_launch_configurations: [
|
|
1292
1521
|
# {
|
|
1293
1522
|
# server_group_id: "ServerGroupId",
|
|
@@ -1317,12 +1546,18 @@ module Aws::SMS
|
|
|
1317
1546
|
# ec2_key_name: "EC2KeyName",
|
|
1318
1547
|
# user_data: {
|
|
1319
1548
|
# s3_location: {
|
|
1320
|
-
# bucket: "
|
|
1321
|
-
# key: "
|
|
1549
|
+
# bucket: "S3BucketName",
|
|
1550
|
+
# key: "S3KeyName",
|
|
1322
1551
|
# },
|
|
1323
1552
|
# },
|
|
1324
1553
|
# instance_type: "InstanceType",
|
|
1325
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
|
|
1326
1561
|
# },
|
|
1327
1562
|
# ],
|
|
1328
1563
|
# },
|
|
@@ -1338,13 +1573,15 @@ module Aws::SMS
|
|
|
1338
1573
|
req.send_request(options)
|
|
1339
1574
|
end
|
|
1340
1575
|
|
|
1341
|
-
# Creates or updates
|
|
1576
|
+
# Creates or updates the replication configuration for the specified
|
|
1577
|
+
# application.
|
|
1342
1578
|
#
|
|
1343
1579
|
# @option params [String] :app_id
|
|
1344
|
-
# ID of the application
|
|
1580
|
+
# The ID of the application.
|
|
1345
1581
|
#
|
|
1346
1582
|
# @option params [Array<Types::ServerGroupReplicationConfiguration>] :server_group_replication_configurations
|
|
1347
|
-
#
|
|
1583
|
+
# Information about the replication configurations for server groups in
|
|
1584
|
+
# the application.
|
|
1348
1585
|
#
|
|
1349
1586
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1350
1587
|
#
|
|
@@ -1397,10 +1634,97 @@ module Aws::SMS
|
|
|
1397
1634
|
req.send_request(options)
|
|
1398
1635
|
end
|
|
1399
1636
|
|
|
1400
|
-
#
|
|
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.
|
|
1401
1725
|
#
|
|
1402
1726
|
# @option params [String] :app_id
|
|
1403
|
-
# ID of the application
|
|
1727
|
+
# The ID of the application.
|
|
1404
1728
|
#
|
|
1405
1729
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1406
1730
|
#
|
|
@@ -1419,15 +1743,41 @@ module Aws::SMS
|
|
|
1419
1743
|
req.send_request(options)
|
|
1420
1744
|
end
|
|
1421
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
|
+
|
|
1422
1772
|
# Starts an on-demand replication run for the specified replication job.
|
|
1423
1773
|
# This replication run starts immediately. This replication run is in
|
|
1424
1774
|
# addition to the ones already scheduled.
|
|
1425
1775
|
#
|
|
1426
|
-
# There is a limit on the number of on-demand replications runs you
|
|
1427
|
-
# 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.
|
|
1428
1778
|
#
|
|
1429
1779
|
# @option params [required, String] :replication_job_id
|
|
1430
|
-
# The
|
|
1780
|
+
# The ID of the replication job.
|
|
1431
1781
|
#
|
|
1432
1782
|
# @option params [String] :description
|
|
1433
1783
|
# The description of the replication run.
|
|
@@ -1456,10 +1806,11 @@ module Aws::SMS
|
|
|
1456
1806
|
req.send_request(options)
|
|
1457
1807
|
end
|
|
1458
1808
|
|
|
1459
|
-
# Stops replicating
|
|
1809
|
+
# Stops replicating the specified application by deleting the
|
|
1810
|
+
# replication job for each server in the application.
|
|
1460
1811
|
#
|
|
1461
1812
|
# @option params [String] :app_id
|
|
1462
|
-
# ID of the application
|
|
1813
|
+
# The ID of the application.
|
|
1463
1814
|
#
|
|
1464
1815
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1465
1816
|
#
|
|
@@ -1478,10 +1829,10 @@ module Aws::SMS
|
|
|
1478
1829
|
req.send_request(options)
|
|
1479
1830
|
end
|
|
1480
1831
|
|
|
1481
|
-
# Terminates the stack for
|
|
1832
|
+
# Terminates the stack for the specified application.
|
|
1482
1833
|
#
|
|
1483
1834
|
# @option params [String] :app_id
|
|
1484
|
-
# ID of the application
|
|
1835
|
+
# The ID of the application.
|
|
1485
1836
|
#
|
|
1486
1837
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1487
1838
|
#
|
|
@@ -1500,25 +1851,26 @@ module Aws::SMS
|
|
|
1500
1851
|
req.send_request(options)
|
|
1501
1852
|
end
|
|
1502
1853
|
|
|
1503
|
-
# Updates
|
|
1854
|
+
# Updates the specified application.
|
|
1504
1855
|
#
|
|
1505
1856
|
# @option params [String] :app_id
|
|
1506
|
-
# ID of the application
|
|
1857
|
+
# The ID of the application.
|
|
1507
1858
|
#
|
|
1508
1859
|
# @option params [String] :name
|
|
1509
|
-
#
|
|
1860
|
+
# The new name of the application.
|
|
1510
1861
|
#
|
|
1511
1862
|
# @option params [String] :description
|
|
1512
|
-
#
|
|
1863
|
+
# The new description of the application.
|
|
1513
1864
|
#
|
|
1514
1865
|
# @option params [String] :role_name
|
|
1515
|
-
#
|
|
1866
|
+
# The name of the service role in the customer's account used by AWS
|
|
1867
|
+
# SMS.
|
|
1516
1868
|
#
|
|
1517
1869
|
# @option params [Array<Types::ServerGroup>] :server_groups
|
|
1518
|
-
#
|
|
1870
|
+
# The server groups in the application to update.
|
|
1519
1871
|
#
|
|
1520
1872
|
# @option params [Array<Types::Tag>] :tags
|
|
1521
|
-
#
|
|
1873
|
+
# The tags to associate with the application.
|
|
1522
1874
|
#
|
|
1523
1875
|
# @return [Types::UpdateAppResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1524
1876
|
#
|
|
@@ -1568,14 +1920,17 @@ module Aws::SMS
|
|
|
1568
1920
|
# @example Response structure
|
|
1569
1921
|
#
|
|
1570
1922
|
# resp.app_summary.app_id #=> String
|
|
1923
|
+
# resp.app_summary.imported_app_id #=> String
|
|
1571
1924
|
# resp.app_summary.name #=> String
|
|
1572
1925
|
# resp.app_summary.description #=> String
|
|
1573
1926
|
# resp.app_summary.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "DELETE_FAILED"
|
|
1574
1927
|
# resp.app_summary.status_message #=> String
|
|
1575
|
-
# 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"
|
|
1576
1930
|
# resp.app_summary.replication_status_message #=> String
|
|
1577
1931
|
# resp.app_summary.latest_replication_time #=> Time
|
|
1578
|
-
# 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"
|
|
1579
1934
|
# resp.app_summary.launch_status_message #=> String
|
|
1580
1935
|
# resp.app_summary.launch_details.latest_launch_time #=> Time
|
|
1581
1936
|
# resp.app_summary.launch_details.stack_name #=> String
|
|
@@ -1615,7 +1970,7 @@ module Aws::SMS
|
|
|
1615
1970
|
# Updates the specified settings for the specified replication job.
|
|
1616
1971
|
#
|
|
1617
1972
|
# @option params [required, String] :replication_job_id
|
|
1618
|
-
# The
|
|
1973
|
+
# The ID of the replication job.
|
|
1619
1974
|
#
|
|
1620
1975
|
# @option params [Integer] :frequency
|
|
1621
1976
|
# The time between consecutive replication runs, in hours.
|
|
@@ -1634,27 +1989,27 @@ module Aws::SMS
|
|
|
1634
1989
|
# The description of the replication job.
|
|
1635
1990
|
#
|
|
1636
1991
|
# @option params [Integer] :number_of_recent_amis_to_keep
|
|
1637
|
-
# The maximum number of SMS-created AMIs to retain. The oldest
|
|
1638
|
-
# 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.
|
|
1639
1994
|
#
|
|
1640
1995
|
# @option params [Boolean] :encrypted
|
|
1641
|
-
# When true, the replication job produces encrypted AMIs
|
|
1642
|
-
# `KmsKeyId
|
|
1996
|
+
# When true, the replication job produces encrypted AMIs. For more
|
|
1997
|
+
# information, `KmsKeyId`.
|
|
1643
1998
|
#
|
|
1644
1999
|
# @option params [String] :kms_key_id
|
|
1645
|
-
# KMS key
|
|
1646
|
-
# 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:
|
|
1647
2002
|
#
|
|
1648
2003
|
# * KMS key ID
|
|
1649
2004
|
#
|
|
1650
2005
|
# * KMS key alias
|
|
1651
2006
|
#
|
|
1652
|
-
# * ARN referring to KMS key ID
|
|
2007
|
+
# * ARN referring to the KMS key ID
|
|
1653
2008
|
#
|
|
1654
|
-
# * ARN referring to KMS key alias
|
|
2009
|
+
# * ARN referring to the KMS key alias
|
|
1655
2010
|
#
|
|
1656
|
-
# If encrypted is
|
|
1657
|
-
# 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.
|
|
1658
2013
|
#
|
|
1659
2014
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1660
2015
|
#
|
|
@@ -1694,7 +2049,7 @@ module Aws::SMS
|
|
|
1694
2049
|
params: params,
|
|
1695
2050
|
config: config)
|
|
1696
2051
|
context[:gem_name] = 'aws-sdk-sms'
|
|
1697
|
-
context[:gem_version] = '1.
|
|
2052
|
+
context[:gem_version] = '1.25.0'
|
|
1698
2053
|
Seahorse::Client::Request.new(handlers, context)
|
|
1699
2054
|
end
|
|
1700
2055
|
|