aws-sdk-mgn 1.25.0 → 1.26.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 21b76f252391c8341362c942060beb5170577318e70e65a3735bc08297431fd3
4
- data.tar.gz: 82bfb66292f073a04fdce9e5f085da97f0f23dd07d6e946e29380681207554a3
3
+ metadata.gz: e4e044f7f7c6600d3ee390d1f89c6a194a900990cf918f57d60c8fac00a8fa28
4
+ data.tar.gz: ffef0169e7bf282bebea1f7cbdc3ac84663784325067d406fbe5195963062bc0
5
5
  SHA512:
6
- metadata.gz: 79d16caa50712ef99a4094e01b7732e4f0e6181c4cdfbb1406af5f8bfcb08d07826379e2eeea04efb2d6a60012383f4bded817efd3f433e865b9cf63bff9b12c
7
- data.tar.gz: 7e615c583a00c683f74a935dc38656311eae81e5e60c46b64f392805dac24bf299909a0a87f7edf025d6757e5ce5fc3128b844ffc060ad61c8133cfbf11f994e
6
+ metadata.gz: d59e43f37c74a06457ad780bd87392dec18cc085fe5e2da9bb7e8e0d8861a550e75ce91fadacb51ba9e6eb80964dc10c47e19eb8e6e3ba827eeadda9d1eee1e0
7
+ data.tar.gz: 0c3df637a9a1cef53204240610f9b72e1e6e267086882759c19591805fb629cf1f84dc0dea3cf2c82e7b6e735f9837f9ba1033b34aa394febd2fd042c59b9901
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.26.0 (2023-10-04)
5
+ ------------------
6
+
7
+ * Feature - This release includes the following new APIs: ListConnectors, CreateConnector, UpdateConnector, DeleteConnector and UpdateSourceServer to support the source action framework feature.
8
+
4
9
  1.25.0 (2023-09-27)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.25.0
1
+ 1.26.0
@@ -574,6 +574,7 @@ module Aws::Mgn
574
574
  #
575
575
  # * {Types::SourceServer#application_id #application_id} => String
576
576
  # * {Types::SourceServer#arn #arn} => String
577
+ # * {Types::SourceServer#connector_action #connector_action} => Types::SourceServerConnectorAction
577
578
  # * {Types::SourceServer#data_replication_info #data_replication_info} => Types::DataReplicationInfo
578
579
  # * {Types::SourceServer#fqdn_for_action_framework #fqdn_for_action_framework} => String
579
580
  # * {Types::SourceServer#is_archived #is_archived} => Boolean
@@ -600,6 +601,8 @@ module Aws::Mgn
600
601
  #
601
602
  # resp.application_id #=> String
602
603
  # resp.arn #=> String
604
+ # resp.connector_action.connector_arn #=> String
605
+ # resp.connector_action.credentials_secret_arn #=> String
603
606
  # resp.data_replication_info.data_replication_error.error #=> String, one of "AGENT_NOT_SEEN", "SNAPSHOTS_FAILURE", "NOT_CONVERGING", "UNSTABLE_NETWORK", "FAILED_TO_CREATE_SECURITY_GROUP", "FAILED_TO_LAUNCH_REPLICATION_SERVER", "FAILED_TO_BOOT_REPLICATION_SERVER", "FAILED_TO_AUTHENTICATE_WITH_SERVICE", "FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE", "FAILED_TO_CREATE_STAGING_DISKS", "FAILED_TO_ATTACH_STAGING_DISKS", "FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT", "FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER", "FAILED_TO_START_DATA_TRANSFER", "UNSUPPORTED_VM_CONFIGURATION", "LAST_SNAPSHOT_JOB_FAILED"
604
607
  # resp.data_replication_info.data_replication_error.raw_error #=> String
605
608
  # resp.data_replication_info.data_replication_initiation.next_attempt_date_time #=> String
@@ -735,6 +738,67 @@ module Aws::Mgn
735
738
  req.send_request(options)
736
739
  end
737
740
 
741
+ # Create Connector.
742
+ #
743
+ # @option params [required, String] :name
744
+ # Create Connector request name.
745
+ #
746
+ # @option params [Types::ConnectorSsmCommandConfig] :ssm_command_config
747
+ # Create Connector request SSM command config.
748
+ #
749
+ # @option params [required, String] :ssm_instance_id
750
+ # Create Connector request SSM instance ID.
751
+ #
752
+ # @option params [Hash<String,String>] :tags
753
+ # Create Connector request tags.
754
+ #
755
+ # @return [Types::Connector] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
756
+ #
757
+ # * {Types::Connector#arn #arn} => String
758
+ # * {Types::Connector#connector_id #connector_id} => String
759
+ # * {Types::Connector#name #name} => String
760
+ # * {Types::Connector#ssm_command_config #ssm_command_config} => Types::ConnectorSsmCommandConfig
761
+ # * {Types::Connector#ssm_instance_id #ssm_instance_id} => String
762
+ # * {Types::Connector#tags #tags} => Hash&lt;String,String&gt;
763
+ #
764
+ # @example Request syntax with placeholder values
765
+ #
766
+ # resp = client.create_connector({
767
+ # name: "ConnectorName", # required
768
+ # ssm_command_config: {
769
+ # cloud_watch_log_group_name: "CloudWatchLogGroupName",
770
+ # cloud_watch_output_enabled: false, # required
771
+ # output_s3_bucket_name: "S3BucketName",
772
+ # s3_output_enabled: false, # required
773
+ # },
774
+ # ssm_instance_id: "SsmInstanceID", # required
775
+ # tags: {
776
+ # "TagKey" => "TagValue",
777
+ # },
778
+ # })
779
+ #
780
+ # @example Response structure
781
+ #
782
+ # resp.arn #=> String
783
+ # resp.connector_id #=> String
784
+ # resp.name #=> String
785
+ # resp.ssm_command_config.cloud_watch_log_group_name #=> String
786
+ # resp.ssm_command_config.cloud_watch_output_enabled #=> Boolean
787
+ # resp.ssm_command_config.output_s3_bucket_name #=> String
788
+ # resp.ssm_command_config.s3_output_enabled #=> Boolean
789
+ # resp.ssm_instance_id #=> String
790
+ # resp.tags #=> Hash
791
+ # resp.tags["TagKey"] #=> String
792
+ #
793
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/CreateConnector AWS API Documentation
794
+ #
795
+ # @overload create_connector(params = {})
796
+ # @param [Hash] params ({})
797
+ def create_connector(params = {}, options = {})
798
+ req = build_request(:create_connector, params)
799
+ req.send_request(options)
800
+ end
801
+
738
802
  # Creates a new Launch Configuration Template.
739
803
  #
740
804
  # @option params [Boolean] :associate_public_ip_address
@@ -1125,6 +1189,28 @@ module Aws::Mgn
1125
1189
  req.send_request(options)
1126
1190
  end
1127
1191
 
1192
+ # Delete Connector.
1193
+ #
1194
+ # @option params [required, String] :connector_id
1195
+ # Delete Connector request connector ID.
1196
+ #
1197
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1198
+ #
1199
+ # @example Request syntax with placeholder values
1200
+ #
1201
+ # resp = client.delete_connector({
1202
+ # connector_id: "ConnectorID", # required
1203
+ # })
1204
+ #
1205
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DeleteConnector AWS API Documentation
1206
+ #
1207
+ # @overload delete_connector(params = {})
1208
+ # @param [Hash] params ({})
1209
+ def delete_connector(params = {}, options = {})
1210
+ req = build_request(:delete_connector, params)
1211
+ req.send_request(options)
1212
+ end
1213
+
1128
1214
  # Deletes a single Job by ID.
1129
1215
  #
1130
1216
  # @option params [String] :account_id
@@ -1585,6 +1671,8 @@ module Aws::Mgn
1585
1671
  # resp.items #=> Array
1586
1672
  # resp.items[0].application_id #=> String
1587
1673
  # resp.items[0].arn #=> String
1674
+ # resp.items[0].connector_action.connector_arn #=> String
1675
+ # resp.items[0].connector_action.credentials_secret_arn #=> String
1588
1676
  # resp.items[0].data_replication_info.data_replication_error.error #=> String, one of "AGENT_NOT_SEEN", "SNAPSHOTS_FAILURE", "NOT_CONVERGING", "UNSTABLE_NETWORK", "FAILED_TO_CREATE_SECURITY_GROUP", "FAILED_TO_LAUNCH_REPLICATION_SERVER", "FAILED_TO_BOOT_REPLICATION_SERVER", "FAILED_TO_AUTHENTICATE_WITH_SERVICE", "FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE", "FAILED_TO_CREATE_STAGING_DISKS", "FAILED_TO_ATTACH_STAGING_DISKS", "FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT", "FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER", "FAILED_TO_START_DATA_TRANSFER", "UNSUPPORTED_VM_CONFIGURATION", "LAST_SNAPSHOT_JOB_FAILED"
1589
1677
  # resp.items[0].data_replication_info.data_replication_error.raw_error #=> String
1590
1678
  # resp.items[0].data_replication_info.data_replication_initiation.next_attempt_date_time #=> String
@@ -1788,6 +1876,7 @@ module Aws::Mgn
1788
1876
  #
1789
1877
  # * {Types::SourceServer#application_id #application_id} => String
1790
1878
  # * {Types::SourceServer#arn #arn} => String
1879
+ # * {Types::SourceServer#connector_action #connector_action} => Types::SourceServerConnectorAction
1791
1880
  # * {Types::SourceServer#data_replication_info #data_replication_info} => Types::DataReplicationInfo
1792
1881
  # * {Types::SourceServer#fqdn_for_action_framework #fqdn_for_action_framework} => String
1793
1882
  # * {Types::SourceServer#is_archived #is_archived} => Boolean
@@ -1811,6 +1900,8 @@ module Aws::Mgn
1811
1900
  #
1812
1901
  # resp.application_id #=> String
1813
1902
  # resp.arn #=> String
