aws-sdk-databasemigrationservice 1.0.0.rc7 → 1.0.0.rc8
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7597dd56fbe96cfd724327464ae6db2179fa7ad3
|
4
|
+
data.tar.gz: 4b881c1465d50a8abfa12ca37fe8e37252430f06
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e93104af1c4253050901ceff4c01aef91a54067487d56cd8d7c09a3368cf73a7f67af68cd844ea624e74f6526d403adf40bc0fd103d4f1472afebb63495d017
|
7
|
+
data.tar.gz: 4db26deff3a30e2f0a04407d3f00a6c8775cc27f09ed3544050ccd6be248a192257298c9be831e9894c3205ae90c5386b23456de7c346327776722f2fcd64f44
|
@@ -170,6 +170,25 @@ module Aws::DatabaseMigrationService
|
|
170
170
|
#
|
171
171
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
172
172
|
#
|
173
|
+
#
|
174
|
+
# @example Example: Add tags to resource
|
175
|
+
#
|
176
|
+
# # Adds metadata tags to an AWS DMS resource, including replication instance, endpoint, security group, and migration task. These tags can also be used with cost allocation reporting to track cost associated with AWS DMS resources, or used in a Condition statement in an IAM policy for AWS DMS.
|
177
|
+
#
|
178
|
+
# resp = client.add_tags_to_resource({
|
179
|
+
# resource_arn: "arn:aws:dms:us-east-1:123456789012:endpoint:ASXWXJZLNWNT5HTWCGV2BUJQ7E", # Required. Use the ARN of the resource you want to tag.
|
180
|
+
# tags: [
|
181
|
+
# {
|
182
|
+
# key: "Acount",
|
183
|
+
# value: "1633456",
|
184
|
+
# },
|
185
|
+
# ], # Required. Use the Key/Value pair format.
|
186
|
+
# })
|
187
|
+
#
|
188
|
+
# resp.to_h outputs the following:
|
189
|
+
# {
|
190
|
+
# }
|
191
|
+
#
|
173
192
|
# @example Request syntax with placeholder values
|
174
193
|
#
|
175
194
|
# resp = client.add_tags_to_resource({
|
@@ -280,6 +299,47 @@ module Aws::DatabaseMigrationService
|
|
280
299
|
#
|
281
300
|
# * {Types::CreateEndpointResponse#endpoint #endpoint} => Types::Endpoint
|
282
301
|
#
|
302
|
+
#
|
303
|
+
# @example Example: Create endpoint
|
304
|
+
#
|
305
|
+
# # Creates an endpoint using the provided settings.
|
306
|
+
#
|
307
|
+
# resp = client.create_endpoint({
|
308
|
+
# certificate_arn: "",
|
309
|
+
# database_name: "testdb",
|
310
|
+
# endpoint_identifier: "test-endpoint-1",
|
311
|
+
# endpoint_type: "source",
|
312
|
+
# engine_name: "mysql",
|
313
|
+
# extra_connection_attributes: "",
|
314
|
+
# kms_key_id: "arn:aws:kms:us-east-1:123456789012:key/4c1731d6-5435-ed4d-be13-d53411a7cfbd",
|
315
|
+
# password: "pasword",
|
316
|
+
# port: 3306,
|
317
|
+
# server_name: "mydb.cx1llnox7iyx.us-west-2.rds.amazonaws.com",
|
318
|
+
# ssl_mode: "require",
|
319
|
+
# tags: [
|
320
|
+
# {
|
321
|
+
# key: "Acount",
|
322
|
+
# value: "143327655",
|
323
|
+
# },
|
324
|
+
# ],
|
325
|
+
# username: "username",
|
326
|
+
# })
|
327
|
+
#
|
328
|
+
# resp.to_h outputs the following:
|
329
|
+
# {
|
330
|
+
# endpoint: {
|
331
|
+
# endpoint_arn: "arn:aws:dms:us-east-1:123456789012:endpoint:RAAR3R22XSH46S3PWLC3NJAWKM",
|
332
|
+
# endpoint_identifier: "test-endpoint-1",
|
333
|
+
# endpoint_type: "source",
|
334
|
+
# engine_name: "mysql",
|
335
|
+
# kms_key_id: "arn:aws:kms:us-east-1:123456789012:key/4c1731d6-5435-ed4d-be13-d53411a7cfbd",
|
336
|
+
# port: 3306,
|
337
|
+
# server_name: "mydb.cx1llnox7iyx.us-west-2.rds.amazonaws.com",
|
338
|
+
# status: "active",
|
339
|
+
# username: "username",
|
340
|
+
# },
|
341
|
+
# }
|
342
|
+
#
|
283
343
|
# @example Request syntax with placeholder values
|
284
344
|
#
|
285
345
|
# resp = client.create_endpoint({
|
@@ -575,6 +635,87 @@ module Aws::DatabaseMigrationService
|
|
575
635
|
#
|
576
636
|
# * {Types::CreateReplicationInstanceResponse#replication_instance #replication_instance} => Types::ReplicationInstance
|
577
637
|
#
|
638
|
+
#
|
639
|
+
# @example Example: Create replication instance
|
640
|
+
#
|
641
|
+
# # Creates the replication instance using the specified parameters.
|
642
|
+
#
|
643
|
+
# resp = client.create_replication_instance({
|
644
|
+
# allocated_storage: 123,
|
645
|
+
# auto_minor_version_upgrade: true,
|
646
|
+
# availability_zone: "",
|
647
|
+
# engine_version: "",
|
648
|
+
# kms_key_id: "",
|
649
|
+
# multi_az: true,
|
650
|
+
# preferred_maintenance_window: "",
|
651
|
+
# publicly_accessible: true,
|
652
|
+
# replication_instance_class: "",
|
653
|
+
# replication_instance_identifier: "",
|
654
|
+
# replication_subnet_group_identifier: "",
|
655
|
+
# tags: [
|
656
|
+
# {
|
657
|
+
# key: "string",
|
658
|
+
# value: "string",
|
659
|
+
# },
|
660
|
+
# ],
|
661
|
+
# vpc_security_group_ids: [
|
662
|
+
# ],
|
663
|
+
# })
|
664
|
+
#
|
665
|
+
# resp.to_h outputs the following:
|
666
|
+
# {
|
667
|
+
# replication_instance: {
|
668
|
+
# allocated_storage: 5,
|
669
|
+
# auto_minor_version_upgrade: true,
|
670
|
+
# engine_version: "1.5.0",
|
671
|
+
# kms_key_id: "arn:aws:kms:us-east-1:123456789012:key/4c1731d6-5435-ed4d-be13-d53411a7cfbd",
|
672
|
+
# pending_modified_values: {
|
673
|
+
# },
|
674
|
+
# preferred_maintenance_window: "sun:06:00-sun:14:00",
|
675
|
+
# publicly_accessible: true,
|
676
|
+
# replication_instance_arn: "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ",
|
677
|
+
# replication_instance_class: "dms.t2.micro",
|
678
|
+
# replication_instance_identifier: "test-rep-1",
|
679
|
+
# replication_instance_status: "creating",
|
680
|
+
# replication_subnet_group: {
|
681
|
+
# replication_subnet_group_description: "default",
|
682
|
+
# replication_subnet_group_identifier: "default",
|
683
|
+
# subnet_group_status: "Complete",
|
684
|
+
# subnets: [
|
685
|
+
# {
|
686
|
+
# subnet_availability_zone: {
|
687
|
+
# name: "us-east-1d",
|
688
|
+
# },
|
689
|
+
# subnet_identifier: "subnet-f6dd91af",
|
690
|
+
# subnet_status: "Active",
|
691
|
+
# },
|
692
|
+
# {
|
693
|
+
# subnet_availability_zone: {
|
694
|
+
# name: "us-east-1b",
|
695
|
+
# },
|
696
|
+
# subnet_identifier: "subnet-3605751d",
|
697
|
+
# subnet_status: "Active",
|
698
|
+
# },
|
699
|
+
# {
|
700
|
+
# subnet_availability_zone: {
|
701
|
+
# name: "us-east-1c",
|
702
|
+
# },
|
703
|
+
# subnet_identifier: "subnet-c2daefb5",
|
704
|
+
# subnet_status: "Active",
|
705
|
+
# },
|
706
|
+
# {
|
707
|
+
# subnet_availability_zone: {
|
708
|
+
# name: "us-east-1e",
|
709
|
+
# },
|
710
|
+
# subnet_identifier: "subnet-85e90cb8",
|
711
|
+
# subnet_status: "Active",
|
712
|
+
# },
|
713
|
+
# ],
|
714
|
+
# vpc_id: "vpc-6741a603",
|
715
|
+
# },
|
716
|
+
# },
|
717
|
+
# }
|
718
|
+
#
|
578
719
|
# @example Request syntax with placeholder values
|
579
720
|
#
|
580
721
|
# resp = client.create_replication_instance({
|
@@ -670,6 +811,32 @@ module Aws::DatabaseMigrationService
|
|
670
811
|
#
|
671
812
|
# * {Types::CreateReplicationSubnetGroupResponse#replication_subnet_group #replication_subnet_group} => Types::ReplicationSubnetGroup
|
672
813
|
#
|
814
|
+
#
|
815
|
+
# @example Example: Create replication subnet group
|
816
|
+
#
|
817
|
+
# # Creates a replication subnet group given a list of the subnet IDs in a VPC.
|
818
|
+
#
|
819
|
+
# resp = client.create_replication_subnet_group({
|
820
|
+
# replication_subnet_group_description: "US West subnet group",
|
821
|
+
# replication_subnet_group_identifier: "us-west-2ab-vpc-215ds366",
|
822
|
+
# subnet_ids: [
|
823
|
+
# "subnet-e145356n",
|
824
|
+
# "subnet-58f79200",
|
825
|
+
# ],
|
826
|
+
# tags: [
|
827
|
+
# {
|
828
|
+
# key: "Acount",
|
829
|
+
# value: "145235",
|
830
|
+
# },
|
831
|
+
# ],
|
832
|
+
# })
|
833
|
+
#
|
834
|
+
# resp.to_h outputs the following:
|
835
|
+
# {
|
836
|
+
# replication_subnet_group: {
|
837
|
+
# },
|
838
|
+
# }
|
839
|
+
#
|
673
840
|
# @example Request syntax with placeholder values
|
674
841
|
#
|
675
842
|
# resp = client.create_replication_subnet_group({
|
@@ -758,6 +925,44 @@ module Aws::DatabaseMigrationService
|
|
758
925
|
#
|
759
926
|
# * {Types::CreateReplicationTaskResponse#replication_task #replication_task} => Types::ReplicationTask
|
760
927
|
#
|
928
|
+
#
|
929
|
+
# @example Example: Create replication task
|
930
|
+
#
|
931
|
+
# # Creates a replication task using the specified parameters.
|
932
|
+
#
|
933
|
+
# resp = client.create_replication_task({
|
934
|
+
# cdc_start_time: Time.parse("2016-12-14T18:25:43Z"),
|
935
|
+
# migration_type: "full-load",
|
936
|
+
# replication_instance_arn: "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ",
|
937
|
+
# replication_task_identifier: "task1",
|
938
|
+
# replication_task_settings: "",
|
939
|
+
# source_endpoint_arn: "arn:aws:dms:us-east-1:123456789012:endpoint:ZW5UAN6P4E77EC7YWHK4RZZ3BE",
|
940
|
+
# table_mappings: "file://mappingfile.json",
|
941
|
+
# tags: [
|
942
|
+
# {
|
943
|
+
# key: "Acount",
|
944
|
+
# value: "24352226",
|
945
|
+
# },
|
946
|
+
# ],
|
947
|
+
# target_endpoint_arn: "arn:aws:dms:us-east-1:123456789012:endpoint:ASXWXJZLNWNT5HTWCGV2BUJQ7E",
|
948
|
+
# })
|
949
|
+
#
|
950
|
+
# resp.to_h outputs the following:
|
951
|
+
# {
|
952
|
+
# replication_task: {
|
953
|
+
# migration_type: "full-load",
|
954
|
+
# replication_instance_arn: "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ",
|
955
|
+
# replication_task_arn: "arn:aws:dms:us-east-1:123456789012:task:OEAMB3NXSTZ6LFYZFEPPBBXPYM",
|
956
|
+
# replication_task_creation_date: Time.parse("2016-12-14T18:25:43Z"),
|
957
|
+
# replication_task_identifier: "task1",
|
958
|
+
# replication_task_settings: "{\"TargetMetadata\":{\"TargetSchema\":\"\",\"SupportLobs\":true,\"FullLobMode\":true,\"LobChunkSize\":64,\"LimitedSizeLobMode\":false,\"LobMaxSize\":0},\"FullLoadSettings\":{\"FullLoadEnabled\":true,\"ApplyChangesEnabled\":false,\"TargetTablePrepMode\":\"DROP_AND_CREATE\",\"CreatePkAfterFullLoad\":false,\"StopTaskCachedChangesApplied\":false,\"StopTaskCachedChangesNotApplied\":false,\"ResumeEnabled\":false,\"ResumeMinTableSize\":100000,\"ResumeOnlyClusteredPKTables\":true,\"MaxFullLoadSubTasks\":8,\"TransactionConsistencyTimeout\":600,\"CommitRate\":10000},\"Logging\":{\"EnableLogging\":false}}",
|
959
|
+
# source_endpoint_arn: "arn:aws:dms:us-east-1:123456789012:endpoint:ZW5UAN6P4E77EC7YWHK4RZZ3BE",
|
960
|
+
# status: "creating",
|
961
|
+
# table_mappings: "file://mappingfile.json",
|
962
|
+
# target_endpoint_arn: "arn:aws:dms:us-east-1:123456789012:endpoint:ASXWXJZLNWNT5HTWCGV2BUJQ7E",
|
963
|
+
# },
|
964
|
+
# }
|
965
|
+
#
|
761
966
|
# @example Request syntax with placeholder values
|
762
967
|
#
|
763
968
|
# resp = client.create_replication_task({
|
@@ -817,6 +1022,21 @@ module Aws::DatabaseMigrationService
|
|
817
1022
|
#
|
818
1023
|
# * {Types::DeleteCertificateResponse#certificate #certificate} => Types::Certificate
|
819
1024
|
#
|
1025
|
+
#
|
1026
|
+
# @example Example: Delete Certificate
|
1027
|
+
#
|
1028
|
+
# # Deletes the specified certificate.
|
1029
|
+
#
|
1030
|
+
# resp = client.delete_certificate({
|
1031
|
+
# certificate_arn: "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUSM457DE6XFJCJQ",
|
1032
|
+
# })
|
1033
|
+
#
|
1034
|
+
# resp.to_h outputs the following:
|
1035
|
+
# {
|
1036
|
+
# certificate: {
|
1037
|
+
# },
|
1038
|
+
# }
|
1039
|
+
#
|
820
1040
|
# @example Request syntax with placeholder values
|
821
1041
|
#
|
822
1042
|
# resp = client.delete_certificate({
|
@@ -860,6 +1080,31 @@ module Aws::DatabaseMigrationService
|
|
860
1080
|
#
|
861
1081
|
# * {Types::DeleteEndpointResponse#endpoint #endpoint} => Types::Endpoint
|
862
1082
|
#
|
1083
|
+
#
|
1084
|
+
# @example Example: Delete Endpoint
|
1085
|
+
#
|
1086
|
+
# # Deletes the specified endpoint. All tasks associated with the endpoint must be deleted before you can delete the endpoint.
|
1087
|
+
|
1088
|
+
#
|
1089
|
+
# resp = client.delete_endpoint({
|
1090
|
+
# endpoint_arn: "arn:aws:dms:us-east-1:123456789012:endpoint:RAAR3R22XSH46S3PWLC3NJAWKM",
|
1091
|
+
# })
|
1092
|
+
#
|
1093
|
+
# resp.to_h outputs the following:
|
1094
|
+
# {
|
1095
|
+
# endpoint: {
|
1096
|
+
# endpoint_arn: "arn:aws:dms:us-east-1:123456789012:endpoint:RAAR3R22XSH46S3PWLC3NJAWKM",
|
1097
|
+
# endpoint_identifier: "test-endpoint-1",
|
1098
|
+
# endpoint_type: "source",
|
1099
|
+
# engine_name: "mysql",
|
1100
|
+
# kms_key_id: "arn:aws:kms:us-east-1:123456789012:key/4c1731d6-5435-ed4d-be13-d53411a7cfbd",
|
1101
|
+
# port: 3306,
|
1102
|
+
# server_name: "mydb.cx1llnox7iyx.us-west-2.rds.amazonaws.com",
|
1103
|
+
# status: "active",
|
1104
|
+
# username: "username",
|
1105
|
+
# },
|
1106
|
+
# }
|
1107
|
+
#
|
863
1108
|
# @example Request syntax with placeholder values
|
864
1109
|
#
|
865
1110
|
# resp = client.delete_endpoint({
|
@@ -964,6 +1209,71 @@ module Aws::DatabaseMigrationService
|
|
964
1209
|
#
|
965
1210
|
# * {Types::DeleteReplicationInstanceResponse#replication_instance #replication_instance} => Types::ReplicationInstance
|
966
1211
|
#
|
1212
|
+
#
|
1213
|
+
# @example Example: Delete Replication Instance
|
1214
|
+
#
|
1215
|
+
# # Deletes the specified replication instance. You must delete any migration tasks that are associated with the replication instance before you can delete it.
|
1216
|
+
|
1217
|
+
|
1218
|
+
#
|
1219
|
+
# resp = client.delete_replication_instance({
|
1220
|
+
# replication_instance_arn: "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ",
|
1221
|
+
# })
|
1222
|
+
#
|
1223
|
+
# resp.to_h outputs the following:
|
1224
|
+
# {
|
1225
|
+
# replication_instance: {
|
1226
|
+
# allocated_storage: 5,
|
1227
|
+
# auto_minor_version_upgrade: true,
|
1228
|
+
# engine_version: "1.5.0",
|
1229
|
+
# kms_key_id: "arn:aws:kms:us-east-1:123456789012:key/4c1731d6-5435-ed4d-be13-d53411a7cfbd",
|
1230
|
+
# pending_modified_values: {
|
1231
|
+
# },
|
1232
|
+
# preferred_maintenance_window: "sun:06:00-sun:14:00",
|
1233
|
+
# publicly_accessible: true,
|
1234
|
+
# replication_instance_arn: "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ",
|
1235
|
+
# replication_instance_class: "dms.t2.micro",
|
1236
|
+
# replication_instance_identifier: "test-rep-1",
|
1237
|
+
# replication_instance_status: "creating",
|
1238
|
+
# replication_subnet_group: {
|
1239
|
+
# replication_subnet_group_description: "default",
|
1240
|
+
# replication_subnet_group_identifier: "default",
|
1241
|
+
# subnet_group_status: "Complete",
|
1242
|
+
# subnets: [
|
1243
|
+
# {
|
1244
|
+
# subnet_availability_zone: {
|
1245
|
+
# name: "us-east-1d",
|
1246
|
+
# },
|
1247
|
+
# subnet_identifier: "subnet-f6dd91af",
|
1248
|
+
# subnet_status: "Active",
|
1249
|
+
# },
|
1250
|
+
# {
|
1251
|
+
# subnet_availability_zone: {
|
1252
|
+
# name: "us-east-1b",
|
1253
|
+
# },
|
1254
|
+
# subnet_identifier: "subnet-3605751d",
|
1255
|
+
# subnet_status: "Active",
|
1256
|
+
# },
|
1257
|
+
# {
|
1258
|
+
# subnet_availability_zone: {
|
1259
|
+
# name: "us-east-1c",
|
1260
|
+
# },
|
1261
|
+
# subnet_identifier: "subnet-c2daefb5",
|
1262
|
+
# subnet_status: "Active",
|
1263
|
+
# },
|
1264
|
+
# {
|
1265
|
+
# subnet_availability_zone: {
|
1266
|
+
# name: "us-east-1e",
|
1267
|
+
# },
|
1268
|
+
# subnet_identifier: "subnet-85e90cb8",
|
1269
|
+
# subnet_status: "Active",
|
1270
|
+
# },
|
1271
|
+
# ],
|
1272
|
+
# vpc_id: "vpc-6741a603",
|
1273
|
+
# },
|
1274
|
+
# },
|
1275
|
+
# }
|
1276
|
+
#
|
967
1277
|
# @example Request syntax with placeholder values
|
968
1278
|
#
|
969
1279
|
# resp = client.delete_replication_instance({
|
@@ -1024,6 +1334,19 @@ module Aws::DatabaseMigrationService
|
|
1024
1334
|
#
|
1025
1335
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1026
1336
|
#
|
1337
|
+
#
|
1338
|
+
# @example Example: Delete Replication Subnet Group
|
1339
|
+
#
|
1340
|
+
# # Deletes a replication subnet group.
|
1341
|
+
#
|
1342
|
+
# resp = client.delete_replication_subnet_group({
|
1343
|
+
# replication_subnet_group_identifier: "us-west-2ab-vpc-215ds366",
|
1344
|
+
# })
|
1345
|
+
#
|
1346
|
+
# resp.to_h outputs the following:
|
1347
|
+
# {
|
1348
|
+
# }
|
1349
|
+
#
|
1027
1350
|
# @example Request syntax with placeholder values
|
1028
1351
|
#
|
1029
1352
|
# resp = client.delete_replication_subnet_group({
|
@@ -1048,6 +1371,31 @@ module Aws::DatabaseMigrationService
|
|
1048
1371
|
#
|
1049
1372
|
# * {Types::DeleteReplicationTaskResponse#replication_task #replication_task} => Types::ReplicationTask
|
1050
1373
|
#
|
1374
|
+
#
|
1375
|
+
# @example Example: Delete Replication Task
|
1376
|
+
#
|
1377
|
+
# # Deletes the specified replication task.
|
1378
|
+
#
|
1379
|
+
# resp = client.delete_replication_task({
|
1380
|
+
# replication_task_arn: "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ",
|
1381
|
+
# })
|
1382
|
+
#
|
1383
|
+
# resp.to_h outputs the following:
|
1384
|
+
# {
|
1385
|
+
# replication_task: {
|
1386
|
+
# migration_type: "full-load",
|
1387
|
+
# replication_instance_arn: "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ",
|
1388
|
+
# replication_task_arn: "arn:aws:dms:us-east-1:123456789012:task:OEAMB3NXSTZ6LFYZFEPPBBXPYM",
|
1389
|
+
# replication_task_creation_date: Time.parse("2016-12-14T18:25:43Z"),
|
1390
|
+
# replication_task_identifier: "task1",
|
1391
|
+
# replication_task_settings: "{\"TargetMetadata\":{\"TargetSchema\":\"\",\"SupportLobs\":true,\"FullLobMode\":true,\"LobChunkSize\":64,\"LimitedSizeLobMode\":false,\"LobMaxSize\":0},\"FullLoadSettings\":{\"FullLoadEnabled\":true,\"ApplyChangesEnabled\":false,\"TargetTablePrepMode\":\"DROP_AND_CREATE\",\"CreatePkAfterFullLoad\":false,\"StopTaskCachedChangesApplied\":false,\"StopTaskCachedChangesNotApplied\":false,\"ResumeEnabled\":false,\"ResumeMinTableSize\":100000,\"ResumeOnlyClusteredPKTables\":true,\"MaxFullLoadSubTasks\":8,\"TransactionConsistencyTimeout\":600,\"CommitRate\":10000},\"Logging\":{\"EnableLogging\":false}}",
|
1392
|
+
# source_endpoint_arn: "arn:aws:dms:us-east-1:123456789012:endpoint:ZW5UAN6P4E77EC7YWHK4RZZ3BE",
|
1393
|
+
# status: "creating",
|
1394
|
+
# table_mappings: "file://mappingfile.json",
|
1395
|
+
# target_endpoint_arn: "arn:aws:dms:us-east-1:123456789012:endpoint:ASXWXJZLNWNT5HTWCGV2BUJQ7E",
|
1396
|
+
# },
|
1397
|
+
# }
|
1398
|
+
#
|
1051
1399
|
# @example Request syntax with placeholder values
|
1052
1400
|
#
|
1053
1401
|
# resp = client.delete_replication_task({
|
@@ -1097,6 +1445,35 @@ module Aws::DatabaseMigrationService
|
|
1097
1445
|
#
|
1098
1446
|
# * {Types::DescribeAccountAttributesResponse#account_quotas #account_quotas} => Array<Types::AccountQuota>
|
1099
1447
|
#
|
1448
|
+
#
|
1449
|
+
# @example Example: Describe acount attributes
|
1450
|
+
#
|
1451
|
+
# # Lists all of the AWS DMS attributes for a customer account. The attributes include AWS DMS quotas for the account, such as the number of replication instances allowed. The description for a quota includes the quota name, current usage toward that quota, and the quota's maximum value. This operation does not take any parameters.
|
1452
|
+
#
|
1453
|
+
# resp = client.describe_account_attributes({
|
1454
|
+
# })
|
1455
|
+
#
|
1456
|
+
# resp.to_h outputs the following:
|
1457
|
+
# {
|
1458
|
+
# account_quotas: [
|
1459
|
+
# {
|
1460
|
+
# account_quota_name: "ReplicationInstances",
|
1461
|
+
# max: 20,
|
1462
|
+
# used: 0,
|
1463
|
+
# },
|
1464
|
+
# {
|
1465
|
+
# account_quota_name: "AllocatedStorage",
|
1466
|
+
# max: 20,
|
1467
|
+
# used: 0,
|
1468
|
+
# },
|
1469
|
+
# {
|
1470
|
+
# account_quota_name: "Endpoints",
|
1471
|
+
# max: 20,
|
1472
|
+
# used: 0,
|
1473
|
+
# },
|
1474
|
+
# ],
|
1475
|
+
# }
|
1476
|
+
#
|
1100
1477
|
# @example Response structure
|
1101
1478
|
#
|
1102
1479
|
# resp.account_quotas #=> Array
|
@@ -1137,6 +1514,32 @@ module Aws::DatabaseMigrationService
|
|
1137
1514
|
# * {Types::DescribeCertificatesResponse#marker #marker} => String
|
1138
1515
|
# * {Types::DescribeCertificatesResponse#certificates #certificates} => Array<Types::Certificate>
|
1139
1516
|
#
|
1517
|
+
#
|
1518
|
+
# @example Example: Describe certificates
|
1519
|
+
#
|
1520
|
+
# # Provides a description of the certificate.
|
1521
|
+
#
|
1522
|
+
# resp = client.describe_certificates({
|
1523
|
+
# filters: [
|
1524
|
+
# {
|
1525
|
+
# name: "string",
|
1526
|
+
# values: [
|
1527
|
+
# "string",
|
1528
|
+
# "string",
|
1529
|
+
# ],
|
1530
|
+
# },
|
1531
|
+
# ],
|
1532
|
+
# marker: "",
|
1533
|
+
# max_records: 123,
|
1534
|
+
# })
|
1535
|
+
#
|
1536
|
+
# resp.to_h outputs the following:
|
1537
|
+
# {
|
1538
|
+
# certificates: [
|
1539
|
+
# ],
|
1540
|
+
# marker: "",
|
1541
|
+
# }
|
1542
|
+
#
|
1140
1543
|
# @example Request syntax with placeholder values
|
1141
1544
|
#
|
1142
1545
|
# resp = client.describe_certificates({
|
@@ -1203,6 +1606,39 @@ module Aws::DatabaseMigrationService
|
|
1203
1606
|
# * {Types::DescribeConnectionsResponse#marker #marker} => String
|
1204
1607
|
# * {Types::DescribeConnectionsResponse#connections #connections} => Array<Types::Connection>
|
1205
1608
|
#
|
1609
|
+
#
|
1610
|
+
# @example Example: Describe connections
|
1611
|
+
#
|
1612
|
+
# # Describes the status of the connections that have been made between the replication instance and an endpoint. Connections are created when you test an endpoint.
|
1613
|
+
#
|
1614
|
+
# resp = client.describe_connections({
|
1615
|
+
# filters: [
|
1616
|
+
# {
|
1617
|
+
# name: "string",
|
1618
|
+
# values: [
|
1619
|
+
# "string",
|
1620
|
+
# "string",
|
1621
|
+
# ],
|
1622
|
+
# },
|
1623
|
+
# ],
|
1624
|
+
# marker: "",
|
1625
|
+
# max_records: 123,
|
1626
|
+
# })
|
1627
|
+
#
|
1628
|
+
# resp.to_h outputs the following:
|
1629
|
+
# {
|
1630
|
+
# connections: [
|
1631
|
+
# {
|
1632
|
+
# endpoint_arn: "arn:aws:dms:us-east-arn:aws:dms:us-east-1:123456789012:endpoint:ZW5UAN6P4E77EC7YWHK4RZZ3BE",
|
1633
|
+
# endpoint_identifier: "testsrc1",
|
1634
|
+
# replication_instance_arn: "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ",
|
1635
|
+
# replication_instance_identifier: "test",
|
1636
|
+
# status: "successful",
|
1637
|
+
# },
|
1638
|
+
# ],
|
1639
|
+
# marker: "",
|
1640
|
+
# }
|
1641
|
+
#
|
1206
1642
|
# @example Request syntax with placeholder values
|
1207
1643
|
#
|
1208
1644
|
# resp = client.describe_connections({
|
@@ -1263,6 +1699,32 @@ module Aws::DatabaseMigrationService
|
|
1263
1699
|
# * {Types::DescribeEndpointTypesResponse#marker #marker} => String
|
1264
1700
|
# * {Types::DescribeEndpointTypesResponse#supported_endpoint_types #supported_endpoint_types} => Array<Types::SupportedEndpointType>
|
1265
1701
|
#
|
1702
|
+
#
|
1703
|
+
# @example Example: Describe endpoint types
|
1704
|
+
#
|
1705
|
+
# # Returns information about the type of endpoints available.
|
1706
|
+
#
|
1707
|
+
# resp = client.describe_endpoint_types({
|
1708
|
+
# filters: [
|
1709
|
+
# {
|
1710
|
+
# name: "string",
|
1711
|
+
# values: [
|
1712
|
+
# "string",
|
1713
|
+
# "string",
|
1714
|
+
# ],
|
1715
|
+
# },
|
1716
|
+
# ],
|
1717
|
+
# marker: "",
|
1718
|
+
# max_records: 123,
|
1719
|
+
# })
|
1720
|
+
#
|
1721
|
+
# resp.to_h outputs the following:
|
1722
|
+
# {
|
1723
|
+
# marker: "",
|
1724
|
+
# supported_endpoint_types: [
|
1725
|
+
# ],
|
1726
|
+
# }
|
1727
|
+
#
|
1266
1728
|
# @example Request syntax with placeholder values
|
1267
1729
|
#
|
1268
1730
|
# resp = client.describe_endpoint_types({
|
@@ -1322,6 +1784,32 @@ module Aws::DatabaseMigrationService
|
|
1322
1784
|
# * {Types::DescribeEndpointsResponse#marker #marker} => String
|
1323
1785
|
# * {Types::DescribeEndpointsResponse#endpoints #endpoints} => Array<Types::Endpoint>
|
1324
1786
|
#
|
1787
|
+
#
|
1788
|
+
# @example Example: Describe endpoints
|
1789
|
+
#
|
1790
|
+
# # Returns information about the endpoints for your account in the current region.
|
1791
|
+
#
|
1792
|
+
# resp = client.describe_endpoints({
|
1793
|
+
# filters: [
|
1794
|
+
# {
|
1795
|
+
# name: "string",
|
1796
|
+
# values: [
|
1797
|
+
# "string",
|
1798
|
+
# "string",
|
1799
|
+
# ],
|
1800
|
+
# },
|
1801
|
+
# ],
|
1802
|
+
# marker: "",
|
1803
|
+
# max_records: 123,
|
1804
|
+
# })
|
1805
|
+
#
|
1806
|
+
# resp.to_h outputs the following:
|
1807
|
+
# {
|
1808
|
+
# endpoints: [
|
1809
|
+
# ],
|
1810
|
+
# marker: "",
|
1811
|
+
# }
|
1812
|
+
#
|
1325
1813
|
# @example Request syntax with placeholder values
|
1326
1814
|
#
|
1327
1815
|
# resp = client.describe_endpoints({
|
@@ -1620,6 +2108,23 @@ module Aws::DatabaseMigrationService
|
|
1620
2108
|
# * {Types::DescribeOrderableReplicationInstancesResponse#orderable_replication_instances #orderable_replication_instances} => Array<Types::OrderableReplicationInstance>
|
1621
2109
|
# * {Types::DescribeOrderableReplicationInstancesResponse#marker #marker} => String
|
1622
2110
|
#
|
2111
|
+
#
|
2112
|
+
# @example Example: Describe orderable replication instances
|
2113
|
+
#
|
2114
|
+
# # Returns information about the replication instance types that can be created in the specified region.
|
2115
|
+
#
|
2116
|
+
# resp = client.describe_orderable_replication_instances({
|
2117
|
+
# marker: "",
|
2118
|
+
# max_records: 123,
|
2119
|
+
# })
|
2120
|
+
#
|
2121
|
+
# resp.to_h outputs the following:
|
2122
|
+
# {
|
2123
|
+
# marker: "",
|
2124
|
+
# orderable_replication_instances: [
|
2125
|
+
# ],
|
2126
|
+
# }
|
2127
|
+
#
|
1623
2128
|
# @example Request syntax with placeholder values
|
1624
2129
|
#
|
1625
2130
|
# resp = client.describe_orderable_replication_instances({
|
@@ -1658,6 +2163,21 @@ module Aws::DatabaseMigrationService
|
|
1658
2163
|
#
|
1659
2164
|
# * {Types::DescribeRefreshSchemasStatusResponse#refresh_schemas_status #refresh_schemas_status} => Types::RefreshSchemasStatus
|
1660
2165
|
#
|
2166
|
+
#
|
2167
|
+
# @example Example: Describe refresh schema status
|
2168
|
+
#
|
2169
|
+
# # Returns the status of the refresh-schemas operation.
|
2170
|
+
#
|
2171
|
+
# resp = client.describe_refresh_schemas_status({
|
2172
|
+
# endpoint_arn: "",
|
2173
|
+
# })
|
2174
|
+
#
|
2175
|
+
# resp.to_h outputs the following:
|
2176
|
+
# {
|
2177
|
+
# refresh_schemas_status: {
|
2178
|
+
# },
|
2179
|
+
# }
|
2180
|
+
#
|
1661
2181
|
# @example Request syntax with placeholder values
|
1662
2182
|
#
|
1663
2183
|
# resp = client.describe_refresh_schemas_status({
|
@@ -1711,6 +2231,32 @@ module Aws::DatabaseMigrationService
|
|
1711
2231
|
# * {Types::DescribeReplicationInstancesResponse#marker #marker} => String
|
1712
2232
|
# * {Types::DescribeReplicationInstancesResponse#replication_instances #replication_instances} => Array<Types::ReplicationInstance>
|
1713
2233
|
#
|
2234
|
+
#
|
2235
|
+
# @example Example: Describe replication instances
|
2236
|
+
#
|
2237
|
+
# # Returns the status of the refresh-schemas operation.
|
2238
|
+
#
|
2239
|
+
# resp = client.describe_replication_instances({
|
2240
|
+
# filters: [
|
2241
|
+
# {
|
2242
|
+
# name: "string",
|
2243
|
+
# values: [
|
2244
|
+
# "string",
|
2245
|
+
# "string",
|
2246
|
+
# ],
|
2247
|
+
# },
|
2248
|
+
# ],
|
2249
|
+
# marker: "",
|
2250
|
+
# max_records: 123,
|
2251
|
+
# })
|
2252
|
+
#
|
2253
|
+
# resp.to_h outputs the following:
|
2254
|
+
# {
|
2255
|
+
# marker: "",
|
2256
|
+
# replication_instances: [
|
2257
|
+
# ],
|
2258
|
+
# }
|
2259
|
+
#
|
1714
2260
|
# @example Request syntax with placeholder values
|
1715
2261
|
#
|
1716
2262
|
# resp = client.describe_replication_instances({
|
@@ -1798,6 +2344,32 @@ module Aws::DatabaseMigrationService
|
|
1798
2344
|
# * {Types::DescribeReplicationSubnetGroupsResponse#marker #marker} => String
|
1799
2345
|
# * {Types::DescribeReplicationSubnetGroupsResponse#replication_subnet_groups #replication_subnet_groups} => Array<Types::ReplicationSubnetGroup>
|
1800
2346
|
#
|
2347
|
+
#
|
2348
|
+
# @example Example: Describe replication subnet groups
|
2349
|
+
#
|
2350
|
+
# # Returns information about the replication subnet groups.
|
2351
|
+
#
|
2352
|
+
# resp = client.describe_replication_subnet_groups({
|
2353
|
+
# filters: [
|
2354
|
+
# {
|
2355
|
+
# name: "string",
|
2356
|
+
# values: [
|
2357
|
+
# "string",
|
2358
|
+
# "string",
|
2359
|
+
# ],
|
2360
|
+
# },
|
2361
|
+
# ],
|
2362
|
+
# marker: "",
|
2363
|
+
# max_records: 123,
|
2364
|
+
# })
|
2365
|
+
#
|
2366
|
+
# resp.to_h outputs the following:
|
2367
|
+
# {
|
2368
|
+
# marker: "",
|
2369
|
+
# replication_subnet_groups: [
|
2370
|
+
# ],
|
2371
|
+
# }
|
2372
|
+
#
|
1801
2373
|
# @example Request syntax with placeholder values
|
1802
2374
|
#
|
1803
2375
|
# resp = client.describe_replication_subnet_groups({
|
@@ -1862,6 +2434,32 @@ module Aws::DatabaseMigrationService
|
|
1862
2434
|
# * {Types::DescribeReplicationTasksResponse#marker #marker} => String
|
1863
2435
|
# * {Types::DescribeReplicationTasksResponse#replication_tasks #replication_tasks} => Array<Types::ReplicationTask>
|
1864
2436
|
#
|
2437
|
+
#
|
2438
|
+
# @example Example: Describe replication tasks
|
2439
|
+
#
|
2440
|
+
# # Returns information about replication tasks for your account in the current region.
|
2441
|
+
#
|
2442
|
+
# resp = client.describe_replication_tasks({
|
2443
|
+
# filters: [
|
2444
|
+
# {
|
2445
|
+
# name: "string",
|
2446
|
+
# values: [
|
2447
|
+
# "string",
|
2448
|
+
# "string",
|
2449
|
+
# ],
|
2450
|
+
# },
|
2451
|
+
# ],
|
2452
|
+
# marker: "",
|
2453
|
+
# max_records: 123,
|
2454
|
+
# })
|
2455
|
+
#
|
2456
|
+
# resp.to_h outputs the following:
|
2457
|
+
# {
|
2458
|
+
# marker: "",
|
2459
|
+
# replication_tasks: [
|
2460
|
+
# ],
|
2461
|
+
# }
|
2462
|
+
#
|
1865
2463
|
# @example Request syntax with placeholder values
|
1866
2464
|
#
|
1867
2465
|
# resp = client.describe_replication_tasks({
|
@@ -1934,6 +2532,24 @@ module Aws::DatabaseMigrationService
|
|
1934
2532
|
# * {Types::DescribeSchemasResponse#marker #marker} => String
|
1935
2533
|
# * {Types::DescribeSchemasResponse#schemas #schemas} => Array<String>
|
1936
2534
|
#
|
2535
|
+
#
|
2536
|
+
# @example Example: Describe schemas
|
2537
|
+
#
|
2538
|
+
# # Returns information about the schema for the specified endpoint.
|
2539
|
+
#
|
2540
|
+
# resp = client.describe_schemas({
|
2541
|
+
# endpoint_arn: "",
|
2542
|
+
# marker: "",
|
2543
|
+
# max_records: 123,
|
2544
|
+
# })
|
2545
|
+
#
|
2546
|
+
# resp.to_h outputs the following:
|
2547
|
+
# {
|
2548
|
+
# marker: "",
|
2549
|
+
# schemas: [
|
2550
|
+
# ],
|
2551
|
+
# }
|
2552
|
+
#
|
1937
2553
|
# @example Request syntax with placeholder values
|
1938
2554
|
#
|
1939
2555
|
# resp = client.describe_schemas({
|
@@ -1984,6 +2600,25 @@ module Aws::DatabaseMigrationService
|
|
1984
2600
|
# * {Types::DescribeTableStatisticsResponse#table_statistics #table_statistics} => Array<Types::TableStatistics>
|
1985
2601
|
# * {Types::DescribeTableStatisticsResponse#marker #marker} => String
|
1986
2602
|
#
|
2603
|
+
#
|
2604
|
+
# @example Example: Describe table statistics
|
2605
|
+
#
|
2606
|
+
# # Returns table statistics on the database migration task, including table name, rows inserted, rows updated, and rows deleted.
|
2607
|
+
#
|
2608
|
+
# resp = client.describe_table_statistics({
|
2609
|
+
# marker: "",
|
2610
|
+
# max_records: 123,
|
2611
|
+
# replication_task_arn: "",
|
2612
|
+
# })
|
2613
|
+
#
|
2614
|
+
# resp.to_h outputs the following:
|
2615
|
+
# {
|
2616
|
+
# marker: "",
|
2617
|
+
# replication_task_arn: "",
|
2618
|
+
# table_statistics: [
|
2619
|
+
# ],
|
2620
|
+
# }
|
2621
|
+
#
|
1987
2622
|
# @example Request syntax with placeholder values
|
1988
2623
|
#
|
1989
2624
|
# resp = client.describe_table_statistics({
|
@@ -2038,6 +2673,22 @@ module Aws::DatabaseMigrationService
|
|
2038
2673
|
#
|
2039
2674
|
# * {Types::ImportCertificateResponse#certificate #certificate} => Types::Certificate
|
2040
2675
|
#
|
2676
|
+
#
|
2677
|
+
# @example Example: Import certificate
|
2678
|
+
#
|
2679
|
+
# # Uploads the specified certificate.
|
2680
|
+
#
|
2681
|
+
# resp = client.import_certificate({
|
2682
|
+
# certificate_identifier: "",
|
2683
|
+
# certificate_pem: "",
|
2684
|
+
# })
|
2685
|
+
#
|
2686
|
+
# resp.to_h outputs the following:
|
2687
|
+
# {
|
2688
|
+
# certificate: {
|
2689
|
+
# },
|
2690
|
+
# }
|
2691
|
+
#
|
2041
2692
|
# @example Request syntax with placeholder values
|
2042
2693
|
#
|
2043
2694
|
# resp = client.import_certificate({
|
@@ -2084,6 +2735,21 @@ module Aws::DatabaseMigrationService
|
|
2084
2735
|
#
|
2085
2736
|
# * {Types::ListTagsForResourceResponse#tag_list #tag_list} => Array<Types::Tag>
|
2086
2737
|
#
|
2738
|
+
#
|
2739
|
+
# @example Example: List tags for resource
|
2740
|
+
#
|
2741
|
+
# # Lists all tags for an AWS DMS resource.
|
2742
|
+
#
|
2743
|
+
# resp = client.list_tags_for_resource({
|
2744
|
+
# resource_arn: "",
|
2745
|
+
# })
|
2746
|
+
#
|
2747
|
+
# resp.to_h outputs the following:
|
2748
|
+
# {
|
2749
|
+
# tag_list: [
|
2750
|
+
# ],
|
2751
|
+
# }
|
2752
|
+
#
|
2087
2753
|
# @example Request syntax with placeholder values
|
2088
2754
|
#
|
2089
2755
|
# resp = client.list_tags_for_resource({
|
@@ -2189,6 +2855,32 @@ module Aws::DatabaseMigrationService
|
|
2189
2855
|
#
|
2190
2856
|
# * {Types::ModifyEndpointResponse#endpoint #endpoint} => Types::Endpoint
|
2191
2857
|
#
|
2858
|
+
#
|
2859
|
+
# @example Example: Modify endpoint
|
2860
|
+
#
|
2861
|
+
# # Modifies the specified endpoint.
|
2862
|
+
#
|
2863
|
+
# resp = client.modify_endpoint({
|
2864
|
+
# certificate_arn: "",
|
2865
|
+
# database_name: "",
|
2866
|
+
# endpoint_arn: "",
|
2867
|
+
# endpoint_identifier: "",
|
2868
|
+
# endpoint_type: "source",
|
2869
|
+
# engine_name: "",
|
2870
|
+
# extra_connection_attributes: "",
|
2871
|
+
# password: "",
|
2872
|
+
# port: 123,
|
2873
|
+
# server_name: "",
|
2874
|
+
# ssl_mode: "require",
|
2875
|
+
# username: "",
|
2876
|
+
# })
|
2877
|
+
#
|
2878
|
+
# resp.to_h outputs the following:
|
2879
|
+
# {
|
2880
|
+
# endpoint: {
|
2881
|
+
# },
|
2882
|
+
# }
|
2883
|
+
#
|
2192
2884
|
# @example Request syntax with placeholder values
|
2193
2885
|
#
|
2194
2886
|
# resp = client.modify_endpoint({
|
@@ -2418,6 +3110,80 @@ module Aws::DatabaseMigrationService
|
|
2418
3110
|
#
|
2419
3111
|
# * {Types::ModifyReplicationInstanceResponse#replication_instance #replication_instance} => Types::ReplicationInstance
|
2420
3112
|
#
|
3113
|
+
#
|
3114
|
+
# @example Example: Modify replication instance
|
3115
|
+
#
|
3116
|
+
# # Modifies the replication instance to apply new settings. You can change one or more parameters by specifying these parameters and the new values in the request. Some settings are applied during the maintenance window.
|
3117
|
+
#
|
3118
|
+
# resp = client.modify_replication_instance({
|
3119
|
+
# allocated_storage: 123,
|
3120
|
+
# allow_major_version_upgrade: true,
|
3121
|
+
# apply_immediately: true,
|
3122
|
+
# auto_minor_version_upgrade: true,
|
3123
|
+
# engine_version: "1.5.0",
|
3124
|
+
# multi_az: true,
|
3125
|
+
# preferred_maintenance_window: "sun:06:00-sun:14:00",
|
3126
|
+
# replication_instance_arn: "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ",
|
3127
|
+
# replication_instance_class: "dms.t2.micro",
|
3128
|
+
# replication_instance_identifier: "test-rep-1",
|
3129
|
+
# vpc_security_group_ids: [
|
3130
|
+
# ],
|
3131
|
+
# })
|
3132
|
+
#
|
3133
|
+
# resp.to_h outputs the following:
|
3134
|
+
# {
|
3135
|
+
# replication_instance: {
|
3136
|
+
# allocated_storage: 5,
|
3137
|
+
# auto_minor_version_upgrade: true,
|
3138
|
+
# engine_version: "1.5.0",
|
3139
|
+
# kms_key_id: "arn:aws:kms:us-east-1:123456789012:key/4c1731d6-5435-ed4d-be13-d53411a7cfbd",
|
3140
|
+
# pending_modified_values: {
|
3141
|
+
# },
|
3142
|
+
# preferred_maintenance_window: "sun:06:00-sun:14:00",
|
3143
|
+
# publicly_accessible: true,
|
3144
|
+
# replication_instance_arn: "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ",
|
3145
|
+
# replication_instance_class: "dms.t2.micro",
|
3146
|
+
# replication_instance_identifier: "test-rep-1",
|
3147
|
+
# replication_instance_status: "available",
|
3148
|
+
# replication_subnet_group: {
|
3149
|
+
# replication_subnet_group_description: "default",
|
3150
|
+
# replication_subnet_group_identifier: "default",
|
3151
|
+
# subnet_group_status: "Complete",
|
3152
|
+
# subnets: [
|
3153
|
+
# {
|
3154
|
+
# subnet_availability_zone: {
|
3155
|
+
# name: "us-east-1d",
|
3156
|
+
# },
|
3157
|
+
# subnet_identifier: "subnet-f6dd91af",
|
3158
|
+
# subnet_status: "Active",
|
3159
|
+
# },
|
3160
|
+
# {
|
3161
|
+
# subnet_availability_zone: {
|
3162
|
+
# name: "us-east-1b",
|
3163
|
+
# },
|
3164
|
+
# subnet_identifier: "subnet-3605751d",
|
3165
|
+
# subnet_status: "Active",
|
3166
|
+
# },
|
3167
|
+
# {
|
3168
|
+
# subnet_availability_zone: {
|
3169
|
+
# name: "us-east-1c",
|
3170
|
+
# },
|
3171
|
+
# subnet_identifier: "subnet-c2daefb5",
|
3172
|
+
# subnet_status: "Active",
|
3173
|
+
# },
|
3174
|
+
# {
|
3175
|
+
# subnet_availability_zone: {
|
3176
|
+
# name: "us-east-1e",
|
3177
|
+
# },
|
3178
|
+
# subnet_identifier: "subnet-85e90cb8",
|
3179
|
+
# subnet_status: "Active",
|
3180
|
+
# },
|
3181
|
+
# ],
|
3182
|
+
# vpc_id: "vpc-6741a603",
|
3183
|
+
# },
|
3184
|
+
# },
|
3185
|
+
# }
|
3186
|
+
#
|
2421
3187
|
# @example Request syntax with placeholder values
|
2422
3188
|
#
|
2423
3189
|
# resp = client.modify_replication_instance({
|
@@ -2496,6 +3262,24 @@ module Aws::DatabaseMigrationService
|
|
2496
3262
|
#
|
2497
3263
|
# * {Types::ModifyReplicationSubnetGroupResponse#replication_subnet_group #replication_subnet_group} => Types::ReplicationSubnetGroup
|
2498
3264
|
#
|
3265
|
+
#
|
3266
|
+
# @example Example: Modify replication subnet group
|
3267
|
+
#
|
3268
|
+
# # Modifies the settings for the specified replication subnet group.
|
3269
|
+
#
|
3270
|
+
# resp = client.modify_replication_subnet_group({
|
3271
|
+
# replication_subnet_group_description: "",
|
3272
|
+
# replication_subnet_group_identifier: "",
|
3273
|
+
# subnet_ids: [
|
3274
|
+
# ],
|
3275
|
+
# })
|
3276
|
+
#
|
3277
|
+
# resp.to_h outputs the following:
|
3278
|
+
# {
|
3279
|
+
# replication_subnet_group: {
|
3280
|
+
# },
|
3281
|
+
# }
|
3282
|
+
#
|
2499
3283
|
# @example Request syntax with placeholder values
|
2500
3284
|
#
|
2501
3285
|
# resp = client.modify_replication_subnet_group({
|
@@ -2632,6 +3416,22 @@ module Aws::DatabaseMigrationService
|
|
2632
3416
|
#
|
2633
3417
|
# * {Types::RefreshSchemasResponse#refresh_schemas_status #refresh_schemas_status} => Types::RefreshSchemasStatus
|
2634
3418
|
#
|
3419
|
+
#
|
3420
|
+
# @example Example: Refresh schema
|
3421
|
+
#
|
3422
|
+
# # Populates the schema for the specified endpoint. This is an asynchronous operation and can take several minutes. You can check the status of this operation by calling the describe-refresh-schemas-status operation.
|
3423
|
+
#
|
3424
|
+
# resp = client.refresh_schemas({
|
3425
|
+
# endpoint_arn: "",
|
3426
|
+
# replication_instance_arn: "",
|
3427
|
+
# })
|
3428
|
+
#
|
3429
|
+
# resp.to_h outputs the following:
|
3430
|
+
# {
|
3431
|
+
# refresh_schemas_status: {
|
3432
|
+
# },
|
3433
|
+
# }
|
3434
|
+
#
|
2635
3435
|
# @example Request syntax with placeholder values
|
2636
3436
|
#
|
2637
3437
|
# resp = client.refresh_schemas({
|
@@ -2704,6 +3504,21 @@ module Aws::DatabaseMigrationService
|
|
2704
3504
|
#
|
2705
3505
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2706
3506
|
#
|
3507
|
+
#
|
3508
|
+
# @example Example: Remove tags from resource
|
3509
|
+
#
|
3510
|
+
# # Removes metadata tags from an AWS DMS resource.
|
3511
|
+
#
|
3512
|
+
# resp = client.remove_tags_from_resource({
|
3513
|
+
# resource_arn: "arn:aws:dms:us-east-1:123456789012:endpoint:ASXWXJZLNWNT5HTWCGV2BUJQ7E",
|
3514
|
+
# tag_keys: [
|
3515
|
+
# ],
|
3516
|
+
# })
|
3517
|
+
#
|
3518
|
+
# resp.to_h outputs the following:
|
3519
|
+
# {
|
3520
|
+
# }
|
3521
|
+
#
|
2707
3522
|
# @example Request syntax with placeholder values
|
2708
3523
|
#
|
2709
3524
|
# resp = client.remove_tags_from_resource({
|
@@ -2743,6 +3558,33 @@ module Aws::DatabaseMigrationService
|
|
2743
3558
|
#
|
2744
3559
|
# * {Types::StartReplicationTaskResponse#replication_task #replication_task} => Types::ReplicationTask
|
2745
3560
|
#
|
3561
|
+
#
|
3562
|
+
# @example Example: Start replication task
|
3563
|
+
#
|
3564
|
+
# # Starts the replication task.
|
3565
|
+
#
|
3566
|
+
# resp = client.start_replication_task({
|
3567
|
+
# cdc_start_time: Time.parse("2016-12-14T13:33:20Z"),
|
3568
|
+
# replication_task_arn: "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ",
|
3569
|
+
# start_replication_task_type: "start-replication",
|
3570
|
+
# })
|
3571
|
+
#
|
3572
|
+
# resp.to_h outputs the following:
|
3573
|
+
# {
|
3574
|
+
# replication_task: {
|
3575
|
+
# migration_type: "full-load",
|
3576
|
+
# replication_instance_arn: "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ",
|
3577
|
+
# replication_task_arn: "arn:aws:dms:us-east-1:123456789012:task:OEAMB3NXSTZ6LFYZFEPPBBXPYM",
|
3578
|
+
# replication_task_creation_date: Time.parse("2016-12-14T18:25:43Z"),
|
3579
|
+
# replication_task_identifier: "task1",
|
3580
|
+
# replication_task_settings: "{\"TargetMetadata\":{\"TargetSchema\":\"\",\"SupportLobs\":true,\"FullLobMode\":true,\"LobChunkSize\":64,\"LimitedSizeLobMode\":false,\"LobMaxSize\":0},\"FullLoadSettings\":{\"FullLoadEnabled\":true,\"ApplyChangesEnabled\":false,\"TargetTablePrepMode\":\"DROP_AND_CREATE\",\"CreatePkAfterFullLoad\":false,\"StopTaskCachedChangesApplied\":false,\"StopTaskCachedChangesNotApplied\":false,\"ResumeEnabled\":false,\"ResumeMinTableSize\":100000,\"ResumeOnlyClusteredPKTables\":true,\"MaxFullLoadSubTasks\":8,\"TransactionConsistencyTimeout\":600,\"CommitRate\":10000},\"Logging\":{\"EnableLogging\":false}}",
|
3581
|
+
# source_endpoint_arn: "arn:aws:dms:us-east-1:123456789012:endpoint:ZW5UAN6P4E77EC7YWHK4RZZ3BE",
|
3582
|
+
# status: "creating",
|
3583
|
+
# table_mappings: "file://mappingfile.json",
|
3584
|
+
# target_endpoint_arn: "arn:aws:dms:us-east-1:123456789012:endpoint:ASXWXJZLNWNT5HTWCGV2BUJQ7E",
|
3585
|
+
# },
|
3586
|
+
# }
|
3587
|
+
#
|
2746
3588
|
# @example Request syntax with placeholder values
|
2747
3589
|
#
|
2748
3590
|
# resp = client.start_replication_task({
|
@@ -2791,6 +3633,31 @@ module Aws::DatabaseMigrationService
|
|
2791
3633
|
#
|
2792
3634
|
# * {Types::StopReplicationTaskResponse#replication_task #replication_task} => Types::ReplicationTask
|
2793
3635
|
#
|
3636
|
+
#
|
3637
|
+
# @example Example: Stop replication task
|
3638
|
+
#
|
3639
|
+
# # Stops the replication task.
|
3640
|
+
#
|
3641
|
+
# resp = client.stop_replication_task({
|
3642
|
+
# replication_task_arn: "arn:aws:dms:us-east-1:123456789012:endpoint:ASXWXJZLNWNT5HTWCGV2BUJQ7E",
|
3643
|
+
# })
|
3644
|
+
#
|
3645
|
+
# resp.to_h outputs the following:
|
3646
|
+
# {
|
3647
|
+
# replication_task: {
|
3648
|
+
# migration_type: "full-load",
|
3649
|
+
# replication_instance_arn: "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ",
|
3650
|
+
# replication_task_arn: "arn:aws:dms:us-east-1:123456789012:task:OEAMB3NXSTZ6LFYZFEPPBBXPYM",
|
3651
|
+
# replication_task_creation_date: Time.parse("2016-12-14T18:25:43Z"),
|
3652
|
+
# replication_task_identifier: "task1",
|
3653
|
+
# replication_task_settings: "{\"TargetMetadata\":{\"TargetSchema\":\"\",\"SupportLobs\":true,\"FullLobMode\":true,\"LobChunkSize\":64,\"LimitedSizeLobMode\":false,\"LobMaxSize\":0},\"FullLoadSettings\":{\"FullLoadEnabled\":true,\"ApplyChangesEnabled\":false,\"TargetTablePrepMode\":\"DROP_AND_CREATE\",\"CreatePkAfterFullLoad\":false,\"StopTaskCachedChangesApplied\":false,\"StopTaskCachedChangesNotApplied\":false,\"ResumeEnabled\":false,\"ResumeMinTableSize\":100000,\"ResumeOnlyClusteredPKTables\":true,\"MaxFullLoadSubTasks\":8,\"TransactionConsistencyTimeout\":600,\"CommitRate\":10000},\"Logging\":{\"EnableLogging\":false}}",
|
3654
|
+
# source_endpoint_arn: "arn:aws:dms:us-east-1:123456789012:endpoint:ZW5UAN6P4E77EC7YWHK4RZZ3BE",
|
3655
|
+
# status: "creating",
|
3656
|
+
# table_mappings: "file://mappingfile.json",
|
3657
|
+
# target_endpoint_arn: "arn:aws:dms:us-east-1:123456789012:endpoint:ASXWXJZLNWNT5HTWCGV2BUJQ7E",
|
3658
|
+
# },
|
3659
|
+
# }
|
3660
|
+
#
|
2794
3661
|
# @example Request syntax with placeholder values
|
2795
3662
|
#
|
2796
3663
|
# resp = client.stop_replication_task({
|
@@ -2842,6 +3709,22 @@ module Aws::DatabaseMigrationService
|
|
2842
3709
|
#
|
2843
3710
|
# * {Types::TestConnectionResponse#connection #connection} => Types::Connection
|
2844
3711
|
#
|
3712
|
+
#
|
3713
|
+
# @example Example: Test conection
|
3714
|
+
#
|
3715
|
+
# # Tests the connection between the replication instance and the endpoint.
|
3716
|
+
#
|
3717
|
+
# resp = client.test_connection({
|
3718
|
+
# endpoint_arn: "arn:aws:dms:us-east-1:123456789012:endpoint:RAAR3R22XSH46S3PWLC3NJAWKM",
|
3719
|
+
# replication_instance_arn: "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ",
|
3720
|
+
# })
|
3721
|
+
#
|
3722
|
+
# resp.to_h outputs the following:
|
3723
|
+
# {
|
3724
|
+
# connection: {
|
3725
|
+
# },
|
3726
|
+
# }
|
3727
|
+
#
|
2845
3728
|
# @example Request syntax with placeholder values
|
2846
3729
|
#
|
2847
3730
|
# resp = client.test_connection({
|
@@ -2880,7 +3763,7 @@ module Aws::DatabaseMigrationService
|
|
2880
3763
|
params: params,
|
2881
3764
|
config: config)
|
2882
3765
|
context[:gem_name] = 'aws-sdk-databasemigrationservice'
|
2883
|
-
context[:gem_version] = '1.0.0.
|
3766
|
+
context[:gem_version] = '1.0.0.rc8'
|
2884
3767
|
Seahorse::Client::Request.new(handlers, context)
|
2885
3768
|
end
|
2886
3769
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-databasemigrationservice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.rc8
|
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: 2017-06-
|
11
|
+
date: 2017-06-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.0.0.
|
19
|
+
version: 3.0.0.rc14
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.0.0.
|
26
|
+
version: 3.0.0.rc14
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: aws-sigv4
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|