@aws-sdk/client-rds 3.353.0 → 3.357.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.
|
@@ -1567,7 +1567,7 @@ const de_AddRoleToDBClusterCommand = async (output, context) => {
|
|
|
1567
1567
|
if (output.statusCode >= 300) {
|
|
1568
1568
|
return de_AddRoleToDBClusterCommandError(output, context);
|
|
1569
1569
|
}
|
|
1570
|
-
await collectBody(output.body, context);
|
|
1570
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1571
1571
|
const response = {
|
|
1572
1572
|
$metadata: deserializeMetadata(output),
|
|
1573
1573
|
};
|
|
@@ -1606,7 +1606,7 @@ const de_AddRoleToDBInstanceCommand = async (output, context) => {
|
|
|
1606
1606
|
if (output.statusCode >= 300) {
|
|
1607
1607
|
return de_AddRoleToDBInstanceCommandError(output, context);
|
|
1608
1608
|
}
|
|
1609
|
-
await collectBody(output.body, context);
|
|
1609
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1610
1610
|
const response = {
|
|
1611
1611
|
$metadata: deserializeMetadata(output),
|
|
1612
1612
|
};
|
|
@@ -1681,7 +1681,7 @@ const de_AddTagsToResourceCommand = async (output, context) => {
|
|
|
1681
1681
|
if (output.statusCode >= 300) {
|
|
1682
1682
|
return de_AddTagsToResourceCommandError(output, context);
|
|
1683
1683
|
}
|
|
1684
|
-
await collectBody(output.body, context);
|
|
1684
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1685
1685
|
const response = {
|
|
1686
1686
|
$metadata: deserializeMetadata(output),
|
|
1687
1687
|
};
|
|
@@ -3133,7 +3133,7 @@ const de_DeleteDBClusterParameterGroupCommand = async (output, context) => {
|
|
|
3133
3133
|
if (output.statusCode >= 300) {
|
|
3134
3134
|
return de_DeleteDBClusterParameterGroupCommandError(output, context);
|
|
3135
3135
|
}
|
|
3136
|
-
await collectBody(output.body, context);
|
|
3136
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3137
3137
|
const response = {
|
|
3138
3138
|
$metadata: deserializeMetadata(output),
|
|
3139
3139
|
};
|
|
@@ -3286,7 +3286,7 @@ const de_DeleteDBParameterGroupCommand = async (output, context) => {
|
|
|
3286
3286
|
if (output.statusCode >= 300) {
|
|
3287
3287
|
return de_DeleteDBParameterGroupCommandError(output, context);
|
|
3288
3288
|
}
|
|
3289
|
-
await collectBody(output.body, context);
|
|
3289
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3290
3290
|
const response = {
|
|
3291
3291
|
$metadata: deserializeMetadata(output),
|
|
3292
3292
|
};
|
|
@@ -3391,7 +3391,7 @@ const de_DeleteDBSecurityGroupCommand = async (output, context) => {
|
|
|
3391
3391
|
if (output.statusCode >= 300) {
|
|
3392
3392
|
return de_DeleteDBSecurityGroupCommandError(output, context);
|
|
3393
3393
|
}
|
|
3394
|
-
await collectBody(output.body, context);
|
|
3394
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3395
3395
|
const response = {
|
|
3396
3396
|
$metadata: deserializeMetadata(output),
|
|
3397
3397
|
};
|
|
@@ -3460,7 +3460,7 @@ const de_DeleteDBSubnetGroupCommand = async (output, context) => {
|
|
|
3460
3460
|
if (output.statusCode >= 300) {
|
|
3461
3461
|
return de_DeleteDBSubnetGroupCommandError(output, context);
|
|
3462
3462
|
}
|
|
3463
|
-
await collectBody(output.body, context);
|
|
3463
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3464
3464
|
const response = {
|
|
3465
3465
|
$metadata: deserializeMetadata(output),
|
|
3466
3466
|
};
|
|
@@ -3568,7 +3568,7 @@ const de_DeleteOptionGroupCommand = async (output, context) => {
|
|
|
3568
3568
|
if (output.statusCode >= 300) {
|
|
3569
3569
|
return de_DeleteOptionGroupCommandError(output, context);
|
|
3570
3570
|
}
|
|
3571
|
-
await collectBody(output.body, context);
|
|
3571
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3572
3572
|
const response = {
|
|
3573
3573
|
$metadata: deserializeMetadata(output),
|
|
3574
3574
|
};
|
|
@@ -6175,7 +6175,7 @@ const de_RemoveRoleFromDBClusterCommand = async (output, context) => {
|
|
|
6175
6175
|
if (output.statusCode >= 300) {
|
|
6176
6176
|
return de_RemoveRoleFromDBClusterCommandError(output, context);
|
|
6177
6177
|
}
|
|
6178
|
-
await collectBody(output.body, context);
|
|
6178
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
6179
6179
|
const response = {
|
|
6180
6180
|
$metadata: deserializeMetadata(output),
|
|
6181
6181
|
};
|
|
@@ -6211,7 +6211,7 @@ const de_RemoveRoleFromDBInstanceCommand = async (output, context) => {
|
|
|
6211
6211
|
if (output.statusCode >= 300) {
|
|
6212
6212
|
return de_RemoveRoleFromDBInstanceCommandError(output, context);
|
|
6213
6213
|
}
|
|
6214
|
-
await collectBody(output.body, context);
|
|
6214
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
6215
6215
|
const response = {
|
|
6216
6216
|
$metadata: deserializeMetadata(output),
|
|
6217
6217
|
};
|
|
@@ -6283,7 +6283,7 @@ const de_RemoveTagsFromResourceCommand = async (output, context) => {
|
|
|
6283
6283
|
if (output.statusCode >= 300) {
|
|
6284
6284
|
return de_RemoveTagsFromResourceCommandError(output, context);
|
|
6285
6285
|
}
|
|
6286
|
-
await collectBody(output.body, context);
|
|
6286
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
6287
6287
|
const response = {
|
|
6288
6288
|
$metadata: deserializeMetadata(output),
|
|
6289
6289
|
};
|
|
@@ -18888,13 +18888,7 @@ const deserializeMetadata = (output) => ({
|
|
|
18888
18888
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
18889
18889
|
cfId: output.headers["x-amz-cf-id"],
|
|
18890
18890
|
});
|
|
18891
|
-
const
|
|
18892
|
-
if (streamBody instanceof Uint8Array) {
|
|
18893
|
-
return Promise.resolve(streamBody);
|
|
18894
|
-
}
|
|
18895
|
-
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
18896
|
-
};
|
|
18897
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
18891
|
+
const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
18898
18892
|
const throwDefaultError = (0, smithy_client_1.withBaseException)(RDSServiceException_1.RDSServiceException);
|
|
18899
18893
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
18900
18894
|
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, serializeFloat as __serializeFloat, 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, serializeFloat as __serializeFloat, 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 { AuthorizationAlreadyExistsFault, AuthorizationNotFoundFault, AuthorizationQuotaExceededFault, BackupPolicyNotFoundFault, BlueGreenDeploymentAlreadyExistsFault, BlueGreenDeploymentNotFoundFault, CertificateNotFoundFault, CreateCustomDBEngineVersionFault, CustomAvailabilityZoneNotFoundFault, CustomDBEngineVersionAlreadyExistsFault, CustomDBEngineVersionNotFoundFault, CustomDBEngineVersionQuotaExceededFault, DBClusterAlreadyExistsFault, DBClusterBacktrackNotFoundFault, DBClusterEndpointAlreadyExistsFault, DBClusterEndpointNotFoundFault, DBClusterEndpointQuotaExceededFault, DBClusterNotFoundFault, DBClusterParameterGroupNotFoundFault, DBClusterQuotaExceededFault, DBClusterRoleAlreadyExistsFault, DBClusterRoleQuotaExceededFault, DBClusterSnapshotAlreadyExistsFault, DBClusterSnapshotNotFoundFault, DBInstanceAlreadyExistsFault, DBInstanceAutomatedBackupNotFoundFault, DBInstanceAutomatedBackupQuotaExceededFault, DBInstanceNotFoundFault, DBInstanceRoleAlreadyExistsFault, DBInstanceRoleQuotaExceededFault, DBParameterGroupAlreadyExistsFault, DBParameterGroupNotFoundFault, DBParameterGroupQuotaExceededFault, DBProxyAlreadyExistsFault, DBProxyEndpointAlreadyExistsFault, DBProxyEndpointNotFoundFault, DBProxyEndpointQuotaExceededFault, DBProxyNotFoundFault, DBProxyQuotaExceededFault, DBProxyTargetGroupNotFoundFault, DBProxyTargetNotFoundFault, DBSecurityGroupAlreadyExistsFault, DBSecurityGroupNotFoundFault, DBSecurityGroupNotSupportedFault, DBSecurityGroupQuotaExceededFault, DBSnapshotAlreadyExistsFault, DBSnapshotNotFoundFault, DBSubnetGroupAlreadyExistsFault, DBSubnetGroupDoesNotCoverEnoughAZs, DBSubnetGroupNotAllowedFault, DBSubnetGroupNotFoundFault, DBSubnetGroupQuotaExceededFault, DBSubnetQuotaExceededFault, DomainNotFoundFault, Ec2ImagePropertiesNotSupportedFault, EventSubscriptionQuotaExceededFault, ExportTaskNotFoundFault, GlobalClusterAlreadyExistsFault, GlobalClusterNotFoundFault, GlobalClusterQuotaExceededFault, InstanceQuotaExceededFault, InsufficientDBInstanceCapacityFault, InsufficientStorageClusterCapacityFault, InvalidBlueGreenDeploymentStateFault, InvalidCustomDBEngineVersionStateFault, InvalidDBClusterEndpointStateFault, InvalidDBClusterSnapshotStateFault, InvalidDBClusterStateFault, InvalidDBInstanceAutomatedBackupStateFault, InvalidDBInstanceStateFault, InvalidDBParameterGroupStateFault, InvalidDBProxyEndpointStateFault, InvalidDBProxyStateFault, InvalidDBSecurityGroupStateFault, InvalidDBSnapshotStateFault, InvalidDBSubnetGroupFault, InvalidDBSubnetGroupStateFault, InvalidDBSubnetStateFault, InvalidEventSubscriptionStateFault, InvalidExportTaskStateFault, InvalidGlobalClusterStateFault, InvalidOptionGroupStateFault, InvalidSubnet, InvalidVPCNetworkStateFault, KMSKeyNotAccessibleFault, NetworkTypeNotSupported, OptionGroupAlreadyExistsFault, OptionGroupNotFoundFault, OptionGroupQuotaExceededFault, ProvisionedIopsNotAvailableInAZFault, ResourceNotFoundFault, SnapshotQuotaExceededFault, SNSInvalidTopicFault, SNSNoAuthorizationFault, SNSTopicArnNotFoundFault, SourceClusterNotSupportedFault, SourceDatabaseNotSupportedFault, SourceNotFoundFault, StorageQuotaExceededFault, StorageTypeNotSupportedFault, SubscriptionAlreadyExistFault, SubscriptionCategoryNotFoundFault, SubscriptionNotFoundFault, } from "../models/models_0";
|
|
@@ -18598,12 +18598,6 @@ const deserializeMetadata = (output) => ({
|
|
|
18598
18598
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
18599
18599
|
cfId: output.headers["x-amz-cf-id"],
|
|
18600
18600
|
});
|
|
18601
|
-
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
18602
|
-
if (streamBody instanceof Uint8Array) {
|
|
18603
|
-
return Promise.resolve(streamBody);
|
|
18604
|
-
}
|
|
18605
|
-
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
18606
|
-
};
|
|
18607
18601
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
18608
18602
|
const throwDefaultError = withBaseException(__BaseException);
|
|
18609
18603
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
@@ -214,7 +214,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
214
214
|
*/
|
|
215
215
|
runtime?: string;
|
|
216
216
|
/**
|
|
217
|
-
* Disable
|
|
217
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
218
218
|
* trait of an operation.
|
|
219
219
|
*/
|
|
220
220
|
disableHostPrefix?: boolean;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-rds",
|
|
3
3
|
"description": "AWS SDK for JavaScript Rds Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.357.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,39 +21,39 @@
|
|
|
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-sdk-rds": "3.
|
|
37
|
-
"@aws-sdk/middleware-serde": "3.
|
|
38
|
-
"@aws-sdk/middleware-signing": "3.
|
|
39
|
-
"@aws-sdk/middleware-stack": "3.
|
|
40
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
41
|
-
"@aws-sdk/node-config-provider": "3.
|
|
42
|
-
"@aws-sdk/node-http-handler": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.357.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.357.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.357.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-sdk-rds": "3.357.0",
|
|
37
|
+
"@aws-sdk/middleware-serde": "3.357.0",
|
|
38
|
+
"@aws-sdk/middleware-signing": "3.357.0",
|
|
39
|
+
"@aws-sdk/middleware-stack": "3.357.0",
|
|
40
|
+
"@aws-sdk/middleware-user-agent": "3.357.0",
|
|
41
|
+
"@aws-sdk/node-config-provider": "3.357.0",
|
|
42
|
+
"@aws-sdk/node-http-handler": "3.357.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.357.0",
|
|
44
|
+
"@aws-sdk/types": "3.357.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.357.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.357.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.357.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.357.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.357.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.357.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.357.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
56
|
-
"@aws-sdk/util-waiter": "3.
|
|
56
|
+
"@aws-sdk/util-waiter": "3.357.0",
|
|
57
57
|
"@smithy/protocol-http": "^1.0.1",
|
|
58
58
|
"@smithy/types": "^1.0.0",
|
|
59
59
|
"fast-xml-parser": "4.2.4",
|