@aws-sdk/client-wellarchitected 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.
|
@@ -1336,7 +1336,7 @@ const de_AssociateLensesCommand = async (output, context) => {
|
|
|
1336
1336
|
const contents = (0, smithy_client_1.map)({
|
|
1337
1337
|
$metadata: deserializeMetadata(output),
|
|
1338
1338
|
});
|
|
1339
|
-
await collectBody(output.body, context);
|
|
1339
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1340
1340
|
return contents;
|
|
1341
1341
|
};
|
|
1342
1342
|
exports.de_AssociateLensesCommand = de_AssociateLensesCommand;
|
|
@@ -1381,7 +1381,7 @@ const de_AssociateProfilesCommand = async (output, context) => {
|
|
|
1381
1381
|
const contents = (0, smithy_client_1.map)({
|
|
1382
1382
|
$metadata: deserializeMetadata(output),
|
|
1383
1383
|
});
|
|
1384
|
-
await collectBody(output.body, context);
|
|
1384
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1385
1385
|
return contents;
|
|
1386
1386
|
};
|
|
1387
1387
|
exports.de_AssociateProfilesCommand = de_AssociateProfilesCommand;
|
|
@@ -1793,7 +1793,7 @@ const de_DeleteLensCommand = async (output, context) => {
|
|
|
1793
1793
|
const contents = (0, smithy_client_1.map)({
|
|
1794
1794
|
$metadata: deserializeMetadata(output),
|
|
1795
1795
|
});
|
|
1796
|
-
await collectBody(output.body, context);
|
|
1796
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1797
1797
|
return contents;
|
|
1798
1798
|
};
|
|
1799
1799
|
exports.de_DeleteLensCommand = de_DeleteLensCommand;
|
|
@@ -1838,7 +1838,7 @@ const de_DeleteLensShareCommand = async (output, context) => {
|
|
|
1838
1838
|
const contents = (0, smithy_client_1.map)({
|
|
1839
1839
|
$metadata: deserializeMetadata(output),
|
|
1840
1840
|
});
|
|
1841
|
-
await collectBody(output.body, context);
|
|
1841
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1842
1842
|
return contents;
|
|
1843
1843
|
};
|
|
1844
1844
|
exports.de_DeleteLensShareCommand = de_DeleteLensShareCommand;
|
|
@@ -1883,7 +1883,7 @@ const de_DeleteProfileCommand = async (output, context) => {
|
|
|
1883
1883
|
const contents = (0, smithy_client_1.map)({
|
|
1884
1884
|
$metadata: deserializeMetadata(output),
|
|
1885
1885
|
});
|
|
1886
|
-
await collectBody(output.body, context);
|
|
1886
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1887
1887
|
return contents;
|
|
1888
1888
|
};
|
|
1889
1889
|
exports.de_DeleteProfileCommand = de_DeleteProfileCommand;
|
|
@@ -1928,7 +1928,7 @@ const de_DeleteProfileShareCommand = async (output, context) => {
|
|
|
1928
1928
|
const contents = (0, smithy_client_1.map)({
|
|
1929
1929
|
$metadata: deserializeMetadata(output),
|
|
1930
1930
|
});
|
|
1931
|
-
await collectBody(output.body, context);
|
|
1931
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1932
1932
|
return contents;
|
|
1933
1933
|
};
|
|
1934
1934
|
exports.de_DeleteProfileShareCommand = de_DeleteProfileShareCommand;
|
|
@@ -1973,7 +1973,7 @@ const de_DeleteWorkloadCommand = async (output, context) => {
|
|
|
1973
1973
|
const contents = (0, smithy_client_1.map)({
|
|
1974
1974
|
$metadata: deserializeMetadata(output),
|
|
1975
1975
|
});
|
|
1976
|
-
await collectBody(output.body, context);
|
|
1976
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1977
1977
|
return contents;
|
|
1978
1978
|
};
|
|
1979
1979
|
exports.de_DeleteWorkloadCommand = de_DeleteWorkloadCommand;
|
|
@@ -2018,7 +2018,7 @@ const de_DeleteWorkloadShareCommand = async (output, context) => {
|
|
|
2018
2018
|
const contents = (0, smithy_client_1.map)({
|
|
2019
2019
|
$metadata: deserializeMetadata(output),
|
|
2020
2020
|
});
|
|
2021
|
-
await collectBody(output.body, context);
|
|
2021
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2022
2022
|
return contents;
|
|
2023
2023
|
};
|
|
2024
2024
|
exports.de_DeleteWorkloadShareCommand = de_DeleteWorkloadShareCommand;
|
|
@@ -2063,7 +2063,7 @@ const de_DisassociateLensesCommand = async (output, context) => {
|
|
|
2063
2063
|
const contents = (0, smithy_client_1.map)({
|
|
2064
2064
|
$metadata: deserializeMetadata(output),
|
|
2065
2065
|
});
|
|
2066
|
-
await collectBody(output.body, context);
|
|
2066
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2067
2067
|
return contents;
|
|
2068
2068
|
};
|
|
2069
2069
|
exports.de_DisassociateLensesCommand = de_DisassociateLensesCommand;
|
|
@@ -2108,7 +2108,7 @@ const de_DisassociateProfilesCommand = async (output, context) => {
|
|
|
2108
2108
|
const contents = (0, smithy_client_1.map)({
|
|
2109
2109
|
$metadata: deserializeMetadata(output),
|
|
2110
2110
|
});
|
|
2111
|
-
await collectBody(output.body, context);
|
|
2111
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2112
2112
|
return contents;
|
|
2113
2113
|
};
|
|
2114
2114
|
exports.de_DisassociateProfilesCommand = de_DisassociateProfilesCommand;
|
|
@@ -3464,7 +3464,7 @@ const de_TagResourceCommand = async (output, context) => {
|
|
|
3464
3464
|
const contents = (0, smithy_client_1.map)({
|
|
3465
3465
|
$metadata: deserializeMetadata(output),
|
|
3466
3466
|
});
|
|
3467
|
-
await collectBody(output.body, context);
|
|
3467
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3468
3468
|
return contents;
|
|
3469
3469
|
};
|
|
3470
3470
|
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
@@ -3497,7 +3497,7 @@ const de_UntagResourceCommand = async (output, context) => {
|
|
|
3497
3497
|
const contents = (0, smithy_client_1.map)({
|
|
3498
3498
|
$metadata: deserializeMetadata(output),
|
|
3499
3499
|
});
|
|
3500
|
-
await collectBody(output.body, context);
|
|
3500
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3501
3501
|
return contents;
|
|
3502
3502
|
};
|
|
3503
3503
|
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
@@ -3582,7 +3582,7 @@ const de_UpdateGlobalSettingsCommand = async (output, context) => {
|
|
|
3582
3582
|
const contents = (0, smithy_client_1.map)({
|
|
3583
3583
|
$metadata: deserializeMetadata(output),
|
|
3584
3584
|
});
|
|
3585
|
-
await collectBody(output.body, context);
|
|
3585
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3586
3586
|
return contents;
|
|
3587
3587
|
};
|
|
3588
3588
|
exports.de_UpdateGlobalSettingsCommand = de_UpdateGlobalSettingsCommand;
|
|
@@ -3871,7 +3871,7 @@ const de_UpgradeLensReviewCommand = async (output, context) => {
|
|
|
3871
3871
|
const contents = (0, smithy_client_1.map)({
|
|
3872
3872
|
$metadata: deserializeMetadata(output),
|
|
3873
3873
|
});
|
|
3874
|
-
await collectBody(output.body, context);
|
|
3874
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3875
3875
|
return contents;
|
|
3876
3876
|
};
|
|
3877
3877
|
exports.de_UpgradeLensReviewCommand = de_UpgradeLensReviewCommand;
|
|
@@ -3916,7 +3916,7 @@ const de_UpgradeProfileVersionCommand = async (output, context) => {
|
|
|
3916
3916
|
const contents = (0, smithy_client_1.map)({
|
|
3917
3917
|
$metadata: deserializeMetadata(output),
|
|
3918
3918
|
});
|
|
3919
|
-
await collectBody(output.body, context);
|
|
3919
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3920
3920
|
return contents;
|
|
3921
3921
|
};
|
|
3922
3922
|
exports.de_UpgradeProfileVersionCommand = de_UpgradeProfileVersionCommand;
|
|
@@ -4309,13 +4309,7 @@ const deserializeMetadata = (output) => ({
|
|
|
4309
4309
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
4310
4310
|
cfId: output.headers["x-amz-cf-id"],
|
|
4311
4311
|
});
|
|
4312
|
-
const
|
|
4313
|
-
if (streamBody instanceof Uint8Array) {
|
|
4314
|
-
return Promise.resolve(streamBody);
|
|
4315
|
-
}
|
|
4316
|
-
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
4317
|
-
};
|
|
4318
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
4312
|
+
const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
4319
4313
|
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
4320
4314
|
value !== null &&
|
|
4321
4315
|
value !== "" &&
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _json, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
1
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
4
|
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
@@ -4192,12 +4192,6 @@ const deserializeMetadata = (output) => ({
|
|
|
4192
4192
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
4193
4193
|
cfId: output.headers["x-amz-cf-id"],
|
|
4194
4194
|
});
|
|
4195
|
-
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
4196
|
-
if (streamBody instanceof Uint8Array) {
|
|
4197
|
-
return Promise.resolve(streamBody);
|
|
4198
|
-
}
|
|
4199
|
-
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
4200
|
-
};
|
|
4201
4195
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
4202
4196
|
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
4203
4197
|
value !== null &&
|
|
@@ -129,7 +129,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
129
129
|
*/
|
|
130
130
|
runtime?: string;
|
|
131
131
|
/**
|
|
132
|
-
* Disable
|
|
132
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
133
133
|
* trait of an operation.
|
|
134
134
|
*/
|
|
135
135
|
disableHostPrefix?: boolean;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-wellarchitected",
|
|
3
3
|
"description": "AWS SDK for JavaScript Wellarchitected 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,36 +21,36 @@
|
|
|
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
55
|
"@smithy/protocol-http": "^1.0.1",
|
|
56
56
|
"@smithy/types": "^1.0.0",
|