1903
+ # resp.connector_action.connector_arn #=> String
1904
+ # resp.connector_action.credentials_secret_arn #=> String
1814
1905
  # resp.data_replication_info.data_replication_error.error #=> String, one of "AGENT_NOT_SEEN", "SNAPSHOTS_FAILURE", "NOT_CONVERGING", "UNSTABLE_NETWORK", "FAILED_TO_CREATE_SECURITY_GROUP", "FAILED_TO_LAUNCH_REPLICATION_SERVER", "FAILED_TO_BOOT_REPLICATION_SERVER", "FAILED_TO_AUTHENTICATE_WITH_SERVICE", "FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE", "FAILED_TO_CREATE_STAGING_DISKS", "FAILED_TO_ATTACH_STAGING_DISKS", "FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT", "FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER", "FAILED_TO_START_DATA_TRANSFER", "UNSUPPORTED_VM_CONFIGURATION", "LAST_SNAPSHOT_JOB_FAILED"
1815
1906
  # resp.data_replication_info.data_replication_error.raw_error #=> String
1816
1907
  # resp.data_replication_info.data_replication_initiation.next_attempt_date_time #=> String
@@ -1906,6 +1997,7 @@ module Aws::Mgn
1906
1997
  #
1907
1998
  # * {Types::SourceServer#application_id #application_id} => String
1908
1999
  # * {Types::SourceServer#arn #arn} => String
2000
+ # * {Types::SourceServer#connector_action #connector_action} => Types::SourceServerConnectorAction
1909
2001
  # * {Types::SourceServer#data_replication_info #data_replication_info} => Types::DataReplicationInfo
1910
2002
  # * {Types::SourceServer#fqdn_for_action_framework #fqdn_for_action_framework} => String
1911
2003
  # * {Types::SourceServer#is_archived #is_archived} => Boolean
@@ -1929,6 +2021,8 @@ module Aws::Mgn
1929
2021
  #
1930
2022
  # resp.application_id #=> String
1931
2023
  # resp.arn #=> String
2024
+ # resp.connector_action.connector_arn #=> String
2025
+ # resp.connector_action.credentials_secret_arn #=> String
1932
2026
  # resp.data_replication_info.data_replication_error.error #=> String, one of "AGENT_NOT_SEEN", "SNAPSHOTS_FAILURE", "NOT_CONVERGING", "UNSTABLE_NETWORK", "FAILED_TO_CREATE_SECURITY_GROUP", "FAILED_TO_LAUNCH_REPLICATION_SERVER", "FAILED_TO_BOOT_REPLICATION_SERVER", "FAILED_TO_AUTHENTICATE_WITH_SERVICE", "FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE", "FAILED_TO_CREATE_STAGING_DISKS", "FAILED_TO_ATTACH_STAGING_DISKS", "FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT", "FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER", "FAILED_TO_START_DATA_TRANSFER", "UNSUPPORTED_VM_CONFIGURATION", "LAST_SNAPSHOT_JOB_FAILED"
1933
2027
  # resp.data_replication_info.data_replication_error.raw_error #=> String
1934
2028
  # resp.data_replication_info.data_replication_initiation.next_attempt_date_time #=> String
@@ -2213,6 +2307,58 @@ module Aws::Mgn
2213
2307
  req.send_request(options)
2214
2308
  end
2215
2309
 
2310
+ # List Connectors.
2311
+ #
2312
+ # @option params [Types::ListConnectorsRequestFilters] :filters
2313
+ # List Connectors Request filters.
2314
+ #
2315
+ # @option params [Integer] :max_results
2316
+ # List Connectors Request max results.
2317
+ #
2318
+ # @option params [String] :next_token
2319
+ # List Connectors Request next token.
2320
+ #
2321
+ # @return [Types::ListConnectorsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2322
+ #
2323
+ # * {Types::ListConnectorsResponse#items #items} => Array&lt;Types::Connector&gt;
2324
+ # * {Types::ListConnectorsResponse#next_token #next_token} => String
2325
+ #
2326
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2327
+ #
2328
+ # @example Request syntax with placeholder values
2329
+ #
2330
+ # resp = client.list_connectors({
2331
+ # filters: {
2332
+ # connector_i_ds: ["ConnectorID"],
2333
+ # },
2334
+ # max_results: 1,
2335
+ # next_token: "PaginationToken",
2336
+ # })
2337
+ #
2338
+ # @example Response structure
2339
+ #
2340
+ # resp.items #=> Array
2341
+ # resp.items[0].arn #=> String
2342
+ # resp.items[0].connector_id #=> String
2343
+ # resp.items[0].name #=> String
2344
+ # resp.items[0].ssm_command_config.cloud_watch_log_group_name #=> String
2345
+ # resp.items[0].ssm_command_config.cloud_watch_output_enabled #=> Boolean
2346
+ # resp.items[0].ssm_command_config.output_s3_bucket_name #=> String
2347
+ # resp.items[0].ssm_command_config.s3_output_enabled #=> Boolean
2348
+ # resp.items[0].ssm_instance_id #=> String
2349
+ # resp.items[0].tags #=> Hash
2350
+ # resp.items[0].tags["TagKey"] #=> String
2351
+ # resp.next_token #=> String
2352
+ #
2353
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ListConnectors AWS API Documentation
2354
+ #
2355
+ # @overload list_connectors(params = {})
2356
+ # @param [Hash] params ({})
2357
+ def list_connectors(params = {}, options = {})
2358
+ req = build_request(:list_connectors, params)
2359
+ req.send_request(options)
2360
+ end
2361
+
2216
2362
  # List export errors.
2217
2363
  #
2218
2364
  # @option params [required, String] :export_id
@@ -2689,6 +2835,7 @@ module Aws::Mgn
2689
2835
  #
2690
2836
  # * {Types::SourceServer#application_id #application_id} => String
2691
2837
  # * {Types::SourceServer#arn #arn} => String
2838
+ # * {Types::SourceServer#connector_action #connector_action} => Types::SourceServerConnectorAction
2692
2839
  # * {Types::SourceServer#data_replication_info #data_replication_info} => Types::DataReplicationInfo
2693
2840
  # * {Types::SourceServer#fqdn_for_action_framework #fqdn_for_action_framework} => String
2694
2841
  # * {Types::SourceServer#is_archived #is_archived} => Boolean
@@ -2712,6 +2859,8 @@ module Aws::Mgn
2712
2859
  #
2713
2860
  # resp.application_id #=> String
2714
2861
  # resp.arn #=> String
2862
+ # resp.connector_action.connector_arn #=> String
2863
+ # resp.connector_action.credentials_secret_arn #=> String
2715
2864
  # resp.data_replication_info.data_replication_error.error #=> String, one of "AGENT_NOT_SEEN", "SNAPSHOTS_FAILURE", "NOT_CONVERGING", "UNSTABLE_NETWORK", "FAILED_TO_CREATE_SECURITY_GROUP", "FAILED_TO_LAUNCH_REPLICATION_SERVER", "FAILED_TO_BOOT_REPLICATION_SERVER", "FAILED_TO_AUTHENTICATE_WITH_SERVICE", "FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE", "FAILED_TO_CREATE_STAGING_DISKS", "FAILED_TO_ATTACH_STAGING_DISKS", "FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT", "FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER", "FAILED_TO_START_DATA_TRANSFER", "UNSUPPORTED_VM_CONFIGURATION", "LAST_SNAPSHOT_JOB_FAILED"
2716
2865
  # resp.data_replication_info.data_replication_error.raw_error #=> String
2717
2866
  # resp.data_replication_info.data_replication_initiation.next_attempt_date_time #=> String
@@ -2795,6 +2944,7 @@ module Aws::Mgn
2795
2944
  #
2796
2945
  # * {Types::SourceServer#application_id #application_id} => String
2797
2946
  # * {Types::SourceServer#arn #arn} => String
2947
+ # * {Types::SourceServer#connector_action #connector_action} => Types::SourceServerConnectorAction
2798
2948
  # * {Types::SourceServer#data_replication_info #data_replication_info} => Types::DataReplicationInfo
2799
2949
  # * {Types::SourceServer#fqdn_for_action_framework #fqdn_for_action_framework} => String
2800
2950
  # * {Types::SourceServer#is_archived #is_archived} => Boolean
@@ -2818,6 +2968,8 @@ module Aws::Mgn
2818
2968
  #
2819
2969
  # resp.application_id #=> String
2820
2970
  # resp.arn #=> String
2971
+ # resp.connector_action.connector_arn #=> String
2972
+ # resp.connector_action.credentials_secret_arn #=> String
2821
2973
  # resp.data_replication_info.data_replication_error.error #=> String, one of "AGENT_NOT_SEEN", "SNAPSHOTS_FAILURE", "NOT_CONVERGING", "UNSTABLE_NETWORK", "FAILED_TO_CREATE_SECURITY_GROUP", "FAILED_TO_LAUNCH_REPLICATION_SERVER", "FAILED_TO_BOOT_REPLICATION_SERVER", "FAILED_TO_AUTHENTICATE_WITH_SERVICE", "FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE", "FAILED_TO_CREATE_STAGING_DISKS", "FAILED_TO_ATTACH_STAGING_DISKS", "FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT", "FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER", "FAILED_TO_START_DATA_TRANSFER", "UNSUPPORTED_VM_CONFIGURATION", "LAST_SNAPSHOT_JOB_FAILED"
2822
2974
  # resp.data_replication_info.data_replication_error.raw_error #=> String
2823
2975
  # resp.data_replication_info.data_replication_initiation.next_attempt_date_time #=> String
@@ -3195,6 +3347,7 @@ module Aws::Mgn
3195
3347
  #
3196
3348
  # * {Types::SourceServer#application_id #application_id} => String
3197
3349
  # * {Types::SourceServer#arn #arn} => String
3350
+ # * {Types::SourceServer#connector_action #connector_action} => Types::SourceServerConnectorAction
3198
3351
  # * {Types::SourceServer#data_replication_info #data_replication_info} => Types::DataReplicationInfo
3199
3352
  # * {Types::SourceServer#fqdn_for_action_framework #fqdn_for_action_framework} => String
3200
3353
  # * {Types::SourceServer#is_archived #is_archived} => Boolean
@@ -3218,6 +3371,8 @@ module Aws::Mgn
3218
3371
  #
3219
3372
  # resp.application_id #=> String
3220
3373
  # resp.arn #=> String
