aws-sdk-mgn 1.13.0 → 1.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-mgn/client.rb +341 -1
- data/lib/aws-sdk-mgn/client_api.rb +168 -3
- data/lib/aws-sdk-mgn/errors.rb +5 -0
- data/lib/aws-sdk-mgn/types.rb +462 -0
- data/lib/aws-sdk-mgn.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bad636811c3ce61f13530dfcad4f5847e568da30682c6e9827ac60b2d717c112
|
4
|
+
data.tar.gz: '07012327961755d7a461ca1b2e1167abb68697cb4630083fa4cbf84cae04da45'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d745749c1d33ae8db428105620c0953e6d04167351c5245cdf1c0906c4d9accc8d642e937a863ffecfa6ca01c237bc37ec66b87a2b8e1688c76f087581b193ec
|
7
|
+
data.tar.gz: c94e817d160e9834817f8146d1b50e792e46d32b4e37974bf73620fa0e35621bab79d32f2f060ce9541481ff967108b9f58d1dd0a9d20e3cffec253ffd61575f
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.14.0
|
data/lib/aws-sdk-mgn/client.rb
CHANGED
@@ -457,6 +457,82 @@ module Aws::Mgn
|
|
457
457
|
req.send_request(options)
|
458
458
|
end
|
459
459
|
|
460
|
+
# Creates a new ReplicationConfigurationTemplate.
|
461
|
+
#
|
462
|
+
# @option params [Types::PostLaunchActions] :post_launch_actions
|
463
|
+
# Request to associate the default Application Migration Service
|
464
|
+
# Security group with the Replication Settings template.
|
465
|
+
#
|
466
|
+
# @option params [Hash<String,String>] :tags
|
467
|
+
# Request to associate the default Application Migration Service
|
468
|
+
# Security group with the Replication Settings template.
|
469
|
+
#
|
470
|
+
# @return [Types::LaunchConfigurationTemplate] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
471
|
+
#
|
472
|
+
# * {Types::LaunchConfigurationTemplate#arn #arn} => String
|
473
|
+
# * {Types::LaunchConfigurationTemplate#launch_configuration_template_id #launch_configuration_template_id} => String
|
474
|
+
# * {Types::LaunchConfigurationTemplate#post_launch_actions #post_launch_actions} => Types::PostLaunchActions
|
475
|
+
# * {Types::LaunchConfigurationTemplate#tags #tags} => Hash<String,String>
|
476
|
+
#
|
477
|
+
# @example Request syntax with placeholder values
|
478
|
+
#
|
479
|
+
# resp = client.create_launch_configuration_template({
|
480
|
+
# post_launch_actions: {
|
481
|
+
# cloud_watch_log_group_name: "CloudWatchLogGroupName",
|
482
|
+
# deployment: "TEST_AND_CUTOVER", # accepts TEST_AND_CUTOVER, CUTOVER_ONLY
|
483
|
+
# s3_log_bucket: "S3LogBucketName",
|
484
|
+
# s3_output_key_prefix: "BoundedString",
|
485
|
+
# ssm_documents: [
|
486
|
+
# {
|
487
|
+
# action_name: "BoundedString", # required
|
488
|
+
# must_succeed_for_cutover: false,
|
489
|
+
# parameters: {
|
490
|
+
# "SsmDocumentParameterName" => [
|
491
|
+
# {
|
492
|
+
# parameter_name: "SsmParameterStoreParameterName", # required
|
493
|
+
# parameter_type: "STRING", # required, accepts STRING
|
494
|
+
# },
|
495
|
+
# ],
|
496
|
+
# },
|
497
|
+
# ssm_document_name: "SsmDocumentName", # required
|
498
|
+
# timeout_seconds: 1,
|
499
|
+
# },
|
500
|
+
# ],
|
501
|
+
# },
|
502
|
+
# tags: {
|
503
|
+
# "TagKey" => "TagValue",
|
504
|
+
# },
|
505
|
+
# })
|
506
|
+
#
|
507
|
+
# @example Response structure
|
508
|
+
#
|
509
|
+
# resp.arn #=> String
|
510
|
+
# resp.launch_configuration_template_id #=> String
|
511
|
+
# resp.post_launch_actions.cloud_watch_log_group_name #=> String
|
512
|
+
# resp.post_launch_actions.deployment #=> String, one of "TEST_AND_CUTOVER", "CUTOVER_ONLY"
|
513
|
+
# resp.post_launch_actions.s3_log_bucket #=> String
|
514
|
+
# resp.post_launch_actions.s3_output_key_prefix #=> String
|
515
|
+
# resp.post_launch_actions.ssm_documents #=> Array
|
516
|
+
# resp.post_launch_actions.ssm_documents[0].action_name #=> String
|
517
|
+
# resp.post_launch_actions.ssm_documents[0].must_succeed_for_cutover #=> Boolean
|
518
|
+
# resp.post_launch_actions.ssm_documents[0].parameters #=> Hash
|
519
|
+
# resp.post_launch_actions.ssm_documents[0].parameters["SsmDocumentParameterName"] #=> Array
|
520
|
+
# resp.post_launch_actions.ssm_documents[0].parameters["SsmDocumentParameterName"][0].parameter_name #=> String
|
521
|
+
# resp.post_launch_actions.ssm_documents[0].parameters["SsmDocumentParameterName"][0].parameter_type #=> String, one of "STRING"
|
522
|
+
# resp.post_launch_actions.ssm_documents[0].ssm_document_name #=> String
|
523
|
+
# resp.post_launch_actions.ssm_documents[0].timeout_seconds #=> Integer
|
524
|
+
# resp.tags #=> Hash
|
525
|
+
# resp.tags["TagKey"] #=> String
|
526
|
+
#
|
527
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/CreateLaunchConfigurationTemplate AWS API Documentation
|
528
|
+
#
|
529
|
+
# @overload create_launch_configuration_template(params = {})
|
530
|
+
# @param [Hash] params ({})
|
531
|
+
def create_launch_configuration_template(params = {}, options = {})
|
532
|
+
req = build_request(:create_launch_configuration_template, params)
|
533
|
+
req.send_request(options)
|
534
|
+
end
|
535
|
+
|
460
536
|
# Creates a new ReplicationConfigurationTemplate.
|
461
537
|
#
|
462
538
|
# @option params [required, Boolean] :associate_default_security_group
|
@@ -603,6 +679,28 @@ module Aws::Mgn
|
|
603
679
|
req.send_request(options)
|
604
680
|
end
|
605
681
|
|
682
|
+
# Creates a new ReplicationConfigurationTemplate.
|
683
|
+
#
|
684
|
+
# @option params [required, String] :launch_configuration_template_id
|
685
|
+
# ID of resource to be deleted.
|
686
|
+
#
|
687
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
688
|
+
#
|
689
|
+
# @example Request syntax with placeholder values
|
690
|
+
#
|
691
|
+
# resp = client.delete_launch_configuration_template({
|
692
|
+
# launch_configuration_template_id: "LaunchConfigurationTemplateID", # required
|
693
|
+
# })
|
694
|
+
#
|
695
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DeleteLaunchConfigurationTemplate AWS API Documentation
|
696
|
+
#
|
697
|
+
# @overload delete_launch_configuration_template(params = {})
|
698
|
+
# @param [Hash] params ({})
|
699
|
+
def delete_launch_configuration_template(params = {}, options = {})
|
700
|
+
req = build_request(:delete_launch_configuration_template, params)
|
701
|
+
req.send_request(options)
|
702
|
+
end
|
703
|
+
|
606
704
|
# Deletes a single Replication Configuration Template by ID
|
607
705
|
#
|
608
706
|
# @option params [required, String] :replication_configuration_template_id
|
@@ -762,6 +860,21 @@ module Aws::Mgn
|
|
762
860
|
# resp.items[0].job_id #=> String
|
763
861
|
# resp.items[0].participating_servers #=> Array
|
764
862
|
# resp.items[0].participating_servers[0].launch_status #=> String, one of "PENDING", "IN_PROGRESS", "LAUNCHED", "FAILED", "TERMINATED"
|
863
|
+
# resp.items[0].participating_servers[0].launched_ec2_instance_id #=> String
|
864
|
+
# resp.items[0].participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list #=> Array
|
865
|
+
# resp.items[0].participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].execution_id #=> String
|
866
|
+
# 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"
|
867
|
+
# resp.items[0].participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].failure_reason #=> String
|
868
|
+
# resp.items[0].participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.action_name #=> String
|
869
|
+
# resp.items[0].participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.must_succeed_for_cutover #=> Boolean
|
870
|
+
# resp.items[0].participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.parameters #=> Hash
|
871
|
+
# resp.items[0].participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.parameters["SsmDocumentParameterName"] #=> Array
|
872
|
+
# 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
|
873
|
+
# 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"
|
874
|
+
# resp.items[0].participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.ssm_document_name #=> String
|
875
|
+
# resp.items[0].participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.timeout_seconds #=> Integer
|
876
|
+
# 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"
|
877
|
+
# resp.items[0].participating_servers[0].post_launch_actions_status.ssm_agent_discovery_datetime #=> String
|
765
878
|
# resp.items[0].participating_servers[0].source_server_id #=> String
|
766
879
|
# resp.items[0].status #=> String, one of "PENDING", "STARTED", "COMPLETED"
|
767
880
|
# resp.items[0].tags #=> Hash
|
@@ -778,6 +891,63 @@ module Aws::Mgn
|
|
778
891
|
req.send_request(options)
|
779
892
|
end
|
780
893
|
|
894
|
+
# Creates a new ReplicationConfigurationTemplate.
|
895
|
+
#
|
896
|
+
# @option params [Array<String>] :launch_configuration_template_i_ds
|
897
|
+
# Request to disconnect Source Server from service by Server ID.
|
898
|
+
#
|
899
|
+
# @option params [Integer] :max_results
|
900
|
+
# Request to disconnect Source Server from service by Server ID.
|
901
|
+
#
|
902
|
+
# @option params [String] :next_token
|
903
|
+
# Request to disconnect Source Server from service by Server ID.
|
904
|
+
#
|
905
|
+
# @return [Types::DescribeLaunchConfigurationTemplatesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
906
|
+
#
|
907
|
+
# * {Types::DescribeLaunchConfigurationTemplatesResponse#items #items} => Array<Types::LaunchConfigurationTemplate>
|
908
|
+
# * {Types::DescribeLaunchConfigurationTemplatesResponse#next_token #next_token} => String
|
909
|
+
#
|
910
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
911
|
+
#
|
912
|
+
# @example Request syntax with placeholder values
|
913
|
+
#
|
914
|
+
# resp = client.describe_launch_configuration_templates({
|
915
|
+
# launch_configuration_template_i_ds: ["LaunchConfigurationTemplateID"],
|
916
|
+
# max_results: 1,
|
917
|
+
# next_token: "PaginationToken",
|
918
|
+
# })
|
919
|
+
#
|
920
|
+
# @example Response structure
|
921
|
+
#
|
922
|
+
# resp.items #=> Array
|
923
|
+
# resp.items[0].arn #=> String
|
924
|
+
# resp.items[0].launch_configuration_template_id #=> String
|
925
|
+
# resp.items[0].post_launch_actions.cloud_watch_log_group_name #=> String
|
926
|
+
# resp.items[0].post_launch_actions.deployment #=> String, one of "TEST_AND_CUTOVER", "CUTOVER_ONLY"
|
927
|
+
# resp.items[0].post_launch_actions.s3_log_bucket #=> String
|
928
|
+
# resp.items[0].post_launch_actions.s3_output_key_prefix #=> String
|
929
|
+
# resp.items[0].post_launch_actions.ssm_documents #=> Array
|
930
|
+
# resp.items[0].post_launch_actions.ssm_documents[0].action_name #=> String
|
931
|
+
# resp.items[0].post_launch_actions.ssm_documents[0].must_succeed_for_cutover #=> Boolean
|
932
|
+
# resp.items[0].post_launch_actions.ssm_documents[0].parameters #=> Hash
|
933
|
+
# resp.items[0].post_launch_actions.ssm_documents[0].parameters["SsmDocumentParameterName"] #=> Array
|
934
|
+
# resp.items[0].post_launch_actions.ssm_documents[0].parameters["SsmDocumentParameterName"][0].parameter_name #=> String
|
935
|
+
# resp.items[0].post_launch_actions.ssm_documents[0].parameters["SsmDocumentParameterName"][0].parameter_type #=> String, one of "STRING"
|
936
|
+
# resp.items[0].post_launch_actions.ssm_documents[0].ssm_document_name #=> String
|
937
|
+
# resp.items[0].post_launch_actions.ssm_documents[0].timeout_seconds #=> Integer
|
938
|
+
# resp.items[0].tags #=> Hash
|
939
|
+
# resp.items[0].tags["TagKey"] #=> String
|
940
|
+
# resp.next_token #=> String
|
941
|
+
#
|
942
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DescribeLaunchConfigurationTemplates AWS API Documentation
|
943
|
+
#
|
944
|
+
# @overload describe_launch_configuration_templates(params = {})
|
945
|
+
# @param [Hash] params ({})
|
946
|
+
def describe_launch_configuration_templates(params = {}, options = {})
|
947
|
+
req = build_request(:describe_launch_configuration_templates, params)
|
948
|
+
req.send_request(options)
|
949
|
+
end
|
950
|
+
|
781
951
|
# Lists all ReplicationConfigurationTemplates, filtered by Source Server
|
782
952
|
# IDs.
|
783
953
|
#
|
@@ -1221,6 +1391,7 @@ module Aws::Mgn
|
|
1221
1391
|
# * {Types::LaunchConfiguration#launch_disposition #launch_disposition} => String
|
1222
1392
|
# * {Types::LaunchConfiguration#licensing #licensing} => Types::Licensing
|
1223
1393
|
# * {Types::LaunchConfiguration#name #name} => String
|
1394
|
+
# * {Types::LaunchConfiguration#post_launch_actions #post_launch_actions} => Types::PostLaunchActions
|
1224
1395
|
# * {Types::LaunchConfiguration#source_server_id #source_server_id} => String
|
1225
1396
|
# * {Types::LaunchConfiguration#target_instance_type_right_sizing_method #target_instance_type_right_sizing_method} => String
|
1226
1397
|
#
|
@@ -1239,6 +1410,19 @@ module Aws::Mgn
|
|
1239
1410
|
# resp.launch_disposition #=> String, one of "STOPPED", "STARTED"
|
1240
1411
|
# resp.licensing.os_byol #=> Boolean
|
1241
1412
|
# resp.name #=> String
|
1413
|
+
# resp.post_launch_actions.cloud_watch_log_group_name #=> String
|
1414
|
+
# resp.post_launch_actions.deployment #=> String, one of "TEST_AND_CUTOVER", "CUTOVER_ONLY"
|
1415
|
+
# resp.post_launch_actions.s3_log_bucket #=> String
|
1416
|
+
# resp.post_launch_actions.s3_output_key_prefix #=> String
|
1417
|
+
# resp.post_launch_actions.ssm_documents #=> Array
|
1418
|
+
# resp.post_launch_actions.ssm_documents[0].action_name #=> String
|
1419
|
+
# resp.post_launch_actions.ssm_documents[0].must_succeed_for_cutover #=> Boolean
|
1420
|
+
# resp.post_launch_actions.ssm_documents[0].parameters #=> Hash
|
1421
|
+
# resp.post_launch_actions.ssm_documents[0].parameters["SsmDocumentParameterName"] #=> Array
|
1422
|
+
# resp.post_launch_actions.ssm_documents[0].parameters["SsmDocumentParameterName"][0].parameter_name #=> String
|
1423
|
+
# resp.post_launch_actions.ssm_documents[0].parameters["SsmDocumentParameterName"][0].parameter_type #=> String, one of "STRING"
|
1424
|
+
# resp.post_launch_actions.ssm_documents[0].ssm_document_name #=> String
|
1425
|
+
# resp.post_launch_actions.ssm_documents[0].timeout_seconds #=> Integer
|
1242
1426
|
# resp.source_server_id #=> String
|
1243
1427
|
# resp.target_instance_type_right_sizing_method #=> String, one of "NONE", "BASIC"
|
1244
1428
|
#
|
@@ -1586,6 +1770,21 @@ module Aws::Mgn
|
|
1586
1770
|
# resp.job.job_id #=> String
|
1587
1771
|
# resp.job.participating_servers #=> Array
|
1588
1772
|
# resp.job.participating_servers[0].launch_status #=> String, one of "PENDING", "IN_PROGRESS", "LAUNCHED", "FAILED", "TERMINATED"
|
1773
|
+
# resp.job.participating_servers[0].launched_ec2_instance_id #=> String
|
1774
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list #=> Array
|
1775
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].execution_id #=> String
|
1776
|
+
# 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"
|
1777
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].failure_reason #=> String
|
1778
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.action_name #=> String
|
1779
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.must_succeed_for_cutover #=> Boolean
|
1780
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.parameters #=> Hash
|
1781
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.parameters["SsmDocumentParameterName"] #=> Array
|
1782
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.parameters["SsmDocumentParameterName"][0].parameter_name #=> String
|
1783
|
+
# 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"
|
1784
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.ssm_document_name #=> String
|
1785
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.timeout_seconds #=> Integer
|
1786
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document_type #=> String, one of "AUTOMATION", "COMMAND"
|
1787
|
+
# resp.job.participating_servers[0].post_launch_actions_status.ssm_agent_discovery_datetime #=> String
|
1589
1788
|
# resp.job.participating_servers[0].source_server_id #=> String
|
1590
1789
|
# resp.job.status #=> String, one of "PENDING", "STARTED", "COMPLETED"
|
1591
1790
|
# resp.job.tags #=> Hash
|
@@ -1729,6 +1928,21 @@ module Aws::Mgn
|
|
1729
1928
|
# resp.job.job_id #=> String
|
1730
1929
|
# resp.job.participating_servers #=> Array
|
1731
1930
|
# resp.job.participating_servers[0].launch_status #=> String, one of "PENDING", "IN_PROGRESS", "LAUNCHED", "FAILED", "TERMINATED"
|
1931
|
+
# resp.job.participating_servers[0].launched_ec2_instance_id #=> String
|
1932
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list #=> Array
|
1933
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].execution_id #=> String
|
1934
|
+
# 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"
|
1935
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].failure_reason #=> String
|
1936
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.action_name #=> String
|
1937
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.must_succeed_for_cutover #=> Boolean
|
1938
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.parameters #=> Hash
|
1939
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.parameters["SsmDocumentParameterName"] #=> Array
|
1940
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.parameters["SsmDocumentParameterName"][0].parameter_name #=> String
|
1941
|
+
# 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"
|
1942
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.ssm_document_name #=> String
|
1943
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.timeout_seconds #=> Integer
|
1944
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document_type #=> String, one of "AUTOMATION", "COMMAND"
|
1945
|
+
# resp.job.participating_servers[0].post_launch_actions_status.ssm_agent_discovery_datetime #=> String
|
1732
1946
|
# resp.job.participating_servers[0].source_server_id #=> String
|
1733
1947
|
# resp.job.status #=> String, one of "PENDING", "STARTED", "COMPLETED"
|
1734
1948
|
# resp.job.tags #=> Hash
|
@@ -1808,6 +2022,21 @@ module Aws::Mgn
|
|
1808
2022
|
# resp.job.job_id #=> String
|
1809
2023
|
# resp.job.participating_servers #=> Array
|
1810
2024
|
# resp.job.participating_servers[0].launch_status #=> String, one of "PENDING", "IN_PROGRESS", "LAUNCHED", "FAILED", "TERMINATED"
|
2025
|
+
# resp.job.participating_servers[0].launched_ec2_instance_id #=> String
|
2026
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list #=> Array
|
2027
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].execution_id #=> String
|
2028
|
+
# 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"
|
2029
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].failure_reason #=> String
|
2030
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.action_name #=> String
|
2031
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.must_succeed_for_cutover #=> Boolean
|
2032
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.parameters #=> Hash
|
2033
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.parameters["SsmDocumentParameterName"] #=> Array
|
2034
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.parameters["SsmDocumentParameterName"][0].parameter_name #=> String
|
2035
|
+
# 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"
|
2036
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.ssm_document_name #=> String
|
2037
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document.timeout_seconds #=> Integer
|
2038
|
+
# resp.job.participating_servers[0].post_launch_actions_status.post_launch_actions_launch_status_list[0].ssm_document_type #=> String, one of "AUTOMATION", "COMMAND"
|
2039
|
+
# resp.job.participating_servers[0].post_launch_actions_status.ssm_agent_discovery_datetime #=> String
|
1811
2040
|
# resp.job.participating_servers[0].source_server_id #=> String
|
1812
2041
|
# resp.job.status #=> String, one of "PENDING", "STARTED", "COMPLETED"
|
1813
2042
|
# resp.job.tags #=> Hash
|
@@ -1870,6 +2099,9 @@ module Aws::Mgn
|
|
1870
2099
|
# @option params [String] :name
|
1871
2100
|
# Update Launch configuration name request.
|
1872
2101
|
#
|
2102
|
+
# @option params [Types::PostLaunchActions] :post_launch_actions
|
2103
|
+
# Server participating in Job.
|
2104
|
+
#
|
1873
2105
|
# @option params [required, String] :source_server_id
|
1874
2106
|
# Update Launch configuration by Source Server ID request.
|
1875
2107
|
#
|
@@ -1885,6 +2117,7 @@ module Aws::Mgn
|
|
1885
2117
|
# * {Types::LaunchConfiguration#launch_disposition #launch_disposition} => String
|
1886
2118
|
# * {Types::LaunchConfiguration#licensing #licensing} => Types::Licensing
|
1887
2119
|
# * {Types::LaunchConfiguration#name #name} => String
|
2120
|
+
# * {Types::LaunchConfiguration#post_launch_actions #post_launch_actions} => Types::PostLaunchActions
|
1888
2121
|
# * {Types::LaunchConfiguration#source_server_id #source_server_id} => String
|
1889
2122
|
# * {Types::LaunchConfiguration#target_instance_type_right_sizing_method #target_instance_type_right_sizing_method} => String
|
1890
2123
|
#
|
@@ -1899,6 +2132,28 @@ module Aws::Mgn
|
|
1899
2132
|
# os_byol: false,
|
1900
2133
|
# },
|
1901
2134
|
# name: "SmallBoundedString",
|
2135
|
+
# post_launch_actions: {
|
2136
|
+
# cloud_watch_log_group_name: "CloudWatchLogGroupName",
|
2137
|
+
# deployment: "TEST_AND_CUTOVER", # accepts TEST_AND_CUTOVER, CUTOVER_ONLY
|
2138
|
+
# s3_log_bucket: "S3LogBucketName",
|
2139
|
+
# s3_output_key_prefix: "BoundedString",
|
2140
|
+
# ssm_documents: [
|
2141
|
+
# {
|
2142
|
+
# action_name: "BoundedString", # required
|
2143
|
+
# must_succeed_for_cutover: false,
|
2144
|
+
# parameters: {
|
2145
|
+
# "SsmDocumentParameterName" => [
|
2146
|
+
# {
|
2147
|
+
# parameter_name: "SsmParameterStoreParameterName", # required
|
2148
|
+
# parameter_type: "STRING", # required, accepts STRING
|
2149
|
+
# },
|
2150
|
+
# ],
|
2151
|
+
# },
|
2152
|
+
# ssm_document_name: "SsmDocumentName", # required
|
2153
|
+
# timeout_seconds: 1,
|
2154
|
+
# },
|
2155
|
+
# ],
|
2156
|
+
# },
|
1902
2157
|
# source_server_id: "SourceServerID", # required
|
1903
2158
|
# target_instance_type_right_sizing_method: "NONE", # accepts NONE, BASIC
|
1904
2159
|
# })
|
@@ -1912,6 +2167,19 @@ module Aws::Mgn
|
|
1912
2167
|
# resp.launch_disposition #=> String, one of "STOPPED", "STARTED"
|
1913
2168
|
# resp.licensing.os_byol #=> Boolean
|
1914
2169
|
# resp.name #=> String
|
2170
|
+
# resp.post_launch_actions.cloud_watch_log_group_name #=> String
|
2171
|
+
# resp.post_launch_actions.deployment #=> String, one of "TEST_AND_CUTOVER", "CUTOVER_ONLY"
|
2172
|
+
# resp.post_launch_actions.s3_log_bucket #=> String
|
2173
|
+
# resp.post_launch_actions.s3_output_key_prefix #=> String
|
2174
|
+
# resp.post_launch_actions.ssm_documents #=> Array
|
2175
|
+
# resp.post_launch_actions.ssm_documents[0].action_name #=> String
|
2176
|
+
# resp.post_launch_actions.ssm_documents[0].must_succeed_for_cutover #=> Boolean
|
2177
|
+
# resp.post_launch_actions.ssm_documents[0].parameters #=> Hash
|
2178
|
+
# resp.post_launch_actions.ssm_documents[0].parameters["SsmDocumentParameterName"] #=> Array
|
2179
|
+
# resp.post_launch_actions.ssm_documents[0].parameters["SsmDocumentParameterName"][0].parameter_name #=> String
|
2180
|
+
# resp.post_launch_actions.ssm_documents[0].parameters["SsmDocumentParameterName"][0].parameter_type #=> String, one of "STRING"
|
2181
|
+
# resp.post_launch_actions.ssm_documents[0].ssm_document_name #=> String
|
2182
|
+
# resp.post_launch_actions.ssm_documents[0].timeout_seconds #=> Integer
|
1915
2183
|
# resp.source_server_id #=> String
|
1916
2184
|
# resp.target_instance_type_right_sizing_method #=> String, one of "NONE", "BASIC"
|
1917
2185
|
#
|
@@ -1924,6 +2192,78 @@ module Aws::Mgn
|
|
1924
2192
|
req.send_request(options)
|
1925
2193
|
end
|
1926
2194
|
|
2195
|
+
# Creates a new ReplicationConfigurationTemplate.
|
2196
|
+
#
|
2197
|
+
# @option params [required, String] :launch_configuration_template_id
|
2198
|
+
# Update Launch configuration Target instance right sizing request.
|
2199
|
+
#
|
2200
|
+
# @option params [Types::PostLaunchActions] :post_launch_actions
|
2201
|
+
# Update Launch configuration Target instance right sizing request.
|
2202
|
+
#
|
2203
|
+
# @return [Types::LaunchConfigurationTemplate] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2204
|
+
#
|
2205
|
+
# * {Types::LaunchConfigurationTemplate#arn #arn} => String
|
2206
|
+
# * {Types::LaunchConfigurationTemplate#launch_configuration_template_id #launch_configuration_template_id} => String
|
2207
|
+
# * {Types::LaunchConfigurationTemplate#post_launch_actions #post_launch_actions} => Types::PostLaunchActions
|
2208
|
+
# * {Types::LaunchConfigurationTemplate#tags #tags} => Hash<String,String>
|
2209
|
+
#
|
2210
|
+
# @example Request syntax with placeholder values
|
2211
|
+
#
|
2212
|
+
# resp = client.update_launch_configuration_template({
|
2213
|
+
# launch_configuration_template_id: "LaunchConfigurationTemplateID", # required
|
2214
|
+
# post_launch_actions: {
|
2215
|
+
# cloud_watch_log_group_name: "CloudWatchLogGroupName",
|
2216
|
+
# deployment: "TEST_AND_CUTOVER", # accepts TEST_AND_CUTOVER, CUTOVER_ONLY
|
2217
|
+
# s3_log_bucket: "S3LogBucketName",
|
2218
|
+
# s3_output_key_prefix: "BoundedString",
|
2219
|
+
# ssm_documents: [
|
2220
|
+
# {
|
2221
|
+
# action_name: "BoundedString", # required
|
2222
|
+
# must_succeed_for_cutover: false,
|
2223
|
+
# parameters: {
|
2224
|
+
# "SsmDocumentParameterName" => [
|
2225
|
+
# {
|
2226
|
+
# parameter_name: "SsmParameterStoreParameterName", # required
|
2227
|
+
# parameter_type: "STRING", # required, accepts STRING
|
2228
|
+
# },
|
2229
|
+
# ],
|
2230
|
+
# },
|
2231
|
+
# ssm_document_name: "SsmDocumentName", # required
|
2232
|
+
# timeout_seconds: 1,
|
2233
|
+
# },
|
2234
|
+
# ],
|
2235
|
+
# },
|
2236
|
+
# })
|
2237
|
+
#
|
2238
|
+
# @example Response structure
|
2239
|
+
#
|
2240
|
+
# resp.arn #=> String
|
2241
|
+
# resp.launch_configuration_template_id #=> String
|
2242
|
+
# resp.post_launch_actions.cloud_watch_log_group_name #=> String
|
2243
|
+
# resp.post_launch_actions.deployment #=> String, one of "TEST_AND_CUTOVER", "CUTOVER_ONLY"
|
2244
|
+
# resp.post_launch_actions.s3_log_bucket #=> String
|
2245
|
+
# resp.post_launch_actions.s3_output_key_prefix #=> String
|
2246
|
+
# resp.post_launch_actions.ssm_documents #=> Array
|
2247
|
+
# resp.post_launch_actions.ssm_documents[0].action_name #=> String
|
2248
|
+
# resp.post_launch_actions.ssm_documents[0].must_succeed_for_cutover #=> Boolean
|
2249
|
+
# resp.post_launch_actions.ssm_documents[0].parameters #=> Hash
|
2250
|
+
# resp.post_launch_actions.ssm_documents[0].parameters["SsmDocumentParameterName"] #=> Array
|
2251
|
+
# resp.post_launch_actions.ssm_documents[0].parameters["SsmDocumentParameterName"][0].parameter_name #=> String
|
2252
|
+
# resp.post_launch_actions.ssm_documents[0].parameters["SsmDocumentParameterName"][0].parameter_type #=> String, one of "STRING"
|
2253
|
+
# resp.post_launch_actions.ssm_documents[0].ssm_document_name #=> String
|
2254
|
+
# resp.post_launch_actions.ssm_documents[0].timeout_seconds #=> Integer
|
2255
|
+
# resp.tags #=> Hash
|
2256
|
+
# resp.tags["TagKey"] #=> String
|
2257
|
+
#
|
2258
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateLaunchConfigurationTemplate AWS API Documentation
|
2259
|
+
#
|
2260
|
+
# @overload update_launch_configuration_template(params = {})
|
2261
|
+
# @param [Hash] params ({})
|
2262
|
+
def update_launch_configuration_template(params = {}, options = {})
|
2263
|
+
req = build_request(:update_launch_configuration_template, params)
|
2264
|
+
req.send_request(options)
|
2265
|
+
end
|
2266
|
+
|
1927
2267
|
# Allows you to update multiple ReplicationConfigurations by Source
|
1928
2268
|
# Server ID.
|
1929
2269
|
#
|
@@ -2294,7 +2634,7 @@ module Aws::Mgn
|
|
2294
2634
|
params: params,
|
2295
2635
|
config: config)
|
2296
2636
|
context[:gem_name] = 'aws-sdk-mgn'
|
2297
|
-
context[:gem_version] = '1.
|
2637
|
+
context[:gem_version] = '1.14.0'
|
2298
2638
|
Seahorse::Client::Request.new(handlers, context)
|
2299
2639
|
end
|
2300
2640
|
|