@aws-sdk/client-docdb 3.28.0 → 3.32.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.
- package/CHANGELOG.md +35 -0
- package/commands/CreateDBClusterCommand.ts +0 -2
- package/dist/cjs/commands/CreateDBClusterCommand.js +0 -2
- package/dist/cjs/commands/CreateDBClusterCommand.js.map +1 -1
- package/dist/cjs/package.json +33 -33
- package/dist/cjs/protocols/Aws_query.js +25 -25
- package/dist/cjs/protocols/Aws_query.js.map +1 -1
- package/dist/es/commands/CreateDBClusterCommand.js +0 -2
- package/dist/es/commands/CreateDBClusterCommand.js.map +1 -1
- package/dist/es/endpoints.js +1 -2
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/package.json +33 -33
- package/dist/es/protocols/Aws_query.js +26 -26
- package/dist/es/protocols/Aws_query.js.map +1 -1
- package/package.json +33 -33
- package/protocols/Aws_query.ts +28 -26
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-docdb",
|
|
3
3
|
"description": "AWS SDK for JavaScript Docdb Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.32.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
|
|
7
7
|
"build-documentation": "yarn remove-documentation && typedoc ./",
|
|
@@ -27,49 +27,49 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-crypto/sha256-browser": "^1.0.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "^1.0.0",
|
|
30
|
-
"@aws-sdk/client-sts": "3.
|
|
31
|
-
"@aws-sdk/config-resolver": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
33
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
34
|
-
"@aws-sdk/hash-node": "3.
|
|
35
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
36
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
37
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
38
|
-
"@aws-sdk/middleware-logger": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
-
"@aws-sdk/middleware-sdk-rds": "3.
|
|
41
|
-
"@aws-sdk/middleware-serde": "3.
|
|
42
|
-
"@aws-sdk/middleware-signing": "3.
|
|
43
|
-
"@aws-sdk/middleware-stack": "3.
|
|
44
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
45
|
-
"@aws-sdk/node-config-provider": "3.
|
|
46
|
-
"@aws-sdk/node-http-handler": "3.
|
|
47
|
-
"@aws-sdk/protocol-http": "3.
|
|
48
|
-
"@aws-sdk/smithy-client": "3.
|
|
49
|
-
"@aws-sdk/types": "3.
|
|
50
|
-
"@aws-sdk/url-parser": "3.
|
|
51
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
52
|
-
"@aws-sdk/util-base64-node": "3.
|
|
53
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
54
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
56
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
57
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
58
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
59
|
-
"@aws-sdk/util-waiter": "3.
|
|
30
|
+
"@aws-sdk/client-sts": "3.32.0",
|
|
31
|
+
"@aws-sdk/config-resolver": "3.32.0",
|
|
32
|
+
"@aws-sdk/credential-provider-node": "3.32.0",
|
|
33
|
+
"@aws-sdk/fetch-http-handler": "3.32.0",
|
|
34
|
+
"@aws-sdk/hash-node": "3.32.0",
|
|
35
|
+
"@aws-sdk/invalid-dependency": "3.32.0",
|
|
36
|
+
"@aws-sdk/middleware-content-length": "3.32.0",
|
|
37
|
+
"@aws-sdk/middleware-host-header": "3.32.0",
|
|
38
|
+
"@aws-sdk/middleware-logger": "3.32.0",
|
|
39
|
+
"@aws-sdk/middleware-retry": "3.32.0",
|
|
40
|
+
"@aws-sdk/middleware-sdk-rds": "3.32.0",
|
|
41
|
+
"@aws-sdk/middleware-serde": "3.32.0",
|
|
42
|
+
"@aws-sdk/middleware-signing": "3.32.0",
|
|
43
|
+
"@aws-sdk/middleware-stack": "3.32.0",
|
|
44
|
+
"@aws-sdk/middleware-user-agent": "3.32.0",
|
|
45
|
+
"@aws-sdk/node-config-provider": "3.32.0",
|
|
46
|
+
"@aws-sdk/node-http-handler": "3.32.0",
|
|
47
|
+
"@aws-sdk/protocol-http": "3.32.0",
|
|
48
|
+
"@aws-sdk/smithy-client": "3.32.0",
|
|
49
|
+
"@aws-sdk/types": "3.32.0",
|
|
50
|
+
"@aws-sdk/url-parser": "3.32.0",
|
|
51
|
+
"@aws-sdk/util-base64-browser": "3.32.0",
|
|
52
|
+
"@aws-sdk/util-base64-node": "3.32.0",
|
|
53
|
+
"@aws-sdk/util-body-length-browser": "3.32.0",
|
|
54
|
+
"@aws-sdk/util-body-length-node": "3.32.0",
|
|
55
|
+
"@aws-sdk/util-user-agent-browser": "3.32.0",
|
|
56
|
+
"@aws-sdk/util-user-agent-node": "3.32.0",
|
|
57
|
+
"@aws-sdk/util-utf8-browser": "3.32.0",
|
|
58
|
+
"@aws-sdk/util-utf8-node": "3.32.0",
|
|
59
|
+
"@aws-sdk/util-waiter": "3.32.0",
|
|
60
60
|
"entities": "2.2.0",
|
|
61
61
|
"fast-xml-parser": "3.19.0",
|
|
62
62
|
"tslib": "^2.3.0"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
65
|
+
"@aws-sdk/client-documentation-generator": "3.32.0",
|
|
66
66
|
"@types/node": "^12.7.5",
|
|
67
67
|
"downlevel-dts": "0.7.0",
|
|
68
68
|
"jest": "^26.1.0",
|
|
69
69
|
"rimraf": "^3.0.0",
|
|
70
70
|
"ts-jest": "^26.4.1",
|
|
71
71
|
"typedoc": "^0.19.2",
|
|
72
|
-
"typescript": "~4.3.
|
|
72
|
+
"typescript": "~4.3.5"
|
|
73
73
|
},
|
|
74
74
|
"engines": {
|
|
75
75
|
"node": ">=10.0.0"
|
package/protocols/Aws_query.ts
CHANGED
|
@@ -365,12 +365,14 @@ import {
|
|
|
365
365
|
} from "../models/models_0";
|
|
366
366
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
367
367
|
import {
|
|
368
|
+
expectNonNull as __expectNonNull,
|
|
368
369
|
expectString as __expectString,
|
|
369
370
|
extendedEncodeURIComponent as __extendedEncodeURIComponent,
|
|
370
371
|
getArrayIfSingleItem as __getArrayIfSingleItem,
|
|
371
372
|
getValueFromTextNode as __getValueFromTextNode,
|
|
372
373
|
parseBoolean as __parseBoolean,
|
|
373
|
-
|
|
374
|
+
parseRfc3339DateTime as __parseRfc3339DateTime,
|
|
375
|
+
strictParseInt32 as __strictParseInt32,
|
|
374
376
|
} from "@aws-sdk/smithy-client";
|
|
375
377
|
import {
|
|
376
378
|
Endpoint as __Endpoint,
|
|
@@ -7777,10 +7779,10 @@ const deserializeAws_queryCertificate = (output: any, context: __SerdeContext):
|
|
|
7777
7779
|
contents.Thumbprint = __expectString(output["Thumbprint"]);
|
|
7778
7780
|
}
|
|
7779
7781
|
if (output["ValidFrom"] !== undefined) {
|
|
7780
|
-
contents.ValidFrom =
|
|
7782
|
+
contents.ValidFrom = __expectNonNull(__parseRfc3339DateTime(output["ValidFrom"]));
|
|
7781
7783
|
}
|
|
7782
7784
|
if (output["ValidTill"] !== undefined) {
|
|
7783
|
-
contents.ValidTill =
|
|
7785
|
+
contents.ValidTill = __expectNonNull(__parseRfc3339DateTime(output["ValidTill"]));
|
|
7784
7786
|
}
|
|
7785
7787
|
if (output["CertificateArn"] !== undefined) {
|
|
7786
7788
|
contents.CertificateArn = __expectString(output["CertificateArn"]);
|
|
@@ -7993,7 +7995,7 @@ const deserializeAws_queryDBCluster = (output: any, context: __SerdeContext): DB
|
|
|
7993
7995
|
);
|
|
7994
7996
|
}
|
|
7995
7997
|
if (output["BackupRetentionPeriod"] !== undefined) {
|
|
7996
|
-
contents.BackupRetentionPeriod =
|
|
7998
|
+
contents.BackupRetentionPeriod = __strictParseInt32(output["BackupRetentionPeriod"]) as number;
|
|
7997
7999
|
}
|
|
7998
8000
|
if (output["DBClusterIdentifier"] !== undefined) {
|
|
7999
8001
|
contents.DBClusterIdentifier = __expectString(output["DBClusterIdentifier"]);
|
|
@@ -8011,7 +8013,7 @@ const deserializeAws_queryDBCluster = (output: any, context: __SerdeContext): DB
|
|
|
8011
8013
|
contents.PercentProgress = __expectString(output["PercentProgress"]);
|
|
8012
8014
|
}
|
|
8013
8015
|
if (output["EarliestRestorableTime"] !== undefined) {
|
|
8014
|
-
contents.EarliestRestorableTime =
|
|
8016
|
+
contents.EarliestRestorableTime = __expectNonNull(__parseRfc3339DateTime(output["EarliestRestorableTime"]));
|
|
8015
8017
|
}
|
|
8016
8018
|
if (output["Endpoint"] !== undefined) {
|
|
8017
8019
|
contents.Endpoint = __expectString(output["Endpoint"]);
|
|
@@ -8029,10 +8031,10 @@ const deserializeAws_queryDBCluster = (output: any, context: __SerdeContext): DB
|
|
|
8029
8031
|
contents.EngineVersion = __expectString(output["EngineVersion"]);
|
|
8030
8032
|
}
|
|
8031
8033
|
if (output["LatestRestorableTime"] !== undefined) {
|
|
8032
|
-
contents.LatestRestorableTime =
|
|
8034
|
+
contents.LatestRestorableTime = __expectNonNull(__parseRfc3339DateTime(output["LatestRestorableTime"]));
|
|
8033
8035
|
}
|
|
8034
8036
|
if (output["Port"] !== undefined) {
|
|
8035
|
-
contents.Port =
|
|
8037
|
+
contents.Port = __strictParseInt32(output["Port"]) as number;
|
|
8036
8038
|
}
|
|
8037
8039
|
if (output["MasterUsername"] !== undefined) {
|
|
8038
8040
|
contents.MasterUsername = __expectString(output["MasterUsername"]);
|
|
@@ -8104,7 +8106,7 @@ const deserializeAws_queryDBCluster = (output: any, context: __SerdeContext): DB
|
|
|
8104
8106
|
);
|
|
8105
8107
|
}
|
|
8106
8108
|
if (output["ClusterCreateTime"] !== undefined) {
|
|
8107
|
-
contents.ClusterCreateTime =
|
|
8109
|
+
contents.ClusterCreateTime = __expectNonNull(__parseRfc3339DateTime(output["ClusterCreateTime"]));
|
|
8108
8110
|
}
|
|
8109
8111
|
if (output.EnabledCloudwatchLogsExports === "") {
|
|
8110
8112
|
contents.EnabledCloudwatchLogsExports = [];
|
|
@@ -8165,7 +8167,7 @@ const deserializeAws_queryDBClusterMember = (output: any, context: __SerdeContex
|
|
|
8165
8167
|
contents.DBClusterParameterGroupStatus = __expectString(output["DBClusterParameterGroupStatus"]);
|
|
8166
8168
|
}
|
|
8167
8169
|
if (output["PromotionTier"] !== undefined) {
|
|
8168
|
-
contents.PromotionTier =
|
|
8170
|
+
contents.PromotionTier = __strictParseInt32(output["PromotionTier"]) as number;
|
|
8169
8171
|
}
|
|
8170
8172
|
return contents;
|
|
8171
8173
|
};
|
|
@@ -8396,7 +8398,7 @@ const deserializeAws_queryDBClusterSnapshot = (output: any, context: __SerdeCont
|
|
|
8396
8398
|
contents.DBClusterIdentifier = __expectString(output["DBClusterIdentifier"]);
|
|
8397
8399
|
}
|
|
8398
8400
|
if (output["SnapshotCreateTime"] !== undefined) {
|
|
8399
|
-
contents.SnapshotCreateTime =
|
|
8401
|
+
contents.SnapshotCreateTime = __expectNonNull(__parseRfc3339DateTime(output["SnapshotCreateTime"]));
|
|
8400
8402
|
}
|
|
8401
8403
|
if (output["Engine"] !== undefined) {
|
|
8402
8404
|
contents.Engine = __expectString(output["Engine"]);
|
|
@@ -8405,13 +8407,13 @@ const deserializeAws_queryDBClusterSnapshot = (output: any, context: __SerdeCont
|
|
|
8405
8407
|
contents.Status = __expectString(output["Status"]);
|
|
8406
8408
|
}
|
|
8407
8409
|
if (output["Port"] !== undefined) {
|
|
8408
|
-
contents.Port =
|
|
8410
|
+
contents.Port = __strictParseInt32(output["Port"]) as number;
|
|
8409
8411
|
}
|
|
8410
8412
|
if (output["VpcId"] !== undefined) {
|
|
8411
8413
|
contents.VpcId = __expectString(output["VpcId"]);
|
|
8412
8414
|
}
|
|
8413
8415
|
if (output["ClusterCreateTime"] !== undefined) {
|
|
8414
|
-
contents.ClusterCreateTime =
|
|
8416
|
+
contents.ClusterCreateTime = __expectNonNull(__parseRfc3339DateTime(output["ClusterCreateTime"]));
|
|
8415
8417
|
}
|
|
8416
8418
|
if (output["MasterUsername"] !== undefined) {
|
|
8417
8419
|
contents.MasterUsername = __expectString(output["MasterUsername"]);
|
|
@@ -8423,7 +8425,7 @@ const deserializeAws_queryDBClusterSnapshot = (output: any, context: __SerdeCont
|
|
|
8423
8425
|
contents.SnapshotType = __expectString(output["SnapshotType"]);
|
|
8424
8426
|
}
|
|
8425
8427
|
if (output["PercentProgress"] !== undefined) {
|
|
8426
|
-
contents.PercentProgress =
|
|
8428
|
+
contents.PercentProgress = __strictParseInt32(output["PercentProgress"]) as number;
|
|
8427
8429
|
}
|
|
8428
8430
|
if (output["StorageEncrypted"] !== undefined) {
|
|
8429
8431
|
contents.StorageEncrypted = __parseBoolean(output["StorageEncrypted"]);
|
|
@@ -8689,13 +8691,13 @@ const deserializeAws_queryDBInstance = (output: any, context: __SerdeContext): D
|
|
|
8689
8691
|
contents.Endpoint = deserializeAws_queryEndpoint(output["Endpoint"], context);
|
|
8690
8692
|
}
|
|
8691
8693
|
if (output["InstanceCreateTime"] !== undefined) {
|
|
8692
|
-
contents.InstanceCreateTime =
|
|
8694
|
+
contents.InstanceCreateTime = __expectNonNull(__parseRfc3339DateTime(output["InstanceCreateTime"]));
|
|
8693
8695
|
}
|
|
8694
8696
|
if (output["PreferredBackupWindow"] !== undefined) {
|
|
8695
8697
|
contents.PreferredBackupWindow = __expectString(output["PreferredBackupWindow"]);
|
|
8696
8698
|
}
|
|
8697
8699
|
if (output["BackupRetentionPeriod"] !== undefined) {
|
|
8698
|
-
contents.BackupRetentionPeriod =
|
|
8700
|
+
contents.BackupRetentionPeriod = __strictParseInt32(output["BackupRetentionPeriod"]) as number;
|
|
8699
8701
|
}
|
|
8700
8702
|
if (output.VpcSecurityGroups === "") {
|
|
8701
8703
|
contents.VpcSecurityGroups = [];
|
|
@@ -8725,7 +8727,7 @@ const deserializeAws_queryDBInstance = (output: any, context: __SerdeContext): D
|
|
|
8725
8727
|
);
|
|
8726
8728
|
}
|
|
8727
8729
|
if (output["LatestRestorableTime"] !== undefined) {
|
|
8728
|
-
contents.LatestRestorableTime =
|
|
8730
|
+
contents.LatestRestorableTime = __expectNonNull(__parseRfc3339DateTime(output["LatestRestorableTime"]));
|
|
8729
8731
|
}
|
|
8730
8732
|
if (output["EngineVersion"] !== undefined) {
|
|
8731
8733
|
contents.EngineVersion = __expectString(output["EngineVersion"]);
|
|
@@ -8761,7 +8763,7 @@ const deserializeAws_queryDBInstance = (output: any, context: __SerdeContext): D
|
|
|
8761
8763
|
contents.CACertificateIdentifier = __expectString(output["CACertificateIdentifier"]);
|
|
8762
8764
|
}
|
|
8763
8765
|
if (output["PromotionTier"] !== undefined) {
|
|
8764
|
-
contents.PromotionTier =
|
|
8766
|
+
contents.PromotionTier = __strictParseInt32(output["PromotionTier"]) as number;
|
|
8765
8767
|
}
|
|
8766
8768
|
if (output["DBInstanceArn"] !== undefined) {
|
|
8767
8769
|
contents.DBInstanceArn = __expectString(output["DBInstanceArn"]);
|
|
@@ -9183,7 +9185,7 @@ const deserializeAws_queryEndpoint = (output: any, context: __SerdeContext): End
|
|
|
9183
9185
|
contents.Address = __expectString(output["Address"]);
|
|
9184
9186
|
}
|
|
9185
9187
|
if (output["Port"] !== undefined) {
|
|
9186
|
-
contents.Port =
|
|
9188
|
+
contents.Port = __strictParseInt32(output["Port"]) as number;
|
|
9187
9189
|
}
|
|
9188
9190
|
if (output["HostedZoneId"] !== undefined) {
|
|
9189
9191
|
contents.HostedZoneId = __expectString(output["HostedZoneId"]);
|
|
@@ -9243,7 +9245,7 @@ const deserializeAws_queryEvent = (output: any, context: __SerdeContext): Event
|
|
|
9243
9245
|
);
|
|
9244
9246
|
}
|
|
9245
9247
|
if (output["Date"] !== undefined) {
|
|
9246
|
-
contents.Date =
|
|
9248
|
+
contents.Date = __expectNonNull(__parseRfc3339DateTime(output["Date"]));
|
|
9247
9249
|
}
|
|
9248
9250
|
if (output["SourceArn"] !== undefined) {
|
|
9249
9251
|
contents.SourceArn = __expectString(output["SourceArn"]);
|
|
@@ -10110,16 +10112,16 @@ const deserializeAws_queryPendingMaintenanceAction = (
|
|
|
10110
10112
|
contents.Action = __expectString(output["Action"]);
|
|
10111
10113
|
}
|
|
10112
10114
|
if (output["AutoAppliedAfterDate"] !== undefined) {
|
|
10113
|
-
contents.AutoAppliedAfterDate =
|
|
10115
|
+
contents.AutoAppliedAfterDate = __expectNonNull(__parseRfc3339DateTime(output["AutoAppliedAfterDate"]));
|
|
10114
10116
|
}
|
|
10115
10117
|
if (output["ForcedApplyDate"] !== undefined) {
|
|
10116
|
-
contents.ForcedApplyDate =
|
|
10118
|
+
contents.ForcedApplyDate = __expectNonNull(__parseRfc3339DateTime(output["ForcedApplyDate"]));
|
|
10117
10119
|
}
|
|
10118
10120
|
if (output["OptInStatus"] !== undefined) {
|
|
10119
10121
|
contents.OptInStatus = __expectString(output["OptInStatus"]);
|
|
10120
10122
|
}
|
|
10121
10123
|
if (output["CurrentApplyDate"] !== undefined) {
|
|
10122
|
-
contents.CurrentApplyDate =
|
|
10124
|
+
contents.CurrentApplyDate = __expectNonNull(__parseRfc3339DateTime(output["CurrentApplyDate"]));
|
|
10123
10125
|
}
|
|
10124
10126
|
if (output["Description"] !== undefined) {
|
|
10125
10127
|
contents.Description = __expectString(output["Description"]);
|
|
@@ -10202,16 +10204,16 @@ const deserializeAws_queryPendingModifiedValues = (output: any, context: __Serde
|
|
|
10202
10204
|
contents.DBInstanceClass = __expectString(output["DBInstanceClass"]);
|
|
10203
10205
|
}
|
|
10204
10206
|
if (output["AllocatedStorage"] !== undefined) {
|
|
10205
|
-
contents.AllocatedStorage =
|
|
10207
|
+
contents.AllocatedStorage = __strictParseInt32(output["AllocatedStorage"]) as number;
|
|
10206
10208
|
}
|
|
10207
10209
|
if (output["MasterUserPassword"] !== undefined) {
|
|
10208
10210
|
contents.MasterUserPassword = __expectString(output["MasterUserPassword"]);
|
|
10209
10211
|
}
|
|
10210
10212
|
if (output["Port"] !== undefined) {
|
|
10211
|
-
contents.Port =
|
|
10213
|
+
contents.Port = __strictParseInt32(output["Port"]) as number;
|
|
10212
10214
|
}
|
|
10213
10215
|
if (output["BackupRetentionPeriod"] !== undefined) {
|
|
10214
|
-
contents.BackupRetentionPeriod =
|
|
10216
|
+
contents.BackupRetentionPeriod = __strictParseInt32(output["BackupRetentionPeriod"]) as number;
|
|
10215
10217
|
}
|
|
10216
10218
|
if (output["MultiAZ"] !== undefined) {
|
|
10217
10219
|
contents.MultiAZ = __parseBoolean(output["MultiAZ"]);
|
|
@@ -10223,7 +10225,7 @@ const deserializeAws_queryPendingModifiedValues = (output: any, context: __Serde
|
|
|
10223
10225
|
contents.LicenseModel = __expectString(output["LicenseModel"]);
|
|
10224
10226
|
}
|
|
10225
10227
|
if (output["Iops"] !== undefined) {
|
|
10226
|
-
contents.Iops =
|
|
10228
|
+
contents.Iops = __strictParseInt32(output["Iops"]) as number;
|
|
10227
10229
|
}
|
|
10228
10230
|
if (output["DBInstanceIdentifier"] !== undefined) {
|
|
10229
10231
|
contents.DBInstanceIdentifier = __expectString(output["DBInstanceIdentifier"]);
|