3374
+ # resp.connector_action.connector_arn #=> String
3375
+ # resp.connector_action.credentials_secret_arn #=> String
3221
3376
  # resp.data_replication_info.data_replication_error.error #=> String, one of "AGENT_NOT_SEEN", "SNAPSHOTS_FAILURE", "NOT_CONVERGING", "UNSTABLE_NETWORK", "FAILED_TO_CREATE_SECURITY_GROUP", "FAILED_TO_LAUNCH_REPLICATION_SERVER", "FAILED_TO_BOOT_REPLICATION_SERVER", "FAILED_TO_AUTHENTICATE_WITH_SERVICE", "FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE", "FAILED_TO_CREATE_STAGING_DISKS", "FAILED_TO_ATTACH_STAGING_DISKS", "FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT", "FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER", "FAILED_TO_START_DATA_TRANSFER", "UNSUPPORTED_VM_CONFIGURATION", "LAST_SNAPSHOT_JOB_FAILED"
3222
3377
  # resp.data_replication_info.data_replication_error.raw_error #=> String
3223
3378
  # resp.data_replication_info.data_replication_initiation.next_attempt_date_time #=> String
@@ -3304,6 +3459,7 @@ module Aws::Mgn
3304
3459
  #
3305
3460
  # * {Types::SourceServer#application_id #application_id} => String
3306
3461
  # * {Types::SourceServer#arn #arn} => String
3462
+ # * {Types::SourceServer#connector_action #connector_action} => Types::SourceServerConnectorAction
3307
3463
  # * {Types::SourceServer#data_replication_info #data_replication_info} => Types::DataReplicationInfo
3308
3464
  # * {Types::SourceServer#fqdn_for_action_framework #fqdn_for_action_framework} => String
3309
3465
  # * {Types::SourceServer#is_archived #is_archived} => Boolean
@@ -3327,6 +3483,8 @@ module Aws::Mgn
3327
3483
  #
3328
3484
  # resp.application_id #=> String
3329
3485
  # resp.arn #=> String
3486
+ # resp.connector_action.connector_arn #=> String
3487
+ # resp.connector_action.credentials_secret_arn #=> String
3330
3488
  # resp.data_replication_info.data_replication_error.error #=> String, one of "AGENT_NOT_SEEN", "SNAPSHOTS_FAILURE", "NOT_CONVERGING", "UNSTABLE_NETWORK", "FAILED_TO_CREATE_SECURITY_GROUP", "FAILED_TO_LAUNCH_REPLICATION_SERVER", "FAILED_TO_BOOT_REPLICATION_SERVER", "FAILED_TO_AUTHENTICATE_WITH_SERVICE", "FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE", "FAILED_TO_CREATE_STAGING_DISKS", "FAILED_TO_ATTACH_STAGING_DISKS", "FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT", "FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER", "FAILED_TO_START_DATA_TRANSFER", "UNSUPPORTED_VM_CONFIGURATION", "LAST_SNAPSHOT_JOB_FAILED"
3331
3489
  # resp.data_replication_info.data_replication_error.raw_error #=> String
3332
3490
  # resp.data_replication_info.data_replication_initiation.next_attempt_date_time #=> String
@@ -3576,6 +3734,7 @@ module Aws::Mgn
3576
3734
  #
3577
3735
  # * {Types::SourceServer#application_id #application_id} => String
3578
3736
  # * {Types::SourceServer#arn #arn} => String
3737
+ # * {Types::SourceServer#connector_action #connector_action} => Types::SourceServerConnectorAction
3579
3738
  # * {Types::SourceServer#data_replication_info #data_replication_info} => Types::DataReplicationInfo
3580
3739
  # * {Types::SourceServer#fqdn_for_action_framework #fqdn_for_action_framework} => String
3581
3740
  # * {Types::SourceServer#is_archived #is_archived} => Boolean
@@ -3599,6 +3758,8 @@ module Aws::Mgn
3599
3758
  #
3600
3759
  # resp.application_id #=> String
3601
3760
  # resp.arn #=> String
3761
+ # resp.connector_action.connector_arn #=> String
3762
+ # resp.connector_action.credentials_secret_arn #=> String
3602
3763
  # resp.data_replication_info.data_replication_error.error #=> String, one of "AGENT_NOT_SEEN", "SNAPSHOTS_FAILURE", "NOT_CONVERGING", "UNSTABLE_NETWORK", "FAILED_TO_CREATE_SECURITY_GROUP", "FAILED_TO_LAUNCH_REPLICATION_SERVER", "FAILED_TO_BOOT_REPLICATION_SERVER", "FAILED_TO_AUTHENTICATE_WITH_SERVICE", "FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE", "FAILED_TO_CREATE_STAGING_DISKS", "FAILED_TO_ATTACH_STAGING_DISKS", "FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT", "FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER", "FAILED_TO_START_DATA_TRANSFER", "UNSUPPORTED_VM_CONFIGURATION", "LAST_SNAPSHOT_JOB_FAILED"
3603
3764
  # resp.data_replication_info.data_replication_error.raw_error #=> String
3604
3765
  # resp.data_replication_info.data_replication_initiation.next_attempt_date_time #=> String
@@ -3750,6 +3911,7 @@ module Aws::Mgn
3750
3911
  #
3751
3912
  # * {Types::SourceServer#application_id #application_id} => String
3752
3913
  # * {Types::SourceServer#arn #arn} => String
3914
+ # * {Types::SourceServer#connector_action #connector_action} => Types::SourceServerConnectorAction
3753
3915
  # * {Types::SourceServer#data_replication_info #data_replication_info} => Types::DataReplicationInfo
3754
3916
  # * {Types::SourceServer#fqdn_for_action_framework #fqdn_for_action_framework} => String
3755
3917
  # * {Types::SourceServer#is_archived #is_archived} => Boolean
@@ -3773,6 +3935,8 @@ module Aws::Mgn
3773
3935
  #
3774
3936
  # resp.application_id #=> String
3775
3937
  # resp.arn #=> String
3938
+ # resp.connector_action.connector_arn #=> String
3939
+ # resp.connector_action.credentials_secret_arn #=> String
3776
3940
  # resp.data_replication_info.data_replication_error.error #=> String, one of "AGENT_NOT_SEEN", "SNAPSHOTS_FAILURE", "NOT_CONVERGING", "UNSTABLE_NETWORK", "FAILED_TO_CREATE_SECURITY_GROUP", "FAILED_TO_LAUNCH_REPLICATION_SERVER", "FAILED_TO_BOOT_REPLICATION_SERVER", "FAILED_TO_AUTHENTICATE_WITH_SERVICE", "FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE", "FAILED_TO_CREATE_STAGING_DISKS", "FAILED_TO_ATTACH_STAGING_DISKS", "FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT", "FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER", "FAILED_TO_START_DATA_TRANSFER", "UNSUPPORTED_VM_CONFIGURATION", "LAST_SNAPSHOT_JOB_FAILED"
3777
3941
  # resp.data_replication_info.data_replication_error.raw_error #=> String
3778
3942
  # resp.data_replication_info.data_replication_initiation.next_attempt_date_time #=> String
@@ -4140,6 +4304,61 @@ module Aws::Mgn
4140
4304
  req.send_request(options)
4141
4305
  end
4142
4306
 
4307
+ # Update Connector.
4308
+ #
4309
+ # @option params [required, String] :connector_id
4310
+ # Update Connector request connector ID.
4311
+ #
4312
+ # @option params [String] :name
4313
+ # Update Connector request name.
4314
+ #
4315
+ # @option params [Types::ConnectorSsmCommandConfig] :ssm_command_config
4316
+ # Update Connector request SSM command config.
4317
+ #
4318
+ # @return [Types::Connector] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4319
+ #
4320
+ # * {Types::Connector#arn #arn} => String
4321
+ # * {Types::Connector#connector_id #connector_id} => String
4322
+ # * {Types::Connector#name #name} => String
4323
+ # * {Types::Connector#ssm_command_config #ssm_command_config} => Types::ConnectorSsmCommandConfig
4324
+ # * {Types::Connector#ssm_instance_id #ssm_instance_id} => String
4325
+ # * {Types::Connector#tags #tags} => Hash&lt;String,String&gt;
4326
+ #
4327
+ # @example Request syntax with placeholder values
4328
+ #
4329
+ # resp = client.update_connector({
4330
+ # connector_id: "ConnectorID", # required
4331
+ # name: "ConnectorName",
4332
+ # ssm_command_config: {
4333
+ # cloud_watch_log_group_name: "CloudWatchLogGroupName",
4334
+ # cloud_watch_output_enabled: false, # required
4335
+ # output_s3_bucket_name: "S3BucketName",
4336
+ # s3_output_enabled: false, # required
4337
+ # },
4338
+ # })
4339
+ #
4340
+ # @example Response structure
4341
+ #
4342
+ # resp.arn #=> String
4343
+ # resp.connector_id #=> String
4344
+ # resp.name #=> String
4345
+ # resp.ssm_command_config.cloud_watch_log_group_name #=> String
4346
+ # resp.ssm_command_config.cloud_watch_output_enabled #=> Boolean
4347
+ # resp.ssm_command_config.output_s3_bucket_name #=> String
4348
+ # resp.ssm_command_config.s3_output_enabled #=> Boolean
4349
+ # resp.ssm_instance_id #=> String
4350
+ # resp.tags #=> Hash
4351
+ # resp.tags["TagKey"] #=> String
4352
+ #
4353
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateConnector AWS API Documentation
4354
+ #
4355
+ # @overload update_connector(params = {})
4356
+ # @param [Hash] params ({})
4357
+ def update_connector(params = {}, options = {})
4358
+ req = build_request(:update_connector, params)
4359
+ req.send_request(options)
4360
+ end
4361
+
4143
4362
  # Updates multiple LaunchConfigurations by Source Server ID.
4144
4363
  #
4145
4364
  # @option params [String] :account_id
@@ -4715,6 +4934,122 @@ module Aws::Mgn
4715
4934
  req.send_request(options)
4716
4935
  end
4717
4936
 
