aws-sdk-mgn 1.11.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 +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-mgn/client.rb +396 -44
- data/lib/aws-sdk-mgn/client_api.rb +176 -6
- data/lib/aws-sdk-mgn/errors.rb +10 -0
- data/lib/aws-sdk-mgn/types.rb +527 -43
- data/lib/aws-sdk-mgn.rb +1 -1
- metadata +2 -2
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
|
@@ -476,15 +552,15 @@ module Aws::Mgn
|
|
476
552
|
# template creation.
|
477
553
|
#
|
478
554
|
# @option params [required, String] :default_large_staging_disk_type
|
479
|
-
# Request to configure the
|
555
|
+
# Request to configure the default large staging disk EBS volume type
|
480
556
|
# during Replication Settings template creation.
|
481
557
|
#
|
482
558
|
# @option params [required, String] :ebs_encryption
|
483
|
-
# Request to configure EBS
|
559
|
+
# Request to configure EBS encryption during Replication Settings
|
484
560
|
# template creation.
|
485
561
|
#
|
486
562
|
# @option params [String] :ebs_encryption_key_arn
|
487
|
-
# Request to configure an EBS
|
563
|
+
# Request to configure an EBS encryption key during Replication Settings
|
488
564
|
# template creation.
|
489
565
|
#
|
490
566
|
# @option params [required, String] :replication_server_instance_type
|
@@ -492,7 +568,7 @@ module Aws::Mgn
|
|
492
568
|
# Replication Settings template creation.
|
493
569
|
#
|
494
570
|
# @option params [required, Array<String>] :replication_servers_security_groups_i_ds
|
495
|
-
# Request to configure the Replication Server
|
571
|
+
# Request to configure the Replication Server Security group ID during
|
496
572
|
# Replication Settings template creation.
|
497
573
|
#
|
498
574
|
# @option params [required, String] :staging_area_subnet_id
|
@@ -500,7 +576,7 @@ module Aws::Mgn
|
|
500
576
|
# Settings template creation.
|
501
577
|
#
|
502
578
|
# @option params [required, Hash<String,String>] :staging_area_tags
|
503
|
-
# Request to configure
|
579
|
+
# Request to configure Staging Area tags during Replication Settings
|
504
580
|
# template creation.
|
505
581
|
#
|
506
582
|
# @option params [Hash<String,String>] :tags
|
@@ -536,7 +612,7 @@ module Aws::Mgn
|
|
536
612
|
# bandwidth_throttling: 1, # required
|
537
613
|
# create_public_ip: false, # required
|
538
614
|
# data_plane_routing: "PRIVATE_IP", # required, accepts PRIVATE_IP, PUBLIC_IP
|
539
|
-
# default_large_staging_disk_type: "GP2", # required, accepts GP2, ST1
|
615
|
+
# default_large_staging_disk_type: "GP2", # required, accepts GP2, ST1, GP3
|
540
616
|
# ebs_encryption: "DEFAULT", # required, accepts DEFAULT, CUSTOM
|
541
617
|
# ebs_encryption_key_arn: "ARN",
|
542
618
|
# replication_server_instance_type: "EC2InstanceType", # required
|
@@ -558,7 +634,7 @@ module Aws::Mgn
|
|
558
634
|
# resp.bandwidth_throttling #=> Integer
|
559
635
|
# resp.create_public_ip #=> Boolean
|
560
636
|
# resp.data_plane_routing #=> String, one of "PRIVATE_IP", "PUBLIC_IP"
|
561
|
-
# resp.default_large_staging_disk_type #=> String, one of "GP2", "ST1"
|
637
|
+
# resp.default_large_staging_disk_type #=> String, one of "GP2", "ST1", "GP3"
|
562
638
|
# resp.ebs_encryption #=> String, one of "DEFAULT", "CUSTOM"
|
563
639
|
# resp.ebs_encryption_key_arn #=> String
|
564
640
|
# resp.replication_configuration_template_id #=> String
|
@@ -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
|
@@ -648,7 +746,7 @@ module Aws::Mgn
|
|
648
746
|
req.send_request(options)
|
649
747
|
end
|
650
748
|
|
651
|
-
# Deletes a
|
749
|
+
# Deletes a given vCenter client by ID.
|
652
750
|
#
|
653
751
|
# @option params [required, String] :vcenter_client_id
|
654
752
|
# ID of resource to be deleted.
|
@@ -670,7 +768,7 @@ module Aws::Mgn
|
|
670
768
|
req.send_request(options)
|
671
769
|
end
|
672
770
|
|
673
|
-
# Retrieves detailed
|
771
|
+
# Retrieves detailed job log items with paging.
|
674
772
|
#
|
675
773
|
# @option params [required, String] :job_id
|
676
774
|
# Request to describe Job log job ID.
|
@@ -718,20 +816,20 @@ module Aws::Mgn
|
|
718
816
|
|
719
817
|
# Returns a list of Jobs. Use the JobsID and fromDate and toData filters
|
720
818
|
# to limit which jobs are returned. The response is sorted by
|
721
|
-
# creationDataTime - latest date first. Jobs are
|
819
|
+
# creationDataTime - latest date first. Jobs are normally created by the
|
722
820
|
# StartTest, StartCutover, and TerminateTargetInstances APIs. Jobs are
|
723
821
|
# also created by DiagnosticLaunch and TerminateDiagnosticInstances,
|
724
822
|
# which are APIs available only to *Support* and only used in response
|
725
823
|
# to relevant support tickets.
|
726
824
|
#
|
727
|
-
# @option params [
|
825
|
+
# @option params [Types::DescribeJobsRequestFilters] :filters
|
728
826
|
# Request to describe Job log filters.
|
729
827
|
#
|
730
828
|
# @option params [Integer] :max_results
|
731
|
-
# Request to describe
|
829
|
+
# Request to describe job log items by max results.
|
732
830
|
#
|
733
831
|
# @option params [String] :next_token
|
734
|
-
# Request to describe
|
832
|
+
# Request to describe job log items by next token.
|
735
833
|
#
|
736
834
|
# @return [Types::DescribeJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
737
835
|
#
|
@@ -743,7 +841,7 @@ module Aws::Mgn
|
|
743
841
|
# @example Request syntax with placeholder values
|
744
842
|
#
|
745
843
|
# resp = client.describe_jobs({
|
746
|
-
# filters: {
|
844
|
+
# filters: {
|
747
845
|
# from_date: "ISO8601DatetimeString",
|
748
846
|
# job_i_ds: ["JobID"],
|
749
847
|
# to_date: "ISO8601DatetimeString",
|
@@ -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
|
#
|
@@ -787,7 +957,7 @@ module Aws::Mgn
|
|
787
957
|
# @option params [String] :next_token
|
788
958
|
# Request to describe Replication Configuration template by next token.
|
789
959
|
#
|
790
|
-
# @option params [
|
960
|
+
# @option params [Array<String>] :replication_configuration_template_i_ds
|
791
961
|
# Request to describe Replication Configuration template by template
|
792
962
|
# IDs.
|
793
963
|
#
|
@@ -803,7 +973,7 @@ module Aws::Mgn
|
|
803
973
|
# resp = client.describe_replication_configuration_templates({
|
804
974
|
# max_results: 1,
|
805
975
|
# next_token: "PaginationToken",
|
806
|
-
# replication_configuration_template_i_ds: ["ReplicationConfigurationTemplateID"],
|
976
|
+
# replication_configuration_template_i_ds: ["ReplicationConfigurationTemplateID"],
|
807
977
|
# })
|
808
978
|
#
|
809
979
|
# @example Response structure
|
@@ -814,7 +984,7 @@ module Aws::Mgn
|
|
814
984
|
# resp.items[0].bandwidth_throttling #=> Integer
|
815
985
|
# resp.items[0].create_public_ip #=> Boolean
|
816
986
|
# resp.items[0].data_plane_routing #=> String, one of "PRIVATE_IP", "PUBLIC_IP"
|
817
|
-
# resp.items[0].default_large_staging_disk_type #=> String, one of "GP2", "ST1"
|
987
|
+
# resp.items[0].default_large_staging_disk_type #=> String, one of "GP2", "ST1", "GP3"
|
818
988
|
# resp.items[0].ebs_encryption #=> String, one of "DEFAULT", "CUSTOM"
|
819
989
|
# resp.items[0].ebs_encryption_key_arn #=> String
|
820
990
|
# resp.items[0].replication_configuration_template_id #=> String
|
@@ -840,7 +1010,7 @@ module Aws::Mgn
|
|
840
1010
|
|
841
1011
|
# Retrieves all SourceServers or multiple SourceServers by ID.
|
842
1012
|
#
|
843
|
-
# @option params [
|
1013
|
+
# @option params [Types::DescribeSourceServersRequestFilters] :filters
|
844
1014
|
# Request to filter Source Servers list.
|
845
1015
|
#
|
846
1016
|
# @option params [Integer] :max_results
|
@@ -859,7 +1029,7 @@ module Aws::Mgn
|
|
859
1029
|
# @example Request syntax with placeholder values
|
860
1030
|
#
|
861
1031
|
# resp = client.describe_source_servers({
|
862
|
-
# filters: {
|
1032
|
+
# filters: {
|
863
1033
|
# is_archived: false,
|
864
1034
|
# life_cycle_states: ["STOPPED"], # accepts STOPPED, NOT_READY, READY_FOR_TEST, TESTING, READY_FOR_CUTOVER, CUTTING_OVER, CUTOVER, DISCONNECTED, DISCOVERED
|
865
1035
|
# replication_types: ["AGENT_BASED"], # accepts AGENT_BASED, SNAPSHOT_SHIPPING
|
@@ -943,7 +1113,7 @@ module Aws::Mgn
|
|
943
1113
|
req.send_request(options)
|
944
1114
|
end
|
945
1115
|
|
946
|
-
#
|
1116
|
+
# Returns a list of the installed vCenter clients.
|
947
1117
|
#
|
948
1118
|
# @option params [Integer] :max_results
|
949
1119
|
# Maximum results to be returned in DescribeVcenterClients.
|
@@ -995,14 +1165,14 @@ module Aws::Mgn
|
|
995
1165
|
# of these source servers will be terminated / deleted within 90
|
996
1166
|
# minutes. Launched Test or Cutover instances will NOT be terminated. If
|
997
1167
|
# the agent on the source server has not been prevented from
|
998
|
-
#
|
1168
|
+
# communicating with the Application Migration Service service, then it
|
999
1169
|
# will receive a command to uninstall itself (within approximately 10
|
1000
1170
|
# minutes). The following properties of the SourceServer will be changed
|
1001
1171
|
# immediately: dataReplicationInfo.dataReplicationState will be set to
|
1002
1172
|
# DISCONNECTED; The totalStorageBytes property for each of
|
1003
1173
|
# dataReplicationInfo.replicatedDisks will be set to zero;
|
1004
|
-
# dataReplicationInfo.lagDuration and
|
1005
|
-
#
|
1174
|
+
# dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration
|
1175
|
+
# will be nullified.
|
1006
1176
|
#
|
1007
1177
|
# @option params [required, String] :source_server_id
|
1008
1178
|
# Request to disconnect Source Server from service by Server ID.
|
@@ -1105,15 +1275,15 @@ module Aws::Mgn
|
|
1105
1275
|
# terminated. The AWS Replication Agent will receive a command to
|
1106
1276
|
# uninstall itself (within 10 minutes). The following properties of the
|
1107
1277
|
# SourceServer will be changed immediately:
|
1108
|
-
# dataReplicationInfo.dataReplicationState will be to
|
1109
|
-
# SourceServer.lifeCycle.state will be changed to
|
1110
|
-
# totalStorageBytes property fo each of
|
1278
|
+
# dataReplicationInfo.dataReplicationState will be changed to
|
1279
|
+
# DISCONNECTED; The SourceServer.lifeCycle.state will be changed to
|
1280
|
+
# CUTOVER; The totalStorageBytes property fo each of
|
1111
1281
|
# dataReplicationInfo.replicatedDisks will be set to zero;
|
1112
|
-
# dataReplicationInfo.lagDuration and
|
1113
|
-
#
|
1282
|
+
# dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration
|
1283
|
+
# will be nullified.
|
1114
1284
|
#
|
1115
1285
|
# @option params [required, String] :source_server_id
|
1116
|
-
# Request to finalize Cutover by
|
1286
|
+
# Request to finalize Cutover by Source Server ID.
|
1117
1287
|
#
|
1118
1288
|
# @return [Types::SourceServer] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1119
1289
|
#
|
@@ -1214,12 +1384,14 @@ module Aws::Mgn
|
|
1214
1384
|
#
|
1215
1385
|
# @return [Types::LaunchConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1216
1386
|
#
|
1387
|
+
# * {Types::LaunchConfiguration#boot_mode #boot_mode} => String
|
1217
1388
|
# * {Types::LaunchConfiguration#copy_private_ip #copy_private_ip} => Boolean
|
1218
1389
|
# * {Types::LaunchConfiguration#copy_tags #copy_tags} => Boolean
|
1219
1390
|
# * {Types::LaunchConfiguration#ec2_launch_template_id #ec2_launch_template_id} => String
|
1220
1391
|
# * {Types::LaunchConfiguration#launch_disposition #launch_disposition} => String
|
1221
1392
|
# * {Types::LaunchConfiguration#licensing #licensing} => Types::Licensing
|
1222
1393
|
# * {Types::LaunchConfiguration#name #name} => String
|
1394
|
+
# * {Types::LaunchConfiguration#post_launch_actions #post_launch_actions} => Types::PostLaunchActions
|
1223
1395
|
# * {Types::LaunchConfiguration#source_server_id #source_server_id} => String
|
1224
1396
|
# * {Types::LaunchConfiguration#target_instance_type_right_sizing_method #target_instance_type_right_sizing_method} => String
|
1225
1397
|
#
|
@@ -1231,12 +1403,26 @@ module Aws::Mgn
|
|
1231
1403
|
#
|
1232
1404
|
# @example Response structure
|
1233
1405
|
#
|
1406
|
+
# resp.boot_mode #=> String, one of "LEGACY_BIOS", "UEFI"
|
1234
1407
|
# resp.copy_private_ip #=> Boolean
|
1235
1408
|
# resp.copy_tags #=> Boolean
|
1236
1409
|
# resp.ec2_launch_template_id #=> String
|
1237
1410
|
# resp.launch_disposition #=> String, one of "STOPPED", "STARTED"
|
1238
1411
|
# resp.licensing.os_byol #=> Boolean
|
1239
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
|
1240
1426
|
# resp.source_server_id #=> String
|
1241
1427
|
# resp.target_instance_type_right_sizing_method #=> String, one of "NONE", "BASIC"
|
1242
1428
|
#
|
@@ -1252,7 +1438,7 @@ module Aws::Mgn
|
|
1252
1438
|
# Lists all ReplicationConfigurations, filtered by Source Server ID.
|
1253
1439
|
#
|
1254
1440
|
# @option params [required, String] :source_server_id
|
1255
|
-
# Request to get Replication
|
1441
|
+
# Request to get Replication Configuration by Source Server ID.
|
1256
1442
|
#
|
1257
1443
|
# @return [Types::ReplicationConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1258
1444
|
#
|
@@ -1284,7 +1470,7 @@ module Aws::Mgn
|
|
1284
1470
|
# resp.bandwidth_throttling #=> Integer
|
1285
1471
|
# resp.create_public_ip #=> Boolean
|
1286
1472
|
# resp.data_plane_routing #=> String, one of "PRIVATE_IP", "PUBLIC_IP"
|
1287
|
-
# resp.default_large_staging_disk_type #=> String, one of "GP2", "ST1"
|
1473
|
+
# resp.default_large_staging_disk_type #=> String, one of "GP2", "ST1", "GP3"
|
1288
1474
|
# resp.ebs_encryption #=> String, one of "DEFAULT", "CUSTOM"
|
1289
1475
|
# resp.ebs_encryption_key_arn #=> String
|
1290
1476
|
# resp.name #=> String
|
@@ -1292,7 +1478,8 @@ module Aws::Mgn
|
|
1292
1478
|
# resp.replicated_disks[0].device_name #=> String
|
1293
1479
|
# resp.replicated_disks[0].iops #=> Integer
|
1294
1480
|
# resp.replicated_disks[0].is_boot_disk #=> Boolean
|
1295
|
-
# resp.replicated_disks[0].staging_disk_type #=> String, one of "AUTO", "GP2", "IO1", "SC1", "ST1", "STANDARD"
|
1481
|
+
# resp.replicated_disks[0].staging_disk_type #=> String, one of "AUTO", "GP2", "IO1", "SC1", "ST1", "STANDARD", "GP3", "IO2"
|
1482
|
+
# resp.replicated_disks[0].throughput #=> Integer
|
1296
1483
|
# resp.replication_server_instance_type #=> String
|
1297
1484
|
# resp.replication_servers_security_groups_i_ds #=> Array
|
1298
1485
|
# resp.replication_servers_security_groups_i_ds[0] #=> String
|
@@ -1355,8 +1542,8 @@ module Aws::Mgn
|
|
1355
1542
|
|
1356
1543
|
# Archives specific Source Servers by setting the
|
1357
1544
|
# SourceServer.isArchived property to true for specified SourceServers
|
1358
|
-
# by ID. This command only works for SourceServers with a
|
1359
|
-
#
|
1545
|
+
# by ID. This command only works for SourceServers with a lifecycle.
|
1546
|
+
# state which equals DISCONNECTED or CUTOVER.
|
1360
1547
|
#
|
1361
1548
|
# @option params [required, String] :source_server_id
|
1362
1549
|
# Mark as archived by Source Server ID.
|
@@ -1583,6 +1770,21 @@ module Aws::Mgn
|
|
1583
1770
|
# resp.job.job_id #=> String
|
1584
1771
|
# resp.job.participating_servers #=> Array
|
1585
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
|
1586
1788
|
# resp.job.participating_servers[0].source_server_id #=> String
|
1587
1789
|
# resp.job.status #=> String, one of "PENDING", "STARTED", "COMPLETED"
|
1588
1790
|
# resp.job.tags #=> Hash
|
@@ -1598,7 +1800,7 @@ module Aws::Mgn
|
|
1598
1800
|
req.send_request(options)
|
1599
1801
|
end
|
1600
1802
|
|
1601
|
-
# Starts replication
|
1803
|
+
# Starts replication for SNAPSHOT\_SHIPPING agents.
|
1602
1804
|
#
|
1603
1805
|
# @option params [required, String] :source_server_id
|
1604
1806
|
# ID of source server on which to start replication.
|
@@ -1694,7 +1896,7 @@ module Aws::Mgn
|
|
1694
1896
|
req.send_request(options)
|
1695
1897
|
end
|
1696
1898
|
|
1697
|
-
#
|
1899
|
+
# Launches a Test Instance for specific Source Servers. This command
|
1698
1900
|
# starts a LAUNCH job whose initiatedBy property is StartTest and
|
1699
1901
|
# changes the SourceServer.lifeCycle.state property to TESTING.
|
1700
1902
|
#
|
@@ -1726,6 +1928,21 @@ module Aws::Mgn
|
|
1726
1928
|
# resp.job.job_id #=> String
|
1727
1929
|
# resp.job.participating_servers #=> Array
|
1728
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
|
1729
1946
|
# resp.job.participating_servers[0].source_server_id #=> String
|
1730
1947
|
# resp.job.status #=> String, one of "PENDING", "STARTED", "COMPLETED"
|
1731
1948
|
# resp.job.tags #=> Hash
|
@@ -1805,6 +2022,21 @@ module Aws::Mgn
|
|
1805
2022
|
# resp.job.job_id #=> String
|
1806
2023
|
# resp.job.participating_servers #=> Array
|
1807
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
|
1808
2040
|
# resp.job.participating_servers[0].source_server_id #=> String
|
1809
2041
|
# resp.job.status #=> String, one of "PENDING", "STARTED", "COMPLETED"
|
1810
2042
|
# resp.job.tags #=> Hash
|
@@ -1849,6 +2081,9 @@ module Aws::Mgn
|
|
1849
2081
|
|
1850
2082
|
# Updates multiple LaunchConfigurations by Source Server ID.
|
1851
2083
|
#
|
2084
|
+
# @option params [String] :boot_mode
|
2085
|
+
# Update Launch configuration boot mode request.
|
2086
|
+
#
|
1852
2087
|
# @option params [Boolean] :copy_private_ip
|
1853
2088
|
# Update Launch configuration copy Private IP request.
|
1854
2089
|
#
|
@@ -1864,6 +2099,9 @@ module Aws::Mgn
|
|
1864
2099
|
# @option params [String] :name
|
1865
2100
|
# Update Launch configuration name request.
|
1866
2101
|
#
|
2102
|
+
# @option params [Types::PostLaunchActions] :post_launch_actions
|
2103
|
+
# Server participating in Job.
|
2104
|
+
#
|
1867
2105
|
# @option params [required, String] :source_server_id
|
1868
2106
|
# Update Launch configuration by Source Server ID request.
|
1869
2107
|
#
|
@@ -1872,18 +2110,21 @@ module Aws::Mgn
|
|
1872
2110
|
#
|
1873
2111
|
# @return [Types::LaunchConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1874
2112
|
#
|
2113
|
+
# * {Types::LaunchConfiguration#boot_mode #boot_mode} => String
|
1875
2114
|
# * {Types::LaunchConfiguration#copy_private_ip #copy_private_ip} => Boolean
|
1876
2115
|
# * {Types::LaunchConfiguration#copy_tags #copy_tags} => Boolean
|
1877
2116
|
# * {Types::LaunchConfiguration#ec2_launch_template_id #ec2_launch_template_id} => String
|
1878
2117
|
# * {Types::LaunchConfiguration#launch_disposition #launch_disposition} => String
|
1879
2118
|
# * {Types::LaunchConfiguration#licensing #licensing} => Types::Licensing
|
1880
2119
|
# * {Types::LaunchConfiguration#name #name} => String
|
2120
|
+
# * {Types::LaunchConfiguration#post_launch_actions #post_launch_actions} => Types::PostLaunchActions
|
1881
2121
|
# * {Types::LaunchConfiguration#source_server_id #source_server_id} => String
|
1882
2122
|
# * {Types::LaunchConfiguration#target_instance_type_right_sizing_method #target_instance_type_right_sizing_method} => String
|
1883
2123
|
#
|
1884
2124
|
# @example Request syntax with placeholder values
|
1885
2125
|
#
|
1886
2126
|
# resp = client.update_launch_configuration({
|
2127
|
+
# boot_mode: "LEGACY_BIOS", # accepts LEGACY_BIOS, UEFI
|
1887
2128
|
# copy_private_ip: false,
|
1888
2129
|
# copy_tags: false,
|
1889
2130
|
# launch_disposition: "STOPPED", # accepts STOPPED, STARTED
|
@@ -1891,18 +2132,54 @@ module Aws::Mgn
|
|
1891
2132
|
# os_byol: false,
|
1892
2133
|
# },
|
1893
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
|
+
# },
|
1894
2157
|
# source_server_id: "SourceServerID", # required
|
1895
2158
|
# target_instance_type_right_sizing_method: "NONE", # accepts NONE, BASIC
|
1896
2159
|
# })
|
1897
2160
|
#
|
1898
2161
|
# @example Response structure
|
1899
2162
|
#
|
2163
|
+
# resp.boot_mode #=> String, one of "LEGACY_BIOS", "UEFI"
|
1900
2164
|
# resp.copy_private_ip #=> Boolean
|
1901
2165
|
# resp.copy_tags #=> Boolean
|
1902
2166
|
# resp.ec2_launch_template_id #=> String
|
1903
2167
|
# resp.launch_disposition #=> String, one of "STOPPED", "STARTED"
|
1904
2168
|
# resp.licensing.os_byol #=> Boolean
|
1905
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
|
1906
2183
|
# resp.source_server_id #=> String
|
1907
2184
|
# resp.target_instance_type_right_sizing_method #=> String, one of "NONE", "BASIC"
|
1908
2185
|
#
|
@@ -1915,6 +2192,78 @@ module Aws::Mgn
|
|
1915
2192
|
req.send_request(options)
|
1916
2193
|
end
|
1917
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
|
+
|
1918
2267
|
# Allows you to update multiple ReplicationConfigurations by Source
|
1919
2268
|
# Server ID.
|
1920
2269
|
#
|
@@ -1993,7 +2342,7 @@ module Aws::Mgn
|
|
1993
2342
|
# bandwidth_throttling: 1,
|
1994
2343
|
# create_public_ip: false,
|
1995
2344
|
# data_plane_routing: "PRIVATE_IP", # accepts PRIVATE_IP, PUBLIC_IP
|
1996
|
-
# default_large_staging_disk_type: "GP2", # accepts GP2, ST1
|
2345
|
+
# default_large_staging_disk_type: "GP2", # accepts GP2, ST1, GP3
|
1997
2346
|
# ebs_encryption: "DEFAULT", # accepts DEFAULT, CUSTOM
|
1998
2347
|
# ebs_encryption_key_arn: "ARN",
|
1999
2348
|
# name: "SmallBoundedString",
|
@@ -2002,7 +2351,8 @@ module Aws::Mgn
|
|
2002
2351
|
# device_name: "BoundedString",
|
2003
2352
|
# iops: 1,
|
2004
2353
|
# is_boot_disk: false,
|
2005
|
-
# staging_disk_type: "AUTO", # accepts AUTO, GP2, IO1, SC1, ST1, STANDARD
|
2354
|
+
# staging_disk_type: "AUTO", # accepts AUTO, GP2, IO1, SC1, ST1, STANDARD, GP3, IO2
|
2355
|
+
# throughput: 1,
|
2006
2356
|
# },
|
2007
2357
|
# ],
|
2008
2358
|
# replication_server_instance_type: "EC2InstanceType",
|
@@ -2021,7 +2371,7 @@ module Aws::Mgn
|
|
2021
2371
|
# resp.bandwidth_throttling #=> Integer
|
2022
2372
|
# resp.create_public_ip #=> Boolean
|
2023
2373
|
# resp.data_plane_routing #=> String, one of "PRIVATE_IP", "PUBLIC_IP"
|
2024
|
-
# resp.default_large_staging_disk_type #=> String, one of "GP2", "ST1"
|
2374
|
+
# resp.default_large_staging_disk_type #=> String, one of "GP2", "ST1", "GP3"
|
2025
2375
|
# resp.ebs_encryption #=> String, one of "DEFAULT", "CUSTOM"
|
2026
2376
|
# resp.ebs_encryption_key_arn #=> String
|
2027
2377
|
# resp.name #=> String
|
@@ -2029,7 +2379,8 @@ module Aws::Mgn
|
|
2029
2379
|
# resp.replicated_disks[0].device_name #=> String
|
2030
2380
|
# resp.replicated_disks[0].iops #=> Integer
|
2031
2381
|
# resp.replicated_disks[0].is_boot_disk #=> Boolean
|
2032
|
-
# resp.replicated_disks[0].staging_disk_type #=> String, one of "AUTO", "GP2", "IO1", "SC1", "ST1", "STANDARD"
|
2382
|
+
# resp.replicated_disks[0].staging_disk_type #=> String, one of "AUTO", "GP2", "IO1", "SC1", "ST1", "STANDARD", "GP3", "IO2"
|
2383
|
+
# resp.replicated_disks[0].throughput #=> Integer
|
2033
2384
|
# resp.replication_server_instance_type #=> String
|
2034
2385
|
# resp.replication_servers_security_groups_i_ds #=> Array
|
2035
2386
|
# resp.replication_servers_security_groups_i_ds[0] #=> String
|
@@ -2126,7 +2477,7 @@ module Aws::Mgn
|
|
2126
2477
|
# bandwidth_throttling: 1,
|
2127
2478
|
# create_public_ip: false,
|
2128
2479
|
# data_plane_routing: "PRIVATE_IP", # accepts PRIVATE_IP, PUBLIC_IP
|
2129
|
-
# default_large_staging_disk_type: "GP2", # accepts GP2, ST1
|
2480
|
+
# default_large_staging_disk_type: "GP2", # accepts GP2, ST1, GP3
|
2130
2481
|
# ebs_encryption: "DEFAULT", # accepts DEFAULT, CUSTOM
|
2131
2482
|
# ebs_encryption_key_arn: "ARN",
|
2132
2483
|
# replication_configuration_template_id: "ReplicationConfigurationTemplateID", # required
|
@@ -2146,7 +2497,7 @@ module Aws::Mgn
|
|
2146
2497
|
# resp.bandwidth_throttling #=> Integer
|
2147
2498
|
# resp.create_public_ip #=> Boolean
|
2148
2499
|
# resp.data_plane_routing #=> String, one of "PRIVATE_IP", "PUBLIC_IP"
|
2149
|
-
# resp.default_large_staging_disk_type #=> String, one of "GP2", "ST1"
|
2500
|
+
# resp.default_large_staging_disk_type #=> String, one of "GP2", "ST1", "GP3"
|
2150
2501
|
# resp.ebs_encryption #=> String, one of "DEFAULT", "CUSTOM"
|
2151
2502
|
# resp.ebs_encryption_key_arn #=> String
|
2152
2503
|
# resp.replication_configuration_template_id #=> String
|
@@ -2169,7 +2520,8 @@ module Aws::Mgn
|
|
2169
2520
|
req.send_request(options)
|
2170
2521
|
end
|
2171
2522
|
|
2172
|
-
#
|
2523
|
+
# Allows you to change between the AGENT\_BASED replication type and the
|
2524
|
+
# SNAPSHOT\_SHIPPING replication type.
|
2173
2525
|
#
|
2174
2526
|
# @option params [required, String] :replication_type
|
2175
2527
|
# Replication type to which to update source server.
|
@@ -2282,7 +2634,7 @@ module Aws::Mgn
|
|
2282
2634
|
params: params,
|
2283
2635
|
config: config)
|
2284
2636
|
context[:gem_name] = 'aws-sdk-mgn'
|
2285
|
-
context[:gem_version] = '1.
|
2637
|
+
context[:gem_version] = '1.14.0'
|
2286
2638
|
Seahorse::Client::Request.new(handlers, context)
|
2287
2639
|
end
|
2288
2640
|
|