aws-sdk-mgn 1.13.0 → 1.15.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/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-mgn/client.rb +360 -3
- data/lib/aws-sdk-mgn/client_api.rb +168 -3
- data/lib/aws-sdk-mgn/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-mgn/endpoint_provider.rb +111 -0
- data/lib/aws-sdk-mgn/endpoints.rb +477 -0
- data/lib/aws-sdk-mgn/errors.rb +5 -0
- data/lib/aws-sdk-mgn/plugins/endpoints.rb +134 -0
- data/lib/aws-sdk-mgn/types.rb +462 -0
- data/lib/aws-sdk-mgn.rb +5 -1
- metadata +8 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19add52bf52dbcf5db2b0de4d41eaf92a77e35b68560697b377ebba35ee0584a
|
4
|
+
data.tar.gz: 75b5164dadc38cafa69006d90ec67af804a6a8455438ccf3c853865cd773a611
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a6c45faca7e9b14e702fa23f1eb3c8380224e94f04039555172d4fceb9f486dc54631438d072d25bce2e21a76333010ac0903baf9ded509a7e825cf41bae347
|
7
|
+
data.tar.gz: 35b977628fdabf70d24a871ed4f1ac4c52f0a3ba6703865f2fd7d69d7915f19818e211531ea4dbe655986705a57cf3dcc2633fc3c228929b32763579653c9b89
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.15.0 (2022-10-25)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.14.0 (2022-06-23)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - New and modified APIs for the Post-Migration Framework
|
13
|
+
|
4
14
|
1.13.0 (2022-04-20)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.15.0
|
data/lib/aws-sdk-mgn/client.rb
CHANGED
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
|
|
30
30
|
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
31
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
32
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
33
|
-
require 'aws-sdk-core/plugins/
|
33
|
+
require 'aws-sdk-core/plugins/sign.rb'
|
34
34
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
35
35
|
|
36
36
|
Aws::Plugins::GlobalConfiguration.add_identifier(:mgn)
|
@@ -79,8 +79,9 @@ module Aws::Mgn
|
|
79
79
|
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
80
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
81
|
add_plugin(Aws::Plugins::RecursionDetection)
|
82
|
-
add_plugin(Aws::Plugins::
|
82
|
+
add_plugin(Aws::Plugins::Sign)
|
83
83
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
84
|
+
add_plugin(Aws::Mgn::Plugins::Endpoints)
|
84
85
|
|
85
86
|
# @overload initialize(options)
|
86
87
|
# @param [Hash] options
|
@@ -287,6 +288,19 @@ module Aws::Mgn
|
|
287
288
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
288
289
|
# requests are made, and retries are disabled.
|
289
290
|
#
|
291
|
+
# @option options [Aws::TokenProvider] :token_provider
|
292
|
+
# A Bearer Token Provider. This can be an instance of any one of the
|
293
|
+
# following classes:
|
294
|
+
#
|
295
|
+
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
296
|
+
# tokens.
|
297
|
+
#
|
298
|
+
# * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
|
299
|
+
# access token generated from `aws login`.
|
300
|
+
#
|
301
|
+
# When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
|
302
|
+
# will be used to search for tokens configured for your profile in shared configuration files.
|
303
|
+
#
|
290
304
|
# @option options [Boolean] :use_dualstack_endpoint
|
291
305
|
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
292
306
|
# will be used if available.
|
@@ -300,6 +314,9 @@ module Aws::Mgn
|
|
300
314
|
# When `true`, request parameters are validated before
|
301
315
|
# sending the request.
|
302
316
|
#
|
317
|
+
# @option options [Aws::Mgn::EndpointProvider] :endpoint_provider
|
318
|
+
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::Mgn::EndpointParameters`
|
319
|
+
#
|
303
320
|
# @option options [URI::HTTP,String] :http_proxy A proxy to send
|
304
321
|
# requests through. Formatted like 'http://proxy.com:123'.
|
305
322
|
#
|
@@ -457,6 +474,82 @@ module Aws::Mgn
|
|
457
474
|
req.send_request(options)
|
458
475
|
end
|
459
476
|
|
477
|
+
# Creates a new ReplicationConfigurationTemplate.
|
478
|
+
#
|
479
|
+
# @option params [Types::PostLaunchActions] :post_launch_actions
|
480
|
+
# Request to associate the default Application Migration Service
|
481
|
+
# Security group with the Replication Settings template.
|
482
|
+
#
|
483
|
+
# @option params [Hash<String,String>] :tags
|
484
|
+
# Request to associate the default Application Migration Service
|
485
|
+
# Security group with the Replication Settings template.
|
486
|
+
#
|
487
|
+
# @return [Types::LaunchConfigurationTemplate] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
488
|
+
#
|
489
|
+
# * {Types::LaunchConfigurationTemplate#arn #arn} => String
|
490
|
+
# * {Types::LaunchConfigurationTemplate#launch_configuration_template_id #launch_configuration_template_id} => String
|
491
|
+
# * {Types::LaunchConfigurationTemplate#post_launch_actions #post_launch_actions} => Types::PostLaunchActions
|
492
|
+
# * {Types::LaunchConfigurationTemplate#tags #tags} => Hash<String,String>
|
493
|
+
#
|
494
|
+
# @example Request syntax with placeholder values
|
495
|
+
#
|
496
|
+
# resp = client.create_launch_configuration_template({
|
497
|
+
# post_launch_actions: {
|
498
|
+
# cloud_watch_log_group_name: "CloudWatchLogGroupName",
|
499
|
+
# deployment: "TEST_AND_CUTOVER", # accepts TEST_AND_CUTOVER, CUTOVER_ONLY
|
500
|
+
# s3_log_bucket: "S3LogBucketName",
|
501
|
+
# s3_output_key_prefix: "BoundedString",
|
502
|
+
# ssm_documents: [
|
503
|
+
# {
|
504
|
+
# action_name: "BoundedString", # required
|
505
|
+
# must_succeed_for_cutover: false,
|
506
|
+
# parameters: {
|
507
|
+
# "SsmDocumentParameterName" => [
|
508
|
+
# {
|
509
|
+
# parameter_name: "SsmParameterStoreParameterName", # required
|
510
|
+
# parameter_type: "STRING", # required, accepts STRING
|
511
|
+
# },
|
512
|
+
# ],
|
513
|
+
# },
|
514
|
+
# ssm_document_name: "SsmDocumentName", # required
|
515
|
+
# timeout_seconds: 1,
|
516
|
+
# },
|
517
|
+
# ],
|
518
|
+
# },
|
519
|
+
# tags: {
|
520
|
+
# "TagKey" => "TagValue",
|
521
|
+
# },
|
522
|
+
# })
|
523
|
+
#
|
524
|
+
# @example Response structure
|
525
|
+
#
|
526
|
+
# resp.arn #=> String
|
527
|
+
# resp.launch_configuration_template_id #=> String
|
528
|
+
# resp.post_launch_actions.cloud_watch_log_group_name #=> String
|
529
|
+
# resp.post_launch_actions.deployment #=> String, one of "TEST_AND_CUTOVER", "CUTOVER_ONLY"
|
530
|
+
# resp.post_launch_actions.s3_log_bucket #=> String
|
531
|
+
# resp.post_launch_actions.s3_output_key_prefix #=> String
|
532
|
+
# resp.post_launch_actions.ssm_documents #=> Array
|
533
|
+
# resp.post_launch_actions.ssm_documents[0].action_name #=> String
|
534
|
+
# resp.post_launch_actions.ssm_documents[0].must_succeed_for_cutover #=> Boolean
|
535
|
+
# resp.post_launch_actions.ssm_documents[0].parameters #=> Hash
|
536
|
+
# resp.post_launch_actions.ssm_documents[0].parameters["SsmDocumentParameterName"] #=> Array
|
537
|
+
# resp.post_launch_actions.ssm_documents[0].parameters["SsmDocumentParameterName"][0].parameter_name #=> String
|
538
|
+
# resp.post_launch_actions.ssm_documents[0].parameters["SsmDocumentParameterName"][0].parameter_type #=> String, one of "STRING"
|
539
|
+
# resp.post_launch_actions.ssm_documents[0].ssm_document_name #=> String
|
540
|
+
# resp.post_launch_actions.ssm_documents[0].timeout_seconds #=> Integer
|
541
|
+
# resp.tags #=> Hash
|
542
|
+
# resp.tags["TagKey"] #=> String
|
543
|
+
#
|
544
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/CreateLaunchConfigurationTemplate AWS API Documentation
|
545
|
+
#
|
546
|
+
# @overload create_launch_configuration_template(params = {})
|
547
|
+
# @param [Hash] params ({})
|
548
|
+
def create_launch_configuration_template(params = {}, options = {})
|
549
|
+
req = build_request(:create_launch_configuration_template, params)
|
550
|
+
req.send_request(options)
|
551
|
+
end
|
552
|
+
|
460
553
|
# Creates a new ReplicationConfigurationTemplate.
|
461
554
|
#
|
462
555
|
# @option params [required, Boolean] :associate_default_security_group
|
@@ -603,6 +696,28 @@ module Aws::Mgn
|
|
603
696
|
req.send_request(options)
|
604
697
|
end
|
605
698
|
|
699
|
+
# Creates a new ReplicationConfigurationTemplate.
|
700
|
+
#
|
701
|
+
# @option params [required, String] :launch_configuration_template_id
|
702
|
+
# ID of resource to be deleted.
|
703
|
+
#
|
704
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
705
|
+
#
|
706
|
+
# @example Request syntax with placeholder values
|
707
|
+
#
|
708
|
+
# resp = client.delete_launch_configuration_template({
|
709
|
+
# launch_configuration_template_id: "LaunchConfigurationTemplateID", # required
|
710
|
+
# })
|
711
|
+
#
|
712
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DeleteLaunchConfigurationTemplate AWS API Documentation
|
713
|
+
#
|
714
|
+
# @overload delete_launch_configuration_template(params = {})
|
715
|
+
# @param [Hash] params ({})
|
716
|
+
def delete_launch_configuration_template(params = {}, options = {})
|
717
|
+
req = build_request(:delete_launch_configuration_template, params)
|
718
|
+
req.send_request(options)
|
719
|
+
end
|
720
|
+
|
606
721
|
# Deletes a single Replication Configuration Template by ID
|
607
722
|
#
|
608
723
|
# @option params [required, String] :replication_configuration_template_id
|
@@ -762,6 +877,21 @@ module Aws::Mgn
|
|
762
877
|
# resp.items[0].job_id #=> String
|
763
878
|
# resp.items[0].participating_servers #=> Array
|
764
879
|
# resp.items[0].participating_servers[0].launch_status #=> String, one of "PENDING", "IN_PROGRESS", "LAUNCHED", "FAILED", "TERMINATED"
|
880
|
+
# resp.items[0].participating_servers[0].launched_ec2_instance_id #=> String
|
881
|
+
# resp.items[0].participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list #=> Array
|
882
|
+
# resp.items[0].participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].execution_id #=> String
|
883
|
+
# resp.items[0].participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].execution_status #=> String, one of "IN_PROGRESS", "SUCCESS", "FAILED"
|
884
|
+
# resp.items[0].participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].failure_reason #=> String
|
885
|
+
# resp.items[0].participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.action_name #=> String
|
886
|
+
# resp.items[0].participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.must_succeed_for_cutover #=> Boolean
|
887
|
+
# resp.items[0].participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.parameters #=> Hash
|
888
|
+
# resp.items[0].participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.parameters["SsmDocumentParameterName"] #=> Array
|
889
|
+
# resp.items[0].participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.parameters["SsmDocumentParameterName"][0].parameter_name #=> String
|
890
|
+
# resp.items[0].participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.parameters["SsmDocumentParameterName"][0].parameter_type #=> String, one of "STRING"
|
891
|
+
# resp.items[0].participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.ssm_document_name #=> String
|
892
|
+
# resp.items[0].participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.timeout_seconds #=> Integer
|
893
|
+
# resp.items[0].participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document_type #=> String, one of "AUTOMATION", "COMMAND"
|
894
|
+
# resp.items[0].participating_servers[0].post_launch_actions_status.ssm_agent_discovery_datetime #=> String
|
765
895
|
# resp.items[0].participating_servers[0].source_server_id #=> String
|
766
896
|
# resp.items[0].status #=> String, one of "PENDING", "STARTED", "COMPLETED"
|
767
897
|
# resp.items[0].tags #=> Hash
|
@@ -778,6 +908,63 @@ module Aws::Mgn
|
|
778
908
|
req.send_request(options)
|
779
909
|
end
|
780
910
|
|
911
|
+
# Creates a new ReplicationConfigurationTemplate.
|
912
|
+
#
|
913
|
+
# @option params [Array<String>] :launch_configuration_template_i_ds
|
914
|
+
# Request to disconnect Source Server from service by Server ID.
|
915
|
+
#
|
916
|
+
# @option params [Integer] :max_results
|
917
|
+
# Request to disconnect Source Server from service by Server ID.
|
918
|
+
#
|
919
|
+
# @option params [String] :next_token
|
920
|
+
# Request to disconnect Source Server from service by Server ID.
|
921
|
+
#
|
922
|
+
# @return [Types::DescribeLaunchConfigurationTemplatesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
923
|
+
#
|
924
|
+
# * {Types::DescribeLaunchConfigurationTemplatesResponse#items #items} => Array<Types::LaunchConfigurationTemplate>
|
925
|
+
# * {Types::DescribeLaunchConfigurationTemplatesResponse#next_token #next_token} => String
|
926
|
+
#
|
927
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
928
|
+
#
|
929
|
+
# @example Request syntax with placeholder values
|
930
|
+
#
|
931
|
+
# resp = client.describe_launch_configuration_templates({
|
932
|
+
# launch_configuration_template_i_ds: ["LaunchConfigurationTemplateID"],
|
933
|
+
# max_results: 1,
|
934
|
+
# next_token: "PaginationToken",
|
935
|
+
# })
|
936
|
+
#
|
937
|
+
# @example Response structure
|
938
|
+
#
|
939
|
+
# resp.items #=> Array
|
940
|
+
# resp.items[0].arn #=> String
|
941
|
+
# resp.items[0].launch_configuration_template_id #=> String
|
942
|
+
# resp.items[0].post_launch_actions.cloud_watch_log_group_name #=> String
|
943
|
+
# resp.items[0].post_launch_actions.deployment #=> String, one of "TEST_AND_CUTOVER", "CUTOVER_ONLY"
|
944
|
+
# resp.items[0].post_launch_actions.s3_log_bucket #=> String
|
945
|
+
# resp.items[0].post_launch_actions.s3_output_key_prefix #=> String
|
946
|
+
# resp.items[0].post_launch_actions.ssm_documents #=> Array
|
947
|
+
# resp.items[0].post_launch_actions.ssm_documents[0].action_name #=> String
|
948
|
+
# resp.items[0].post_launch_actions.ssm_documents[0].must_succeed_for_cutover #=> Boolean
|
949
|
+
# resp.items[0].post_launch_actions.ssm_documents[0].parameters #=> Hash
|
950
|
+
# resp.items[0].post_launch_actions.ssm_documents[0].parameters["SsmDocumentParameterName"] #=> Array
|
951
|
+
# resp.items[0].post_launch_actions.ssm_documents[0].parameters["SsmDocumentParameterName"][0].parameter_name #=> String
|
952
|
+
# resp.items[0].post_launch_actions.ssm_documents[0].parameters["SsmDocumentParameterName"][0].parameter_type #=> String, one of "STRING"
|
953
|
+
# resp.items[0].post_launch_actions.ssm_documents[0].ssm_document_name #=> String
|
954
|
+
# resp.items[0].post_launch_actions.ssm_documents[0].timeout_seconds #=> Integer
|
955
|
+
# resp.items[0].tags #=> Hash
|
956
|
+
# resp.items[0].tags["TagKey"] #=> String
|
957
|
+
# resp.next_token #=> String
|
958
|
+
#
|
959
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DescribeLaunchConfigurationTemplates AWS API Documentation
|
960
|
+
#
|
961
|
+
# @overload describe_launch_configuration_templates(params = {})
|
962
|
+
# @param [Hash] params ({})
|
963
|
+
def describe_launch_configuration_templates(params = {}, options = {})
|
964
|
+
req = build_request(:describe_launch_configuration_templates, params)
|
965
|
+
req.send_request(options)
|
966
|
+
end
|
967
|
+
|
781
968
|
# Lists all ReplicationConfigurationTemplates, filtered by Source Server
|
782
969
|
# IDs.
|
783
970
|
#
|
@@ -1221,6 +1408,7 @@ module Aws::Mgn
|
|
1221
1408
|
# * {Types::LaunchConfiguration#launch_disposition #launch_disposition} => String
|
1222
1409
|
# * {Types::LaunchConfiguration#licensing #licensing} => Types::Licensing
|
1223
1410
|
# * {Types::LaunchConfiguration#name #name} => String
|
1411
|
+
# * {Types::LaunchConfiguration#post_launch_actions #post_launch_actions} => Types::PostLaunchActions
|
1224
1412
|
# * {Types::LaunchConfiguration#source_server_id #source_server_id} => String
|
1225
1413
|
# * {Types::LaunchConfiguration#target_instance_type_right_sizing_method #target_instance_type_right_sizing_method} => String
|
1226
1414
|
#
|
@@ -1239,6 +1427,19 @@ module Aws::Mgn
|
|
1239
1427
|
# resp.launch_disposition #=> String, one of "STOPPED", "STARTED"
|
1240
1428
|
# resp.licensing.os_byol #=> Boolean
|
1241
1429
|
# resp.name #=> String
|
1430
|
+
# resp.post_launch_actions.cloud_watch_log_group_name #=> String
|
1431
|
+
# resp.post_launch_actions.deployment #=> String, one of "TEST_AND_CUTOVER", "CUTOVER_ONLY"
|
1432
|
+
# resp.post_launch_actions.s3_log_bucket #=> String
|
1433
|
+
# resp.post_launch_actions.s3_output_key_prefix #=> String
|
1434
|
+
# resp.post_launch_actions.ssm_documents #=> Array
|
1435
|
+
# resp.post_launch_actions.ssm_documents[0].action_name #=> String
|
1436
|
+
# resp.post_launch_actions.ssm_documents[0].must_succeed_for_cutover #=> Boolean
|
1437
|
+
# resp.post_launch_actions.ssm_documents[0].parameters #=> Hash
|
1438
|
+
# resp.post_launch_actions.ssm_documents[0].parameters["SsmDocumentParameterName"] #=> Array
|
1439
|
+
# resp.post_launch_actions.ssm_documents[0].parameters["SsmDocumentParameterName"][0].parameter_name #=> String
|
1440
|
+
# resp.post_launch_actions.ssm_documents[0].parameters["SsmDocumentParameterName"][0].parameter_type #=> String, one of "STRING"
|
1441
|
+
# resp.post_launch_actions.ssm_documents[0].ssm_document_name #=> String
|
1442
|
+
# resp.post_launch_actions.ssm_documents[0].timeout_seconds #=> Integer
|
1242
1443
|
# resp.source_server_id #=> String
|
1243
1444
|
# resp.target_instance_type_right_sizing_method #=> String, one of "NONE", "BASIC"
|
1244
1445
|
#
|
@@ -1586,6 +1787,21 @@ module Aws::Mgn
|
|
1586
1787
|
# resp.job.job_id #=> String
|
1587
1788
|
# resp.job.participating_servers #=> Array
|
1588
1789
|
# resp.job.participating_servers[0].launch_status #=> String, one of "PENDING", "IN_PROGRESS", "LAUNCHED", "FAILED", "TERMINATED"
|
1790
|
+
# resp.job.participating_servers[0].launched_ec2_instance_id #=> String
|
1791
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list #=> Array
|
1792
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].execution_id #=> String
|
1793
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].execution_status #=> String, one of "IN_PROGRESS", "SUCCESS", "FAILED"
|
1794
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].failure_reason #=> String
|
1795
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.action_name #=> String
|
1796
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.must_succeed_for_cutover #=> Boolean
|
1797
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.parameters #=> Hash
|
1798
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.parameters["SsmDocumentParameterName"] #=> Array
|
1799
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.parameters["SsmDocumentParameterName"][0].parameter_name #=> String
|
1800
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.parameters["SsmDocumentParameterName"][0].parameter_type #=> String, one of "STRING"
|
1801
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.ssm_document_name #=> String
|
1802
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.timeout_seconds #=> Integer
|
1803
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document_type #=> String, one of "AUTOMATION", "COMMAND"
|
1804
|
+
# resp.job.participating_servers[0].post_launch_actions_status.ssm_agent_discovery_datetime #=> String
|
1589
1805
|
# resp.job.participating_servers[0].source_server_id #=> String
|
1590
1806
|
# resp.job.status #=> String, one of "PENDING", "STARTED", "COMPLETED"
|
1591
1807
|
# resp.job.tags #=> Hash
|
@@ -1729,6 +1945,21 @@ module Aws::Mgn
|
|
1729
1945
|
# resp.job.job_id #=> String
|
1730
1946
|
# resp.job.participating_servers #=> Array
|
1731
1947
|
# resp.job.participating_servers[0].launch_status #=> String, one of "PENDING", "IN_PROGRESS", "LAUNCHED", "FAILED", "TERMINATED"
|
1948
|
+
# resp.job.participating_servers[0].launched_ec2_instance_id #=> String
|
1949
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list #=> Array
|
1950
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].execution_id #=> String
|
1951
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].execution_status #=> String, one of "IN_PROGRESS", "SUCCESS", "FAILED"
|
1952
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].failure_reason #=> String
|
1953
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.action_name #=> String
|
1954
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.must_succeed_for_cutover #=> Boolean
|
1955
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.parameters #=> Hash
|
1956
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.parameters["SsmDocumentParameterName"] #=> Array
|
1957
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.parameters["SsmDocumentParameterName"][0].parameter_name #=> String
|
1958
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.parameters["SsmDocumentParameterName"][0].parameter_type #=> String, one of "STRING"
|
1959
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.ssm_document_name #=> String
|
1960
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.timeout_seconds #=> Integer
|
1961
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document_type #=> String, one of "AUTOMATION", "COMMAND"
|
1962
|
+
# resp.job.participating_servers[0].post_launch_actions_status.ssm_agent_discovery_datetime #=> String
|
1732
1963
|
# resp.job.participating_servers[0].source_server_id #=> String
|
1733
1964
|
# resp.job.status #=> String, one of "PENDING", "STARTED", "COMPLETED"
|
1734
1965
|
# resp.job.tags #=> Hash
|
@@ -1808,6 +2039,21 @@ module Aws::Mgn
|
|
1808
2039
|
# resp.job.job_id #=> String
|
1809
2040
|
# resp.job.participating_servers #=> Array
|
1810
2041
|
# resp.job.participating_servers[0].launch_status #=> String, one of "PENDING", "IN_PROGRESS", "LAUNCHED", "FAILED", "TERMINATED"
|
2042
|
+
# resp.job.participating_servers[0].launched_ec2_instance_id #=> String
|
2043
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list #=> Array
|
2044
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].execution_id #=> String
|
2045
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].execution_status #=> String, one of "IN_PROGRESS", "SUCCESS", "FAILED"
|
2046
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].failure_reason #=> String
|
2047
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.action_name #=> String
|
2048
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.must_succeed_for_cutover #=> Boolean
|
2049
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.parameters #=> Hash
|
2050
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.parameters["SsmDocumentParameterName"] #=> Array
|
2051
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.parameters["SsmDocumentParameterName"][0].parameter_name #=> String
|
2052
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.parameters["SsmDocumentParameterName"][0].parameter_type #=> String, one of "STRING"
|
2053
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.ssm_document_name #=> String
|
2054
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.timeout_seconds #=> Integer
|
2055
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document_type #=> String, one of "AUTOMATION", "COMMAND"
|
2056
|
+
# resp.job.participating_servers[0].post_launch_actions_status.ssm_agent_discovery_datetime #=> String
|
1811
2057
|
# resp.job.participating_servers[0].source_server_id #=> String
|
1812
2058
|
# resp.job.status #=> String, one of "PENDING", "STARTED", "COMPLETED"
|
1813
2059
|
# resp.job.tags #=> Hash
|
@@ -1870,6 +2116,9 @@ module Aws::Mgn
|
|
1870
2116
|
# @option params [String] :name
|
1871
2117
|
# Update Launch configuration name request.
|
1872
2118
|
#
|
2119
|
+
# @option params [Types::PostLaunchActions] :post_launch_actions
|
2120
|
+
# Server participating in Job.
|
2121
|
+
#
|
1873
2122
|
# @option params [required, String] :source_server_id
|
1874
2123
|
# Update Launch configuration by Source Server ID request.
|
1875
2124
|
#
|
@@ -1885,6 +2134,7 @@ module Aws::Mgn
|
|
1885
2134
|
# * {Types::LaunchConfiguration#launch_disposition #launch_disposition} => String
|
1886
2135
|
# * {Types::LaunchConfiguration#licensing #licensing} => Types::Licensing
|
1887
2136
|
# * {Types::LaunchConfiguration#name #name} => String
|
2137
|
+
# * {Types::LaunchConfiguration#post_launch_actions #post_launch_actions} => Types::PostLaunchActions
|
1888
2138
|
# * {Types::LaunchConfiguration#source_server_id #source_server_id} => String
|
1889
2139
|
# * {Types::LaunchConfiguration#target_instance_type_right_sizing_method #target_instance_type_right_sizing_method} => String
|
1890
2140
|
#
|
@@ -1899,6 +2149,28 @@ module Aws::Mgn
|
|
1899
2149
|
# os_byol: false,
|
1900
2150
|
# },
|
1901
2151
|
# name: "SmallBoundedString",
|
2152
|
+
# post_launch_actions: {
|
2153
|
+
# cloud_watch_log_group_name: "CloudWatchLogGroupName",
|
2154
|
+
# deployment: "TEST_AND_CUTOVER", # accepts TEST_AND_CUTOVER, CUTOVER_ONLY
|
2155
|
+
# s3_log_bucket: "S3LogBucketName",
|
2156
|
+
# s3_output_key_prefix: "BoundedString",
|
2157
|
+
# ssm_documents: [
|
2158
|
+
# {
|
2159
|
+
# action_name: "BoundedString", # required
|
2160
|
+
# must_succeed_for_cutover: false,
|
2161
|
+
# parameters: {
|
2162
|
+
# "SsmDocumentParameterName" => [
|
2163
|
+
# {
|
2164
|
+
# parameter_name: "SsmParameterStoreParameterName", # required
|
2165
|
+
# parameter_type: "STRING", # required, accepts STRING
|
2166
|
+
# },
|
2167
|
+
# ],
|
2168
|
+
# },
|
2169
|
+
# ssm_document_name: "SsmDocumentName", # required
|
2170
|
+
# timeout_seconds: 1,
|
2171
|
+
# },
|
2172
|
+
# ],
|
2173
|
+
# },
|
1902
2174
|
# source_server_id: "SourceServerID", # required
|
1903
2175
|
# target_instance_type_right_sizing_method: "NONE", # accepts NONE, BASIC
|
1904
2176
|
# })
|
@@ -1912,6 +2184,19 @@ module Aws::Mgn
|
|
1912
2184
|
# resp.launch_disposition #=> String, one of "STOPPED", "STARTED"
|
1913
2185
|
# resp.licensing.os_byol #=> Boolean
|
1914
2186
|
# resp.name #=> String
|
2187
|
+
# resp.post_launch_actions.cloud_watch_log_group_name #=> String
|
2188
|
+
# resp.post_launch_actions.deployment #=> String, one of "TEST_AND_CUTOVER", "CUTOVER_ONLY"
|
2189
|
+
# resp.post_launch_actions.s3_log_bucket #=> String
|
2190
|
+
# resp.post_launch_actions.s3_output_key_prefix #=> String
|
2191
|
+
# resp.post_launch_actions.ssm_documents #=> Array
|
2192
|
+
# resp.post_launch_actions.ssm_documents[0].action_name #=> String
|
2193
|
+
# resp.post_launch_actions.ssm_documents[0].must_succeed_for_cutover #=> Boolean
|
2194
|
+
# resp.post_launch_actions.ssm_documents[0].parameters #=> Hash
|
2195
|
+
# resp.post_launch_actions.ssm_documents[0].parameters["SsmDocumentParameterName"] #=> Array
|
2196
|
+
# resp.post_launch_actions.ssm_documents[0].parameters["SsmDocumentParameterName"][0].parameter_name #=> String
|
2197
|
+
# resp.post_launch_actions.ssm_documents[0].parameters["SsmDocumentParameterName"][0].parameter_type #=> String, one of "STRING"
|
2198
|
+
# resp.post_launch_actions.ssm_documents[0].ssm_document_name #=> String
|
2199
|
+
# resp.post_launch_actions.ssm_documents[0].timeout_seconds #=> Integer
|
1915
2200
|
# resp.source_server_id #=> String
|
1916
2201
|
# resp.target_instance_type_right_sizing_method #=> String, one of "NONE", "BASIC"
|
1917
2202
|
#
|
@@ -1924,6 +2209,78 @@ module Aws::Mgn
|
|
1924
2209
|
req.send_request(options)
|
1925
2210
|
end
|
1926
2211
|
|
2212
|
+
# Creates a new ReplicationConfigurationTemplate.
|
2213
|
+
#
|
2214
|
+
# @option params [required, String] :launch_configuration_template_id
|
2215
|
+
# Update Launch configuration Target instance right sizing request.
|
2216
|
+
#
|
2217
|
+
# @option params [Types::PostLaunchActions] :post_launch_actions
|
2218
|
+
# Update Launch configuration Target instance right sizing request.
|
2219
|
+
#
|
2220
|
+
# @return [Types::LaunchConfigurationTemplate] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2221
|
+
#
|
2222
|
+
# * {Types::LaunchConfigurationTemplate#arn #arn} => String
|
2223
|
+
# * {Types::LaunchConfigurationTemplate#launch_configuration_template_id #launch_configuration_template_id} => String
|
2224
|
+
# * {Types::LaunchConfigurationTemplate#post_launch_actions #post_launch_actions} => Types::PostLaunchActions
|
2225
|
+
# * {Types::LaunchConfigurationTemplate#tags #tags} => Hash<String,String>
|
2226
|
+
#
|
2227
|
+
# @example Request syntax with placeholder values
|
2228
|
+
#
|
2229
|
+
# resp = client.update_launch_configuration_template({
|
2230
|
+
# launch_configuration_template_id: "LaunchConfigurationTemplateID", # required
|
2231
|
+
# post_launch_actions: {
|
2232
|
+
# cloud_watch_log_group_name: "CloudWatchLogGroupName",
|
2233
|
+
# deployment: "TEST_AND_CUTOVER", # accepts TEST_AND_CUTOVER, CUTOVER_ONLY
|
2234
|
+
# s3_log_bucket: "S3LogBucketName",
|
2235
|
+
# s3_output_key_prefix: "BoundedString",
|
2236
|
+
# ssm_documents: [
|
2237
|
+
# {
|
2238
|
+
# action_name: "BoundedString", # required
|
2239
|
+
# must_succeed_for_cutover: false,
|
2240
|
+
# parameters: {
|
2241
|
+
# "SsmDocumentParameterName" => [
|
2242
|
+
# {
|
2243
|
+
# parameter_name: "SsmParameterStoreParameterName", # required
|
2244
|
+
# parameter_type: "STRING", # required, accepts STRING
|
2245
|
+
# },
|
2246
|
+
# ],
|
2247
|
+
# },
|
2248
|
+
# ssm_document_name: "SsmDocumentName", # required
|
2249
|
+
# timeout_seconds: 1,
|
2250
|
+
# },
|
2251
|
+
# ],
|
2252
|
+
# },
|
2253
|
+
# })
|
2254
|
+
#
|
2255
|
+
# @example Response structure
|
2256
|
+
#
|
2257
|
+
# resp.arn #=> String
|
2258
|
+
# resp.launch_configuration_template_id #=> String
|
2259
|
+
# resp.post_launch_actions.cloud_watch_log_group_name #=> String
|
2260
|
+
# resp.post_launch_actions.deployment #=> String, one of "TEST_AND_CUTOVER", "CUTOVER_ONLY"
|
2261
|
+
# resp.post_launch_actions.s3_log_bucket #=> String
|
2262
|
+
# resp.post_launch_actions.s3_output_key_prefix #=> String
|
2263
|
+
# resp.post_launch_actions.ssm_documents #=> Array
|
2264
|
+
# resp.post_launch_actions.ssm_documents[0].action_name #=> String
|
2265
|
+
# resp.post_launch_actions.ssm_documents[0].must_succeed_for_cutover #=> Boolean
|
2266
|
+
# resp.post_launch_actions.ssm_documents[0].parameters #=> Hash
|
2267
|
+
# resp.post_launch_actions.ssm_documents[0].parameters["SsmDocumentParameterName"] #=> Array
|
2268
|
+
# resp.post_launch_actions.ssm_documents[0].parameters["SsmDocumentParameterName"][0].parameter_name #=> String
|
2269
|
+
# resp.post_launch_actions.ssm_documents[0].parameters["SsmDocumentParameterName"][0].parameter_type #=> String, one of "STRING"
|
2270
|
+
# resp.post_launch_actions.ssm_documents[0].ssm_document_name #=> String
|
2271
|
+
# resp.post_launch_actions.ssm_documents[0].timeout_seconds #=> Integer
|
2272
|
+
# resp.tags #=> Hash
|
2273
|
+
# resp.tags["TagKey"] #=> String
|
2274
|
+
#
|
2275
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateLaunchConfigurationTemplate AWS API Documentation
|
2276
|
+
#
|
2277
|
+
# @overload update_launch_configuration_template(params = {})
|
2278
|
+
# @param [Hash] params ({})
|
2279
|
+
def update_launch_configuration_template(params = {}, options = {})
|
2280
|
+
req = build_request(:update_launch_configuration_template, params)
|
2281
|
+
req.send_request(options)
|
2282
|
+
end
|
2283
|
+
|
1927
2284
|
# Allows you to update multiple ReplicationConfigurations by Source
|
1928
2285
|
# Server ID.
|
1929
2286
|
#
|
@@ -2294,7 +2651,7 @@ module Aws::Mgn
|
|
2294
2651
|
params: params,
|
2295
2652
|
config: config)
|
2296
2653
|
context[:gem_name] = 'aws-sdk-mgn'
|
2297
|
-
context[:gem_version] = '1.
|
2654
|
+
context[:gem_version] = '1.15.0'
|
2298
2655
|
Seahorse::Client::Request.new(handlers, context)
|
2299
2656
|
end
|
2300
2657
|
|