@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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,41 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.32.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.31.0...v3.32.0) (2021-09-17)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-docdb
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.31.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.30.0...v3.31.0) (2021-09-11)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-docdb
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.30.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.29.0...v3.30.0) (2021-09-07)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @aws-sdk/client-docdb
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# [3.29.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.28.0...v3.29.0) (2021-09-02)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Bug Fixes
|
|
34
|
+
|
|
35
|
+
* **middleware-sdk-rds:** double encoding the presigned url ([#2711](https://github.com/aws/aws-sdk-js-v3/issues/2711)) ([8a271be](https://github.com/aws/aws-sdk-js-v3/commit/8a271be6ac94080010aa4c3567b6770a2eee5547))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
6
41
|
# [3.28.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.27.0...v3.28.0) (2021-08-27)
|
|
7
42
|
|
|
8
43
|
|
|
@@ -4,7 +4,6 @@ import {
|
|
|
4
4
|
deserializeAws_queryCreateDBClusterCommand,
|
|
5
5
|
serializeAws_queryCreateDBClusterCommand,
|
|
6
6
|
} from "../protocols/Aws_query";
|
|
7
|
-
import { getCrossRegionPresignedUrlPlugin } from "@aws-sdk/middleware-sdk-rds";
|
|
8
7
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
9
8
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
10
9
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -61,7 +60,6 @@ export class CreateDBClusterCommand extends $Command<
|
|
|
61
60
|
options?: __HttpHandlerOptions
|
|
62
61
|
): Handler<CreateDBClusterCommandInput, CreateDBClusterCommandOutput> {
|
|
63
62
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
this.middlewareStack.use(getCrossRegionPresignedUrlPlugin(configuration));
|
|
65
63
|
|
|
66
64
|
const stack = clientStack.concat(this.middlewareStack);
|
|
67
65
|
|
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.CreateDBClusterCommand = void 0;
|
|
4
4
|
const models_0_1 = require("../models/models_0");
|
|
5
5
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
6
|
-
const middleware_sdk_rds_1 = require("@aws-sdk/middleware-sdk-rds");
|
|
7
6
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
8
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
9
8
|
/**
|
|
@@ -37,7 +36,6 @@ class CreateDBClusterCommand extends smithy_client_1.Command {
|
|
|
37
36
|
*/
|
|
38
37
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
38
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
|
-
this.middlewareStack.use(middleware_sdk_rds_1.getCrossRegionPresignedUrlPlugin(configuration));
|
|
41
39
|
const stack = clientStack.concat(this.middlewareStack);
|
|
42
40
|
const { logger } = configuration;
|
|
43
41
|
const clientName = "DocDBClient";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateDBClusterCommand.js","sourceRoot":"","sources":["../../../commands/CreateDBClusterCommand.ts"],"names":[],"mappings":";;;AACA,iDAAmF;AACnF,sDAGgC;AAChC,
|
|
1
|
+
{"version":3,"file":"CreateDBClusterCommand.js","sourceRoot":"","sources":["../../../commands/CreateDBClusterCommand.ts"],"names":[],"mappings":";;;AACA,iDAAmF;AACnF,sDAGgC;AAChC,gEAA2D;AAE3D,0DAA6D;AAc7D;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,sBAAuB,SAAQ,uBAI3C;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAAkC;QACrD,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAA6B;QAGrD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,iBAAiB,CACf,WAAmE,EACnE,aAAwC,EACxC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,iCAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,MAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAEvD,MAAM,EAAE,MAAM,EAAE,GAAG,aAAa,CAAC;QACjC,MAAM,UAAU,GAAG,aAAa,CAAC;QACjC,MAAM,WAAW,GAAG,wBAAwB,CAAC;QAC7C,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,iCAAsB,CAAC,kBAAkB;YAClE,wBAAwB,EAAE,gCAAqB,CAAC,kBAAkB;SACnE,CAAC;QACF,MAAM,EAAE,cAAc,EAAE,GAAG,aAAa,CAAC;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,CAAC,OAAsC,EAAE,EAAE,CACzC,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,SAAS,CAAC,KAAkC,EAAE,OAAuB;QAC3E,OAAO,oDAAwC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAEO,WAAW,CAAC,MAAsB,EAAE,OAAuB;QACjE,OAAO,sDAA0C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;CAIF;AAtDD,wDAsDC"}
|
package/dist/cjs/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"
|
|
@@ -6399,10 +6399,10 @@ const deserializeAws_queryCertificate = (output, context) => {
|
|
|
6399
6399
|
contents.Thumbprint = smithy_client_1.expectString(output["Thumbprint"]);
|
|
6400
6400
|
}
|
|
6401
6401
|
if (output["ValidFrom"] !== undefined) {
|
|
6402
|
-
contents.ValidFrom =
|
|
6402
|
+
contents.ValidFrom = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ValidFrom"]));
|
|
6403
6403
|
}
|
|
6404
6404
|
if (output["ValidTill"] !== undefined) {
|
|
6405
|
-
contents.ValidTill =
|
|
6405
|
+
contents.ValidTill = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ValidTill"]));
|
|
6406
6406
|
}
|
|
6407
6407
|
if (output["CertificateArn"] !== undefined) {
|
|
6408
6408
|
contents.CertificateArn = smithy_client_1.expectString(output["CertificateArn"]);
|
|
@@ -6566,7 +6566,7 @@ const deserializeAws_queryDBCluster = (output, context) => {
|
|
|
6566
6566
|
contents.AvailabilityZones = deserializeAws_queryAvailabilityZones(smithy_client_1.getArrayIfSingleItem(output["AvailabilityZones"]["AvailabilityZone"]), context);
|
|
6567
6567
|
}
|
|
6568
6568
|
if (output["BackupRetentionPeriod"] !== undefined) {
|
|
6569
|
-
contents.BackupRetentionPeriod = smithy_client_1.
|
|
6569
|
+
contents.BackupRetentionPeriod = smithy_client_1.strictParseInt32(output["BackupRetentionPeriod"]);
|
|
6570
6570
|
}
|
|
6571
6571
|
if (output["DBClusterIdentifier"] !== undefined) {
|
|
6572
6572
|
contents.DBClusterIdentifier = smithy_client_1.expectString(output["DBClusterIdentifier"]);
|
|
@@ -6584,7 +6584,7 @@ const deserializeAws_queryDBCluster = (output, context) => {
|
|
|
6584
6584
|
contents.PercentProgress = smithy_client_1.expectString(output["PercentProgress"]);
|
|
6585
6585
|
}
|
|
6586
6586
|
if (output["EarliestRestorableTime"] !== undefined) {
|
|
6587
|
-
contents.EarliestRestorableTime =
|
|
6587
|
+
contents.EarliestRestorableTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["EarliestRestorableTime"]));
|
|
6588
6588
|
}
|
|
6589
6589
|
if (output["Endpoint"] !== undefined) {
|
|
6590
6590
|
contents.Endpoint = smithy_client_1.expectString(output["Endpoint"]);
|
|
@@ -6602,10 +6602,10 @@ const deserializeAws_queryDBCluster = (output, context) => {
|
|
|
6602
6602
|
contents.EngineVersion = smithy_client_1.expectString(output["EngineVersion"]);
|
|
6603
6603
|
}
|
|
6604
6604
|
if (output["LatestRestorableTime"] !== undefined) {
|
|
6605
|
-
contents.LatestRestorableTime =
|
|
6605
|
+
contents.LatestRestorableTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LatestRestorableTime"]));
|
|
6606
6606
|
}
|
|
6607
6607
|
if (output["Port"] !== undefined) {
|
|
6608
|
-
contents.Port = smithy_client_1.
|
|
6608
|
+
contents.Port = smithy_client_1.strictParseInt32(output["Port"]);
|
|
6609
6609
|
}
|
|
6610
6610
|
if (output["MasterUsername"] !== undefined) {
|
|
6611
6611
|
contents.MasterUsername = smithy_client_1.expectString(output["MasterUsername"]);
|
|
@@ -6661,7 +6661,7 @@ const deserializeAws_queryDBCluster = (output, context) => {
|
|
|
6661
6661
|
contents.AssociatedRoles = deserializeAws_queryDBClusterRoles(smithy_client_1.getArrayIfSingleItem(output["AssociatedRoles"]["DBClusterRole"]), context);
|
|
6662
6662
|
}
|
|
6663
6663
|
if (output["ClusterCreateTime"] !== undefined) {
|
|
6664
|
-
contents.ClusterCreateTime =
|
|
6664
|
+
contents.ClusterCreateTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ClusterCreateTime"]));
|
|
6665
6665
|
}
|
|
6666
6666
|
if (output.EnabledCloudwatchLogsExports === "") {
|
|
6667
6667
|
contents.EnabledCloudwatchLogsExports = [];
|
|
@@ -6711,7 +6711,7 @@ const deserializeAws_queryDBClusterMember = (output, context) => {
|
|
|
6711
6711
|
contents.DBClusterParameterGroupStatus = smithy_client_1.expectString(output["DBClusterParameterGroupStatus"]);
|
|
6712
6712
|
}
|
|
6713
6713
|
if (output["PromotionTier"] !== undefined) {
|
|
6714
|
-
contents.PromotionTier = smithy_client_1.
|
|
6714
|
+
contents.PromotionTier = smithy_client_1.strictParseInt32(output["PromotionTier"]);
|
|
6715
6715
|
}
|
|
6716
6716
|
return contents;
|
|
6717
6717
|
};
|
|
@@ -6897,7 +6897,7 @@ const deserializeAws_queryDBClusterSnapshot = (output, context) => {
|
|
|
6897
6897
|
contents.DBClusterIdentifier = smithy_client_1.expectString(output["DBClusterIdentifier"]);
|
|
6898
6898
|
}
|
|
6899
6899
|
if (output["SnapshotCreateTime"] !== undefined) {
|
|
6900
|
-
contents.SnapshotCreateTime =
|
|
6900
|
+
contents.SnapshotCreateTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["SnapshotCreateTime"]));
|
|
6901
6901
|
}
|
|
6902
6902
|
if (output["Engine"] !== undefined) {
|
|
6903
6903
|
contents.Engine = smithy_client_1.expectString(output["Engine"]);
|
|
@@ -6906,13 +6906,13 @@ const deserializeAws_queryDBClusterSnapshot = (output, context) => {
|
|
|
6906
6906
|
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
6907
6907
|
}
|
|
6908
6908
|
if (output["Port"] !== undefined) {
|
|
6909
|
-
contents.Port = smithy_client_1.
|
|
6909
|
+
contents.Port = smithy_client_1.strictParseInt32(output["Port"]);
|
|
6910
6910
|
}
|
|
6911
6911
|
if (output["VpcId"] !== undefined) {
|
|
6912
6912
|
contents.VpcId = smithy_client_1.expectString(output["VpcId"]);
|
|
6913
6913
|
}
|
|
6914
6914
|
if (output["ClusterCreateTime"] !== undefined) {
|
|
6915
|
-
contents.ClusterCreateTime =
|
|
6915
|
+
contents.ClusterCreateTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ClusterCreateTime"]));
|
|
6916
6916
|
}
|
|
6917
6917
|
if (output["MasterUsername"] !== undefined) {
|
|
6918
6918
|
contents.MasterUsername = smithy_client_1.expectString(output["MasterUsername"]);
|
|
@@ -6924,7 +6924,7 @@ const deserializeAws_queryDBClusterSnapshot = (output, context) => {
|
|
|
6924
6924
|
contents.SnapshotType = smithy_client_1.expectString(output["SnapshotType"]);
|
|
6925
6925
|
}
|
|
6926
6926
|
if (output["PercentProgress"] !== undefined) {
|
|
6927
|
-
contents.PercentProgress = smithy_client_1.
|
|
6927
|
+
contents.PercentProgress = smithy_client_1.strictParseInt32(output["PercentProgress"]);
|
|
6928
6928
|
}
|
|
6929
6929
|
if (output["StorageEncrypted"] !== undefined) {
|
|
6930
6930
|
contents.StorageEncrypted = smithy_client_1.parseBoolean(output["StorageEncrypted"]);
|
|
@@ -7141,13 +7141,13 @@ const deserializeAws_queryDBInstance = (output, context) => {
|
|
|
7141
7141
|
contents.Endpoint = deserializeAws_queryEndpoint(output["Endpoint"], context);
|
|
7142
7142
|
}
|
|
7143
7143
|
if (output["InstanceCreateTime"] !== undefined) {
|
|
7144
|
-
contents.InstanceCreateTime =
|
|
7144
|
+
contents.InstanceCreateTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["InstanceCreateTime"]));
|
|
7145
7145
|
}
|
|
7146
7146
|
if (output["PreferredBackupWindow"] !== undefined) {
|
|
7147
7147
|
contents.PreferredBackupWindow = smithy_client_1.expectString(output["PreferredBackupWindow"]);
|
|
7148
7148
|
}
|
|
7149
7149
|
if (output["BackupRetentionPeriod"] !== undefined) {
|
|
7150
|
-
contents.BackupRetentionPeriod = smithy_client_1.
|
|
7150
|
+
contents.BackupRetentionPeriod = smithy_client_1.strictParseInt32(output["BackupRetentionPeriod"]);
|
|
7151
7151
|
}
|
|
7152
7152
|
if (output.VpcSecurityGroups === "") {
|
|
7153
7153
|
contents.VpcSecurityGroups = [];
|
|
@@ -7169,7 +7169,7 @@ const deserializeAws_queryDBInstance = (output, context) => {
|
|
|
7169
7169
|
contents.PendingModifiedValues = deserializeAws_queryPendingModifiedValues(output["PendingModifiedValues"], context);
|
|
7170
7170
|
}
|
|
7171
7171
|
if (output["LatestRestorableTime"] !== undefined) {
|
|
7172
|
-
contents.LatestRestorableTime =
|
|
7172
|
+
contents.LatestRestorableTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LatestRestorableTime"]));
|
|
7173
7173
|
}
|
|
7174
7174
|
if (output["EngineVersion"] !== undefined) {
|
|
7175
7175
|
contents.EngineVersion = smithy_client_1.expectString(output["EngineVersion"]);
|
|
@@ -7202,7 +7202,7 @@ const deserializeAws_queryDBInstance = (output, context) => {
|
|
|
7202
7202
|
contents.CACertificateIdentifier = smithy_client_1.expectString(output["CACertificateIdentifier"]);
|
|
7203
7203
|
}
|
|
7204
7204
|
if (output["PromotionTier"] !== undefined) {
|
|
7205
|
-
contents.PromotionTier = smithy_client_1.
|
|
7205
|
+
contents.PromotionTier = smithy_client_1.strictParseInt32(output["PromotionTier"]);
|
|
7206
7206
|
}
|
|
7207
7207
|
if (output["DBInstanceArn"] !== undefined) {
|
|
7208
7208
|
contents.DBInstanceArn = smithy_client_1.expectString(output["DBInstanceArn"]);
|
|
@@ -7530,7 +7530,7 @@ const deserializeAws_queryEndpoint = (output, context) => {
|
|
|
7530
7530
|
contents.Address = smithy_client_1.expectString(output["Address"]);
|
|
7531
7531
|
}
|
|
7532
7532
|
if (output["Port"] !== undefined) {
|
|
7533
|
-
contents.Port = smithy_client_1.
|
|
7533
|
+
contents.Port = smithy_client_1.strictParseInt32(output["Port"]);
|
|
7534
7534
|
}
|
|
7535
7535
|
if (output["HostedZoneId"] !== undefined) {
|
|
7536
7536
|
contents.HostedZoneId = smithy_client_1.expectString(output["HostedZoneId"]);
|
|
@@ -7582,7 +7582,7 @@ const deserializeAws_queryEvent = (output, context) => {
|
|
|
7582
7582
|
contents.EventCategories = deserializeAws_queryEventCategoriesList(smithy_client_1.getArrayIfSingleItem(output["EventCategories"]["EventCategory"]), context);
|
|
7583
7583
|
}
|
|
7584
7584
|
if (output["Date"] !== undefined) {
|
|
7585
|
-
contents.Date =
|
|
7585
|
+
contents.Date = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["Date"]));
|
|
7586
7586
|
}
|
|
7587
7587
|
if (output["SourceArn"] !== undefined) {
|
|
7588
7588
|
contents.SourceArn = smithy_client_1.expectString(output["SourceArn"]);
|
|
@@ -8264,16 +8264,16 @@ const deserializeAws_queryPendingMaintenanceAction = (output, context) => {
|
|
|
8264
8264
|
contents.Action = smithy_client_1.expectString(output["Action"]);
|
|
8265
8265
|
}
|
|
8266
8266
|
if (output["AutoAppliedAfterDate"] !== undefined) {
|
|
8267
|
-
contents.AutoAppliedAfterDate =
|
|
8267
|
+
contents.AutoAppliedAfterDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["AutoAppliedAfterDate"]));
|
|
8268
8268
|
}
|
|
8269
8269
|
if (output["ForcedApplyDate"] !== undefined) {
|
|
8270
|
-
contents.ForcedApplyDate =
|
|
8270
|
+
contents.ForcedApplyDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ForcedApplyDate"]));
|
|
8271
8271
|
}
|
|
8272
8272
|
if (output["OptInStatus"] !== undefined) {
|
|
8273
8273
|
contents.OptInStatus = smithy_client_1.expectString(output["OptInStatus"]);
|
|
8274
8274
|
}
|
|
8275
8275
|
if (output["CurrentApplyDate"] !== undefined) {
|
|
8276
|
-
contents.CurrentApplyDate =
|
|
8276
|
+
contents.CurrentApplyDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CurrentApplyDate"]));
|
|
8277
8277
|
}
|
|
8278
8278
|
if (output["Description"] !== undefined) {
|
|
8279
8279
|
contents.Description = smithy_client_1.expectString(output["Description"]);
|
|
@@ -8338,16 +8338,16 @@ const deserializeAws_queryPendingModifiedValues = (output, context) => {
|
|
|
8338
8338
|
contents.DBInstanceClass = smithy_client_1.expectString(output["DBInstanceClass"]);
|
|
8339
8339
|
}
|
|
8340
8340
|
if (output["AllocatedStorage"] !== undefined) {
|
|
8341
|
-
contents.AllocatedStorage = smithy_client_1.
|
|
8341
|
+
contents.AllocatedStorage = smithy_client_1.strictParseInt32(output["AllocatedStorage"]);
|
|
8342
8342
|
}
|
|
8343
8343
|
if (output["MasterUserPassword"] !== undefined) {
|
|
8344
8344
|
contents.MasterUserPassword = smithy_client_1.expectString(output["MasterUserPassword"]);
|
|
8345
8345
|
}
|
|
8346
8346
|
if (output["Port"] !== undefined) {
|
|
8347
|
-
contents.Port = smithy_client_1.
|
|
8347
|
+
contents.Port = smithy_client_1.strictParseInt32(output["Port"]);
|
|
8348
8348
|
}
|
|
8349
8349
|
if (output["BackupRetentionPeriod"] !== undefined) {
|
|
8350
|
-
contents.BackupRetentionPeriod = smithy_client_1.
|
|
8350
|
+
contents.BackupRetentionPeriod = smithy_client_1.strictParseInt32(output["BackupRetentionPeriod"]);
|
|
8351
8351
|
}
|
|
8352
8352
|
if (output["MultiAZ"] !== undefined) {
|
|
8353
8353
|
contents.MultiAZ = smithy_client_1.parseBoolean(output["MultiAZ"]);
|
|
@@ -8359,7 +8359,7 @@ const deserializeAws_queryPendingModifiedValues = (output, context) => {
|
|
|
8359
8359
|
contents.LicenseModel = smithy_client_1.expectString(output["LicenseModel"]);
|
|
8360
8360
|
}
|
|
8361
8361
|
if (output["Iops"] !== undefined) {
|
|
8362
|
-
contents.Iops = smithy_client_1.
|
|
8362
|
+
contents.Iops = smithy_client_1.strictParseInt32(output["Iops"]);
|
|
8363
8363
|
}
|
|
8364
8364
|
if (output["DBInstanceIdentifier"] !== undefined) {
|
|
8365
8365
|
contents.DBInstanceIdentifier = smithy_client_1.expectString(output["DBInstanceIdentifier"]);
|