@aws-sdk/client-redshift 3.356.0 → 3.358.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.
|
@@ -2536,7 +2536,7 @@ const de_CreateTagsCommand = async (output, context) => {
|
|
|
2536
2536
|
if (output.statusCode >= 300) {
|
|
2537
2537
|
return de_CreateTagsCommandError(output, context);
|
|
2538
2538
|
}
|
|
2539
|
-
await collectBody(output.body, context);
|
|
2539
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2540
2540
|
const response = {
|
|
2541
2541
|
$metadata: deserializeMetadata(output),
|
|
2542
2542
|
};
|
|
@@ -2740,7 +2740,7 @@ const de_DeleteClusterParameterGroupCommand = async (output, context) => {
|
|
|
2740
2740
|
if (output.statusCode >= 300) {
|
|
2741
2741
|
return de_DeleteClusterParameterGroupCommandError(output, context);
|
|
2742
2742
|
}
|
|
2743
|
-
await collectBody(output.body, context);
|
|
2743
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2744
2744
|
const response = {
|
|
2745
2745
|
$metadata: deserializeMetadata(output),
|
|
2746
2746
|
};
|
|
@@ -2773,7 +2773,7 @@ const de_DeleteClusterSecurityGroupCommand = async (output, context) => {
|
|
|
2773
2773
|
if (output.statusCode >= 300) {
|
|
2774
2774
|
return de_DeleteClusterSecurityGroupCommandError(output, context);
|
|
2775
2775
|
}
|
|
2776
|
-
await collectBody(output.body, context);
|
|
2776
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2777
2777
|
const response = {
|
|
2778
2778
|
$metadata: deserializeMetadata(output),
|
|
2779
2779
|
};
|
|
@@ -2842,7 +2842,7 @@ const de_DeleteClusterSubnetGroupCommand = async (output, context) => {
|
|
|
2842
2842
|
if (output.statusCode >= 300) {
|
|
2843
2843
|
return de_DeleteClusterSubnetGroupCommandError(output, context);
|
|
2844
2844
|
}
|
|
2845
|
-
await collectBody(output.body, context);
|
|
2845
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2846
2846
|
const response = {
|
|
2847
2847
|
$metadata: deserializeMetadata(output),
|
|
2848
2848
|
};
|
|
@@ -2878,7 +2878,7 @@ const de_DeleteCustomDomainAssociationCommand = async (output, context) => {
|
|
|
2878
2878
|
if (output.statusCode >= 300) {
|
|
2879
2879
|
return de_DeleteCustomDomainAssociationCommandError(output, context);
|
|
2880
2880
|
}
|
|
2881
|
-
await collectBody(output.body, context);
|
|
2881
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2882
2882
|
const response = {
|
|
2883
2883
|
$metadata: deserializeMetadata(output),
|
|
2884
2884
|
};
|
|
@@ -2959,7 +2959,7 @@ const de_DeleteEventSubscriptionCommand = async (output, context) => {
|
|
|
2959
2959
|
if (output.statusCode >= 300) {
|
|
2960
2960
|
return de_DeleteEventSubscriptionCommandError(output, context);
|
|
2961
2961
|
}
|
|
2962
|
-
await collectBody(output.body, context);
|
|
2962
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2963
2963
|
const response = {
|
|
2964
2964
|
$metadata: deserializeMetadata(output),
|
|
2965
2965
|
};
|
|
@@ -2992,7 +2992,7 @@ const de_DeleteHsmClientCertificateCommand = async (output, context) => {
|
|
|
2992
2992
|
if (output.statusCode >= 300) {
|
|
2993
2993
|
return de_DeleteHsmClientCertificateCommandError(output, context);
|
|
2994
2994
|
}
|
|
2995
|
-
await collectBody(output.body, context);
|
|
2995
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2996
2996
|
const response = {
|
|
2997
2997
|
$metadata: deserializeMetadata(output),
|
|
2998
2998
|
};
|
|
@@ -3025,7 +3025,7 @@ const de_DeleteHsmConfigurationCommand = async (output, context) => {
|
|
|
3025
3025
|
if (output.statusCode >= 300) {
|
|
3026
3026
|
return de_DeleteHsmConfigurationCommandError(output, context);
|
|
3027
3027
|
}
|
|
3028
|
-
await collectBody(output.body, context);
|
|
3028
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3029
3029
|
const response = {
|
|
3030
3030
|
$metadata: deserializeMetadata(output),
|
|
3031
3031
|
};
|
|
@@ -3097,7 +3097,7 @@ const de_DeleteScheduledActionCommand = async (output, context) => {
|
|
|
3097
3097
|
if (output.statusCode >= 300) {
|
|
3098
3098
|
return de_DeleteScheduledActionCommandError(output, context);
|
|
3099
3099
|
}
|
|
3100
|
-
await collectBody(output.body, context);
|
|
3100
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3101
3101
|
const response = {
|
|
3102
3102
|
$metadata: deserializeMetadata(output),
|
|
3103
3103
|
};
|
|
@@ -3130,7 +3130,7 @@ const de_DeleteSnapshotCopyGrantCommand = async (output, context) => {
|
|
|
3130
3130
|
if (output.statusCode >= 300) {
|
|
3131
3131
|
return de_DeleteSnapshotCopyGrantCommandError(output, context);
|
|
3132
3132
|
}
|
|
3133
|
-
await collectBody(output.body, context);
|
|
3133
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3134
3134
|
const response = {
|
|
3135
3135
|
$metadata: deserializeMetadata(output),
|
|
3136
3136
|
};
|
|
@@ -3163,7 +3163,7 @@ const de_DeleteSnapshotScheduleCommand = async (output, context) => {
|
|
|
3163
3163
|
if (output.statusCode >= 300) {
|
|
3164
3164
|
return de_DeleteSnapshotScheduleCommandError(output, context);
|
|
3165
3165
|
}
|
|
3166
|
-
await collectBody(output.body, context);
|
|
3166
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3167
3167
|
const response = {
|
|
3168
3168
|
$metadata: deserializeMetadata(output),
|
|
3169
3169
|
};
|
|
@@ -3196,7 +3196,7 @@ const de_DeleteTagsCommand = async (output, context) => {
|
|
|
3196
3196
|
if (output.statusCode >= 300) {
|
|
3197
3197
|
return de_DeleteTagsCommandError(output, context);
|
|
3198
3198
|
}
|
|
3199
|
-
await collectBody(output.body, context);
|
|
3199
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3200
3200
|
const response = {
|
|
3201
3201
|
$metadata: deserializeMetadata(output),
|
|
3202
3202
|
};
|
|
@@ -3229,7 +3229,7 @@ const de_DeleteUsageLimitCommand = async (output, context) => {
|
|
|
3229
3229
|
if (output.statusCode >= 300) {
|
|
3230
3230
|
return de_DeleteUsageLimitCommandError(output, context);
|
|
3231
3231
|
}
|
|
3232
|
-
await collectBody(output.body, context);
|
|
3232
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3233
3233
|
const response = {
|
|
3234
3234
|
$metadata: deserializeMetadata(output),
|
|
3235
3235
|
};
|
|
@@ -5323,7 +5323,7 @@ const de_ModifyClusterSnapshotScheduleCommand = async (output, context) => {
|
|
|
5323
5323
|
if (output.statusCode >= 300) {
|
|
5324
5324
|
return de_ModifyClusterSnapshotScheduleCommandError(output, context);
|
|
5325
5325
|
}
|
|
5326
|
-
await collectBody(output.body, context);
|
|
5326
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
5327
5327
|
const response = {
|
|
5328
5328
|
$metadata: deserializeMetadata(output),
|
|
5329
5329
|
};
|
|
@@ -14496,13 +14496,7 @@ const deserializeMetadata = (output) => ({
|
|
|
14496
14496
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
14497
14497
|
cfId: output.headers["x-amz-cf-id"],
|
|
14498
14498
|
});
|
|
14499
|
-
const
|
|
14500
|
-
if (streamBody instanceof Uint8Array) {
|
|
14501
|
-
return Promise.resolve(streamBody);
|
|
14502
|
-
}
|
|
14503
|
-
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
14504
|
-
};
|
|
14505
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
14499
|
+
const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
14506
14500
|
const throwDefaultError = (0, smithy_client_1.withBaseException)(RedshiftServiceException_1.RedshiftServiceException);
|
|
14507
14501
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
14508
14502
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, withBaseException, } from "@aws-sdk/smithy-client";
|
|
1
|
+
import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, withBaseException, } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import { XMLParser } from "fast-xml-parser";
|
|
4
4
|
import { AccessToClusterDeniedFault, AccessToSnapshotDeniedFault, AuthenticationProfileAlreadyExistsFault, AuthenticationProfileNotFoundFault, AuthenticationProfileQuotaExceededFault, AuthorizationAlreadyExistsFault, AuthorizationNotFoundFault, AuthorizationQuotaExceededFault, BatchDeleteRequestSizeExceededFault, BatchModifyClusterSnapshotsLimitExceededFault, BucketNotFoundFault, ClusterAlreadyExistsFault, ClusterNotFoundFault, ClusterOnLatestRevisionFault, ClusterParameterGroupAlreadyExistsFault, ClusterParameterGroupNotFoundFault, ClusterParameterGroupQuotaExceededFault, ClusterQuotaExceededFault, ClusterSecurityGroupAlreadyExistsFault, ClusterSecurityGroupNotFoundFault, ClusterSecurityGroupQuotaExceededFault, ClusterSnapshotAlreadyExistsFault, ClusterSnapshotNotFoundFault, ClusterSnapshotQuotaExceededFault, ClusterSubnetGroupAlreadyExistsFault, ClusterSubnetGroupNotFoundFault, ClusterSubnetGroupQuotaExceededFault, ClusterSubnetQuotaExceededFault, CopyToRegionDisabledFault, CustomCnameAssociationFault, CustomDomainAssociationNotFoundFault, DependentServiceRequestThrottlingFault, DependentServiceUnavailableFault, EndpointAlreadyExistsFault, EndpointAuthorizationAlreadyExistsFault, EndpointAuthorizationsPerClusterLimitExceededFault, EndpointNotFoundFault, EndpointsPerAuthorizationLimitExceededFault, EndpointsPerClusterLimitExceededFault, EventSubscriptionQuotaExceededFault, HsmClientCertificateAlreadyExistsFault, HsmClientCertificateNotFoundFault, HsmClientCertificateQuotaExceededFault, HsmConfigurationAlreadyExistsFault, HsmConfigurationNotFoundFault, HsmConfigurationQuotaExceededFault, InsufficientClusterCapacityFault, InvalidAuthenticationProfileRequestFault, InvalidAuthorizationStateFault, InvalidClusterParameterGroupStateFault, InvalidClusterSecurityGroupStateFault, InvalidClusterSnapshotScheduleStateFault, InvalidClusterSnapshotStateFault, InvalidClusterStateFault, InvalidClusterSubnetGroupStateFault, InvalidClusterSubnetStateFault, InvalidClusterTrackFault, InvalidDataShareFault, InvalidElasticIpFault, InvalidEndpointStateFault, InvalidHsmClientCertificateStateFault, InvalidHsmConfigurationStateFault, InvalidNamespaceFault, InvalidReservedNodeStateFault, InvalidRetentionPeriodFault, InvalidScheduledActionFault, InvalidScheduleFault, InvalidSnapshotCopyGrantStateFault, InvalidSubnet, InvalidSubscriptionStateFault, InvalidTagFault, InvalidUsageLimitFault, InvalidVPCNetworkStateFault, LimitExceededFault, NumberOfNodesPerClusterLimitExceededFault, NumberOfNodesQuotaExceededFault, PartnerNotFoundFault, ReservedNodeAlreadyExistsFault, ReservedNodeAlreadyMigratedFault, ReservedNodeNotFoundFault, ReservedNodeOfferingNotFoundFault, ResizeNotFoundFault, ResourceNotFoundFault, ScheduledActionAlreadyExistsFault, ScheduledActionNotFoundFault, ScheduledActionQuotaExceededFault, ScheduledActionTypeUnsupportedFault, ScheduleDefinitionTypeUnsupportedFault, SnapshotCopyGrantAlreadyExistsFault, SnapshotCopyGrantNotFoundFault, SnapshotCopyGrantQuotaExceededFault, SnapshotScheduleAlreadyExistsFault, SnapshotScheduleNotFoundFault, SnapshotScheduleQuotaExceededFault, SNSInvalidTopicFault, SNSNoAuthorizationFault, SNSTopicArnNotFoundFault, SourceNotFoundFault, SubscriptionAlreadyExistFault, SubscriptionCategoryNotFoundFault, SubscriptionEventIdNotFoundFault, SubscriptionNotFoundFault, SubscriptionSeverityNotFoundFault, TagLimitExceededFault, UnauthorizedOperation, UnauthorizedPartnerIntegrationFault, UnsupportedOperationFault, UsageLimitAlreadyExistsFault, UsageLimitNotFoundFault, } from "../models/models_0";
|
|
@@ -14243,12 +14243,6 @@ const deserializeMetadata = (output) => ({
|
|
|
14243
14243
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
14244
14244
|
cfId: output.headers["x-amz-cf-id"],
|
|
14245
14245
|
});
|
|
14246
|
-
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
14247
|
-
if (streamBody instanceof Uint8Array) {
|
|
14248
|
-
return Promise.resolve(streamBody);
|
|
14249
|
-
}
|
|
14250
|
-
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
14251
|
-
};
|
|
14252
14246
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
14253
14247
|
const throwDefaultError = withBaseException(__BaseException);
|
|
14254
14248
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
@@ -196,7 +196,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
196
196
|
*/
|
|
197
197
|
runtime?: string;
|
|
198
198
|
/**
|
|
199
|
-
* Disable
|
|
199
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
200
200
|
* trait of an operation.
|
|
201
201
|
*/
|
|
202
202
|
disableHostPrefix?: boolean;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-redshift",
|
|
3
3
|
"description": "AWS SDK for JavaScript Redshift Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.358.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.358.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.357.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.358.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.357.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.357.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.357.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.357.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.357.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.357.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.357.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.357.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.357.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.357.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.357.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.357.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.357.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.357.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.357.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.358.0",
|
|
43
|
+
"@aws-sdk/types": "3.357.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.357.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.358.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.358.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.357.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.357.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.357.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.357.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
55
|
-
"@aws-sdk/util-waiter": "3.
|
|
55
|
+
"@aws-sdk/util-waiter": "3.357.0",
|
|
56
56
|
"@smithy/protocol-http": "^1.0.1",
|
|
57
57
|
"@smithy/types": "^1.0.0",
|
|
58
58
|
"fast-xml-parser": "4.2.4",
|