@aws-sdk/client-docdb 3.186.0 → 3.188.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 +8 -0
- package/dist-cjs/protocols/Aws_query.js +8 -4
- package/dist-es/DocDB.js +214 -221
- package/dist-es/DocDBClient.js +22 -28
- package/dist-es/commands/AddSourceIdentifierToSubscriptionCommand.js +21 -28
- package/dist-es/commands/AddTagsToResourceCommand.js +22 -29
- package/dist-es/commands/ApplyPendingMaintenanceActionCommand.js +21 -28
- package/dist-es/commands/CopyDBClusterParameterGroupCommand.js +21 -28
- package/dist-es/commands/CopyDBClusterSnapshotCommand.js +21 -28
- package/dist-es/commands/CreateDBClusterCommand.js +21 -28
- package/dist-es/commands/CreateDBClusterParameterGroupCommand.js +21 -28
- package/dist-es/commands/CreateDBClusterSnapshotCommand.js +21 -28
- package/dist-es/commands/CreateDBInstanceCommand.js +21 -28
- package/dist-es/commands/CreateDBSubnetGroupCommand.js +21 -28
- package/dist-es/commands/CreateEventSubscriptionCommand.js +21 -28
- package/dist-es/commands/CreateGlobalClusterCommand.js +21 -28
- package/dist-es/commands/DeleteDBClusterCommand.js +21 -28
- package/dist-es/commands/DeleteDBClusterParameterGroupCommand.js +22 -29
- package/dist-es/commands/DeleteDBClusterSnapshotCommand.js +21 -28
- package/dist-es/commands/DeleteDBInstanceCommand.js +21 -28
- package/dist-es/commands/DeleteDBSubnetGroupCommand.js +22 -29
- package/dist-es/commands/DeleteEventSubscriptionCommand.js +21 -28
- package/dist-es/commands/DeleteGlobalClusterCommand.js +21 -28
- package/dist-es/commands/DescribeCertificatesCommand.js +21 -28
- package/dist-es/commands/DescribeDBClusterParameterGroupsCommand.js +21 -28
- package/dist-es/commands/DescribeDBClusterParametersCommand.js +21 -28
- package/dist-es/commands/DescribeDBClusterSnapshotAttributesCommand.js +21 -28
- package/dist-es/commands/DescribeDBClusterSnapshotsCommand.js +21 -28
- package/dist-es/commands/DescribeDBClustersCommand.js +21 -28
- package/dist-es/commands/DescribeDBEngineVersionsCommand.js +21 -28
- package/dist-es/commands/DescribeDBInstancesCommand.js +21 -28
- package/dist-es/commands/DescribeDBSubnetGroupsCommand.js +21 -28
- package/dist-es/commands/DescribeEngineDefaultClusterParametersCommand.js +21 -28
- package/dist-es/commands/DescribeEventCategoriesCommand.js +21 -28
- package/dist-es/commands/DescribeEventSubscriptionsCommand.js +21 -28
- package/dist-es/commands/DescribeEventsCommand.js +21 -28
- package/dist-es/commands/DescribeGlobalClustersCommand.js +21 -28
- package/dist-es/commands/DescribeOrderableDBInstanceOptionsCommand.js +21 -28
- package/dist-es/commands/DescribePendingMaintenanceActionsCommand.js +21 -28
- package/dist-es/commands/FailoverDBClusterCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/ModifyDBClusterCommand.js +21 -28
- package/dist-es/commands/ModifyDBClusterParameterGroupCommand.js +21 -28
- package/dist-es/commands/ModifyDBClusterSnapshotAttributeCommand.js +21 -28
- package/dist-es/commands/ModifyDBInstanceCommand.js +21 -28
- package/dist-es/commands/ModifyDBSubnetGroupCommand.js +21 -28
- package/dist-es/commands/ModifyEventSubscriptionCommand.js +21 -28
- package/dist-es/commands/ModifyGlobalClusterCommand.js +21 -28
- package/dist-es/commands/RebootDBInstanceCommand.js +21 -28
- package/dist-es/commands/RemoveFromGlobalClusterCommand.js +21 -28
- package/dist-es/commands/RemoveSourceIdentifierFromSubscriptionCommand.js +21 -28
- package/dist-es/commands/RemoveTagsFromResourceCommand.js +22 -29
- package/dist-es/commands/ResetDBClusterParameterGroupCommand.js +21 -28
- package/dist-es/commands/RestoreDBClusterFromSnapshotCommand.js +21 -28
- package/dist-es/commands/RestoreDBClusterToPointInTimeCommand.js +21 -28
- package/dist-es/commands/StartDBClusterCommand.js +21 -28
- package/dist-es/commands/StopDBClusterCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/DocDBServiceException.js +5 -10
- package/dist-es/models/models_0.js +1083 -818
- package/dist-es/pagination/DescribeCertificatesPaginator.js +25 -68
- package/dist-es/pagination/DescribeDBClusterParameterGroupsPaginator.js +25 -68
- package/dist-es/pagination/DescribeDBClusterParametersPaginator.js +25 -68
- package/dist-es/pagination/DescribeDBClusterSnapshotsPaginator.js +25 -68
- package/dist-es/pagination/DescribeDBClustersPaginator.js +25 -68
- package/dist-es/pagination/DescribeDBEngineVersionsPaginator.js +25 -68
- package/dist-es/pagination/DescribeDBInstancesPaginator.js +25 -68
- package/dist-es/pagination/DescribeDBSubnetGroupsPaginator.js +25 -68
- package/dist-es/pagination/DescribeEventSubscriptionsPaginator.js +25 -68
- package/dist-es/pagination/DescribeEventsPaginator.js +25 -68
- package/dist-es/pagination/DescribeGlobalClustersPaginator.js +25 -68
- package/dist-es/pagination/DescribeOrderableDBInstanceOptionsPaginator.js +25 -68
- package/dist-es/pagination/DescribePendingMaintenanceActionsPaginator.js +25 -68
- package/dist-es/protocols/Aws_query.js +4064 -5266
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/dist-es/waiters/waitForDBInstanceAvailable.js +106 -187
- package/dist-es/waiters/waitForDBInstanceDeleted.js +94 -165
- package/package.json +36 -37
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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.188.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.187.0...v3.188.0) (2022-10-13)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-docdb
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [3.186.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.185.0...v3.186.0) (2022-10-06)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @aws-sdk/client-docdb
|
|
@@ -5,7 +5,6 @@ exports.deserializeAws_queryRemoveSourceIdentifierFromSubscriptionCommand = expo
|
|
|
5
5
|
exports.deserializeAws_queryStopDBClusterCommand = exports.deserializeAws_queryStartDBClusterCommand = exports.deserializeAws_queryRestoreDBClusterToPointInTimeCommand = exports.deserializeAws_queryRestoreDBClusterFromSnapshotCommand = exports.deserializeAws_queryResetDBClusterParameterGroupCommand = exports.deserializeAws_queryRemoveTagsFromResourceCommand = void 0;
|
|
6
6
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
7
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
const entities_1 = require("entities");
|
|
9
8
|
const fast_xml_parser_1 = require("fast-xml-parser");
|
|
10
9
|
const DocDBServiceException_1 = require("../models/DocDBServiceException");
|
|
11
10
|
const models_0_1 = require("../models/models_0");
|
|
@@ -7151,13 +7150,18 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
7151
7150
|
};
|
|
7152
7151
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
7153
7152
|
if (encoded.length) {
|
|
7154
|
-
const
|
|
7153
|
+
const parser = new fast_xml_parser_1.XMLParser({
|
|
7155
7154
|
attributeNamePrefix: "",
|
|
7155
|
+
htmlEntities: true,
|
|
7156
7156
|
ignoreAttributes: false,
|
|
7157
|
-
|
|
7157
|
+
ignoreDeclaration: true,
|
|
7158
|
+
parseTagValue: false,
|
|
7158
7159
|
trimValues: false,
|
|
7159
|
-
tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" :
|
|
7160
|
+
tagValueProcessor: (_, val) => (val.trim() === "" && val.includes("\n") ? "" : undefined),
|
|
7160
7161
|
});
|
|
7162
|
+
parser.addEntity("#xD", "\r");
|
|
7163
|
+
parser.addEntity("#10", "\n");
|
|
7164
|
+
const parsedObj = parser.parse(encoded);
|
|
7161
7165
|
const textNodeName = "#text";
|
|
7162
7166
|
const key = Object.keys(parsedObj)[0];
|
|
7163
7167
|
const parsedObjToReturn = parsedObj[key];
|