Skip to content

Commit 28ddff5

Browse files
author
awstools
committed
feat(client-database-migration-service): new vendors for DMS CSF: MongoDB, MariaDB, DocumentDb and Redshift
1 parent 987ec95 commit 28ddff5

File tree

11 files changed

+1942
-574
lines changed

11 files changed

+1942
-574
lines changed

clients/client-database-migration-service/src/commands/CreateDataProviderCommand.ts

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ export interface CreateDataProviderCommandOutput extends CreateDataProviderRespo
5454
* Description: "STRING_VALUE",
5555
* Engine: "STRING_VALUE", // required
5656
* Settings: { // DataProviderSettings Union: only one key present
57+
* RedshiftSettings: { // RedshiftDataProviderSettings
58+
* ServerName: "STRING_VALUE",
59+
* Port: Number("int"),
60+
* DatabaseName: "STRING_VALUE",
61+
* },
5762
* PostgreSqlSettings: { // PostgreSqlDataProviderSettings
5863
* ServerName: "STRING_VALUE",
5964
* Port: Number("int"),
@@ -86,6 +91,29 @@ export interface CreateDataProviderCommandOutput extends CreateDataProviderRespo
8691
* SslMode: "none" || "require" || "verify-ca" || "verify-full",
8792
* CertificateArn: "STRING_VALUE",
8893
* },
94+
* DocDbSettings: { // DocDbDataProviderSettings
95+
* ServerName: "STRING_VALUE",
96+
* Port: Number("int"),
97+
* DatabaseName: "STRING_VALUE",
98+
* SslMode: "none" || "require" || "verify-ca" || "verify-full",
99+
* CertificateArn: "STRING_VALUE",
100+
* },
101+
* MariaDbSettings: { // MariaDbDataProviderSettings
102+
* ServerName: "STRING_VALUE",
103+
* Port: Number("int"),
104+
* SslMode: "none" || "require" || "verify-ca" || "verify-full",
105+
* CertificateArn: "STRING_VALUE",
106+
* },
107+
* MongoDbSettings: { // MongoDbDataProviderSettings
108+
* ServerName: "STRING_VALUE",
109+
* Port: Number("int"),
110+
* DatabaseName: "STRING_VALUE",
111+
* SslMode: "none" || "require" || "verify-ca" || "verify-full",
112+
* CertificateArn: "STRING_VALUE",
113+
* AuthType: "no" || "password",
114+
* AuthSource: "STRING_VALUE",
115+
* AuthMechanism: "default" || "mongodb_cr" || "scram_sha_1",
116+
* },
89117
* },
90118
* Tags: [ // TagList
91119
* { // Tag
@@ -105,6 +133,11 @@ export interface CreateDataProviderCommandOutput extends CreateDataProviderRespo
105133
* // Description: "STRING_VALUE",
106134
* // Engine: "STRING_VALUE",
107135
* // Settings: { // DataProviderSettings Union: only one key present
136+
* // RedshiftSettings: { // RedshiftDataProviderSettings
137+
* // ServerName: "STRING_VALUE",
138+
* // Port: Number("int"),
139+
* // DatabaseName: "STRING_VALUE",
140+
* // },
108141
* // PostgreSqlSettings: { // PostgreSqlDataProviderSettings
109142
* // ServerName: "STRING_VALUE",
110143
* // Port: Number("int"),
@@ -137,6 +170,29 @@ export interface CreateDataProviderCommandOutput extends CreateDataProviderRespo
137170
* // SslMode: "none" || "require" || "verify-ca" || "verify-full",
138171
* // CertificateArn: "STRING_VALUE",
139172
* // },
173+
* // DocDbSettings: { // DocDbDataProviderSettings
174+
* // ServerName: "STRING_VALUE",
175+
* // Port: Number("int"),
176+
* // DatabaseName: "STRING_VALUE",
177+
* // SslMode: "none" || "require" || "verify-ca" || "verify-full",
178+
* // CertificateArn: "STRING_VALUE",
179+
* // },
180+
* // MariaDbSettings: { // MariaDbDataProviderSettings
181+
* // ServerName: "STRING_VALUE",
182+
* // Port: Number("int"),
183+
* // SslMode: "none" || "require" || "verify-ca" || "verify-full",
184+
* // CertificateArn: "STRING_VALUE",
185+
* // },
186+
* // MongoDbSettings: { // MongoDbDataProviderSettings
187+
* // ServerName: "STRING_VALUE",
188+
* // Port: Number("int"),
189+
* // DatabaseName: "STRING_VALUE",
190+
* // SslMode: "none" || "require" || "verify-ca" || "verify-full",
191+
* // CertificateArn: "STRING_VALUE",
192+
* // AuthType: "no" || "password",
193+
* // AuthSource: "STRING_VALUE",
194+
* // AuthMechanism: "default" || "mongodb_cr" || "scram_sha_1",
195+
* // },
140196
* // },
141197
* // },
142198
* // };

clients/client-database-migration-service/src/commands/CreateReplicationInstanceCommand.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ export interface CreateReplicationInstanceCommandOutput extends CreateReplicatio
4747
* <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Security.html#CHAP_Security.APIRole">Creating the IAM Roles to Use With the CLI and DMS API</a>. For
4848
* information on the required permissions, see
4949
* <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Security.html#CHAP_Security.IAMPermissions">IAM Permissions Needed to Use DMS</a>.</p>
50+
* <note>
51+
* <p>If you don't specify a version when creating a replication instance, DMS will create the instance using the
52+
* default engine version. For information about the default engine version, see
53+
* <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_ReleaseNotes.html">Release Notes</a>.</p>
54+
* </note>
5055
* @example
5156
* Use a bare-bones client and the command you need to make an API call.
5257
* ```javascript

clients/client-database-migration-service/src/commands/DeleteDataProviderCommand.ts

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@ export interface DeleteDataProviderCommandOutput extends DeleteDataProviderRespo
6565
* // Description: "STRING_VALUE",
6666
* // Engine: "STRING_VALUE",
6767
* // Settings: { // DataProviderSettings Union: only one key present
68+
* // RedshiftSettings: { // RedshiftDataProviderSettings
69+
* // ServerName: "STRING_VALUE",
70+
* // Port: Number("int"),
71+
* // DatabaseName: "STRING_VALUE",
72+
* // },
6873
* // PostgreSqlSettings: { // PostgreSqlDataProviderSettings
6974
* // ServerName: "STRING_VALUE",
7075
* // Port: Number("int"),
@@ -97,6 +102,29 @@ export interface DeleteDataProviderCommandOutput extends DeleteDataProviderRespo
97102
* // SslMode: "none" || "require" || "verify-ca" || "verify-full",
98103
* // CertificateArn: "STRING_VALUE",
99104
* // },
105+
* // DocDbSettings: { // DocDbDataProviderSettings
106+
* // ServerName: "STRING_VALUE",
107+
* // Port: Number("int"),
108+
* // DatabaseName: "STRING_VALUE",
109+
* // SslMode: "none" || "require" || "verify-ca" || "verify-full",
110+
* // CertificateArn: "STRING_VALUE",
111+
* // },
112+
* // MariaDbSettings: { // MariaDbDataProviderSettings
113+
* // ServerName: "STRING_VALUE",
114+
* // Port: Number("int"),
115+
* // SslMode: "none" || "require" || "verify-ca" || "verify-full",
116+
* // CertificateArn: "STRING_VALUE",
117+
* // },
118+
* // MongoDbSettings: { // MongoDbDataProviderSettings
119+
* // ServerName: "STRING_VALUE",
120+
* // Port: Number("int"),
121+
* // DatabaseName: "STRING_VALUE",
122+
* // SslMode: "none" || "require" || "verify-ca" || "verify-full",
123+
* // CertificateArn: "STRING_VALUE",
124+
* // AuthType: "no" || "password",
125+
* // AuthSource: "STRING_VALUE",
126+
* // AuthMechanism: "default" || "mongodb_cr" || "scram_sha_1",
127+
* // },
100128
* // },
101129
* // },
102130
* // };

clients/client-database-migration-service/src/commands/DescribeDataProvidersCommand.ts

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@ export interface DescribeDataProvidersCommandOutput extends DescribeDataProvider
7272
* // Description: "STRING_VALUE",
7373
* // Engine: "STRING_VALUE",
7474
* // Settings: { // DataProviderSettings Union: only one key present
75+
* // RedshiftSettings: { // RedshiftDataProviderSettings
76+
* // ServerName: "STRING_VALUE",
77+
* // Port: Number("int"),
78+
* // DatabaseName: "STRING_VALUE",
79+
* // },
7580
* // PostgreSqlSettings: { // PostgreSqlDataProviderSettings
7681
* // ServerName: "STRING_VALUE",
7782
* // Port: Number("int"),
@@ -104,6 +109,29 @@ export interface DescribeDataProvidersCommandOutput extends DescribeDataProvider
104109
* // SslMode: "none" || "require" || "verify-ca" || "verify-full",
105110
* // CertificateArn: "STRING_VALUE",
106111
* // },
112+
* // DocDbSettings: { // DocDbDataProviderSettings
113+
* // ServerName: "STRING_VALUE",
114+
* // Port: Number("int"),
115+
* // DatabaseName: "STRING_VALUE",
116+
* // SslMode: "none" || "require" || "verify-ca" || "verify-full",
117+
* // CertificateArn: "STRING_VALUE",
118+
* // },
119+
* // MariaDbSettings: { // MariaDbDataProviderSettings
120+
* // ServerName: "STRING_VALUE",
121+
* // Port: Number("int"),
122+
* // SslMode: "none" || "require" || "verify-ca" || "verify-full",
123+
* // CertificateArn: "STRING_VALUE",
124+
* // },
125+
* // MongoDbSettings: { // MongoDbDataProviderSettings
126+
* // ServerName: "STRING_VALUE",
127+
* // Port: Number("int"),
128+
* // DatabaseName: "STRING_VALUE",
129+
* // SslMode: "none" || "require" || "verify-ca" || "verify-full",
130+
* // CertificateArn: "STRING_VALUE",
131+
* // AuthType: "no" || "password",
132+
* // AuthSource: "STRING_VALUE",
133+
* // AuthMechanism: "default" || "mongodb_cr" || "scram_sha_1",
134+
* // },
107135
* // },
108136
* // },
109137
* // ],

clients/client-database-migration-service/src/commands/ModifyDataProviderCommand.ts

Lines changed: 57 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import {
1919
ServiceInputTypes,
2020
ServiceOutputTypes,
2121
} from "../DatabaseMigrationServiceClient";
22-
import { ModifyDataProviderMessage, ModifyDataProviderResponse } from "../models/models_0";
22+
import { ModifyDataProviderMessage, ModifyDataProviderResponse } from "../models/models_1";
2323
import { de_ModifyDataProviderCommand, se_ModifyDataProviderCommand } from "../protocols/Aws_json1_1";
2424

2525
/**
@@ -58,6 +58,11 @@ export interface ModifyDataProviderCommandOutput extends ModifyDataProviderRespo
5858
* Engine: "STRING_VALUE",
5959
* ExactSettings: true || false,
6060
* Settings: { // DataProviderSettings Union: only one key present
61+
* RedshiftSettings: { // RedshiftDataProviderSettings
62+
* ServerName: "STRING_VALUE",
63+
* Port: Number("int"),
64+
* DatabaseName: "STRING_VALUE",
65+
* },
6166
* PostgreSqlSettings: { // PostgreSqlDataProviderSettings
6267
* ServerName: "STRING_VALUE",
6368
* Port: Number("int"),
@@ -90,6 +95,29 @@ export interface ModifyDataProviderCommandOutput extends ModifyDataProviderRespo
9095
* SslMode: "none" || "require" || "verify-ca" || "verify-full",
9196
* CertificateArn: "STRING_VALUE",
9297
* },
98+
* DocDbSettings: { // DocDbDataProviderSettings
99+
* ServerName: "STRING_VALUE",
100+
* Port: Number("int"),
101+
* DatabaseName: "STRING_VALUE",
102+
* SslMode: "none" || "require" || "verify-ca" || "verify-full",
103+
* CertificateArn: "STRING_VALUE",
104+
* },
105+
* MariaDbSettings: { // MariaDbDataProviderSettings
106+
* ServerName: "STRING_VALUE",
107+
* Port: Number("int"),
108+
* SslMode: "none" || "require" || "verify-ca" || "verify-full",
109+
* CertificateArn: "STRING_VALUE",
110+
* },
111+
* MongoDbSettings: { // MongoDbDataProviderSettings
112+
* ServerName: "STRING_VALUE",
113+
* Port: Number("int"),
114+
* DatabaseName: "STRING_VALUE",
115+
* SslMode: "none" || "require" || "verify-ca" || "verify-full",
116+
* CertificateArn: "STRING_VALUE",
117+
* AuthType: "no" || "password",
118+
* AuthSource: "STRING_VALUE",
119+
* AuthMechanism: "default" || "mongodb_cr" || "scram_sha_1",
120+
* },
93121
* },
94122
* };
95123
* const command = new ModifyDataProviderCommand(input);
@@ -102,6 +130,11 @@ export interface ModifyDataProviderCommandOutput extends ModifyDataProviderRespo
102130
* // Description: "STRING_VALUE",
103131
* // Engine: "STRING_VALUE",
104132
* // Settings: { // DataProviderSettings Union: only one key present
133+
* // RedshiftSettings: { // RedshiftDataProviderSettings
134+
* // ServerName: "STRING_VALUE",
135+
* // Port: Number("int"),
136+
* // DatabaseName: "STRING_VALUE",
137+
* // },
105138
* // PostgreSqlSettings: { // PostgreSqlDataProviderSettings
106139
* // ServerName: "STRING_VALUE",
107140
* // Port: Number("int"),
@@ -134,6 +167,29 @@ export interface ModifyDataProviderCommandOutput extends ModifyDataProviderRespo
134167
* // SslMode: "none" || "require" || "verify-ca" || "verify-full",
135168
* // CertificateArn: "STRING_VALUE",
136169
* // },
170+
* // DocDbSettings: { // DocDbDataProviderSettings
171+
* // ServerName: "STRING_VALUE",
172+
* // Port: Number("int"),
173+
* // DatabaseName: "STRING_VALUE",
174+
* // SslMode: "none" || "require" || "verify-ca" || "verify-full",
175+
* // CertificateArn: "STRING_VALUE",
176+
* // },
177+
* // MariaDbSettings: { // MariaDbDataProviderSettings
178+
* // ServerName: "STRING_VALUE",
179+
* // Port: Number("int"),
180+
* // SslMode: "none" || "require" || "verify-ca" || "verify-full",
181+
* // CertificateArn: "STRING_VALUE",
182+
* // },
183+
* // MongoDbSettings: { // MongoDbDataProviderSettings
184+
* // ServerName: "STRING_VALUE",
185+
* // Port: Number("int"),
186+
* // DatabaseName: "STRING_VALUE",
187+
* // SslMode: "none" || "require" || "verify-ca" || "verify-full",
188+
* // CertificateArn: "STRING_VALUE",
189+
* // AuthType: "no" || "password",
190+
* // AuthSource: "STRING_VALUE",
191+
* // AuthMechanism: "default" || "mongodb_cr" || "scram_sha_1",
192+
* // },
137193
* // },
138194
* // },
139195
* // };

clients/client-database-migration-service/src/commands/ModifyEndpointCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import {
2424
ModifyEndpointMessageFilterSensitiveLog,
2525
ModifyEndpointResponse,
2626
ModifyEndpointResponseFilterSensitiveLog,
27-
} from "../models/models_0";
27+
} from "../models/models_1";
2828
import { de_ModifyEndpointCommand, se_ModifyEndpointCommand } from "../protocols/Aws_json1_1";
2929

3030
/**

clients/client-database-migration-service/src/commands/UpdateSubscriptionsToEventBridgeCommand.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ export interface UpdateSubscriptionsToEventBridgeCommandOutput
4747
/**
4848
* @public
4949
* <p>Migrates 10 active and enabled Amazon SNS subscriptions at a time and converts them to corresponding Amazon EventBridge rules.
50-
* By default, this operation migrates subscriptions only when all your replication instance versions are 3.4.6 or higher.
51-
* If any replication instances are from versions earlier than 3.4.6, the operation raises an error and tells you
52-
* to upgrade these instances to version 3.4.6 or higher. To enable migration regardless of version, set the <code>Force</code>
53-
* option to true. However, if you don't upgrade instances earlier than version 3.4.6, some types of events might not be
50+
* By default, this operation migrates subscriptions only when all your replication instance versions are 3.4.5 or higher.
51+
* If any replication instances are from versions earlier than 3.4.5, the operation raises an error and tells you
52+
* to upgrade these instances to version 3.4.5 or higher. To enable migration regardless of version, set the <code>Force</code>
53+
* option to true. However, if you don't upgrade instances earlier than version 3.4.5, some types of events might not be
5454
* available when you use Amazon EventBridge.</p>
5555
* <p>To call this operation, make sure that you have certain permissions added to your user account.
5656
* For more information, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html#CHAP_Events-migrate-to-eventbridge">Migrating event subscriptions to Amazon EventBridge</a>

0 commit comments

Comments
 (0)