aws-sdk-databasemigrationservice 1.86.0 → 1.88.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-databasemigrationservice/client.rb +858 -30
- data/lib/aws-sdk-databasemigrationservice/client_api.rb +40 -0
- data/lib/aws-sdk-databasemigrationservice/types.rb +205 -45
- data/lib/aws-sdk-databasemigrationservice.rb +1 -1
- metadata +4 -4
@@ -644,6 +644,49 @@ module Aws::DatabaseMigrationService
|
|
644
644
|
#
|
645
645
|
# * {Types::CreateDataProviderResponse#data_provider #data_provider} => Types::DataProvider
|
646
646
|
#
|
647
|
+
#
|
648
|
+
# @example Example: Create Data Provider
|
649
|
+
#
|
650
|
+
# # Creates the data provider with the specified parameters.
|
651
|
+
#
|
652
|
+
# resp = client.create_data_provider({
|
653
|
+
# data_provider_name: "sqlServer-dev",
|
654
|
+
# description: "description",
|
655
|
+
# engine: "sqlserver",
|
656
|
+
# settings: {
|
657
|
+
# microsoft_sql_server_settings: {
|
658
|
+
# database_name: "DatabaseName",
|
659
|
+
# port: 11112,
|
660
|
+
# server_name: "ServerName2",
|
661
|
+
# ssl_mode: "none",
|
662
|
+
# },
|
663
|
+
# },
|
664
|
+
# tags: [
|
665
|
+
# {
|
666
|
+
# key: "access",
|
667
|
+
# value: "authorizedusers",
|
668
|
+
# },
|
669
|
+
# ],
|
670
|
+
# })
|
671
|
+
#
|
672
|
+
# resp.to_h outputs the following:
|
673
|
+
# {
|
674
|
+
# data_provider: {
|
675
|
+
# data_provider_arn: "arn:aws:dms:us-east-1:012345678901:data-provider:my-target-dataprovider",
|
676
|
+
# data_provider_creation_time: Time.parse("2023-05-12T10:50:41.988561Z"),
|
677
|
+
# data_provider_name: "my-target-dataprovider",
|
678
|
+
# engine: "postgres",
|
679
|
+
# settings: {
|
680
|
+
# postgre_sql_settings: {
|
681
|
+
# database_name: "target",
|
682
|
+
# port: 5432,
|
683
|
+
# server_name: "postrgesql.a1b2c3d4e5f6.us-east-1.rds.amazonaws.com",
|
684
|
+
# ssl_mode: "none",
|
685
|
+
# },
|
686
|
+
# },
|
687
|
+
# },
|
688
|
+
# }
|
689
|
+
#
|
647
690
|
# @example Request syntax with placeholder values
|
648
691
|
#
|
649
692
|
# resp = client.create_data_provider({
|
@@ -651,6 +694,11 @@ module Aws::DatabaseMigrationService
|
|
651
694
|
# description: "String",
|
652
695
|
# engine: "String", # required
|
653
696
|
# settings: { # required
|
697
|
+
# redshift_settings: {
|
698
|
+
# server_name: "String",
|
699
|
+
# port: 1,
|
700
|
+
# database_name: "String",
|
701
|
+
# },
|
654
702
|
# postgre_sql_settings: {
|
655
703
|
# server_name: "String",
|
656
704
|
# port: 1,
|
@@ -683,6 +731,29 @@ module Aws::DatabaseMigrationService
|
|
683
731
|
# ssl_mode: "none", # accepts none, require, verify-ca, verify-full
|
684
732
|
# certificate_arn: "String",
|
685
733
|
# },
|
734
|
+
# doc_db_settings: {
|
735
|
+
# server_name: "String",
|
736
|
+
# port: 1,
|
737
|
+
# database_name: "String",
|
738
|
+
# ssl_mode: "none", # accepts none, require, verify-ca, verify-full
|
739
|
+
# certificate_arn: "String",
|
740
|
+
# },
|
741
|
+
# maria_db_settings: {
|
742
|
+
# server_name: "String",
|
743
|
+
# port: 1,
|
744
|
+
# ssl_mode: "none", # accepts none, require, verify-ca, verify-full
|
745
|
+
# certificate_arn: "String",
|
746
|
+
# },
|
747
|
+
# mongo_db_settings: {
|
748
|
+
# server_name: "String",
|
749
|
+
# port: 1,
|
750
|
+
# database_name: "String",
|
751
|
+
# ssl_mode: "none", # accepts none, require, verify-ca, verify-full
|
752
|
+
# certificate_arn: "String",
|
753
|
+
# auth_type: "no", # accepts no, password
|
754
|
+
# auth_source: "String",
|
755
|
+
# auth_mechanism: "default", # accepts default, mongodb_cr, scram_sha_1
|
756
|
+
# },
|
686
757
|
# },
|
687
758
|
# tags: [
|
688
759
|
# {
|
@@ -700,6 +771,9 @@ module Aws::DatabaseMigrationService
|
|
700
771
|
# resp.data_provider.data_provider_creation_time #=> Time
|
701
772
|
# resp.data_provider.description #=> String
|
702
773
|
# resp.data_provider.engine #=> String
|
774
|
+
# resp.data_provider.settings.redshift_settings.server_name #=> String
|
775
|
+
# resp.data_provider.settings.redshift_settings.port #=> Integer
|
776
|
+
# resp.data_provider.settings.redshift_settings.database_name #=> String
|
703
777
|
# resp.data_provider.settings.postgre_sql_settings.server_name #=> String
|
704
778
|
# resp.data_provider.settings.postgre_sql_settings.port #=> Integer
|
705
779
|
# resp.data_provider.settings.postgre_sql_settings.database_name #=> String
|
@@ -724,6 +798,23 @@ module Aws::DatabaseMigrationService
|
|
724
798
|
# resp.data_provider.settings.microsoft_sql_server_settings.database_name #=> String
|
725
799
|
# resp.data_provider.settings.microsoft_sql_server_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
|
726
800
|
# resp.data_provider.settings.microsoft_sql_server_settings.certificate_arn #=> String
|
801
|
+
# resp.data_provider.settings.doc_db_settings.server_name #=> String
|
802
|
+
# resp.data_provider.settings.doc_db_settings.port #=> Integer
|
803
|
+
# resp.data_provider.settings.doc_db_settings.database_name #=> String
|
804
|
+
# resp.data_provider.settings.doc_db_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
|
805
|
+
# resp.data_provider.settings.doc_db_settings.certificate_arn #=> String
|
806
|
+
# resp.data_provider.settings.maria_db_settings.server_name #=> String
|
807
|
+
# resp.data_provider.settings.maria_db_settings.port #=> Integer
|
808
|
+
# resp.data_provider.settings.maria_db_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
|
809
|
+
# resp.data_provider.settings.maria_db_settings.certificate_arn #=> String
|
810
|
+
# resp.data_provider.settings.mongo_db_settings.server_name #=> String
|
811
|
+
# resp.data_provider.settings.mongo_db_settings.port #=> Integer
|
812
|
+
# resp.data_provider.settings.mongo_db_settings.database_name #=> String
|
813
|
+
# resp.data_provider.settings.mongo_db_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
|
814
|
+
# resp.data_provider.settings.mongo_db_settings.certificate_arn #=> String
|
815
|
+
# resp.data_provider.settings.mongo_db_settings.auth_type #=> String, one of "no", "password"
|
816
|
+
# resp.data_provider.settings.mongo_db_settings.auth_source #=> String
|
817
|
+
# resp.data_provider.settings.mongo_db_settings.auth_mechanism #=> String, one of "default", "mongodb_cr", "scram_sha_1"
|
727
818
|
#
|
728
819
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateDataProvider AWS API Documentation
|
729
820
|
#
|
@@ -2025,6 +2116,73 @@ module Aws::DatabaseMigrationService
|
|
2025
2116
|
#
|
2026
2117
|
# * {Types::CreateMigrationProjectResponse#migration_project #migration_project} => Types::MigrationProject
|
2027
2118
|
#
|
2119
|
+
#
|
2120
|
+
# @example Example: Create Migration Project
|
2121
|
+
#
|
2122
|
+
# # Creates the migration project with the specified parameters.
|
2123
|
+
#
|
2124
|
+
# resp = client.create_migration_project({
|
2125
|
+
# description: "description",
|
2126
|
+
# instance_profile_identifier: "ip-au-17",
|
2127
|
+
# migration_project_name: "my-migration-project",
|
2128
|
+
# schema_conversion_application_attributes: {
|
2129
|
+
# s3_bucket_path: "arn:aws:s3:::mylogin-bucket",
|
2130
|
+
# s3_bucket_role_arn: "arn:aws:iam::012345678901:role/Admin",
|
2131
|
+
# },
|
2132
|
+
# source_data_provider_descriptors: [
|
2133
|
+
# {
|
2134
|
+
# data_provider_identifier: "arn:aws:dms:us-east-1:012345678901:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345",
|
2135
|
+
# secrets_manager_access_role_arn: "arn:aws:iam::012345678901:role/myuser-admin-access",
|
2136
|
+
# secrets_manager_secret_id: "arn:aws:secretsmanager:us-east-1:012345678901:secret:myorg/example1/ALL.SOURCE.ORACLE_12-A1B2C3",
|
2137
|
+
# },
|
2138
|
+
# ],
|
2139
|
+
# tags: [
|
2140
|
+
# {
|
2141
|
+
# key: "access",
|
2142
|
+
# value: "authorizedusers",
|
2143
|
+
# },
|
2144
|
+
# ],
|
2145
|
+
# target_data_provider_descriptors: [
|
2146
|
+
# {
|
2147
|
+
# data_provider_identifier: "arn:aws:dms:us-east-1:012345678901:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345",
|
2148
|
+
# secrets_manager_access_role_arn: "arn:aws:iam::012345678901:role/myuser-admin-access",
|
2149
|
+
# secrets_manager_secret_id: "arn:aws:secretsmanager:us-east-1:012345678901:secret:myorg/example1/TARGET.postgresql-A1B2C3",
|
2150
|
+
# },
|
2151
|
+
# ],
|
2152
|
+
# transformation_rules: "{\"key0\":\"value0\",\"key1\":\"value1\",\"key2\":\"value2\"}",
|
2153
|
+
# })
|
2154
|
+
#
|
2155
|
+
# resp.to_h outputs the following:
|
2156
|
+
# {
|
2157
|
+
# migration_project: {
|
2158
|
+
# instance_profile_arn: "arn:aws:dms:us-east-1:012345678901:instance-profile:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
2159
|
+
# instance_profile_name: "my-instance-profile",
|
2160
|
+
# migration_project_arn: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
2161
|
+
# migration_project_creation_time: Time.parse("2023-04-19T11:45:15.805253Z"),
|
2162
|
+
# migration_project_name: "my-migration-project",
|
2163
|
+
# schema_conversion_application_attributes: {
|
2164
|
+
# s3_bucket_path: "my-s3-bucket/my_folder",
|
2165
|
+
# s3_bucket_role_arn: "arn:aws:iam::012345678901:role/my-s3role",
|
2166
|
+
# },
|
2167
|
+
# source_data_provider_descriptors: [
|
2168
|
+
# {
|
2169
|
+
# data_provider_arn: "arn:aws:dms:us-east-1:012345678901:data-provider:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
2170
|
+
# data_provider_name: "source-oracle-12",
|
2171
|
+
# secrets_manager_access_role_arn: "arn:aws:iam::012345678901:role/my-access-role",
|
2172
|
+
# secrets_manager_secret_id: "arn:aws:secretsmanager:us-east-1:012345678901:secret:myuser/ALL.SOURCE.ORACLE_12-0123456",
|
2173
|
+
# },
|
2174
|
+
# ],
|
2175
|
+
# target_data_provider_descriptors: [
|
2176
|
+
# {
|
2177
|
+
# data_provider_arn: "arn:aws:dms:us-east-1:012345678901:data-provider:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
2178
|
+
# data_provider_name: "target-dataprovider-3",
|
2179
|
+
# secrets_manager_access_role_arn: "arn:aws:iam::012345678901:role/dmytbon-admin-access",
|
2180
|
+
# secrets_manager_secret_id: "arn:aws:secretsmanager:us-east-1:012345678901:secret:myuser/TARGET.postgresql-0123456",
|
2181
|
+
# },
|
2182
|
+
# ],
|
2183
|
+
# },
|
2184
|
+
# }
|
2185
|
+
#
|
2028
2186
|
# @example Request syntax with placeholder values
|
2029
2187
|
#
|
2030
2188
|
# resp = client.create_migration_project({
|
@@ -2250,10 +2408,17 @@ module Aws::DatabaseMigrationService
|
|
2250
2408
|
# With the CLI and DMS API][1]. For information on the required
|
2251
2409
|
# permissions, see [IAM Permissions Needed to Use DMS][2].
|
2252
2410
|
#
|
2411
|
+
# <note markdown="1"> If you don't specify a version when creating a replication instance,
|
2412
|
+
# DMS will create the instance using the default engine version. For
|
2413
|
+
# information about the default engine version, see [Release Notes][3].
|
2414
|
+
#
|
2415
|
+
# </note>
|
2416
|
+
#
|
2253
2417
|
#
|
2254
2418
|
#
|
2255
2419
|
# [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Security.html#CHAP_Security.APIRole
|
2256
2420
|
# [2]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Security.html#CHAP_Security.IAMPermissions
|
2421
|
+
# [3]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_ReleaseNotes.html
|
2257
2422
|
#
|
2258
2423
|
# @option params [required, String] :replication_instance_identifier
|
2259
2424
|
# The replication instance identifier. This parameter is stored as a
|
@@ -2335,15 +2500,6 @@ module Aws::DatabaseMigrationService
|
|
2335
2500
|
#
|
2336
2501
|
# Default: `true`
|
2337
2502
|
#
|
2338
|
-
# When `AutoMinorVersionUpgrade` is enabled, DMS uses the current
|
2339
|
-
# default engine version when you create a replication instance. For
|
2340
|
-
# example, if you set `EngineVersion` to a lower version number than the
|
2341
|
-
# current default version, DMS uses the default version.
|
2342
|
-
#
|
2343
|
-
# If `AutoMinorVersionUpgrade` *isn’t* enabled when you create a
|
2344
|
-
# replication instance, DMS uses the engine version specified by the
|
2345
|
-
# `EngineVersion` parameter.
|
2346
|
-
#
|
2347
2503
|
# @option params [Array<Types::Tag>] :tags
|
2348
2504
|
# One or more tags to be assigned to the replication instance.
|
2349
2505
|
#
|
@@ -2748,8 +2904,8 @@ module Aws::DatabaseMigrationService
|
|
2748
2904
|
# Server time example: --cdc-stop-position
|
2749
2905
|
# “server\_time:2018-02-09T12:12:12”
|
2750
2906
|
#
|
2751
|
-
# Commit time example: --cdc-stop-position
|
2752
|
-
# 2018-02-09T12:12:12“
|
2907
|
+
# Commit time example: --cdc-stop-position
|
2908
|
+
# “commit\_time:2018-02-09T12:12:12“
|
2753
2909
|
#
|
2754
2910
|
# @option params [Array<Types::Tag>] :tags
|
2755
2911
|
# One or more tags to be assigned to the replication task.
|
@@ -3003,6 +3159,33 @@ module Aws::DatabaseMigrationService
|
|
3003
3159
|
#
|
3004
3160
|
# * {Types::DeleteDataProviderResponse#data_provider #data_provider} => Types::DataProvider
|
3005
3161
|
#
|
3162
|
+
#
|
3163
|
+
# @example Example: Delete Data Provider
|
3164
|
+
#
|
3165
|
+
# # Deletes the specified data provider.
|
3166
|
+
#
|
3167
|
+
# resp = client.delete_data_provider({
|
3168
|
+
# data_provider_identifier: "arn:aws:dms:us-east-1:012345678901:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345",
|
3169
|
+
# })
|
3170
|
+
#
|
3171
|
+
# resp.to_h outputs the following:
|
3172
|
+
# {
|
3173
|
+
# data_provider: {
|
3174
|
+
# data_provider_arn: "arn:aws:dms:us-east-1:012345678901:data-provider:my-target-data-provider",
|
3175
|
+
# data_provider_creation_time: Time.parse("2023-05-12T10:50:41.988561Z"),
|
3176
|
+
# data_provider_name: "my-target-data-provider",
|
3177
|
+
# engine: "postgres",
|
3178
|
+
# settings: {
|
3179
|
+
# postgre_sql_settings: {
|
3180
|
+
# database_name: "target",
|
3181
|
+
# port: 5432,
|
3182
|
+
# server_name: "postrgesql.0a1b2c3d4e5f.us-east-1.rds.amazonaws.com",
|
3183
|
+
# ssl_mode: "none",
|
3184
|
+
# },
|
3185
|
+
# },
|
3186
|
+
# },
|
3187
|
+
# }
|
3188
|
+
#
|
3006
3189
|
# @example Request syntax with placeholder values
|
3007
3190
|
#
|
3008
3191
|
# resp = client.delete_data_provider({
|
@@ -3016,6 +3199,9 @@ module Aws::DatabaseMigrationService
|
|
3016
3199
|
# resp.data_provider.data_provider_creation_time #=> Time
|
3017
3200
|
# resp.data_provider.description #=> String
|
3018
3201
|
# resp.data_provider.engine #=> String
|
3202
|
+
# resp.data_provider.settings.redshift_settings.server_name #=> String
|
3203
|
+
# resp.data_provider.settings.redshift_settings.port #=> Integer
|
3204
|
+
# resp.data_provider.settings.redshift_settings.database_name #=> String
|
3019
3205
|
# resp.data_provider.settings.postgre_sql_settings.server_name #=> String
|
3020
3206
|
# resp.data_provider.settings.postgre_sql_settings.port #=> Integer
|
3021
3207
|
# resp.data_provider.settings.postgre_sql_settings.database_name #=> String
|
@@ -3040,6 +3226,23 @@ module Aws::DatabaseMigrationService
|
|
3040
3226
|
# resp.data_provider.settings.microsoft_sql_server_settings.database_name #=> String
|
3041
3227
|
# resp.data_provider.settings.microsoft_sql_server_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
|
3042
3228
|
# resp.data_provider.settings.microsoft_sql_server_settings.certificate_arn #=> String
|
3229
|
+
# resp.data_provider.settings.doc_db_settings.server_name #=> String
|
3230
|
+
# resp.data_provider.settings.doc_db_settings.port #=> Integer
|
3231
|
+
# resp.data_provider.settings.doc_db_settings.database_name #=> String
|
3232
|
+
# resp.data_provider.settings.doc_db_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
|
3233
|
+
# resp.data_provider.settings.doc_db_settings.certificate_arn #=> String
|
3234
|
+
# resp.data_provider.settings.maria_db_settings.server_name #=> String
|
3235
|
+
# resp.data_provider.settings.maria_db_settings.port #=> Integer
|
3236
|
+
# resp.data_provider.settings.maria_db_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
|
3237
|
+
# resp.data_provider.settings.maria_db_settings.certificate_arn #=> String
|
3238
|
+
# resp.data_provider.settings.mongo_db_settings.server_name #=> String
|
3239
|
+
# resp.data_provider.settings.mongo_db_settings.port #=> Integer
|
3240
|
+
# resp.data_provider.settings.mongo_db_settings.database_name #=> String
|
3241
|
+
# resp.data_provider.settings.mongo_db_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
|
3242
|
+
# resp.data_provider.settings.mongo_db_settings.certificate_arn #=> String
|
3243
|
+
# resp.data_provider.settings.mongo_db_settings.auth_type #=> String, one of "no", "password"
|
3244
|
+
# resp.data_provider.settings.mongo_db_settings.auth_source #=> String
|
3245
|
+
# resp.data_provider.settings.mongo_db_settings.auth_mechanism #=> String, one of "default", "mongodb_cr", "scram_sha_1"
|
3043
3246
|
#
|
3044
3247
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteDataProvider AWS API Documentation
|
3045
3248
|
#
|
@@ -3559,6 +3762,46 @@ module Aws::DatabaseMigrationService
|
|
3559
3762
|
#
|
3560
3763
|
# * {Types::DeleteMigrationProjectResponse#migration_project #migration_project} => Types::MigrationProject
|
3561
3764
|
#
|
3765
|
+
#
|
3766
|
+
# @example Example: Delete Migration Project
|
3767
|
+
#
|
3768
|
+
# # Deletes the specified migration project.
|
3769
|
+
#
|
3770
|
+
# resp = client.delete_migration_project({
|
3771
|
+
# migration_project_identifier: "arn:aws:dms:us-east-1:012345678901:migration-project:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345",
|
3772
|
+
# })
|
3773
|
+
#
|
3774
|
+
# resp.to_h outputs the following:
|
3775
|
+
# {
|
3776
|
+
# migration_project: {
|
3777
|
+
# instance_profile_arn: "arn:aws:dms:us-east-1:012345678901:instance-profile:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
3778
|
+
# instance_profile_name: "my-instance-profile",
|
3779
|
+
# migration_project_arn: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
3780
|
+
# migration_project_creation_time: Time.parse("2023-04-19T11:45:15.805253Z"),
|
3781
|
+
# migration_project_name: "my-migration-project",
|
3782
|
+
# schema_conversion_application_attributes: {
|
3783
|
+
# s3_bucket_path: "my-s3-bucket/my_folder",
|
3784
|
+
# s3_bucket_role_arn: "arn:aws:iam::012345678901:role/my-s3role",
|
3785
|
+
# },
|
3786
|
+
# source_data_provider_descriptors: [
|
3787
|
+
# {
|
3788
|
+
# data_provider_arn: "arn:aws:dms:us-east-1:012345678901:data-provider:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
3789
|
+
# data_provider_name: "all-source-oracle-12",
|
3790
|
+
# secrets_manager_access_role_arn: "arn:aws:iam::012345678901:role/my-access-role",
|
3791
|
+
# secrets_manager_secret_id: "arn:aws:secretsmanager:us-east-1:012345678901:secret:myuser/ALL.SOURCE.ORACLE_12-0123456",
|
3792
|
+
# },
|
3793
|
+
# ],
|
3794
|
+
# target_data_provider_descriptors: [
|
3795
|
+
# {
|
3796
|
+
# data_provider_arn: "arn:aws:dms:us-east-1:012345678901:data-provider:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
3797
|
+
# data_provider_name: "sde-obilyns-dataprovider-3",
|
3798
|
+
# secrets_manager_access_role_arn: "arn:aws:iam::437223687239:role/dmytbon-admin-access",
|
3799
|
+
# secrets_manager_secret_id: "arn:aws:secretsmanager:us-east-1:012345678901:secret:myuser/TARGET.postgresql-0123456",
|
3800
|
+
# },
|
3801
|
+
# ],
|
3802
|
+
# },
|
3803
|
+
# }
|
3804
|
+
#
|
3562
3805
|
# @example Request syntax with placeholder values
|
3563
3806
|
#
|
3564
3807
|
# resp = client.delete_migration_project({
|
@@ -4304,6 +4547,21 @@ module Aws::DatabaseMigrationService
|
|
4304
4547
|
# * {Types::DescribeConversionConfigurationResponse#migration_project_identifier #migration_project_identifier} => String
|
4305
4548
|
# * {Types::DescribeConversionConfigurationResponse#conversion_configuration #conversion_configuration} => String
|
4306
4549
|
#
|
4550
|
+
#
|
4551
|
+
# @example Example: Describe Conversion Configuration
|
4552
|
+
#
|
4553
|
+
# # Returns configuration parameters for a schema conversion project.
|
4554
|
+
#
|
4555
|
+
# resp = client.describe_conversion_configuration({
|
4556
|
+
# migration_project_identifier: "arn:aws:dms:us-east-1:012345678901:migration-project:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345",
|
4557
|
+
# })
|
4558
|
+
#
|
4559
|
+
# resp.to_h outputs the following:
|
4560
|
+
# {
|
4561
|
+
# conversion_configuration: "{\"Common project settings\":{\"ShowSeverityLevelInSql\":\"CRITICAL\"},\"ORACLE_TO_POSTGRESQL\" : {\"ToTimeZone\":false,\"LastDayBuiltinFunctionOracle\":false, \"NextDayBuiltinFunctionOracle\":false,\"ConvertProceduresToFunction\":false,\"NvlBuiltinFunctionOracle\":false,\"DbmsAssertBuiltinFunctionOracle\":false}}",
|
4562
|
+
# migration_project_identifier: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
4563
|
+
# }
|
4564
|
+
#
|
4307
4565
|
# @example Request syntax with placeholder values
|
4308
4566
|
#
|
4309
4567
|
# resp = client.describe_conversion_configuration({
|
@@ -4355,6 +4613,43 @@ module Aws::DatabaseMigrationService
|
|
4355
4613
|
#
|
4356
4614
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4357
4615
|
#
|
4616
|
+
#
|
4617
|
+
# @example Example: Describe Data Providers
|
4618
|
+
#
|
4619
|
+
# resp = client.describe_data_providers({
|
4620
|
+
# filters: [
|
4621
|
+
# {
|
4622
|
+
# name: "data-provider-identifier",
|
4623
|
+
# values: [
|
4624
|
+
# "arn:aws:dms:us-east-1:012345678901:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345",
|
4625
|
+
# ],
|
4626
|
+
# },
|
4627
|
+
# ],
|
4628
|
+
# marker: "EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345",
|
4629
|
+
# max_records: 20,
|
4630
|
+
# })
|
4631
|
+
#
|
4632
|
+
# resp.to_h outputs the following:
|
4633
|
+
# {
|
4634
|
+
# data_providers: [
|
4635
|
+
# {
|
4636
|
+
# data_provider_arn: "arn:aws:dms:us-east-1:012345678901:data-provider:my-target-data-provider",
|
4637
|
+
# data_provider_creation_time: Time.parse("2023-05-12T10:50:41.988561Z"),
|
4638
|
+
# data_provider_name: "my-target-data-provider",
|
4639
|
+
# engine: "postgres",
|
4640
|
+
# settings: {
|
4641
|
+
# postgre_sql_settings: {
|
4642
|
+
# database_name: "target",
|
4643
|
+
# port: 5432,
|
4644
|
+
# server_name: "postrgesql.0a1b2c3d4e5f.us-east-1.rds.amazonaws.com",
|
4645
|
+
# ssl_mode: "none",
|
4646
|
+
# },
|
4647
|
+
# },
|
4648
|
+
# },
|
4649
|
+
# ],
|
4650
|
+
# marker: "EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345",
|
4651
|
+
# }
|
4652
|
+
#
|
4358
4653
|
# @example Request syntax with placeholder values
|
4359
4654
|
#
|
4360
4655
|
# resp = client.describe_data_providers({
|
@@ -4377,6 +4672,9 @@ module Aws::DatabaseMigrationService
|
|
4377
4672
|
# resp.data_providers[0].data_provider_creation_time #=> Time
|
4378
4673
|
# resp.data_providers[0].description #=> String
|
4379
4674
|
# resp.data_providers[0].engine #=> String
|
4675
|
+
# resp.data_providers[0].settings.redshift_settings.server_name #=> String
|
4676
|
+
# resp.data_providers[0].settings.redshift_settings.port #=> Integer
|
4677
|
+
# resp.data_providers[0].settings.redshift_settings.database_name #=> String
|
4380
4678
|
# resp.data_providers[0].settings.postgre_sql_settings.server_name #=> String
|
4381
4679
|
# resp.data_providers[0].settings.postgre_sql_settings.port #=> Integer
|
4382
4680
|
# resp.data_providers[0].settings.postgre_sql_settings.database_name #=> String
|
@@ -4401,6 +4699,23 @@ module Aws::DatabaseMigrationService
|
|
4401
4699
|
# resp.data_providers[0].settings.microsoft_sql_server_settings.database_name #=> String
|
4402
4700
|
# resp.data_providers[0].settings.microsoft_sql_server_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
|
4403
4701
|
# resp.data_providers[0].settings.microsoft_sql_server_settings.certificate_arn #=> String
|
4702
|
+
# resp.data_providers[0].settings.doc_db_settings.server_name #=> String
|
4703
|
+
# resp.data_providers[0].settings.doc_db_settings.port #=> Integer
|
4704
|
+
# resp.data_providers[0].settings.doc_db_settings.database_name #=> String
|
4705
|
+
# resp.data_providers[0].settings.doc_db_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
|
4706
|
+
# resp.data_providers[0].settings.doc_db_settings.certificate_arn #=> String
|
4707
|
+
# resp.data_providers[0].settings.maria_db_settings.server_name #=> String
|
4708
|
+
# resp.data_providers[0].settings.maria_db_settings.port #=> Integer
|
4709
|
+
# resp.data_providers[0].settings.maria_db_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
|
4710
|
+
# resp.data_providers[0].settings.maria_db_settings.certificate_arn #=> String
|
4711
|
+
# resp.data_providers[0].settings.mongo_db_settings.server_name #=> String
|
4712
|
+
# resp.data_providers[0].settings.mongo_db_settings.port #=> Integer
|
4713
|
+
# resp.data_providers[0].settings.mongo_db_settings.database_name #=> String
|
4714
|
+
# resp.data_providers[0].settings.mongo_db_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
|
4715
|
+
# resp.data_providers[0].settings.mongo_db_settings.certificate_arn #=> String
|
4716
|
+
# resp.data_providers[0].settings.mongo_db_settings.auth_type #=> String, one of "no", "password"
|
4717
|
+
# resp.data_providers[0].settings.mongo_db_settings.auth_source #=> String
|
4718
|
+
# resp.data_providers[0].settings.mongo_db_settings.auth_mechanism #=> String, one of "default", "mongodb_cr", "scram_sha_1"
|
4404
4719
|
#
|
4405
4720
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeDataProviders AWS API Documentation
|
4406
4721
|
#
|
@@ -5255,6 +5570,37 @@ module Aws::DatabaseMigrationService
|
|
5255
5570
|
#
|
5256
5571
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
5257
5572
|
#
|
5573
|
+
#
|
5574
|
+
# @example Example: Describe Extension Pack Associations
|
5575
|
+
#
|
5576
|
+
# # Returns a paginated list of extension pack associations for the specified migration project.
|
5577
|
+
#
|
5578
|
+
# resp = client.describe_extension_pack_associations({
|
5579
|
+
# filters: [
|
5580
|
+
# {
|
5581
|
+
# name: "instance-profile-identifier",
|
5582
|
+
# values: [
|
5583
|
+
# "arn:aws:dms:us-east-1:012345678901:instance-profile:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345",
|
5584
|
+
# ],
|
5585
|
+
# },
|
5586
|
+
# ],
|
5587
|
+
# marker: "0123456789abcdefghijklmnopqrs",
|
5588
|
+
# max_records: 20,
|
5589
|
+
# migration_project_identifier: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
5590
|
+
# })
|
5591
|
+
#
|
5592
|
+
# resp.to_h outputs the following:
|
5593
|
+
# {
|
5594
|
+
# marker: "0123456789abcdefghijklmnopqrs",
|
5595
|
+
# requests: [
|
5596
|
+
# {
|
5597
|
+
# migration_project_arn: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
5598
|
+
# request_identifier: "01234567-89ab-cdef-0123-456789abcdef",
|
5599
|
+
# status: "SUCCESS",
|
5600
|
+
# },
|
5601
|
+
# ],
|
5602
|
+
# }
|
5603
|
+
#
|
5258
5604
|
# @example Request syntax with placeholder values
|
5259
5605
|
#
|
5260
5606
|
# resp = client.describe_extension_pack_associations({
|
@@ -5745,6 +6091,37 @@ module Aws::DatabaseMigrationService
|
|
5745
6091
|
#
|
5746
6092
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
5747
6093
|
#
|
6094
|
+
#
|
6095
|
+
# @example Example: Describe Metadata Model Assessments
|
6096
|
+
#
|
6097
|
+
# # Returns a paginated list of metadata model assessments for your account in the current region.
|
6098
|
+
#
|
6099
|
+
# resp = client.describe_metadata_model_assessments({
|
6100
|
+
# filters: [
|
6101
|
+
# {
|
6102
|
+
# name: "my-migration-project",
|
6103
|
+
# values: [
|
6104
|
+
# "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
6105
|
+
# ],
|
6106
|
+
# },
|
6107
|
+
# ],
|
6108
|
+
# marker: "0123456789abcdefghijklmnopqrs",
|
6109
|
+
# max_records: 20,
|
6110
|
+
# migration_project_identifier: "",
|
6111
|
+
# })
|
6112
|
+
#
|
6113
|
+
# resp.to_h outputs the following:
|
6114
|
+
# {
|
6115
|
+
# marker: "ASDLKJASDJKHDFHGDNBGDASKJHGFK",
|
6116
|
+
# requests: [
|
6117
|
+
# {
|
6118
|
+
# migration_project_arn: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
6119
|
+
# request_identifier: "01234567-89ab-cdef-0123-456789abcdef",
|
6120
|
+
# status: "SUCCESS",
|
6121
|
+
# },
|
6122
|
+
# ],
|
6123
|
+
# }
|
6124
|
+
#
|
5748
6125
|
# @example Request syntax with placeholder values
|
5749
6126
|
#
|
5750
6127
|
# resp = client.describe_metadata_model_assessments({
|
@@ -5813,6 +6190,37 @@ module Aws::DatabaseMigrationService
|
|
5813
6190
|
#
|
5814
6191
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
5815
6192
|
#
|
6193
|
+
#
|
6194
|
+
# @example Example: Describe Metadata Model Conversions
|
6195
|
+
#
|
6196
|
+
# # Returns a paginated list of metadata model conversions for a migration project.
|
6197
|
+
#
|
6198
|
+
# resp = client.describe_metadata_model_conversions({
|
6199
|
+
# filters: [
|
6200
|
+
# {
|
6201
|
+
# name: "request-id",
|
6202
|
+
# values: [
|
6203
|
+
# "01234567-89ab-cdef-0123-456789abcdef",
|
6204
|
+
# ],
|
6205
|
+
# },
|
6206
|
+
# ],
|
6207
|
+
# marker: "EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ123456",
|
6208
|
+
# max_records: 123,
|
6209
|
+
# migration_project_identifier: "arn:aws:dms:us-east-1:012345678901:migration-project:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345",
|
6210
|
+
# })
|
6211
|
+
#
|
6212
|
+
# resp.to_h outputs the following:
|
6213
|
+
# {
|
6214
|
+
# marker: "0123456789abcdefghijklmnopqrs",
|
6215
|
+
# requests: [
|
6216
|
+
# {
|
6217
|
+
# migration_project_arn: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
6218
|
+
# request_identifier: "01234567-89ab-cdef-0123-456789abcdef",
|
6219
|
+
# status: "SUCCESS",
|
6220
|
+
# },
|
6221
|
+
# ],
|
6222
|
+
# }
|
6223
|
+
#
|
5816
6224
|
# @example Request syntax with placeholder values
|
5817
6225
|
#
|
5818
6226
|
# resp = client.describe_metadata_model_conversions({
|
@@ -5880,6 +6288,37 @@ module Aws::DatabaseMigrationService
|
|
5880
6288
|
#
|
5881
6289
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
5882
6290
|
#
|
6291
|
+
#
|
6292
|
+
# @example Example: Describe Metadata Model Exports As Script
|
6293
|
+
#
|
6294
|
+
# # Returns a paginated list of metadata model exports.
|
6295
|
+
#
|
6296
|
+
# resp = client.describe_metadata_model_exports_as_script({
|
6297
|
+
# filters: [
|
6298
|
+
# {
|
6299
|
+
# name: "request-id",
|
6300
|
+
# values: [
|
6301
|
+
# "01234567-89ab-cdef-0123-456789abcdef",
|
6302
|
+
# ],
|
6303
|
+
# },
|
6304
|
+
# ],
|
6305
|
+
# marker: "0123456789abcdefghijklmnopqrs",
|
6306
|
+
# max_records: 20,
|
6307
|
+
# migration_project_identifier: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
6308
|
+
# })
|
6309
|
+
#
|
6310
|
+
# resp.to_h outputs the following:
|
6311
|
+
# {
|
6312
|
+
# marker: "0123456789abcdefghijklmnopqrs",
|
6313
|
+
# requests: [
|
6314
|
+
# {
|
6315
|
+
# migration_project_arn: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
6316
|
+
# request_identifier: "01234567-89ab-cdef-0123-456789abcdef",
|
6317
|
+
# status: "SUCCESS",
|
6318
|
+
# },
|
6319
|
+
# ],
|
6320
|
+
# }
|
6321
|
+
#
|
5883
6322
|
# @example Request syntax with placeholder values
|
5884
6323
|
#
|
5885
6324
|
# resp = client.describe_metadata_model_exports_as_script({
|
@@ -5947,6 +6386,37 @@ module Aws::DatabaseMigrationService
|
|
5947
6386
|
#
|
5948
6387
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
5949
6388
|
#
|
6389
|
+
#
|
6390
|
+
# @example Example: Describe Metadata Model Exports To Target
|
6391
|
+
#
|
6392
|
+
# # Returns a paginated list of metadata model exports.
|
6393
|
+
#
|
6394
|
+
# resp = client.describe_metadata_model_exports_to_target({
|
6395
|
+
# filters: [
|
6396
|
+
# {
|
6397
|
+
# name: "request-id",
|
6398
|
+
# values: [
|
6399
|
+
# "01234567-89ab-cdef-0123-456789abcdef",
|
6400
|
+
# ],
|
6401
|
+
# },
|
6402
|
+
# ],
|
6403
|
+
# marker: "0123456789abcdefghijklmnopqrs",
|
6404
|
+
# max_records: 20,
|
6405
|
+
# migration_project_identifier: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
6406
|
+
# })
|
6407
|
+
#
|
6408
|
+
# resp.to_h outputs the following:
|
6409
|
+
# {
|
6410
|
+
# marker: "0123456789abcdefghijklmnopqrs",
|
6411
|
+
# requests: [
|
6412
|
+
# {
|
6413
|
+
# migration_project_arn: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
6414
|
+
# request_identifier: "01234567-89ab-cdef-0123-456789abcdef",
|
6415
|
+
# status: "SUCCESS",
|
6416
|
+
# },
|
6417
|
+
# ],
|
6418
|
+
# }
|
6419
|
+
#
|
5950
6420
|
# @example Request syntax with placeholder values
|
5951
6421
|
#
|
5952
6422
|
# resp = client.describe_metadata_model_exports_to_target({
|
@@ -6011,6 +6481,37 @@ module Aws::DatabaseMigrationService
|
|
6011
6481
|
#
|
6012
6482
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6013
6483
|
#
|
6484
|
+
#
|
6485
|
+
# @example Example: Describe Metadata Model Imports
|
6486
|
+
#
|
6487
|
+
# # Returns a paginated list of metadata model imports.
|
6488
|
+
#
|
6489
|
+
# resp = client.describe_metadata_model_imports({
|
6490
|
+
# filters: [
|
6491
|
+
# {
|
6492
|
+
# name: "request-id",
|
6493
|
+
# values: [
|
6494
|
+
# "01234567-89ab-cdef-0123-456789abcdef",
|
6495
|
+
# ],
|
6496
|
+
# },
|
6497
|
+
# ],
|
6498
|
+
# marker: "0123456789abcdefghijklmnopqrs",
|
6499
|
+
# max_records: 20,
|
6500
|
+
# migration_project_identifier: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
6501
|
+
# })
|
6502
|
+
#
|
6503
|
+
# resp.to_h outputs the following:
|
6504
|
+
# {
|
6505
|
+
# marker: "0123456789abcdefghijklmnopqrs",
|
6506
|
+
# requests: [
|
6507
|
+
# {
|
6508
|
+
# migration_project_arn: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
6509
|
+
# request_identifier: "01234567-89ab-cdef-0123-456789abcdef",
|
6510
|
+
# status: "SUCCESS",
|
6511
|
+
# },
|
6512
|
+
# ],
|
6513
|
+
# }
|
6514
|
+
#
|
6014
6515
|
# @example Request syntax with placeholder values
|
6015
6516
|
#
|
6016
6517
|
# resp = client.describe_metadata_model_imports({
|
@@ -6076,6 +6577,58 @@ module Aws::DatabaseMigrationService
|
|
6076
6577
|
#
|
6077
6578
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6078
6579
|
#
|
6580
|
+
#
|
6581
|
+
# @example Example: Describe Migration Projects
|
6582
|
+
#
|
6583
|
+
# # Returns a paginated list of migration projects for your account in the current region.
|
6584
|
+
#
|
6585
|
+
# resp = client.describe_migration_projects({
|
6586
|
+
# filters: [
|
6587
|
+
# {
|
6588
|
+
# name: "migration-project-identifier",
|
6589
|
+
# values: [
|
6590
|
+
# "arn:aws:dms:us-east-1:012345678901:migration-project:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901",
|
6591
|
+
# ],
|
6592
|
+
# },
|
6593
|
+
# ],
|
6594
|
+
# marker: "EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ123456",
|
6595
|
+
# max_records: 20,
|
6596
|
+
# })
|
6597
|
+
#
|
6598
|
+
# resp.to_h outputs the following:
|
6599
|
+
# {
|
6600
|
+
# marker: "0123456789abcdefghijklmnopqrs",
|
6601
|
+
# migration_projects: [
|
6602
|
+
# {
|
6603
|
+
# instance_profile_arn: "arn:aws:dms:us-east-1:012345678901:instance-profile:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
6604
|
+
# instance_profile_name: "my-instance-profile",
|
6605
|
+
# migration_project_arn: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
6606
|
+
# migration_project_creation_time: Time.parse("2023-04-19T11:45:15.805253Z"),
|
6607
|
+
# migration_project_name: "my-migration-project",
|
6608
|
+
# schema_conversion_application_attributes: {
|
6609
|
+
# s3_bucket_path: "my-s3-bucket/my_folder",
|
6610
|
+
# s3_bucket_role_arn: "arn:aws:iam::012345678901:role/my-s3role",
|
6611
|
+
# },
|
6612
|
+
# source_data_provider_descriptors: [
|
6613
|
+
# {
|
6614
|
+
# data_provider_arn: "arn:aws:dms:us-east-1:012345678901:data-provider:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
6615
|
+
# data_provider_name: "all-source-oracle-12",
|
6616
|
+
# secrets_manager_access_role_arn: "arn:aws:iam::012345678901:role/my-access-role",
|
6617
|
+
# secrets_manager_secret_id: "arn:aws:secretsmanager:us-east-1:012345678901:secret:mygroup/myalias/ALL.SOURCE.ORACLE_12-012345",
|
6618
|
+
# },
|
6619
|
+
# ],
|
6620
|
+
# target_data_provider_descriptors: [
|
6621
|
+
# {
|
6622
|
+
# data_provider_arn: "arn:aws:dms:us-east-1:012345678901:data-provider:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
6623
|
+
# data_provider_name: "my-data-provider",
|
6624
|
+
# secrets_manager_access_role_arn: "arn:aws:iam::012345678901:role/dmytbon-admin-access",
|
6625
|
+
# secrets_manager_secret_id: "arn:aws:secretsmanager:us-east-1:012345678901:secret:mygroup/myalias/TARGET.postgresql-012345",
|
6626
|
+
# },
|
6627
|
+
# ],
|
6628
|
+
# },
|
6629
|
+
# ],
|
6630
|
+
# }
|
6631
|
+
#
|
6079
6632
|
# @example Request syntax with placeholder values
|
6080
6633
|
#
|
6081
6634
|
# resp = client.describe_migration_projects({
|
@@ -7511,6 +8064,33 @@ module Aws::DatabaseMigrationService
|
|
7511
8064
|
# * {Types::ExportMetadataModelAssessmentResponse#pdf_report #pdf_report} => Types::ExportMetadataModelAssessmentResultEntry
|
7512
8065
|
# * {Types::ExportMetadataModelAssessmentResponse#csv_report #csv_report} => Types::ExportMetadataModelAssessmentResultEntry
|
7513
8066
|
#
|
8067
|
+
#
|
8068
|
+
# @example Example: Export Metadata Model Assessment
|
8069
|
+
#
|
8070
|
+
# # Saves a copy of a database migration assessment report to your S3 bucket. DMS can save your assessment report as a
|
8071
|
+
# # comma-separated value (CSV) or a PDF file.
|
8072
|
+
#
|
8073
|
+
# resp = client.export_metadata_model_assessment({
|
8074
|
+
# assessment_report_types: [
|
8075
|
+
# "pdf",
|
8076
|
+
# ],
|
8077
|
+
# file_name: "file",
|
8078
|
+
# migration_project_identifier: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
8079
|
+
# selection_rules: "{\"rules\": [{\"rule-type\": \"selection\",\"rule-id\": \"1\",\"rule-name\": \"1\",\"object-locator\": {\"server-name\": \"aurora-pg.cluster-a1b2c3d4e5f6.us-east-1.rds.amazonaws.com\", \"schema-name\": \"schema1\", \"table-name\": \"Cities\"},\"rule-action\": \"explicit\"} ]}",
|
8080
|
+
# })
|
8081
|
+
#
|
8082
|
+
# resp.to_h outputs the following:
|
8083
|
+
# {
|
8084
|
+
# csv_report: {
|
8085
|
+
# object_url: "url",
|
8086
|
+
# s3_object_key: "object-name",
|
8087
|
+
# },
|
8088
|
+
# pdf_report: {
|
8089
|
+
# object_url: "url",
|
8090
|
+
# s3_object_key: "object-name",
|
8091
|
+
# },
|
8092
|
+
# }
|
8093
|
+
#
|
7514
8094
|
# @example Request syntax with placeholder values
|
7515
8095
|
#
|
7516
8096
|
# resp = client.export_metadata_model_assessment({
|
@@ -7689,6 +8269,21 @@ module Aws::DatabaseMigrationService
|
|
7689
8269
|
#
|
7690
8270
|
# * {Types::ModifyConversionConfigurationResponse#migration_project_identifier #migration_project_identifier} => String
|
7691
8271
|
#
|
8272
|
+
#
|
8273
|
+
# @example Example: Modify Conversion Configuration
|
8274
|
+
#
|
8275
|
+
# # Modifies the specified schema conversion configuration using the provided parameters.
|
8276
|
+
#
|
8277
|
+
# resp = client.modify_conversion_configuration({
|
8278
|
+
# conversion_configuration: "{\"Common project settings\":{\"ShowSeverityLevelInSql\":\"CRITICAL\"},\"ORACLE_TO_POSTGRESQL\" : {\"ToTimeZone\":false,\"LastDayBuiltinFunctionOracle\":false, \"NextDayBuiltinFunctionOracle\":false,\"ConvertProceduresToFunction\":false,\"NvlBuiltinFunctionOracle\":false,\"DbmsAssertBuiltinFunctionOracle\":false}}",
|
8279
|
+
# migration_project_identifier: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
8280
|
+
# })
|
8281
|
+
#
|
8282
|
+
# resp.to_h outputs the following:
|
8283
|
+
# {
|
8284
|
+
# migration_project_identifier: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
8285
|
+
# }
|
8286
|
+
#
|
7692
8287
|
# @example Request syntax with placeholder values
|
7693
8288
|
#
|
7694
8289
|
# resp = client.modify_conversion_configuration({
|
@@ -7752,6 +8347,44 @@ module Aws::DatabaseMigrationService
|
|
7752
8347
|
#
|
7753
8348
|
# * {Types::ModifyDataProviderResponse#data_provider #data_provider} => Types::DataProvider
|
7754
8349
|
#
|
8350
|
+
#
|
8351
|
+
# @example Example: Modify Data Provider
|
8352
|
+
#
|
8353
|
+
# # Modifies the specified data provider using the provided settings.
|
8354
|
+
#
|
8355
|
+
# resp = client.modify_data_provider({
|
8356
|
+
# data_provider_identifier: "arn:aws:dms:us-east-1:012345678901:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345",
|
8357
|
+
# data_provider_name: "new-name",
|
8358
|
+
# description: "description",
|
8359
|
+
# engine: "sqlserver",
|
8360
|
+
# settings: {
|
8361
|
+
# microsoft_sql_server_settings: {
|
8362
|
+
# database_name: "DatabaseName",
|
8363
|
+
# port: 11112,
|
8364
|
+
# server_name: "ServerName2",
|
8365
|
+
# ssl_mode: "none",
|
8366
|
+
# },
|
8367
|
+
# },
|
8368
|
+
# })
|
8369
|
+
#
|
8370
|
+
# resp.to_h outputs the following:
|
8371
|
+
# {
|
8372
|
+
# data_provider: {
|
8373
|
+
# data_provider_arn: "arn:aws:dms:us-east-1:012345678901:data-provider:my-target-data-provider",
|
8374
|
+
# data_provider_creation_time: Time.parse("2023-05-12T10:50:41.988561Z"),
|
8375
|
+
# data_provider_name: "my-target-data-provider",
|
8376
|
+
# engine: "postgres",
|
8377
|
+
# settings: {
|
8378
|
+
# postgre_sql_settings: {
|
8379
|
+
# database_name: "target",
|
8380
|
+
# port: 5432,
|
8381
|
+
# server_name: "postrgesql.0a1b2c3d4e5f.us-east-1.rds.amazonaws.com",
|
8382
|
+
# ssl_mode: "none",
|
8383
|
+
# },
|
8384
|
+
# },
|
8385
|
+
# },
|
8386
|
+
# }
|
8387
|
+
#
|
7755
8388
|
# @example Request syntax with placeholder values
|
7756
8389
|
#
|
7757
8390
|
# resp = client.modify_data_provider({
|
@@ -7761,6 +8394,11 @@ module Aws::DatabaseMigrationService
|
|
7761
8394
|
# engine: "String",
|
7762
8395
|
# exact_settings: false,
|
7763
8396
|
# settings: {
|
8397
|
+
# redshift_settings: {
|
8398
|
+
# server_name: "String",
|
8399
|
+
# port: 1,
|
8400
|
+
# database_name: "String",
|
8401
|
+
# },
|
7764
8402
|
# postgre_sql_settings: {
|
7765
8403
|
# server_name: "String",
|
7766
8404
|
# port: 1,
|
@@ -7793,6 +8431,29 @@ module Aws::DatabaseMigrationService
|
|
7793
8431
|
# ssl_mode: "none", # accepts none, require, verify-ca, verify-full
|
7794
8432
|
# certificate_arn: "String",
|
7795
8433
|
# },
|
8434
|
+
# doc_db_settings: {
|
8435
|
+
# server_name: "String",
|
8436
|
+
# port: 1,
|
8437
|
+
# database_name: "String",
|
8438
|
+
# ssl_mode: "none", # accepts none, require, verify-ca, verify-full
|
8439
|
+
# certificate_arn: "String",
|
8440
|
+
# },
|
8441
|
+
# maria_db_settings: {
|
8442
|
+
# server_name: "String",
|
8443
|
+
# port: 1,
|
8444
|
+
# ssl_mode: "none", # accepts none, require, verify-ca, verify-full
|
8445
|
+
# certificate_arn: "String",
|
8446
|
+
# },
|
8447
|
+
# mongo_db_settings: {
|
8448
|
+
# server_name: "String",
|
8449
|
+
# port: 1,
|
8450
|
+
# database_name: "String",
|
8451
|
+
# ssl_mode: "none", # accepts none, require, verify-ca, verify-full
|
8452
|
+
# certificate_arn: "String",
|
8453
|
+
# auth_type: "no", # accepts no, password
|
8454
|
+
# auth_source: "String",
|
8455
|
+
# auth_mechanism: "default", # accepts default, mongodb_cr, scram_sha_1
|
8456
|
+
# },
|
7796
8457
|
# },
|
7797
8458
|
# })
|
7798
8459
|
#
|
@@ -7803,6 +8464,9 @@ module Aws::DatabaseMigrationService
|
|
7803
8464
|
# resp.data_provider.data_provider_creation_time #=> Time
|
7804
8465
|
# resp.data_provider.description #=> String
|
7805
8466
|
# resp.data_provider.engine #=> String
|
8467
|
+
# resp.data_provider.settings.redshift_settings.server_name #=> String
|
8468
|
+
# resp.data_provider.settings.redshift_settings.port #=> Integer
|
8469
|
+
# resp.data_provider.settings.redshift_settings.database_name #=> String
|
7806
8470
|
# resp.data_provider.settings.postgre_sql_settings.server_name #=> String
|
7807
8471
|
# resp.data_provider.settings.postgre_sql_settings.port #=> Integer
|
7808
8472
|
# resp.data_provider.settings.postgre_sql_settings.database_name #=> String
|
@@ -7827,6 +8491,23 @@ module Aws::DatabaseMigrationService
|
|
7827
8491
|
# resp.data_provider.settings.microsoft_sql_server_settings.database_name #=> String
|
7828
8492
|
# resp.data_provider.settings.microsoft_sql_server_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
|
7829
8493
|
# resp.data_provider.settings.microsoft_sql_server_settings.certificate_arn #=> String
|
8494
|
+
# resp.data_provider.settings.doc_db_settings.server_name #=> String
|
8495
|
+
# resp.data_provider.settings.doc_db_settings.port #=> Integer
|
8496
|
+
# resp.data_provider.settings.doc_db_settings.database_name #=> String
|
8497
|
+
# resp.data_provider.settings.doc_db_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
|
8498
|
+
# resp.data_provider.settings.doc_db_settings.certificate_arn #=> String
|
8499
|
+
# resp.data_provider.settings.maria_db_settings.server_name #=> String
|
8500
|
+
# resp.data_provider.settings.maria_db_settings.port #=> Integer
|
8501
|
+
# resp.data_provider.settings.maria_db_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
|
8502
|
+
# resp.data_provider.settings.maria_db_settings.certificate_arn #=> String
|
8503
|
+
# resp.data_provider.settings.mongo_db_settings.server_name #=> String
|
8504
|
+
# resp.data_provider.settings.mongo_db_settings.port #=> Integer
|
8505
|
+
# resp.data_provider.settings.mongo_db_settings.database_name #=> String
|
8506
|
+
# resp.data_provider.settings.mongo_db_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
|
8507
|
+
# resp.data_provider.settings.mongo_db_settings.certificate_arn #=> String
|
8508
|
+
# resp.data_provider.settings.mongo_db_settings.auth_type #=> String, one of "no", "password"
|
8509
|
+
# resp.data_provider.settings.mongo_db_settings.auth_source #=> String
|
8510
|
+
# resp.data_provider.settings.mongo_db_settings.auth_mechanism #=> String, one of "default", "mongodb_cr", "scram_sha_1"
|
7830
8511
|
#
|
7831
8512
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyDataProvider AWS API Documentation
|
7832
8513
|
#
|
@@ -9000,6 +9681,67 @@ module Aws::DatabaseMigrationService
|
|
9000
9681
|
#
|
9001
9682
|
# * {Types::ModifyMigrationProjectResponse#migration_project #migration_project} => Types::MigrationProject
|
9002
9683
|
#
|
9684
|
+
#
|
9685
|
+
# @example Example: Modify Migration Project
|
9686
|
+
#
|
9687
|
+
# # Modifies the specified migration project using the provided parameters.
|
9688
|
+
#
|
9689
|
+
# resp = client.modify_migration_project({
|
9690
|
+
# description: "description",
|
9691
|
+
# instance_profile_identifier: "my-instance-profile",
|
9692
|
+
# migration_project_identifier: "arn:aws:dms:us-east-1:012345678901:migration-project:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345",
|
9693
|
+
# migration_project_name: "new-name",
|
9694
|
+
# schema_conversion_application_attributes: {
|
9695
|
+
# s3_bucket_path: "arn:aws:s3:::myuser-bucket",
|
9696
|
+
# s3_bucket_role_arn: "arn:aws:iam::012345678901:role/Admin",
|
9697
|
+
# },
|
9698
|
+
# source_data_provider_descriptors: [
|
9699
|
+
# {
|
9700
|
+
# data_provider_identifier: "arn:aws:dms:us-east-1:012345678901:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345",
|
9701
|
+
# secrets_manager_access_role_arn: "arn:aws:iam::012345678901:role/myuser-admin-access",
|
9702
|
+
# secrets_manager_secret_id: "arn:aws:secretsmanager:us-east-1:012345678901:secret:myorg/myuser/ALL.SOURCE.ORACLE_12-A1B2C3",
|
9703
|
+
# },
|
9704
|
+
# ],
|
9705
|
+
# target_data_provider_descriptors: [
|
9706
|
+
# {
|
9707
|
+
# data_provider_identifier: "arn:aws:dms:us-east-1:012345678901:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345",
|
9708
|
+
# secrets_manager_access_role_arn: "arn:aws:iam::012345678901:role/myuser-admin-access",
|
9709
|
+
# secrets_manager_secret_id: "arn:aws:secretsmanager:us-east-1:012345678901:secret:myorg/myuser/TARGET.postgresql-A1B2C3",
|
9710
|
+
# },
|
9711
|
+
# ],
|
9712
|
+
# })
|
9713
|
+
#
|
9714
|
+
# resp.to_h outputs the following:
|
9715
|
+
# {
|
9716
|
+
# migration_project: {
|
9717
|
+
# instance_profile_arn: "arn:aws:dms:us-east-1:012345678901:instance-profile:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
9718
|
+
# instance_profile_name: "my-instance-profile",
|
9719
|
+
# migration_project_arn: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
9720
|
+
# migration_project_creation_time: Time.parse("2023-04-19T11:45:15.805253Z"),
|
9721
|
+
# migration_project_name: "my-migration-project",
|
9722
|
+
# schema_conversion_application_attributes: {
|
9723
|
+
# s3_bucket_path: "my-s3-bucket/my_folder",
|
9724
|
+
# s3_bucket_role_arn: "arn:aws:iam::012345678901:role/my-s3role",
|
9725
|
+
# },
|
9726
|
+
# source_data_provider_descriptors: [
|
9727
|
+
# {
|
9728
|
+
# data_provider_arn: "arn:aws:dms:us-east-1:012345678901:data-provider:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
9729
|
+
# data_provider_name: "all-source-oracle-12",
|
9730
|
+
# secrets_manager_access_role_arn: "arn:aws:iam::012345678901:role/my-access-role",
|
9731
|
+
# secrets_manager_secret_id: "arn:aws:secretsmanager:us-east-1:012345678901:secret:mygroup/myalias/ALL.SOURCE.ORACLE_12-TP5rA9",
|
9732
|
+
# },
|
9733
|
+
# ],
|
9734
|
+
# target_data_provider_descriptors: [
|
9735
|
+
# {
|
9736
|
+
# data_provider_arn: "arn:aws:dms:us-east-1:012345678901:data-provider:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
9737
|
+
# data_provider_name: "my-dataprovider",
|
9738
|
+
# secrets_manager_access_role_arn: "arn:aws:iam::012345678901:role/my-access-role",
|
9739
|
+
# secrets_manager_secret_id: "arn:aws:secretsmanager:us-east-1:012345678901:secret:mygroup/myalias/TARGET.postgresql-mysecret",
|
9740
|
+
# },
|
9741
|
+
# ],
|
9742
|
+
# },
|
9743
|
+
# }
|
9744
|
+
#
|
9003
9745
|
# @example Request syntax with placeholder values
|
9004
9746
|
#
|
9005
9747
|
# resp = client.modify_migration_project({
|
@@ -9249,15 +9991,6 @@ module Aws::DatabaseMigrationService
|
|
9249
9991
|
#
|
9250
9992
|
# * DMS has enabled automatic patching for the given engine version.
|
9251
9993
|
#
|
9252
|
-
# When `AutoMinorVersionUpgrade` is enabled, DMS uses the current
|
9253
|
-
# default engine version when you modify a replication instance. For
|
9254
|
-
# example, if you set `EngineVersion` to a lower version number than the
|
9255
|
-
# current default version, DMS uses the default version.
|
9256
|
-
#
|
9257
|
-
# If `AutoMinorVersionUpgrade` *isn’t* enabled when you modify a
|
9258
|
-
# replication instance, DMS uses the engine version specified by the
|
9259
|
-
# `EngineVersion` parameter.
|
9260
|
-
#
|
9261
9994
|
# @option params [String] :replication_instance_identifier
|
9262
9995
|
# The replication instance identifier. This parameter is stored as a
|
9263
9996
|
# lowercase string.
|
@@ -9563,8 +10296,8 @@ module Aws::DatabaseMigrationService
|
|
9563
10296
|
# Server time example: --cdc-stop-position
|
9564
10297
|
# “server\_time:2018-02-09T12:12:12”
|
9565
10298
|
#
|
9566
|
-
# Commit time example: --cdc-stop-position
|
9567
|
-
# 2018-02-09T12:12:12“
|
10299
|
+
# Commit time example: --cdc-stop-position
|
10300
|
+
# “commit\_time:2018-02-09T12:12:12“
|
9568
10301
|
#
|
9569
10302
|
# @option params [String] :task_data
|
9570
10303
|
# Supplemental information that the task requires to migrate the data
|
@@ -10026,6 +10759,20 @@ module Aws::DatabaseMigrationService
|
|
10026
10759
|
#
|
10027
10760
|
# * {Types::StartExtensionPackAssociationResponse#request_identifier #request_identifier} => String
|
10028
10761
|
#
|
10762
|
+
#
|
10763
|
+
# @example Example: Start Extension Pack Association
|
10764
|
+
#
|
10765
|
+
# # Applies the extension pack to your target database.
|
10766
|
+
#
|
10767
|
+
# resp = client.start_extension_pack_association({
|
10768
|
+
# migration_project_identifier: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
10769
|
+
# })
|
10770
|
+
#
|
10771
|
+
# resp.to_h outputs the following:
|
10772
|
+
# {
|
10773
|
+
# request_identifier: "01234567-89ab-cdef-0123-456789abcdef",
|
10774
|
+
# }
|
10775
|
+
#
|
10029
10776
|
# @example Request syntax with placeholder values
|
10030
10777
|
#
|
10031
10778
|
# resp = client.start_extension_pack_association({
|
@@ -10061,6 +10808,22 @@ module Aws::DatabaseMigrationService
|
|
10061
10808
|
#
|
10062
10809
|
# * {Types::StartMetadataModelAssessmentResponse#request_identifier #request_identifier} => String
|
10063
10810
|
#
|
10811
|
+
#
|
10812
|
+
# @example Example: Start Metadata Model Assessment
|
10813
|
+
#
|
10814
|
+
# # Creates a database migration assessment report by assessing the migration complexity for
|
10815
|
+
# # your source database.
|
10816
|
+
#
|
10817
|
+
# resp = client.start_metadata_model_assessment({
|
10818
|
+
# migration_project_identifier: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
10819
|
+
# selection_rules: "{\"rules\": [{\"rule-type\": \"selection\",\"rule-id\": \"1\",\"rule-name\": \"1\",\"object-locator\": {\"server-name\": \"aurora-pg.cluster-0a1b2c3d4e5f.us-east-1.rds.amazonaws.com\", \"schema-name\": \"schema1\", \"table-name\": \"Cities\"},\"rule-action\": \"explicit\"} ]}",
|
10820
|
+
# })
|
10821
|
+
#
|
10822
|
+
# resp.to_h outputs the following:
|
10823
|
+
# {
|
10824
|
+
# request_identifier: "01234567-89ab-cdef-0123-456789abcdef",
|
10825
|
+
# }
|
10826
|
+
#
|
10064
10827
|
# @example Request syntax with placeholder values
|
10065
10828
|
#
|
10066
10829
|
# resp = client.start_metadata_model_assessment({
|
@@ -10094,6 +10857,21 @@ module Aws::DatabaseMigrationService
|
|
10094
10857
|
#
|
10095
10858
|
# * {Types::StartMetadataModelConversionResponse#request_identifier #request_identifier} => String
|
10096
10859
|
#
|
10860
|
+
#
|
10861
|
+
# @example Example: Start Metadata Model Conversion
|
10862
|
+
#
|
10863
|
+
# # Converts your source database objects to a format compatible with the target database.
|
10864
|
+
#
|
10865
|
+
# resp = client.start_metadata_model_conversion({
|
10866
|
+
# migration_project_identifier: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
10867
|
+
# selection_rules: "{\"rules\": [{\"rule-type\": \"selection\",\"rule-id\": \"1\",\"rule-name\": \"1\",\"object-locator\": {\"server-name\": \"aurora-pg.cluster-0a1b2c3d4e5f.us-east-1.rds.amazonaws.com\", \"schema-name\": \"schema1\", \"table-name\": \"Cities\"},\"rule-action\": \"explicit\"} ]}",
|
10868
|
+
# })
|
10869
|
+
#
|
10870
|
+
# resp.to_h outputs the following:
|
10871
|
+
# {
|
10872
|
+
# request_identifier: "01234567-89ab-cdef-0123-456789abcdef",
|
10873
|
+
# }
|
10874
|
+
#
|
10097
10875
|
# @example Request syntax with placeholder values
|
10098
10876
|
#
|
10099
10877
|
# resp = client.start_metadata_model_conversion({
|
@@ -10133,6 +10911,23 @@ module Aws::DatabaseMigrationService
|
|
10133
10911
|
#
|
10134
10912
|
# * {Types::StartMetadataModelExportAsScriptResponse#request_identifier #request_identifier} => String
|
10135
10913
|
#
|
10914
|
+
#
|
10915
|
+
# @example Example: Start Metadata Model Export As Script
|
10916
|
+
#
|
10917
|
+
# # Saves your converted code to a file as a SQL script, and stores this file on your S3 bucket.
|
10918
|
+
#
|
10919
|
+
# resp = client.start_metadata_model_export_as_script({
|
10920
|
+
# file_name: "FILE",
|
10921
|
+
# migration_project_identifier: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
10922
|
+
# origin: "SOURCE",
|
10923
|
+
# selection_rules: "{\"rules\": [{\"rule-type\": \"selection\",\"rule-id\": \"1\",\"rule-name\": \"1\",\"object-locator\": {\"server-name\": \"aurora-pg.cluster-0a1b2c3d4e5f.us-east-1.rds.amazonaws.com\", \"schema-name\": \"schema1\", \"table-name\": \"Cities\"},\"rule-action\": \"explicit\"} ]}",
|
10924
|
+
# })
|
10925
|
+
#
|
10926
|
+
# resp.to_h outputs the following:
|
10927
|
+
# {
|
10928
|
+
# request_identifier: "01234567-89ab-cdef-0123-456789abcdef",
|
10929
|
+
# }
|
10930
|
+
#
|
10136
10931
|
# @example Request syntax with placeholder values
|
10137
10932
|
#
|
10138
10933
|
# resp = client.start_metadata_model_export_as_script({
|
@@ -10173,6 +10968,22 @@ module Aws::DatabaseMigrationService
|
|
10173
10968
|
#
|
10174
10969
|
# * {Types::StartMetadataModelExportToTargetResponse#request_identifier #request_identifier} => String
|
10175
10970
|
#
|
10971
|
+
#
|
10972
|
+
# @example Example: Start Metadata Model Export To Target
|
10973
|
+
#
|
10974
|
+
# # Applies converted database objects to your target database.
|
10975
|
+
#
|
10976
|
+
# resp = client.start_metadata_model_export_to_target({
|
10977
|
+
# migration_project_identifier: "arn:aws:dms:us-east-1:012345678901:migration-project:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345",
|
10978
|
+
# overwrite_extension_pack: true,
|
10979
|
+
# selection_rules: "{\"rules\": [{\"rule-type\": \"selection\",\"rule-id\": \"1\",\"rule-name\": \"1\",\"object-locator\": {\"server-name\": \"aurora-pg.cluster-a1b2c3d4e5f6.us-east-1.rds.amazonaws.com\", \"schema-name\": \"schema1\", \"table-name\": \"Cities\"},\"rule-action\": \"explicit\"} ]}",
|
10980
|
+
# })
|
10981
|
+
#
|
10982
|
+
# resp.to_h outputs the following:
|
10983
|
+
# {
|
10984
|
+
# request_identifier: "01234567-89ab-cdef-0123-456789abcdef",
|
10985
|
+
# }
|
10986
|
+
#
|
10176
10987
|
# @example Request syntax with placeholder values
|
10177
10988
|
#
|
10178
10989
|
# resp = client.start_metadata_model_export_to_target({
|
@@ -10217,6 +11028,23 @@ module Aws::DatabaseMigrationService
|
|
10217
11028
|
#
|
10218
11029
|
# * {Types::StartMetadataModelImportResponse#request_identifier #request_identifier} => String
|
10219
11030
|
#
|
11031
|
+
#
|
11032
|
+
# @example Example: Start Metadata Model Import
|
11033
|
+
#
|
11034
|
+
# # Loads the metadata for all the dependent database objects of the parent object.
|
11035
|
+
#
|
11036
|
+
# resp = client.start_metadata_model_import({
|
11037
|
+
# migration_project_identifier: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
11038
|
+
# origin: "SOURCE",
|
11039
|
+
# refresh: false,
|
11040
|
+
# selection_rules: "{\"rules\": [{\"rule-type\": \"selection\",\"rule-id\": \"1\",\"rule-name\": \"1\",\"object-locator\": {\"server-name\": \"aurora-pg.cluster-0a1b2c3d4e5f.us-east-1.rds.amazonaws.com\", \"schema-name\": \"schema1\", \"table-name\": \"Cities\"},\"rule-action\": \"explicit\"} ]}",
|
11041
|
+
# })
|
11042
|
+
#
|
11043
|
+
# resp.to_h outputs the following:
|
11044
|
+
# {
|
11045
|
+
# request_identifier: "01234567-89ab-cdef-0123-456789abcdef",
|
11046
|
+
# }
|
11047
|
+
#
|
10220
11048
|
# @example Request syntax with placeholder values
|
10221
11049
|
#
|
10222
11050
|
# resp = client.start_metadata_model_import({
|
@@ -10450,8 +11278,8 @@ module Aws::DatabaseMigrationService
|
|
10450
11278
|
# Server time example: --cdc-stop-position
|
10451
11279
|
# “server\_time:2018-02-09T12:12:12”
|
10452
11280
|
#
|
10453
|
-
# Commit time example: --cdc-stop-position
|
10454
|
-
# 2018-02-09T12:12:12“
|
11281
|
+
# Commit time example: --cdc-stop-position
|
11282
|
+
# “commit\_time:2018-02-09T12:12:12“
|
10455
11283
|
#
|
10456
11284
|
# @return [Types::StartReplicationTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
10457
11285
|
#
|
@@ -10932,12 +11760,12 @@ module Aws::DatabaseMigrationService
|
|
10932
11760
|
# Migrates 10 active and enabled Amazon SNS subscriptions at a time and
|
10933
11761
|
# converts them to corresponding Amazon EventBridge rules. By default,
|
10934
11762
|
# this operation migrates subscriptions only when all your replication
|
10935
|
-
# instance versions are 3.4.
|
10936
|
-
# are from versions earlier than 3.4.
|
10937
|
-
# and tells you to upgrade these instances to version 3.4.
|
11763
|
+
# instance versions are 3.4.5 or higher. If any replication instances
|
11764
|
+
# are from versions earlier than 3.4.5, the operation raises an error
|
11765
|
+
# and tells you to upgrade these instances to version 3.4.5 or higher.
|
10938
11766
|
# To enable migration regardless of version, set the `Force` option to
|
10939
11767
|
# true. However, if you don't upgrade instances earlier than version
|
10940
|
-
# 3.4.
|
11768
|
+
# 3.4.5, some types of events might not be available when you use Amazon
|
10941
11769
|
# EventBridge.
|
10942
11770
|
#
|
10943
11771
|
# To call this operation, make sure that you have certain permissions
|
@@ -10953,7 +11781,7 @@ module Aws::DatabaseMigrationService
|
|
10953
11781
|
# When set to true, this operation migrates DMS subscriptions for Amazon
|
10954
11782
|
# SNS notifications no matter what your replication instance version is.
|
10955
11783
|
# If not set or set to false, this operation runs only when all your
|
10956
|
-
# replication instances are from DMS version 3.4.
|
11784
|
+
# replication instances are from DMS version 3.4.5 or higher.
|
10957
11785
|
#
|
10958
11786
|
# @return [Types::UpdateSubscriptionsToEventBridgeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
10959
11787
|
#
|
@@ -10991,7 +11819,7 @@ module Aws::DatabaseMigrationService
|
|
10991
11819
|
params: params,
|
10992
11820
|
config: config)
|
10993
11821
|
context[:gem_name] = 'aws-sdk-databasemigrationservice'
|
10994
|
-
context[:gem_version] = '1.
|
11822
|
+
context[:gem_version] = '1.88.0'
|
10995
11823
|
Seahorse::Client::Request.new(handlers, context)
|
10996
11824
|
end
|
10997
11825
|
|