4937
+ # Update Source Server.
4938
+ #
4939
+ # @option params [String] :account_id
4940
+ # Update Source Server request account ID.
4941
+ #
4942
+ # @option params [Types::SourceServerConnectorAction] :connector_action
4943
+ # Update Source Server request connector action.
4944
+ #
4945
+ # @option params [required, String] :source_server_id
4946
+ # Update Source Server request source server ID.
4947
+ #
4948
+ # @return [Types::SourceServer] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4949
+ #
4950
+ # * {Types::SourceServer#application_id #application_id} => String
4951
+ # * {Types::SourceServer#arn #arn} => String
4952
+ # * {Types::SourceServer#connector_action #connector_action} => Types::SourceServerConnectorAction
4953
+ # * {Types::SourceServer#data_replication_info #data_replication_info} => Types::DataReplicationInfo
4954
+ # * {Types::SourceServer#fqdn_for_action_framework #fqdn_for_action_framework} => String
4955
+ # * {Types::SourceServer#is_archived #is_archived} => Boolean
4956
+ # * {Types::SourceServer#launched_instance #launched_instance} => Types::LaunchedInstance
4957
+ # * {Types::SourceServer#life_cycle #life_cycle} => Types::LifeCycle
4958
+ # * {Types::SourceServer#replication_type #replication_type} => String
4959
+ # * {Types::SourceServer#source_properties #source_properties} => Types::SourceProperties
4960
+ # * {Types::SourceServer#source_server_id #source_server_id} => String
4961
+ # * {Types::SourceServer#tags #tags} => Hash&lt;String,String&gt;
4962
+ # * {Types::SourceServer#user_provided_id #user_provided_id} => String
4963
+ # * {Types::SourceServer#vcenter_client_id #vcenter_client_id} => String
4964
+ #
4965
+ # @example Request syntax with placeholder values
4966
+ #
4967
+ # resp = client.update_source_server({
4968
+ # account_id: "AccountID",
4969
+ # connector_action: {
4970
+ # connector_arn: "ConnectorArn",
4971
+ # credentials_secret_arn: "SecretArn",
4972
+ # },
4973
+ # source_server_id: "SourceServerID", # required
4974
+ # })
4975
+ #
4976
+ # @example Response structure
4977
+ #
4978
+ # resp.application_id #=> String
4979
+ # resp.arn #=> String
4980
+ # resp.connector_action.connector_arn #=> String
4981
+ # resp.connector_action.credentials_secret_arn #=> String
4982
+ # resp.data_replication_info.data_replication_error.error #=> String, one of "AGENT_NOT_SEEN", "SNAPSHOTS_FAILURE", "NOT_CONVERGING", "UNSTABLE_NETWORK", "FAILED_TO_CREATE_SECURITY_GROUP", "FAILED_TO_LAUNCH_REPLICATION_SERVER", "FAILED_TO_BOOT_REPLICATION_SERVER", "FAILED_TO_AUTHENTICATE_WITH_SERVICE", "FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE", "FAILED_TO_CREATE_STAGING_DISKS", "FAILED_TO_ATTACH_STAGING_DISKS", "FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT", "FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER", "FAILED_TO_START_DATA_TRANSFER", "UNSUPPORTED_VM_CONFIGURATION", "LAST_SNAPSHOT_JOB_FAILED"
4983
+ # resp.data_replication_info.data_replication_error.raw_error #=> String
4984
+ # resp.data_replication_info.data_replication_initiation.next_attempt_date_time #=> String
4985
+ # resp.data_replication_info.data_replication_initiation.start_date_time #=> String
4986
+ # resp.data_replication_info.data_replication_initiation.steps #=> Array
4987
+ # resp.data_replication_info.data_replication_initiation.steps[0].name #=> String, one of "WAIT", "CREATE_SECURITY_GROUP", "LAUNCH_REPLICATION_SERVER", "BOOT_REPLICATION_SERVER", "AUTHENTICATE_WITH_SERVICE", "DOWNLOAD_REPLICATION_SOFTWARE", "CREATE_STAGING_DISKS", "ATTACH_STAGING_DISKS", "PAIR_REPLICATION_SERVER_WITH_AGENT", "CONNECT_AGENT_TO_REPLICATION_SERVER", "START_DATA_TRANSFER"
4988
+ # resp.data_replication_info.data_replication_initiation.steps[0].status #=> String, one of "NOT_STARTED", "IN_PROGRESS", "SUCCEEDED", "FAILED", "SKIPPED"
4989
+ # resp.data_replication_info.data_replication_state #=> String, one of "STOPPED", "INITIATING", "INITIAL_SYNC", "BACKLOG", "CREATING_SNAPSHOT", "CONTINUOUS", "PAUSED", "RESCAN", "STALLED", "DISCONNECTED", "PENDING_SNAPSHOT_SHIPPING", "SHIPPING_SNAPSHOT"
4990
+ # resp.data_replication_info.eta_date_time #=> String
4991
+ # resp.data_replication_info.lag_duration #=> String
4992
+ # resp.data_replication_info.last_snapshot_date_time #=> String
4993
+ # resp.data_replication_info.replicated_disks #=> Array
4994
+ # resp.data_replication_info.replicated_disks[0].backlogged_storage_bytes #=> Integer
4995
+ # resp.data_replication_info.replicated_disks[0].device_name #=> String
4996
+ # resp.data_replication_info.replicated_disks[0].replicated_storage_bytes #=> Integer
4997
+ # resp.data_replication_info.replicated_disks[0].rescanned_storage_bytes #=> Integer
4998
+ # resp.data_replication_info.replicated_disks[0].total_storage_bytes #=> Integer
4999
+ # resp.fqdn_for_action_framework #=> String
5000
+ # resp.is_archived #=> Boolean
5001
+ # resp.launched_instance.ec2_instance_id #=> String
5002
+ # resp.launched_instance.first_boot #=> String, one of "WAITING", "SUCCEEDED", "UNKNOWN", "STOPPED"
5003
+ # resp.launched_instance.job_id #=> String
5004
+ # resp.life_cycle.added_to_service_date_time #=> String
5005
+ # resp.life_cycle.elapsed_replication_duration #=> String
5006
+ # resp.life_cycle.first_byte_date_time #=> String
5007
+ # resp.life_cycle.last_cutover.finalized.api_call_date_time #=> String
5008
+ # resp.life_cycle.last_cutover.initiated.api_call_date_time #=> String
5009
+ # resp.life_cycle.last_cutover.initiated.job_id #=> String
5010
+ # resp.life_cycle.last_cutover.reverted.api_call_date_time #=> String
5011
+ # resp.life_cycle.last_seen_by_service_date_time #=> String
5012
+ # resp.life_cycle.last_test.finalized.api_call_date_time #=> String
5013
+ # resp.life_cycle.last_test.initiated.api_call_date_time #=> String
5014
+ # resp.life_cycle.last_test.initiated.job_id #=> String
5015
+ # resp.life_cycle.last_test.reverted.api_call_date_time #=> String
5016
+ # resp.life_cycle.state #=> String, one of "STOPPED", "NOT_READY", "READY_FOR_TEST", "TESTING", "READY_FOR_CUTOVER", "CUTTING_OVER", "CUTOVER", "DISCONNECTED", "DISCOVERED", "PENDING_INSTALLATION"
5017
+ # resp.replication_type #=> String, one of "AGENT_BASED", "SNAPSHOT_SHIPPING"
5018
+ # resp.source_properties.cpus #=> Array
5019
+ # resp.source_properties.cpus[0].cores #=> Integer
5020
+ # resp.source_properties.cpus[0].model_name #=> String
5021
+ # resp.source_properties.disks #=> Array
5022
+ # resp.source_properties.disks[0].bytes #=> Integer
5023
+ # resp.source_properties.disks[0].device_name #=> String
5024
+ # resp.source_properties.identification_hints.aws_instance_id #=> String
5025
+ # resp.source_properties.identification_hints.fqdn #=> String
5026
+ # resp.source_properties.identification_hints.hostname #=> String
5027
+ # resp.source_properties.identification_hints.vm_path #=> String
5028
+ # resp.source_properties.identification_hints.vm_ware_uuid #=> String
5029
+ # resp.source_properties.last_updated_date_time #=> String
5030
+ # resp.source_properties.network_interfaces #=> Array
5031
+ # resp.source_properties.network_interfaces[0].ips #=> Array
5032
+ # resp.source_properties.network_interfaces[0].ips[0] #=> String
5033
+ # resp.source_properties.network_interfaces[0].is_primary #=> Boolean
5034
+ # resp.source_properties.network_interfaces[0].mac_address #=> String
5035
+ # resp.source_properties.os.full_string #=> String
5036
+ # resp.source_properties.ram_bytes #=> Integer
5037
+ # resp.source_properties.recommended_instance_type #=> String
5038
+ # resp.source_server_id #=> String
5039
+ # resp.tags #=> Hash
5040
+ # resp.tags["TagKey"] #=> String
5041
+ # resp.user_provided_id #=> String
5042
+ # resp.vcenter_client_id #=> String
5043
+ #
5044
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateSourceServer AWS API Documentation
5045
+ #
5046
+ # @overload update_source_server(params = {})
5047
+ # @param [Hash] params ({})
5048
+ def update_source_server(params = {}, options = {})
5049
+ req = build_request(:update_source_server, params)
5050
+ req.send_request(options)
5051
+ end
5052
+
4718
5053
  # Allows you to change between the AGENT\_BASED replication type and the
4719
5054
  # SNAPSHOT\_SHIPPING replication type.
4720
5055
  #
@@ -4731,6 +5066,7 @@ module Aws::Mgn
4731
5066
  #
4732
5067
  # * {Types::SourceServer#application_id #application_id} => String
4733
5068
  # * {Types::SourceServer#arn #arn} => String
5069
+ # * {Types::SourceServer#connector_action #connector_action} => Types::SourceServerConnectorAction
4734
5070
  # * {Types::SourceServer#data_replication_info #data_replication_info} => Types::DataReplicationInfo
4735
5071
  # * {Types::SourceServer#fqdn_for_action_framework #fqdn_for_action_framework} => String
4736
5072
  # * {Types::SourceServer#is_archived #is_archived} => Boolean
@@ -4755,6 +5091,8 @@ module Aws::Mgn
4755
5091
  #
4756
5092
  # resp.application_id #=> String
