@aws-sdk/client-acm 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.
|
@@ -113,7 +113,7 @@ const de_AddTagsToCertificateCommand = async (output, context) => {
|
|
|
113
113
|
if (output.statusCode >= 300) {
|
|
114
114
|
return de_AddTagsToCertificateCommandError(output, context);
|
|
115
115
|
}
|
|
116
|
-
await collectBody(output.body, context);
|
|
116
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
117
117
|
const response = {
|
|
118
118
|
$metadata: deserializeMetadata(output),
|
|
119
119
|
};
|
|
@@ -161,7 +161,7 @@ const de_DeleteCertificateCommand = async (output, context) => {
|
|
|
161
161
|
if (output.statusCode >= 300) {
|
|
162
162
|
return de_DeleteCertificateCommandError(output, context);
|
|
163
163
|
}
|
|
164
|
-
await collectBody(output.body, context);
|
|
164
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
165
165
|
const response = {
|
|
166
166
|
$metadata: deserializeMetadata(output),
|
|
167
167
|
};
|
|
@@ -479,7 +479,7 @@ const de_PutAccountConfigurationCommand = async (output, context) => {
|
|
|
479
479
|
if (output.statusCode >= 300) {
|
|
480
480
|
return de_PutAccountConfigurationCommandError(output, context);
|
|
481
481
|
}
|
|
482
|
-
await collectBody(output.body, context);
|
|
482
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
483
483
|
const response = {
|
|
484
484
|
$metadata: deserializeMetadata(output),
|
|
485
485
|
};
|
|
@@ -518,7 +518,7 @@ const de_RemoveTagsFromCertificateCommand = async (output, context) => {
|
|
|
518
518
|
if (output.statusCode >= 300) {
|
|
519
519
|
return de_RemoveTagsFromCertificateCommandError(output, context);
|
|
520
520
|
}
|
|
521
|
-
await collectBody(output.body, context);
|
|
521
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
522
522
|
const response = {
|
|
523
523
|
$metadata: deserializeMetadata(output),
|
|
524
524
|
};
|
|
@@ -563,7 +563,7 @@ const de_RenewCertificateCommand = async (output, context) => {
|
|
|
563
563
|
if (output.statusCode >= 300) {
|
|
564
564
|
return de_RenewCertificateCommandError(output, context);
|
|
565
565
|
}
|
|
566
|
-
await collectBody(output.body, context);
|
|
566
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
567
567
|
const response = {
|
|
568
568
|
$metadata: deserializeMetadata(output),
|
|
569
569
|
};
|
|
@@ -647,7 +647,7 @@ const de_ResendValidationEmailCommand = async (output, context) => {
|
|
|
647
647
|
if (output.statusCode >= 300) {
|
|
648
648
|
return de_ResendValidationEmailCommandError(output, context);
|
|
649
649
|
}
|
|
650
|
-
await collectBody(output.body, context);
|
|
650
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
651
651
|
const response = {
|
|
652
652
|
$metadata: deserializeMetadata(output),
|
|
653
653
|
};
|
|
@@ -686,7 +686,7 @@ const de_UpdateCertificateOptionsCommand = async (output, context) => {
|
|
|
686
686
|
if (output.statusCode >= 300) {
|
|
687
687
|
return de_UpdateCertificateOptionsCommandError(output, context);
|
|
688
688
|
}
|
|
689
|
-
await collectBody(output.body, context);
|
|
689
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
690
690
|
const response = {
|
|
691
691
|
$metadata: deserializeMetadata(output),
|
|
692
692
|
};
|
|
@@ -965,13 +965,7 @@ const deserializeMetadata = (output) => ({
|
|
|
965
965
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
966
966
|
cfId: output.headers["x-amz-cf-id"],
|
|
967
967
|
});
|
|
968
|
-
const
|
|
969
|
-
if (streamBody instanceof Uint8Array) {
|
|
970
|
-
return Promise.resolve(streamBody);
|
|
971
|
-
}
|
|
972
|
-
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
973
|
-
};
|
|
974
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
968
|
+
const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
975
969
|
const throwDefaultError = (0, smithy_client_1.withBaseException)(ACMServiceException_1.ACMServiceException);
|
|
976
970
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
977
971
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _json, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
1
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import { ACMServiceException as __BaseException } from "../models/ACMServiceException";
|
|
4
4
|
import { AccessDeniedException, ConflictException, InvalidArgsException, InvalidArnException, InvalidDomainValidationOptionsException, InvalidParameterException, InvalidStateException, InvalidTagException, LimitExceededException, RequestInProgressException, ResourceInUseException, ResourceNotFoundException, TagPolicyException, ThrottlingException, TooManyTagsException, ValidationException, } from "../models/models_0";
|
|
@@ -932,12 +932,6 @@ const deserializeMetadata = (output) => ({
|
|
|
932
932
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
933
933
|
cfId: output.headers["x-amz-cf-id"],
|
|
934
934
|
});
|
|
935
|
-
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
936
|
-
if (streamBody instanceof Uint8Array) {
|
|
937
|
-
return Promise.resolve(streamBody);
|
|
938
|
-
}
|
|
939
|
-
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
940
|
-
};
|
|
941
935
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
942
936
|
const throwDefaultError = withBaseException(__BaseException);
|
|
943
937
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
@@ -88,7 +88,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
88
88
|
*/
|
|
89
89
|
runtime?: string;
|
|
90
90
|
/**
|
|
91
|
-
* Disable
|
|
91
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
92
92
|
* trait of an operation.
|
|
93
93
|
*/
|
|
94
94
|
disableHostPrefix?: boolean;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-acm",
|
|
3
3
|
"description": "AWS SDK for JavaScript Acm 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
|
"tslib": "^2.5.0"
|