@aws-sdk/client-redshift 3.185.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 +16 -0
- package/dist-cjs/protocols/Aws_query.js +8 -4
- package/dist-es/Redshift.js +478 -485
- package/dist-es/RedshiftClient.js +22 -28
- package/dist-es/commands/AcceptReservedNodeExchangeCommand.js +21 -28
- package/dist-es/commands/AddPartnerCommand.js +21 -28
- package/dist-es/commands/AssociateDataShareConsumerCommand.js +21 -28
- package/dist-es/commands/AuthorizeClusterSecurityGroupIngressCommand.js +21 -28
- package/dist-es/commands/AuthorizeDataShareCommand.js +21 -28
- package/dist-es/commands/AuthorizeEndpointAccessCommand.js +21 -28
- package/dist-es/commands/AuthorizeSnapshotAccessCommand.js +21 -28
- package/dist-es/commands/BatchDeleteClusterSnapshotsCommand.js +21 -28
- package/dist-es/commands/BatchModifyClusterSnapshotsCommand.js +21 -28
- package/dist-es/commands/CancelResizeCommand.js +21 -28
- package/dist-es/commands/CopyClusterSnapshotCommand.js +21 -28
- package/dist-es/commands/CreateAuthenticationProfileCommand.js +21 -28
- package/dist-es/commands/CreateClusterCommand.js +21 -28
- package/dist-es/commands/CreateClusterParameterGroupCommand.js +21 -28
- package/dist-es/commands/CreateClusterSecurityGroupCommand.js +21 -28
- package/dist-es/commands/CreateClusterSnapshotCommand.js +21 -28
- package/dist-es/commands/CreateClusterSubnetGroupCommand.js +21 -28
- package/dist-es/commands/CreateEndpointAccessCommand.js +21 -28
- package/dist-es/commands/CreateEventSubscriptionCommand.js +21 -28
- package/dist-es/commands/CreateHsmClientCertificateCommand.js +21 -28
- package/dist-es/commands/CreateHsmConfigurationCommand.js +21 -28
- package/dist-es/commands/CreateScheduledActionCommand.js +21 -28
- package/dist-es/commands/CreateSnapshotCopyGrantCommand.js +21 -28
- package/dist-es/commands/CreateSnapshotScheduleCommand.js +21 -28
- package/dist-es/commands/CreateTagsCommand.js +22 -29
- package/dist-es/commands/CreateUsageLimitCommand.js +21 -28
- package/dist-es/commands/DeauthorizeDataShareCommand.js +21 -28
- package/dist-es/commands/DeleteAuthenticationProfileCommand.js +21 -28
- package/dist-es/commands/DeleteClusterCommand.js +21 -28
- package/dist-es/commands/DeleteClusterParameterGroupCommand.js +22 -29
- package/dist-es/commands/DeleteClusterSecurityGroupCommand.js +22 -29
- package/dist-es/commands/DeleteClusterSnapshotCommand.js +21 -28
- package/dist-es/commands/DeleteClusterSubnetGroupCommand.js +22 -29
- package/dist-es/commands/DeleteEndpointAccessCommand.js +21 -28
- package/dist-es/commands/DeleteEventSubscriptionCommand.js +22 -29
- package/dist-es/commands/DeleteHsmClientCertificateCommand.js +22 -29
- package/dist-es/commands/DeleteHsmConfigurationCommand.js +22 -29
- package/dist-es/commands/DeletePartnerCommand.js +21 -28
- package/dist-es/commands/DeleteScheduledActionCommand.js +22 -29
- package/dist-es/commands/DeleteSnapshotCopyGrantCommand.js +22 -29
- package/dist-es/commands/DeleteSnapshotScheduleCommand.js +22 -29
- package/dist-es/commands/DeleteTagsCommand.js +22 -29
- package/dist-es/commands/DeleteUsageLimitCommand.js +22 -29
- package/dist-es/commands/DescribeAccountAttributesCommand.js +21 -28
- package/dist-es/commands/DescribeAuthenticationProfilesCommand.js +21 -28
- package/dist-es/commands/DescribeClusterDbRevisionsCommand.js +21 -28
- package/dist-es/commands/DescribeClusterParameterGroupsCommand.js +21 -28
- package/dist-es/commands/DescribeClusterParametersCommand.js +21 -28
- package/dist-es/commands/DescribeClusterSecurityGroupsCommand.js +21 -28
- package/dist-es/commands/DescribeClusterSnapshotsCommand.js +21 -28
- package/dist-es/commands/DescribeClusterSubnetGroupsCommand.js +21 -28
- package/dist-es/commands/DescribeClusterTracksCommand.js +21 -28
- package/dist-es/commands/DescribeClusterVersionsCommand.js +21 -28
- package/dist-es/commands/DescribeClustersCommand.js +21 -28
- package/dist-es/commands/DescribeDataSharesCommand.js +21 -28
- package/dist-es/commands/DescribeDataSharesForConsumerCommand.js +21 -28
- package/dist-es/commands/DescribeDataSharesForProducerCommand.js +21 -28
- package/dist-es/commands/DescribeDefaultClusterParametersCommand.js +21 -28
- package/dist-es/commands/DescribeEndpointAccessCommand.js +21 -28
- package/dist-es/commands/DescribeEndpointAuthorizationCommand.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/DescribeHsmClientCertificatesCommand.js +21 -28
- package/dist-es/commands/DescribeHsmConfigurationsCommand.js +21 -28
- package/dist-es/commands/DescribeLoggingStatusCommand.js +21 -28
- package/dist-es/commands/DescribeNodeConfigurationOptionsCommand.js +21 -28
- package/dist-es/commands/DescribeOrderableClusterOptionsCommand.js +21 -28
- package/dist-es/commands/DescribePartnersCommand.js +21 -28
- package/dist-es/commands/DescribeReservedNodeExchangeStatusCommand.js +21 -28
- package/dist-es/commands/DescribeReservedNodeOfferingsCommand.js +21 -28
- package/dist-es/commands/DescribeReservedNodesCommand.js +21 -28
- package/dist-es/commands/DescribeResizeCommand.js +21 -28
- package/dist-es/commands/DescribeScheduledActionsCommand.js +21 -28
- package/dist-es/commands/DescribeSnapshotCopyGrantsCommand.js +21 -28
- package/dist-es/commands/DescribeSnapshotSchedulesCommand.js +21 -28
- package/dist-es/commands/DescribeStorageCommand.js +22 -29
- package/dist-es/commands/DescribeTableRestoreStatusCommand.js +21 -28
- package/dist-es/commands/DescribeTagsCommand.js +21 -28
- package/dist-es/commands/DescribeUsageLimitsCommand.js +21 -28
- package/dist-es/commands/DisableLoggingCommand.js +21 -28
- package/dist-es/commands/DisableSnapshotCopyCommand.js +21 -28
- package/dist-es/commands/DisassociateDataShareConsumerCommand.js +21 -28
- package/dist-es/commands/EnableLoggingCommand.js +21 -28
- package/dist-es/commands/EnableSnapshotCopyCommand.js +21 -28
- package/dist-es/commands/GetClusterCredentialsCommand.js +21 -28
- package/dist-es/commands/GetClusterCredentialsWithIAMCommand.js +21 -28
- package/dist-es/commands/GetReservedNodeExchangeConfigurationOptionsCommand.js +21 -28
- package/dist-es/commands/GetReservedNodeExchangeOfferingsCommand.js +21 -28
- package/dist-es/commands/ModifyAquaConfigurationCommand.js +21 -28
- package/dist-es/commands/ModifyAuthenticationProfileCommand.js +21 -28
- package/dist-es/commands/ModifyClusterCommand.js +21 -28
- package/dist-es/commands/ModifyClusterDbRevisionCommand.js +21 -28
- package/dist-es/commands/ModifyClusterIamRolesCommand.js +21 -28
- package/dist-es/commands/ModifyClusterMaintenanceCommand.js +21 -28
- package/dist-es/commands/ModifyClusterParameterGroupCommand.js +21 -28
- package/dist-es/commands/ModifyClusterSnapshotCommand.js +21 -28
- package/dist-es/commands/ModifyClusterSnapshotScheduleCommand.js +22 -29
- package/dist-es/commands/ModifyClusterSubnetGroupCommand.js +21 -28
- package/dist-es/commands/ModifyEndpointAccessCommand.js +21 -28
- package/dist-es/commands/ModifyEventSubscriptionCommand.js +21 -28
- package/dist-es/commands/ModifyScheduledActionCommand.js +21 -28
- package/dist-es/commands/ModifySnapshotCopyRetentionPeriodCommand.js +21 -28
- package/dist-es/commands/ModifySnapshotScheduleCommand.js +21 -28
- package/dist-es/commands/ModifyUsageLimitCommand.js +21 -28
- package/dist-es/commands/PauseClusterCommand.js +21 -28
- package/dist-es/commands/PurchaseReservedNodeOfferingCommand.js +21 -28
- package/dist-es/commands/RebootClusterCommand.js +21 -28
- package/dist-es/commands/RejectDataShareCommand.js +21 -28
- package/dist-es/commands/ResetClusterParameterGroupCommand.js +21 -28
- package/dist-es/commands/ResizeClusterCommand.js +21 -28
- package/dist-es/commands/RestoreFromClusterSnapshotCommand.js +21 -28
- package/dist-es/commands/RestoreTableFromClusterSnapshotCommand.js +21 -28
- package/dist-es/commands/ResumeClusterCommand.js +21 -28
- package/dist-es/commands/RevokeClusterSecurityGroupIngressCommand.js +21 -28
- package/dist-es/commands/RevokeEndpointAccessCommand.js +21 -28
- package/dist-es/commands/RevokeSnapshotAccessCommand.js +21 -28
- package/dist-es/commands/RotateEncryptionKeyCommand.js +21 -28
- package/dist-es/commands/UpdatePartnerStatusCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/RedshiftServiceException.js +5 -10
- package/dist-es/models/models_0.js +1808 -1459
- package/dist-es/models/models_1.js +503 -308
- package/dist-es/pagination/DescribeClusterDbRevisionsPaginator.js +25 -68
- package/dist-es/pagination/DescribeClusterParameterGroupsPaginator.js +25 -68
- package/dist-es/pagination/DescribeClusterParametersPaginator.js +25 -68
- package/dist-es/pagination/DescribeClusterSecurityGroupsPaginator.js +25 -68
- package/dist-es/pagination/DescribeClusterSnapshotsPaginator.js +25 -68
- package/dist-es/pagination/DescribeClusterSubnetGroupsPaginator.js +25 -68
- package/dist-es/pagination/DescribeClusterTracksPaginator.js +25 -68
- package/dist-es/pagination/DescribeClusterVersionsPaginator.js +25 -68
- package/dist-es/pagination/DescribeClustersPaginator.js +25 -68
- package/dist-es/pagination/DescribeDataSharesForConsumerPaginator.js +25 -68
- package/dist-es/pagination/DescribeDataSharesForProducerPaginator.js +25 -68
- package/dist-es/pagination/DescribeDataSharesPaginator.js +25 -68
- package/dist-es/pagination/DescribeDefaultClusterParametersPaginator.js +25 -68
- package/dist-es/pagination/DescribeEndpointAccessPaginator.js +25 -68
- package/dist-es/pagination/DescribeEndpointAuthorizationPaginator.js +25 -68
- package/dist-es/pagination/DescribeEventSubscriptionsPaginator.js +25 -68
- package/dist-es/pagination/DescribeEventsPaginator.js +25 -68
- package/dist-es/pagination/DescribeHsmClientCertificatesPaginator.js +25 -68
- package/dist-es/pagination/DescribeHsmConfigurationsPaginator.js +25 -68
- package/dist-es/pagination/DescribeNodeConfigurationOptionsPaginator.js +25 -68
- package/dist-es/pagination/DescribeOrderableClusterOptionsPaginator.js +25 -68
- package/dist-es/pagination/DescribeReservedNodeExchangeStatusPaginator.js +25 -68
- package/dist-es/pagination/DescribeReservedNodeOfferingsPaginator.js +25 -68
- package/dist-es/pagination/DescribeReservedNodesPaginator.js +25 -68
- package/dist-es/pagination/DescribeScheduledActionsPaginator.js +25 -68
- package/dist-es/pagination/DescribeSnapshotCopyGrantsPaginator.js +25 -68
- package/dist-es/pagination/DescribeSnapshotSchedulesPaginator.js +25 -68
- package/dist-es/pagination/DescribeTableRestoreStatusPaginator.js +25 -68
- package/dist-es/pagination/DescribeTagsPaginator.js +25 -68
- package/dist-es/pagination/DescribeUsageLimitsPaginator.js +25 -68
- package/dist-es/pagination/GetReservedNodeExchangeConfigurationOptionsPaginator.js +25 -68
- package/dist-es/pagination/GetReservedNodeExchangeOfferingsPaginator.js +25 -68
- package/dist-es/protocols/Aws_query.js +8827 -11428
- 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/waitForClusterAvailable.js +52 -93
- package/dist-es/waiters/waitForClusterDeleted.js +49 -90
- package/dist-es/waiters/waitForClusterRestored.js +50 -91
- package/dist-es/waiters/waitForSnapshotAvailable.js +64 -115
- package/package.json +35 -36
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
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-redshift
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.186.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.185.0...v3.186.0) (2022-10-06)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-redshift
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
# [3.185.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.184.0...v3.185.0) (2022-10-05)
|
|
7
23
|
|
|
8
24
|
|
|
@@ -7,7 +7,6 @@ exports.deserializeAws_queryDisableLoggingCommand = exports.deserializeAws_query
|
|
|
7
7
|
exports.deserializeAws_queryUpdatePartnerStatusCommand = exports.deserializeAws_queryRotateEncryptionKeyCommand = exports.deserializeAws_queryRevokeSnapshotAccessCommand = exports.deserializeAws_queryRevokeEndpointAccessCommand = exports.deserializeAws_queryRevokeClusterSecurityGroupIngressCommand = exports.deserializeAws_queryResumeClusterCommand = exports.deserializeAws_queryRestoreTableFromClusterSnapshotCommand = exports.deserializeAws_queryRestoreFromClusterSnapshotCommand = exports.deserializeAws_queryResizeClusterCommand = exports.deserializeAws_queryResetClusterParameterGroupCommand = exports.deserializeAws_queryRejectDataShareCommand = exports.deserializeAws_queryRebootClusterCommand = exports.deserializeAws_queryPurchaseReservedNodeOfferingCommand = exports.deserializeAws_queryPauseClusterCommand = exports.deserializeAws_queryModifyUsageLimitCommand = exports.deserializeAws_queryModifySnapshotScheduleCommand = exports.deserializeAws_queryModifySnapshotCopyRetentionPeriodCommand = exports.deserializeAws_queryModifyScheduledActionCommand = exports.deserializeAws_queryModifyEventSubscriptionCommand = exports.deserializeAws_queryModifyEndpointAccessCommand = exports.deserializeAws_queryModifyClusterSubnetGroupCommand = exports.deserializeAws_queryModifyClusterSnapshotScheduleCommand = exports.deserializeAws_queryModifyClusterSnapshotCommand = exports.deserializeAws_queryModifyClusterParameterGroupCommand = exports.deserializeAws_queryModifyClusterMaintenanceCommand = exports.deserializeAws_queryModifyClusterIamRolesCommand = exports.deserializeAws_queryModifyClusterDbRevisionCommand = exports.deserializeAws_queryModifyClusterCommand = exports.deserializeAws_queryModifyAuthenticationProfileCommand = exports.deserializeAws_queryModifyAquaConfigurationCommand = exports.deserializeAws_queryGetReservedNodeExchangeOfferingsCommand = exports.deserializeAws_queryGetReservedNodeExchangeConfigurationOptionsCommand = exports.deserializeAws_queryGetClusterCredentialsWithIAMCommand = exports.deserializeAws_queryGetClusterCredentialsCommand = exports.deserializeAws_queryEnableSnapshotCopyCommand = exports.deserializeAws_queryEnableLoggingCommand = exports.deserializeAws_queryDisassociateDataShareConsumerCommand = exports.deserializeAws_queryDisableSnapshotCopyCommand = void 0;
|
|
8
8
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
9
9
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
10
|
-
const entities_1 = require("entities");
|
|
11
10
|
const fast_xml_parser_1 = require("fast-xml-parser");
|
|
12
11
|
const models_0_1 = require("../models/models_0");
|
|
13
12
|
const models_1_1 = require("../models/models_1");
|
|
@@ -15234,13 +15233,18 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
15234
15233
|
};
|
|
15235
15234
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
15236
15235
|
if (encoded.length) {
|
|
15237
|
-
const
|
|
15236
|
+
const parser = new fast_xml_parser_1.XMLParser({
|
|
15238
15237
|
attributeNamePrefix: "",
|
|
15238
|
+
htmlEntities: true,
|
|
15239
15239
|
ignoreAttributes: false,
|
|
15240
|
-
|
|
15240
|
+
ignoreDeclaration: true,
|
|
15241
|
+
parseTagValue: false,
|
|
15241
15242
|
trimValues: false,
|
|
15242
|
-
tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" :
|
|
15243
|
+
tagValueProcessor: (_, val) => (val.trim() === "" && val.includes("\n") ? "" : undefined),
|
|
15243
15244
|
});
|
|
15245
|
+
parser.addEntity("#xD", "\r");
|
|
15246
|
+
parser.addEntity("#10", "\n");
|
|
15247
|
+
const parsedObj = parser.parse(encoded);
|
|
15244
15248
|
const textNodeName = "#text";
|
|
15245
15249
|
const key = Object.keys(parsedObj)[0];
|
|
15246
15250
|
const parsedObjToReturn = parsedObj[key];
|