4757
5093
  # resp.arn #=> String
5094
+ # resp.connector_action.connector_arn #=> String
5095
+ # resp.connector_action.credentials_secret_arn #=> String
4758
5096
  # resp.data_replication_info.data_replication_error.error #=> String, one of "AGENT_NOT_SEEN", "SNAPSHOTS_FAILURE", "NOT_CONVERGING", "UNSTABLE_NETWORK", "FAILED_TO_CREATE_SECURITY_GROUP", "FAILED_TO_LAUNCH_REPLICATION_SERVER", "FAILED_TO_BOOT_REPLICATION_SERVER", "FAILED_TO_AUTHENTICATE_WITH_SERVICE", "FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE", "FAILED_TO_CREATE_STAGING_DISKS", "FAILED_TO_ATTACH_STAGING_DISKS", "FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT", "FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER", "FAILED_TO_START_DATA_TRANSFER", "UNSUPPORTED_VM_CONFIGURATION", "LAST_SNAPSHOT_JOB_FAILED"
4759
5097
  # resp.data_replication_info.data_replication_error.raw_error #=> String
4760
5098
  # resp.data_replication_info.data_replication_initiation.next_attempt_date_time #=> String
@@ -4900,7 +5238,7 @@ module Aws::Mgn
4900
5238
  params: params,
4901
5239
  config: config)
4902
5240
  context[:gem_name] = 'aws-sdk-mgn'
4903
- context[:gem_version] = '1.25.0'
5241
+ context[:gem_version] = '1.26.0'
4904
5242
  Seahorse::Client::Request.new(handlers, context)
4905
5243
  end
4906
5244
 
@@ -50,8 +50,16 @@ module Aws::Mgn
50
50
  CloudWatchLogGroupName = Shapes::StringShape.new(name: 'CloudWatchLogGroupName')
51
51
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
52
52
  ConflictExceptionErrors = Shapes::ListShape.new(name: 'ConflictExceptionErrors')
53
+ Connector = Shapes::StructureShape.new(name: 'Connector')
54
+ ConnectorArn = Shapes::StringShape.new(name: 'ConnectorArn')
55
+ ConnectorID = Shapes::StringShape.new(name: 'ConnectorID')
56
+ ConnectorIDsFilter = Shapes::ListShape.new(name: 'ConnectorIDsFilter')
57
+ ConnectorName = Shapes::StringShape.new(name: 'ConnectorName')
58
+ ConnectorSsmCommandConfig = Shapes::StructureShape.new(name: 'ConnectorSsmCommandConfig')
59
+ ConnectorsList = Shapes::ListShape.new(name: 'ConnectorsList')
53
60
  Cpus = Shapes::ListShape.new(name: 'Cpus')
54
61
  CreateApplicationRequest = Shapes::StructureShape.new(name: 'CreateApplicationRequest')
62
+ CreateConnectorRequest = Shapes::StructureShape.new(name: 'CreateConnectorRequest')
55
63
  CreateLaunchConfigurationTemplateRequest = Shapes::StructureShape.new(name: 'CreateLaunchConfigurationTemplateRequest')
56
64
  CreateReplicationConfigurationTemplateRequest = Shapes::StructureShape.new(name: 'CreateReplicationConfigurationTemplateRequest')
57
65
  CreateWaveRequest = Shapes::StructureShape.new(name: 'CreateWaveRequest')
@@ -68,6 +76,7 @@ module Aws::Mgn
68
76
  DataReplicationState = Shapes::StringShape.new(name: 'DataReplicationState')
69
77
  DeleteApplicationRequest = Shapes::StructureShape.new(name: 'DeleteApplicationRequest')
70
78
  DeleteApplicationResponse = Shapes::StructureShape.new(name: 'DeleteApplicationResponse')
79
+ DeleteConnectorRequest = Shapes::StructureShape.new(name: 'DeleteConnectorRequest')
71
80
  DeleteJobRequest = Shapes::StructureShape.new(name: 'DeleteJobRequest')
72
81
  DeleteJobResponse = Shapes::StructureShape.new(name: 'DeleteJobResponse')
73
82
  DeleteLaunchConfigurationTemplateRequest = Shapes::StructureShape.new(name: 'DeleteLaunchConfigurationTemplateRequest')
@@ -180,6 +189,9 @@ module Aws::Mgn
180
189
  ListApplicationsRequest = Shapes::StructureShape.new(name: 'ListApplicationsRequest')
181
190
  ListApplicationsRequestFilters = Shapes::StructureShape.new(name: 'ListApplicationsRequestFilters')
182
191
  ListApplicationsResponse = Shapes::StructureShape.new(name: 'ListApplicationsResponse')
192
+ ListConnectorsRequest = Shapes::StructureShape.new(name: 'ListConnectorsRequest')
193
+ ListConnectorsRequestFilters = Shapes::StructureShape.new(name: 'ListConnectorsRequestFilters')
194
+ ListConnectorsResponse = Shapes::StructureShape.new(name: 'ListConnectorsResponse')
183
195
  ListExportErrorsRequest = Shapes::StructureShape.new(name: 'ListExportErrorsRequest')
184
196
  ListExportErrorsResponse = Shapes::StructureShape.new(name: 'ListExportErrorsResponse')
185
197
  ListExportsRequest = Shapes::StructureShape.new(name: 'ListExportsRequest')
@@ -248,6 +260,7 @@ module Aws::Mgn
248
260
  S3BucketSource = Shapes::StructureShape.new(name: 'S3BucketSource')
249
261
  S3Key = Shapes::StringShape.new(name: 'S3Key')
250
262
  S3LogBucketName = Shapes::StringShape.new(name: 'S3LogBucketName')
263
+ SecretArn = Shapes::StringShape.new(name: 'SecretArn')
251
264
  SecurityGroupID = Shapes::StringShape.new(name: 'SecurityGroupID')
252
265
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
253
266
  SmallBoundedString = Shapes::StringShape.new(name: 'SmallBoundedString')
@@ -256,6 +269,7 @@ module Aws::Mgn
256
269
  SourceServerActionDocument = Shapes::StructureShape.new(name: 'SourceServerActionDocument')
257
270
  SourceServerActionDocuments = Shapes::ListShape.new(name: 'SourceServerActionDocuments')
258
271
  SourceServerActionsRequestFilters = Shapes::StructureShape.new(name: 'SourceServerActionsRequestFilters')
272
+ SourceServerConnectorAction = Shapes::StructureShape.new(name: 'SourceServerConnectorAction')
259
273
  SourceServerID = Shapes::StringShape.new(name: 'SourceServerID')
260
274
  SourceServersList = Shapes::ListShape.new(name: 'SourceServersList')
261
275
  SsmDocument = Shapes::StructureShape.new(name: 'SsmDocument')
@@ -266,6 +280,7 @@ module Aws::Mgn
266
280
  SsmDocumentType = Shapes::StringShape.new(name: 'SsmDocumentType')
267
281
  SsmDocuments = Shapes::ListShape.new(name: 'SsmDocuments')
268
282
  SsmExternalParameter = Shapes::UnionShape.new(name: 'SsmExternalParameter')
283
+ SsmInstanceID = Shapes::StringShape.new(name: 'SsmInstanceID')
269
284
  SsmParameterStoreParameter = Shapes::StructureShape.new(name: 'SsmParameterStoreParameter')
270
285
  SsmParameterStoreParameterName = Shapes::StringShape.new(name: 'SsmParameterStoreParameterName')
271
286
  SsmParameterStoreParameterType = Shapes::StringShape.new(name: 'SsmParameterStoreParameterType')
@@ -303,11 +318,13 @@ module Aws::Mgn
303
318
  UninitializedAccountException = Shapes::StructureShape.new(name: 'UninitializedAccountException')
304
319
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
305
320
  UpdateApplicationRequest = Shapes::StructureShape.new(name: 'UpdateApplicationRequest')
321
+ UpdateConnectorRequest = Shapes::StructureShape.new(name: 'UpdateConnectorRequest')
306
322
  UpdateLaunchConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateLaunchConfigurationRequest')
307
323
  UpdateLaunchConfigurationTemplateRequest = Shapes::StructureShape.new(name: 'UpdateLaunchConfigurationTemplateRequest')
308
324
  UpdateReplicationConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateReplicationConfigurationRequest')
309
325
  UpdateReplicationConfigurationTemplateRequest = Shapes::StructureShape.new(name: 'UpdateReplicationConfigurationTemplateRequest')
310
326
  UpdateSourceServerReplicationTypeRequest = Shapes::StructureShape.new(name: 'UpdateSourceServerReplicationTypeRequest')
327
+ UpdateSourceServerRequest = Shapes::StructureShape.new(name: 'UpdateSourceServerRequest')
311
328
  UpdateWaveRequest = Shapes::StructureShape.new(name: 'UpdateWaveRequest')
312
329
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
313
330
  ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
@@ -402,6 +419,24 @@ module Aws::Mgn
402
419
 
403
420
  ConflictExceptionErrors.member = Shapes::ShapeRef.new(shape: ErrorDetails)
404
421
 
422
+ Connector.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "arn"))
423
+ Connector.add_member(:connector_id, Shapes::ShapeRef.new(shape: ConnectorID, location_name: "connectorID"))
424
+ Connector.add_member(:name, Shapes::ShapeRef.new(shape: ConnectorName, location_name: "name"))
425
+ Connector.add_member(:ssm_command_config, Shapes::ShapeRef.new(shape: ConnectorSsmCommandConfig, location_name: "ssmCommandConfig"))
426
+ Connector.add_member(:ssm_instance_id, Shapes::ShapeRef.new(shape: SsmInstanceID, location_name: "ssmInstanceID"))
427
+ Connector.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
428
+ Connector.struct_class = Types::Connector
429
+
430
+ ConnectorIDsFilter.member = Shapes::ShapeRef.new(shape: ConnectorID)
431
+
432
+ ConnectorSsmCommandConfig.add_member(:cloud_watch_log_group_name, Shapes::ShapeRef.new(shape: CloudWatchLogGroupName, location_name: "cloudWatchLogGroupName"))
433
+ ConnectorSsmCommandConfig.add_member(:cloud_watch_output_enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "cloudWatchOutputEnabled"))
434
+ ConnectorSsmCommandConfig.add_member(:output_s3_bucket_name, Shapes::ShapeRef.new(shape: S3BucketName, location_name: "outputS3BucketName"))
435
+ ConnectorSsmCommandConfig.add_member(:s3_output_enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "s3OutputEnabled"))
436
+ ConnectorSsmCommandConfig.struct_class = Types::ConnectorSsmCommandConfig
437
+
438
+ ConnectorsList.member = Shapes::ShapeRef.new(shape: Connector)
439
+
405
440
  Cpus.member = Shapes::ShapeRef.new(shape: CPU)
