Skip to content

Commit bf0452d

Browse files
author
AWS
committed
AWS Database Migration Service Update: Adding DocDbSettings to support DocumentDB as a source.
1 parent d7e2590 commit bf0452d

File tree

2 files changed

+57
-3
lines changed

2 files changed

+57
-3
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Database Migration Service",
4+
"contributor": "",
5+
"description": "Adding DocDbSettings to support DocumentDB as a source."
6+
}

services/databasemigration/src/main/resources/codegen-resources/service-2.json

Lines changed: 51 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1160,7 +1160,8 @@
11601160
"ResourceIdentifier":{
11611161
"shape":"String",
11621162
"documentation":"<p>A friendly name for the resource identifier at the end of the <code>EndpointArn</code> response parameter that is returned in the created <code>Endpoint</code> object. The value for this parameter can have up to 31 characters. It can contain only ASCII letters, digits, and hyphen ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter, such as <code>Example-App-ARN1</code>. For example, this value might result in the <code>EndpointArn</code> value <code>arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1</code>. If you don't specify a <code>ResourceIdentifier</code> value, AWS DMS generates a default identifier value for the end of <code>EndpointArn</code>.</p>"
1163-
}
1163+
},
1164+
"DocDbSettings":{"shape":"DocDbSettings"}
11641165
},
11651166
"documentation":"<p/>"
11661167
},
@@ -2337,6 +2338,48 @@
23372338
},
23382339
"documentation":"<p> The settings in JSON format for the DMS Transfer type source endpoint. </p>"
23392340
},
2341+
"DocDbSettings":{
2342+
"type":"structure",
2343+
"members":{
2344+
"Username":{
2345+
"shape":"String",
2346+
"documentation":"<p>The user name you use to access the DocumentDB source endpoint. </p>"
2347+
},
2348+
"Password":{
2349+
"shape":"SecretString",
2350+
"documentation":"<p> The password for the user account you use to access the DocumentDB source endpoint. </p>"
2351+
},
2352+
"ServerName":{
2353+
"shape":"String",
2354+
"documentation":"<p> The name of the server on the DocumentDB source endpoint. </p>"
2355+
},
2356+
"Port":{
2357+
"shape":"IntegerOptional",
2358+
"documentation":"<p> The port value for the DocumentDB source endpoint. </p>"
2359+
},
2360+
"DatabaseName":{
2361+
"shape":"String",
2362+
"documentation":"<p> The database name on the DocumentDB source endpoint. </p>"
2363+
},
2364+
"NestingLevel":{
2365+
"shape":"NestingLevelValue",
2366+
"documentation":"<p> Specifies either document or table mode. </p> <p>Default value is <code>\"none\"</code>. Specify <code>\"none\"</code> to use document mode. Specify <code>\"one\"</code> to use table mode.</p>"
2367+
},
2368+
"ExtractDocId":{
2369+
"shape":"BooleanOptional",
2370+
"documentation":"<p> Specifies the document ID. Use this setting when <code>NestingLevel</code> is set to <code>\"none\"</code>. </p> <p>Default value is <code>\"false\"</code>. </p>"
2371+
},
2372+
"DocsToInvestigate":{
2373+
"shape":"IntegerOptional",
2374+
"documentation":"<p> Indicates the number of documents to preview to determine the document organization. Use this setting when <code>NestingLevel</code> is set to <code>\"one\"</code>. </p> <p>Must be a positive value greater than <code>0</code>. Default value is <code>1000</code>.</p>"
2375+
},
2376+
"KmsKeyId":{
2377+
"shape":"String",
2378+
"documentation":"<p>The AWS KMS key identifier that is used to encrypt the content on the replication instance. If you don't specify a value for the <code>KmsKeyId</code> parameter, then AWS DMS uses your default encryption key. AWS KMS creates the default encryption key for your AWS account. Your AWS account has a different default encryption key for each AWS Region.</p>"
2379+
}
2380+
},
2381+
"documentation":"<p>Provides information that defines a DocumentDB endpoint.</p>"
2382+
},
23402383
"DynamoDbSettings":{
23412384
"type":"structure",
23422385
"required":["ServiceAccessRoleArn"],
@@ -2519,7 +2562,8 @@
25192562
"IBMDb2Settings":{
25202563
"shape":"IBMDb2Settings",
25212564
"documentation":"<p>The settings for the IBM Db2 LUW source endpoint. For more information, see the <code>IBMDb2Settings</code> structure. </p>"
2522-
}
2565+
},
2566+
"DocDbSettings":{"shape":"DocDbSettings"}
25232567
},
25242568
"documentation":"<p>Describes an endpoint of a database instance in response to operations such as the following:</p> <ul> <li> <p> <code>CreateEndpoint</code> </p> </li> <li> <p> <code>DescribeEndpoint</code> </p> </li> <li> <p> <code>DescribeEndpointTypes</code> </p> </li> <li> <p> <code>ModifyEndpoint</code> </p> </li> </ul>"
25252569
},
@@ -3126,6 +3170,10 @@
31263170
"IBMDb2Settings":{
31273171
"shape":"IBMDb2Settings",
31283172
"documentation":"<p>Settings in JSON format for the source IBM Db2 LUW endpoint. For information about other available settings, see <a href=\"https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.DB2.ConnectionAttrib\">Extra connection attributes when using Db2 LUW as a source for AWS DMS</a> in the <i>AWS Database Migration Service User Guide.</i> </p>"
3173+
},
3174+
"DocDbSettings":{
3175+
"shape":"DocDbSettings",
3176+
"documentation":"<p>Settings in JSON format for the source DocumentDB endpoint. For more information about the available settings, see the configuration properties section in <a href=\"https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.DocumentDB.html\"> Using DocumentDB as a Target for AWS Database Migration Service</a> in the <i>AWS Database Migration Service User Guide.</i> </p>"
31293177
}
31303178
},
31313179
"documentation":"<p/>"
@@ -4641,7 +4689,7 @@
46414689
},
46424690
"DatePartitionEnabled":{
46434691
"shape":"BooleanOptional",
4644-
"documentation":"<p>When set to <code>true</code>, this parameter partitions S3 bucket folders based on transaction commit dates. The default value is <code>false</code>. For more information about date-based folder partitoning, see <a href=\"https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.PostgreSQL.html#CHAP_Source.PostgreSQL.ConnectionAttrib\">Using date-based folder partitioning</a> </p>"
4692+
"documentation":"<p>When set to <code>true</code>, this parameter partitions S3 bucket folders based on transaction commit dates. The default value is <code>false</code>. For more information about date-based folder partitoning, see <a href=\"https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.S3.html#CHAP_Target.S3.DatePartitioning\">Using date-based folder partitioning</a>.</p>"
46454693
},
46464694
"DatePartitionSequence":{
46474695
"shape":"DatePartitionSequenceValue",

0 commit comments

Comments
 (0)