@aws-sdk/client-elastic-beanstalk 3.354.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.
|
@@ -522,7 +522,7 @@ const de_AbortEnvironmentUpdateCommand = async (output, context) => {
|
|
|
522
522
|
if (output.statusCode >= 300) {
|
|
523
523
|
return de_AbortEnvironmentUpdateCommandError(output, context);
|
|
524
524
|
}
|
|
525
|
-
await collectBody(output.body, context);
|
|
525
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
526
526
|
const response = {
|
|
527
527
|
$metadata: deserializeMetadata(output),
|
|
528
528
|
};
|
|
@@ -588,7 +588,7 @@ const de_AssociateEnvironmentOperationsRoleCommand = async (output, context) =>
|
|
|
588
588
|
if (output.statusCode >= 300) {
|
|
589
589
|
return de_AssociateEnvironmentOperationsRoleCommandError(output, context);
|
|
590
590
|
}
|
|
591
|
-
await collectBody(output.body, context);
|
|
591
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
592
592
|
const response = {
|
|
593
593
|
$metadata: deserializeMetadata(output),
|
|
594
594
|
};
|
|
@@ -912,7 +912,7 @@ const de_DeleteApplicationCommand = async (output, context) => {
|
|
|
912
912
|
if (output.statusCode >= 300) {
|
|
913
913
|
return de_DeleteApplicationCommandError(output, context);
|
|
914
914
|
}
|
|
915
|
-
await collectBody(output.body, context);
|
|
915
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
916
916
|
const response = {
|
|
917
917
|
$metadata: deserializeMetadata(output),
|
|
918
918
|
};
|
|
@@ -942,7 +942,7 @@ const de_DeleteApplicationVersionCommand = async (output, context) => {
|
|
|
942
942
|
if (output.statusCode >= 300) {
|
|
943
943
|
return de_DeleteApplicationVersionCommandError(output, context);
|
|
944
944
|
}
|
|
945
|
-
await collectBody(output.body, context);
|
|
945
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
946
946
|
const response = {
|
|
947
947
|
$metadata: deserializeMetadata(output),
|
|
948
948
|
};
|
|
@@ -981,7 +981,7 @@ const de_DeleteConfigurationTemplateCommand = async (output, context) => {
|
|
|
981
981
|
if (output.statusCode >= 300) {
|
|
982
982
|
return de_DeleteConfigurationTemplateCommandError(output, context);
|
|
983
983
|
}
|
|
984
|
-
await collectBody(output.body, context);
|
|
984
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
985
985
|
const response = {
|
|
986
986
|
$metadata: deserializeMetadata(output),
|
|
987
987
|
};
|
|
@@ -1011,7 +1011,7 @@ const de_DeleteEnvironmentConfigurationCommand = async (output, context) => {
|
|
|
1011
1011
|
if (output.statusCode >= 300) {
|
|
1012
1012
|
return de_DeleteEnvironmentConfigurationCommandError(output, context);
|
|
1013
1013
|
}
|
|
1014
|
-
await collectBody(output.body, context);
|
|
1014
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1015
1015
|
const response = {
|
|
1016
1016
|
$metadata: deserializeMetadata(output),
|
|
1017
1017
|
};
|
|
@@ -1491,7 +1491,7 @@ const de_DisassociateEnvironmentOperationsRoleCommand = async (output, context)
|
|
|
1491
1491
|
if (output.statusCode >= 300) {
|
|
1492
1492
|
return de_DisassociateEnvironmentOperationsRoleCommandError(output, context);
|
|
1493
1493
|
}
|
|
1494
|
-
await collectBody(output.body, context);
|
|
1494
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1495
1495
|
const response = {
|
|
1496
1496
|
$metadata: deserializeMetadata(output),
|
|
1497
1497
|
};
|
|
@@ -1650,7 +1650,7 @@ const de_RebuildEnvironmentCommand = async (output, context) => {
|
|
|
1650
1650
|
if (output.statusCode >= 300) {
|
|
1651
1651
|
return de_RebuildEnvironmentCommandError(output, context);
|
|
1652
1652
|
}
|
|
1653
|
-
await collectBody(output.body, context);
|
|
1653
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1654
1654
|
const response = {
|
|
1655
1655
|
$metadata: deserializeMetadata(output),
|
|
1656
1656
|
};
|
|
@@ -1680,7 +1680,7 @@ const de_RequestEnvironmentInfoCommand = async (output, context) => {
|
|
|
1680
1680
|
if (output.statusCode >= 300) {
|
|
1681
1681
|
return de_RequestEnvironmentInfoCommandError(output, context);
|
|
1682
1682
|
}
|
|
1683
|
-
await collectBody(output.body, context);
|
|
1683
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1684
1684
|
const response = {
|
|
1685
1685
|
$metadata: deserializeMetadata(output),
|
|
1686
1686
|
};
|
|
@@ -1704,7 +1704,7 @@ const de_RestartAppServerCommand = async (output, context) => {
|
|
|
1704
1704
|
if (output.statusCode >= 300) {
|
|
1705
1705
|
return de_RestartAppServerCommandError(output, context);
|
|
1706
1706
|
}
|
|
1707
|
-
await collectBody(output.body, context);
|
|
1707
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1708
1708
|
const response = {
|
|
1709
1709
|
$metadata: deserializeMetadata(output),
|
|
1710
1710
|
};
|
|
@@ -1755,7 +1755,7 @@ const de_SwapEnvironmentCNAMEsCommand = async (output, context) => {
|
|
|
1755
1755
|
if (output.statusCode >= 300) {
|
|
1756
1756
|
return de_SwapEnvironmentCNAMEsCommandError(output, context);
|
|
1757
1757
|
}
|
|
1758
|
-
await collectBody(output.body, context);
|
|
1758
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1759
1759
|
const response = {
|
|
1760
1760
|
$metadata: deserializeMetadata(output),
|
|
1761
1761
|
};
|
|
@@ -1971,7 +1971,7 @@ const de_UpdateTagsForResourceCommand = async (output, context) => {
|
|
|
1971
1971
|
if (output.statusCode >= 300) {
|
|
1972
1972
|
return de_UpdateTagsForResourceCommandError(output, context);
|
|
1973
1973
|
}
|
|
1974
|
-
await collectBody(output.body, context);
|
|
1974
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1975
1975
|
const response = {
|
|
1976
1976
|
$metadata: deserializeMetadata(output),
|
|
1977
1977
|
};
|
|
@@ -5246,13 +5246,7 @@ const deserializeMetadata = (output) => ({
|
|
|
5246
5246
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
5247
5247
|
cfId: output.headers["x-amz-cf-id"],
|
|
5248
5248
|
});
|
|
5249
|
-
const
|
|
5250
|
-
if (streamBody instanceof Uint8Array) {
|
|
5251
|
-
return Promise.resolve(streamBody);
|
|
5252
|
-
}
|
|
5253
|
-
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
5254
|
-
};
|
|
5255
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
5249
|
+
const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
5256
5250
|
const throwDefaultError = (0, smithy_client_1.withBaseException)(ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException);
|
|
5257
5251
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
5258
5252
|
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 { ElasticBeanstalkServiceException as __BaseException } from "../models/ElasticBeanstalkServiceException";
|
|
@@ -5148,12 +5148,6 @@ const deserializeMetadata = (output) => ({
|
|
|
5148
5148
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
5149
5149
|
cfId: output.headers["x-amz-cf-id"],
|
|
5150
5150
|
});
|
|
5151
|
-
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
5152
|
-
if (streamBody instanceof Uint8Array) {
|
|
5153
|
-
return Promise.resolve(streamBody);
|
|
5154
|
-
}
|
|
5155
|
-
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
5156
|
-
};
|
|
5157
5151
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
5158
5152
|
const throwDefaultError = withBaseException(__BaseException);
|
|
5159
5153
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
@@ -120,7 +120,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
120
120
|
*/
|
|
121
121
|
runtime?: string;
|
|
122
122
|
/**
|
|
123
|
-
* Disable
|
|
123
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
124
124
|
* trait of an operation.
|
|
125
125
|
*/
|
|
126
126
|
disableHostPrefix?: boolean;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-elastic-beanstalk",
|
|
3
3
|
"description": "AWS SDK for JavaScript Elastic Beanstalk 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",
|