406
441
 
407
442
  CreateApplicationRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountID, location_name: "accountID"))
@@ -410,6 +445,12 @@ module Aws::Mgn
410
445
  CreateApplicationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
411
446
  CreateApplicationRequest.struct_class = Types::CreateApplicationRequest
412
447
 
448
+ CreateConnectorRequest.add_member(:name, Shapes::ShapeRef.new(shape: ConnectorName, required: true, location_name: "name"))
449
+ CreateConnectorRequest.add_member(:ssm_command_config, Shapes::ShapeRef.new(shape: ConnectorSsmCommandConfig, location_name: "ssmCommandConfig"))
450
+ CreateConnectorRequest.add_member(:ssm_instance_id, Shapes::ShapeRef.new(shape: SsmInstanceID, required: true, location_name: "ssmInstanceID"))
451
+ CreateConnectorRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
452
+ CreateConnectorRequest.struct_class = Types::CreateConnectorRequest
453
+
413
454
  CreateLaunchConfigurationTemplateRequest.add_member(:associate_public_ip_address, Shapes::ShapeRef.new(shape: Boolean, location_name: "associatePublicIpAddress"))
414
455
  CreateLaunchConfigurationTemplateRequest.add_member(:boot_mode, Shapes::ShapeRef.new(shape: BootMode, location_name: "bootMode"))
415
456
  CreateLaunchConfigurationTemplateRequest.add_member(:copy_private_ip, Shapes::ShapeRef.new(shape: Boolean, location_name: "copyPrivateIp"))
@@ -487,6 +528,9 @@ module Aws::Mgn
487
528
 
488
529
  DeleteApplicationResponse.struct_class = Types::DeleteApplicationResponse
489
530
 
531
+ DeleteConnectorRequest.add_member(:connector_id, Shapes::ShapeRef.new(shape: ConnectorID, required: true, location_name: "connectorID"))
532
+ DeleteConnectorRequest.struct_class = Types::DeleteConnectorRequest
533
+
490
534
  DeleteJobRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountID, location_name: "accountID"))
491
535
  DeleteJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobID, required: true, location_name: "jobID"))
492
536
  DeleteJobRequest.struct_class = Types::DeleteJobRequest
@@ -865,6 +909,18 @@ module Aws::Mgn
865
909
  ListApplicationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
866
910
  ListApplicationsResponse.struct_class = Types::ListApplicationsResponse
867
911
 
912
+ ListConnectorsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: ListConnectorsRequestFilters, location_name: "filters"))
913
+ ListConnectorsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsType, location_name: "maxResults"))
914
+ ListConnectorsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
915
+ ListConnectorsRequest.struct_class = Types::ListConnectorsRequest
916
+
917
+ ListConnectorsRequestFilters.add_member(:connector_i_ds, Shapes::ShapeRef.new(shape: ConnectorIDsFilter, location_name: "connectorIDs"))
918
+ ListConnectorsRequestFilters.struct_class = Types::ListConnectorsRequestFilters
919
+
920
+ ListConnectorsResponse.add_member(:items, Shapes::ShapeRef.new(shape: ConnectorsList, location_name: "items"))
921
+ ListConnectorsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
922
+ ListConnectorsResponse.struct_class = Types::ListConnectorsResponse
923
+
868
924
  ListExportErrorsRequest.add_member(:export_id, Shapes::ShapeRef.new(shape: ExportID, required: true, location_name: "exportID"))
869
925
  ListExportErrorsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsType, location_name: "maxResults"))
870
926
  ListExportErrorsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
@@ -1140,6 +1196,7 @@ module Aws::Mgn
1140
1196
 
1141
1197
  SourceServer.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationID, location_name: "applicationID"))
1142
1198
  SourceServer.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "arn"))
1199
+ SourceServer.add_member(:connector_action, Shapes::ShapeRef.new(shape: SourceServerConnectorAction, location_name: "connectorAction"))
1143
1200
  SourceServer.add_member(:data_replication_info, Shapes::ShapeRef.new(shape: DataReplicationInfo, location_name: "dataReplicationInfo"))
1144
1201
  SourceServer.add_member(:fqdn_for_action_framework, Shapes::ShapeRef.new(shape: BoundedString, location_name: "fqdnForActionFramework"))
1145
1202
  SourceServer.add_member(:is_archived, Shapes::ShapeRef.new(shape: Boolean, location_name: "isArchived"))
@@ -1172,6 +1229,10 @@ module Aws::Mgn
1172
1229
  SourceServerActionsRequestFilters.add_member(:action_i_ds, Shapes::ShapeRef.new(shape: ActionIDs, location_name: "actionIDs"))
1173
1230
  SourceServerActionsRequestFilters.struct_class = Types::SourceServerActionsRequestFilters
1174
1231
 
1232
+ SourceServerConnectorAction.add_member(:connector_arn, Shapes::ShapeRef.new(shape: ConnectorArn, location_name: "connectorArn"))
1233
+ SourceServerConnectorAction.add_member(:credentials_secret_arn, Shapes::ShapeRef.new(shape: SecretArn, location_name: "credentialsSecretArn"))
1234
+ SourceServerConnectorAction.struct_class = Types::SourceServerConnectorAction
1235
+
1175
1236
  SourceServersList.member = Shapes::ShapeRef.new(shape: SourceServer)
1176
1237
 
1177
1238
  SsmDocument.add_member(:action_name, Shapes::ShapeRef.new(shape: BoundedString, required: true, location_name: "actionName"))
@@ -1312,6 +1373,11 @@ module Aws::Mgn
1312
1373
  UpdateApplicationRequest.add_member(:name, Shapes::ShapeRef.new(shape: ApplicationName, location_name: "name"))
1313
1374
  UpdateApplicationRequest.struct_class = Types::UpdateApplicationRequest
1314
1375
 
1376
+ UpdateConnectorRequest.add_member(:connector_id, Shapes::ShapeRef.new(shape: ConnectorID, required: true, location_name: "connectorID"))
1377
+ UpdateConnectorRequest.add_member(:name, Shapes::ShapeRef.new(shape: ConnectorName, location_name: "name"))
1378
+ UpdateConnectorRequest.add_member(:ssm_command_config, Shapes::ShapeRef.new(shape: ConnectorSsmCommandConfig, location_name: "ssmCommandConfig"))
1379
+ UpdateConnectorRequest.struct_class = Types::UpdateConnectorRequest
1380
+
1315
1381
  UpdateLaunchConfigurationRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountID, location_name: "accountID"))
1316
1382
  UpdateLaunchConfigurationRequest.add_member(:boot_mode, Shapes::ShapeRef.new(shape: BootMode, location_name: "bootMode"))
1317
1383
  UpdateLaunchConfigurationRequest.add_member(:copy_private_ip, Shapes::ShapeRef.new(shape: Boolean, location_name: "copyPrivateIp"))
@@ -1383,6 +1449,11 @@ module Aws::Mgn
1383
1449
  UpdateSourceServerReplicationTypeRequest.add_member(:source_server_id, Shapes::ShapeRef.new(shape: SourceServerID, required: true, location_name: "sourceServerID"))
1384
1450
  UpdateSourceServerReplicationTypeRequest.struct_class = Types::UpdateSourceServerReplicationTypeRequest
1385
1451
 
1452
+ UpdateSourceServerRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountID, location_name: "accountID"))
1453
+ UpdateSourceServerRequest.add_member(:connector_action, Shapes::ShapeRef.new(shape: SourceServerConnectorAction, location_name: "connectorAction"))
1454
+ UpdateSourceServerRequest.add_member(:source_server_id, Shapes::ShapeRef.new(shape: SourceServerID, required: true, location_name: "sourceServerID"))
1455
+ UpdateSourceServerRequest.struct_class = Types::UpdateSourceServerRequest
1456
+
1386
1457
  UpdateWaveRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountID, location_name: "accountID"))
1387
1458
  UpdateWaveRequest.add_member(:description, Shapes::ShapeRef.new(shape: WaveDescription, location_name: "description"))
1388
1459
  UpdateWaveRequest.add_member(:name, Shapes::ShapeRef.new(shape: WaveName, location_name: "name"))
@@ -1525,6 +1596,16 @@ module Aws::Mgn
1525
1596
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1526
1597
  end)
1527
1598
 
1599
+ api.add_operation(:create_connector, Seahorse::Model::Operation.new.tap do |o|
1600
+ o.name = "CreateConnector"
1601
+ o.http_method = "POST"
1602
+ o.http_request_uri = "/CreateConnector"
1603
+ o.input = Shapes::ShapeRef.new(shape: CreateConnectorRequest)
1604
+ o.output = Shapes::ShapeRef.new(shape: Connector)
1605
+ o.errors << Shapes::ShapeRef.new(shape: UninitializedAccountException)
1606
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1607
+ end)
1608
+
1528
1609
  api.add_operation(:create_launch_configuration_template, Seahorse::Model::Operation.new.tap do |o|
1529
1610
  o.name = "CreateLaunchConfigurationTemplate"
1530
1611
  o.http_method = "POST"
@@ -1569,6 +1650,17 @@ module Aws::Mgn
1569
1650
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1570
1651
  end)
1571
1652
 
1653
+ api.add_operation(:delete_connector, Seahorse::Model::Operation.new.tap do |o|
1654
+ o.name = "DeleteConnector"
1655
+ o.http_method = "POST"
1656
+ o.http_request_uri = "/DeleteConnector"
1657
+ o.input = Shapes::ShapeRef.new(shape: DeleteConnectorRequest)
1658
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1659
+ o.errors << Shapes::ShapeRef.new(shape: UninitializedAccountException)
1660
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1661
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1662
+ end)
1663
+
1572
1664
  api.add_operation(:delete_job, Seahorse::Model::Operation.new.tap do |o|
1573
1665
  o.name = "DeleteJob"
1574
1666
  o.http_method = "POST"
@@ -1824,6 +1916,22 @@ module Aws::Mgn
1824
1916
  )
1825
1917
  end)
1826
1918
 
1919
+ api.add_operation(:list_connectors, Seahorse::Model::Operation.new.tap do |o|
1920
+ o.name = "ListConnectors"
1921
+ o.http_method = "POST"
1922
+ o.http_request_uri = "/ListConnectors"
1923
+ o.input = Shapes::ShapeRef.new(shape: ListConnectorsRequest)
1924
+ o.output = Shapes::ShapeRef.new(shape: ListConnectorsResponse)
1925
+ o.errors << Shapes::ShapeRef.new(shape: UninitializedAccountException)
1926
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1927
+ o[:pager] = Aws::Pager.new(
1928
+ limit_key: "max_results",
1929
+ tokens: {
1930
+ "next_token" => "next_token"
1931
+ }
1932
+ )
1933
+ end)
1934
+
1827
1935
  api.add_operation(:list_export_errors, Seahorse::Model::Operation.new.tap do |o|
1828
1936
  o.name = "ListExportErrors"
1829
1937
  o.http_method = "POST"
@@ -2199,6 +2307,17 @@ module Aws::Mgn
2199
2307
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2200
2308
  end)
2201
2309
 
2310
+ api.add_operation(:update_connector, Seahorse::Model::Operation.new.tap do |o|
2311
+ o.name = "UpdateConnector"
2312
+ o.http_method = "POST"
2313
+ o.http_request_uri = "/UpdateConnector"
2314
+ o.input = Shapes::ShapeRef.new(shape: UpdateConnectorRequest)
2315
+ o.output = Shapes::ShapeRef.new(shape: Connector)
2316
+ o.errors << Shapes::ShapeRef.new(shape: UninitializedAccountException)
2317
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2318
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2319
+ end)
2320
+
2202
2321
  api.add_operation(:update_launch_configuration, Seahorse::Model::Operation.new.tap do |o|
2203
2322
  o.name = "UpdateLaunchConfiguration"
2204
2323
  o.http_method = "POST"
@@ -2248,6 +2367,17 @@ module Aws::Mgn
2248
2367
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2249
2368
  end)
2250
2369
 
2370
+ api.add_operation(:update_source_server, Seahorse::Model::Operation.new.tap do |o|
2371
+ o.name = "UpdateSourceServer"
2372
+ o.http_method = "POST"
2373
+ o.http_request_uri = "/UpdateSourceServer"
2374
+ o.input = Shapes::ShapeRef.new(shape: UpdateSourceServerRequest)
2375
+ o.output = Shapes::ShapeRef.new(shape: SourceServer)
2376
+ o.errors << Shapes::ShapeRef.new(shape: UninitializedAccountException)
2377
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2378
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2379
+ end)
2380
+
2251
2381
  api.add_operation(:update_source_server_replication_type, Seahorse::Model::Operation.new.tap do |o|
2252
2382
  o.name = "UpdateSourceServerReplicationType"
2253
2383
  o.http_method = "POST"
@@ -96,6 +96,20 @@ module Aws::Mgn
96
96
  end
97
97
  end
98
98
 
99
+ class CreateConnector
100
+ def self.build(context)
101
+ unless context.config.regional_endpoint
102
+ endpoint = context.config.endpoint.to_s
103
+ end
104
+ Aws::Mgn::EndpointParameters.new(
105
+ region: context.config.region,
106
+ use_dual_stack: context.config.use_dualstack_endpoint,
107
+ use_fips: context.config.use_fips_endpoint,
108
+ endpoint: endpoint,
109
+ )
110
+ end
111
+ end
112
+
99
113
  class CreateLaunchConfigurationTemplate
100
114
  def self.build(context)
101
115
  unless context.config.regional_endpoint
@@ -152,6 +166,20 @@ module Aws::Mgn
152
166
  end
153
167
  end
154
168
 
169
+ class DeleteConnector
170
+ def self.build(context)
171
+ unless context.config.regional_endpoint
172
+ endpoint = context.config.endpoint.to_s
173
+ end
174
+ Aws::Mgn::EndpointParameters.new(
175
+ region: context.config.region,
176
+ use_dual_stack: context.config.use_dualstack_endpoint,
177
+ use_fips: context.config.use_fips_endpoint,
178
+ endpoint: endpoint,
179
+ )
180
+ end
181
+ end
182
+
155
183
  class DeleteJob
156
184
  def self.build(context)
157
185
  unless context.config.regional_endpoint
@@ -432,6 +460,20 @@ module Aws::Mgn
432
460
  end
433
461
  end
434
462
 
463
+ class ListConnectors
464
+ def self.build(context)
465
+ unless context.config.regional_endpoint
466
+ endpoint = context.config.endpoint.to_s
467
+ end
468
+ Aws::Mgn::EndpointParameters.new(
469
+ region: context.config.region,
470
+ use_dual_stack: context.config.use_dualstack_endpoint,
471
+ use_fips: context.config.use_fips_endpoint,
472
+ endpoint: endpoint,
473
+ )
474
+ end
475
+ end
476
+
435
477
  class ListExportErrors
436
478
  def self.build(context)
437
479
  unless context.config.regional_endpoint
@@ -838,6 +880,20 @@ module Aws::Mgn
838
880
  end
839
881
  end
840
882
 
883
+ class UpdateConnector
884
+ def self.build(context)
885
+ unless context.config.regional_endpoint
886
+ endpoint = context.config.endpoint.to_s
887
+ end
888
+ Aws::Mgn::EndpointParameters.new(
889
+ region: context.config.region,
890
+ use_dual_stack: context.config.use_dualstack_endpoint,
891
+ use_fips: context.config.use_fips_endpoint,
892
+ endpoint: endpoint,
893
+ )
894
+ end
895
+ end
896
+
841
897
  class UpdateLaunchConfiguration
842
898
  def self.build(context)
843
899
  unless context.config.regional_endpoint
@@ -894,6 +950,20 @@ module Aws::Mgn
894
950
  end
895
951
  end
896
952
 
953
+ class UpdateSourceServer
954
+ def self.build(context)
955
+ unless context.config.regional_endpoint
956
+ endpoint = context.config.endpoint.to_s
957
+ end
958
+ Aws::Mgn::EndpointParameters.new(
959
+ region: context.config.region,
960
+ use_dual_stack: context.config.use_dualstack_endpoint,
961
+ use_fips: context.config.use_fips_endpoint,
962
+ endpoint: endpoint,
963
+ )
964
+ end
965
+ end
966
+
897
967
  class UpdateSourceServerReplicationType
898
968
  def self.build(context)
899
969
  unless context.config.regional_endpoint
@@ -68,6 +68,8 @@ module Aws::Mgn
68
68
  Aws::Mgn::Endpoints::ChangeServerLifeCycleState.build(context)
69
69
  when :create_application
70
70
  Aws::Mgn::Endpoints::CreateApplication.build(context)
71
+ when :create_connector
72
+ Aws::Mgn::Endpoints::CreateConnector.build(context)
71
73
  when :create_launch_configuration_template
72
74
  Aws::Mgn::Endpoints::CreateLaunchConfigurationTemplate.build(context)
73
75
  when :create_replication_configuration_template
@@ -76,6 +78,8 @@ module Aws::Mgn
76
78
  Aws::Mgn::Endpoints::CreateWave.build(context)
77
79
  when :delete_application
78
80
  Aws::Mgn::Endpoints::DeleteApplication.build(context)
81
+ when :delete_connector
82
+ Aws::Mgn::Endpoints::DeleteConnector.build(context)
79
83
  when :delete_job
80
84
  Aws::Mgn::Endpoints::DeleteJob.build(context)
81
85
  when :delete_launch_configuration_template
@@ -116,6 +120,8 @@ module Aws::Mgn
116
120
  Aws::Mgn::Endpoints::InitializeService.build(context)
117
121
  when :list_applications
118
122
  Aws::Mgn::Endpoints::ListApplications.build(context)
123
+ when :list_connectors
124
+ Aws::Mgn::Endpoints::ListConnectors.build(context)
119
125
  when :list_export_errors
120
126
  Aws::Mgn::Endpoints::ListExportErrors.build(context)
121
127
  when :list_exports
@@ -174,6 +180,8 @@ module Aws::Mgn
174
180
  Aws::Mgn::Endpoints::UntagResource.build(context)
175
181
  when :update_application
176
182
  Aws::Mgn::Endpoints::UpdateApplication.build(context)
183
+ when :update_connector
184
+ Aws::Mgn::Endpoints::UpdateConnector.build(context)
177
185
  when :update_launch_configuration
178
186
  Aws::Mgn::Endpoints::UpdateLaunchConfiguration.build(context)
179
187
  when :update_launch_configuration_template
@@ -182,6 +190,8 @@ module Aws::Mgn
182
190
  Aws::Mgn::Endpoints::UpdateReplicationConfiguration.build(context)
183
191
  when :update_replication_configuration_template
184
192
  Aws::Mgn::Endpoints::UpdateReplicationConfigurationTemplate.build(context)
193
+ when :update_source_server
194
+ Aws::Mgn::Endpoints::UpdateSourceServer.build(context)
185
195
  when :update_source_server_replication_type
186
196
  Aws::Mgn::Endpoints::UpdateSourceServerReplicationType.build(context)
187
197
  when :update_wave
@@ -288,6 +288,72 @@ module Aws::Mgn
288
288
  include Aws::Structure
289
289
  end
290
290
 
291
+ # @!attribute [rw] arn
292
+ # Connector arn.
293
+ # @return [String]
294
+ #
295
+ # @!attribute [rw] connector_id
296
+ # Connector ID.
297
+ # @return [String]
298
+ #
299
+ # @!attribute [rw] name
300
+ # Connector name.
301
+ # @return [String]
302
+ #
303
+ # @!attribute [rw] ssm_command_config
304
+ # Connector SSM command config.
305
+ # @return [Types::ConnectorSsmCommandConfig]
306
+ #
307
+ # @!attribute [rw] ssm_instance_id
308
+ # Connector SSM instance ID.
309
+ # @return [String]
310
+ #
311
+ # @!attribute [rw] tags
312
+ # Connector tags.
313
+ # @return [Hash<String,String>]
314
+ #
315
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/Connector AWS API Documentation
316
+ #
317
+ class Connector < Struct.new(
318
+ :arn,
319
+ :connector_id,
320
+ :name,
321
+ :ssm_command_config,
322
+ :ssm_instance_id,
323
+ :tags)
324
+ SENSITIVE = [:tags]
325
+ include Aws::Structure
326
+ end
327
+
328
+ # Connector SSM command config.
329
+ #
330
+ # @!attribute [rw] cloud_watch_log_group_name
331
+ # Connector SSM command config CloudWatch log group name.
332
+ # @return [String]
333
+ #
334
+ # @!attribute [rw] cloud_watch_output_enabled
335
+ # Connector SSM command config CloudWatch output enabled.
336
+ # @return [Boolean]
337
+ #
338
+ # @!attribute [rw] output_s3_bucket_name
339
+ # Connector SSM command config output S3 bucket name.
340
+ # @return [String]
341
+ #
342
+ # @!attribute [rw] s3_output_enabled
343
+ # Connector SSM command config S3 output enabled.
344
+ # @return [Boolean]
345
+ #
346
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ConnectorSsmCommandConfig AWS API Documentation
347
+ #
348
+ class ConnectorSsmCommandConfig < Struct.new(
349
+ :cloud_watch_log_group_name,
350
+ :cloud_watch_output_enabled,
351
+ :output_s3_bucket_name,
352
+ :s3_output_enabled)
353
+ SENSITIVE = []
354
+ include Aws::Structure
355
+ end
356
+
291
357
  # @!attribute [rw] account_id
292
358
  # Account ID.
293
359
  # @return [String]
@@ -315,6 +381,33 @@ module Aws::Mgn
315
381
  include Aws::Structure
316
382
  end
317
383
 
384
+ # @!attribute [rw] name
385
+ # Create Connector request name.
386
+ # @return [String]
387
+ #
388
+ # @!attribute [rw] ssm_command_config
389
+ # Create Connector request SSM command config.
390
+ # @return [Types::ConnectorSsmCommandConfig]
391
+ #
392
+ # @!attribute [rw] ssm_instance_id
393
+ # Create Connector request SSM instance ID.
394
+ # @return [String]
395
+ #
396
+ # @!attribute [rw] tags
397
+ # Create Connector request tags.
398
+ # @return [Hash<String,String>]
399
+ #
400
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/CreateConnectorRequest AWS API Documentation
401
+ #
402
+ class CreateConnectorRequest < Struct.new(
403
+ :name,
404
+ :ssm_command_config,
405
+ :ssm_instance_id,
406
+ :tags)
407
+ SENSITIVE = [:tags]
408
+ include Aws::Structure
409
+ end
410
+
318
411
  # @!attribute [rw] associate_public_ip_address
319
412
  # Associate public Ip address.
320
413
  # @return [Boolean]
@@ -672,6 +765,18 @@ module Aws::Mgn
672
765
  #
673
766
  class DeleteApplicationResponse < Aws::EmptyStructure; end
674
767
 
768
+ # @!attribute [rw] connector_id
769
+ # Delete Connector request connector ID.
770
+ # @return [String]
771
+ #
772
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DeleteConnectorRequest AWS API Documentation
773
+ #
774
+ class DeleteConnectorRequest < Struct.new(
775
+ :connector_id)
776
+ SENSITIVE = []
777
+ include Aws::Structure
778
+ end
779
+
675
780
  # @!attribute [rw] account_id
676
781
  # Request to delete Job from service by Account ID.
677
782
  # @return [String]
@@ -2244,6 +2349,59 @@ module Aws::Mgn
2244
2349
  include Aws::Structure
2245
2350
  end
2246
2351
 
2352
+ # @!attribute [rw] filters
2353
+ # List Connectors Request filters.
2354
+ # @return [Types::ListConnectorsRequestFilters]
2355
+ #
2356
+ # @!attribute [rw] max_results
2357
+ # List Connectors Request max results.
2358
+ # @return [Integer]
2359
+ #
2360
+ # @!attribute [rw] next_token
2361
+ # List Connectors Request next token.
2362
+ # @return [String]
2363
+ #
2364
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ListConnectorsRequest AWS API Documentation
2365
+ #
2366
+ class ListConnectorsRequest < Struct.new(
2367
+ :filters,
2368
+ :max_results,
2369
+ :next_token)
2370
+ SENSITIVE = []
2371
+ include Aws::Structure
2372
+ end
2373
+
2374
+ # List Connectors Request Filters.
2375
+ #
2376
+ # @!attribute [rw] connector_i_ds
2377
+ # List Connectors Request Filters connector IDs.
2378
+ # @return [Array<String>]
2379
+ #
2380
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ListConnectorsRequestFilters AWS API Documentation
2381
+ #
2382
+ class ListConnectorsRequestFilters < Struct.new(
2383
+ :connector_i_ds)
2384
+ SENSITIVE = []
2385
+ include Aws::Structure
2386
+ end
2387
+
2388
+ # @!attribute [rw] items
2389
+ # List connectors response items.
2390
+ # @return [Array<Types::Connector>]
2391
+ #
2392
+ # @!attribute [rw] next_token
2393
+ # List connectors response next token.
2394
+ # @return [String]
2395
+ #
2396
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ListConnectorsResponse AWS API Documentation
2397
+ #
2398
+ class ListConnectorsResponse < Struct.new(
2399
+ :items,
2400
+ :next_token)
2401
+ SENSITIVE = []
2402
+ include Aws::Structure
2403
+ end
2404
+
2247
2405
  # List export errors request.
2248
2406
  #
2249
2407
  # @!attribute [rw] export_id
@@ -3441,6 +3599,10 @@ module Aws::Mgn
3441
3599
  # Source server ARN.
3442
3600
  # @return [String]
3443
3601
  #
3602
+ # @!attribute [rw] connector_action
3603
+ # Source Server connector action.
3604
+ # @return [Types::SourceServerConnectorAction]
3605
+ #
3444
3606
  # @!attribute [rw] data_replication_info
3445
3607
  # Source server data replication info.
3446
3608
  # @return [Types::DataReplicationInfo]
@@ -3490,6 +3652,7 @@ module Aws::Mgn
3490
3652
  class SourceServer < Struct.new(
3491
3653
  :application_id,
3492
3654
  :arn,
3655
+ :connector_action,
3493
3656
  :data_replication_info,
3494
3657
  :fqdn_for_action_framework,
3495
3658
  :is_archived,
@@ -3586,6 +3749,25 @@ module Aws::Mgn
3586
3749
  include Aws::Structure
3587
3750
  end
3588
3751
 
3752
+ # Source Server connector action.
3753
+ #
3754
+ # @!attribute [rw] connector_arn
3755
+ # Source Server connector action connector arn.
3756
+ # @return [String]
3757
+ #
3758
+ # @!attribute [rw] credentials_secret_arn
3759
+ # Source Server connector action credentials secret arn.
3760
+ # @return [String]
3761
+ #
3762
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/SourceServerConnectorAction AWS API Documentation
3763
+ #
3764
+ class SourceServerConnectorAction < Struct.new(
3765
+ :connector_arn,
3766
+ :credentials_secret_arn)
3767
+ SENSITIVE = []
3768
+ include Aws::Structure
3769
+ end
3770
+
3589
3771
  # AWS Systems Manager Document.
3590
3772
  #
3591
3773
  # @!attribute [rw] action_name
@@ -4104,6 +4286,28 @@ module Aws::Mgn
4104
4286
  include Aws::Structure
4105
4287
  end
4106
4288
 
4289
+ # @!attribute [rw] connector_id
4290
+ # Update Connector request connector ID.
4291
+ # @return [String]
4292
+ #
4293
+ # @!attribute [rw] name
4294
+ # Update Connector request name.
4295
+ # @return [String]
4296
+ #
4297
+ # @!attribute [rw] ssm_command_config
4298
+ # Update Connector request SSM command config.
4299
+ # @return [Types::ConnectorSsmCommandConfig]
4300
+ #
4301
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateConnectorRequest AWS API Documentation
4302
+ #
4303
+ class UpdateConnectorRequest < Struct.new(
4304
+ :connector_id,
4305
+ :name,
4306
+ :ssm_command_config)
4307
+ SENSITIVE = []
4308
+ include Aws::Structure
4309
+ end
4310
+
4107
4311
  # @!attribute [rw] account_id
4108
4312
  # Update Launch configuration Account ID.
4109
4313
  # @return [String]
@@ -4458,6 +4662,28 @@ module Aws::Mgn
4458
4662
  include Aws::Structure
4459
4663
  end
4460
4664
 
4665
+ # @!attribute [rw] account_id
4666
+ # Update Source Server request account ID.
4667
+ # @return [String]
4668
+ #
4669
+ # @!attribute [rw] connector_action
4670
+ # Update Source Server request connector action.
4671
+ # @return [Types::SourceServerConnectorAction]
4672
+ #
4673
+ # @!attribute [rw] source_server_id
4674
+ # Update Source Server request source server ID.
4675
+ # @return [String]
4676
+ #
4677
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateSourceServerRequest AWS API Documentation
4678
+ #
4679
+ class UpdateSourceServerRequest < Struct.new(
4680
+ :account_id,
4681
+ :connector_action,
4682
+ :source_server_id)
4683
+ SENSITIVE = []
4684
+ include Aws::Structure
4685
+ end
4686
+
4461
4687
  # @!attribute [rw] account_id
4462
4688
  # Account ID.
4463
4689
  # @return [String]
data/lib/aws-sdk-mgn.rb CHANGED
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-mgn/customizations'
52
52
  # @!group service
53
53
  module Aws::Mgn
54
54
 
55
- GEM_VERSION = '1.25.0'
55
+ GEM_VERSION = '1.26.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-mgn
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.25.0
4
+ version: 1.26.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-27 00:00:00.000000000 Z
11
+ date: 2023-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core