@aws-sdk/client-workspaces-web 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.
|
@@ -1916,7 +1916,7 @@ const de_DeleteBrowserSettingsCommand = async (output, context) => {
|
|
|
1916
1916
|
const contents = (0, smithy_client_1.map)({
|
|
1917
1917
|
$metadata: deserializeMetadata(output),
|
|
1918
1918
|
});
|
|
1919
|
-
await collectBody(output.body, context);
|
|
1919
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1920
1920
|
return contents;
|
|
1921
1921
|
};
|
|
1922
1922
|
exports.de_DeleteBrowserSettingsCommand = de_DeleteBrowserSettingsCommand;
|
|
@@ -1958,7 +1958,7 @@ const de_DeleteIdentityProviderCommand = async (output, context) => {
|
|
|
1958
1958
|
const contents = (0, smithy_client_1.map)({
|
|
1959
1959
|
$metadata: deserializeMetadata(output),
|
|
1960
1960
|
});
|
|
1961
|
-
await collectBody(output.body, context);
|
|
1961
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1962
1962
|
return contents;
|
|
1963
1963
|
};
|
|
1964
1964
|
exports.de_DeleteIdentityProviderCommand = de_DeleteIdentityProviderCommand;
|
|
@@ -2000,7 +2000,7 @@ const de_DeleteIpAccessSettingsCommand = async (output, context) => {
|
|
|
2000
2000
|
const contents = (0, smithy_client_1.map)({
|
|
2001
2001
|
$metadata: deserializeMetadata(output),
|
|
2002
2002
|
});
|
|
2003
|
-
await collectBody(output.body, context);
|
|
2003
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2004
2004
|
return contents;
|
|
2005
2005
|
};
|
|
2006
2006
|
exports.de_DeleteIpAccessSettingsCommand = de_DeleteIpAccessSettingsCommand;
|
|
@@ -2042,7 +2042,7 @@ const de_DeleteNetworkSettingsCommand = async (output, context) => {
|
|
|
2042
2042
|
const contents = (0, smithy_client_1.map)({
|
|
2043
2043
|
$metadata: deserializeMetadata(output),
|
|
2044
2044
|
});
|
|
2045
|
-
await collectBody(output.body, context);
|
|
2045
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2046
2046
|
return contents;
|
|
2047
2047
|
};
|
|
2048
2048
|
exports.de_DeleteNetworkSettingsCommand = de_DeleteNetworkSettingsCommand;
|
|
@@ -2084,7 +2084,7 @@ const de_DeletePortalCommand = async (output, context) => {
|
|
|
2084
2084
|
const contents = (0, smithy_client_1.map)({
|
|
2085
2085
|
$metadata: deserializeMetadata(output),
|
|
2086
2086
|
});
|
|
2087
|
-
await collectBody(output.body, context);
|
|
2087
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2088
2088
|
return contents;
|
|
2089
2089
|
};
|
|
2090
2090
|
exports.de_DeletePortalCommand = de_DeletePortalCommand;
|
|
@@ -2126,7 +2126,7 @@ const de_DeleteTrustStoreCommand = async (output, context) => {
|
|
|
2126
2126
|
const contents = (0, smithy_client_1.map)({
|
|
2127
2127
|
$metadata: deserializeMetadata(output),
|
|
2128
2128
|
});
|
|
2129
|
-
await collectBody(output.body, context);
|
|
2129
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2130
2130
|
return contents;
|
|
2131
2131
|
};
|
|
2132
2132
|
exports.de_DeleteTrustStoreCommand = de_DeleteTrustStoreCommand;
|
|
@@ -2168,7 +2168,7 @@ const de_DeleteUserAccessLoggingSettingsCommand = async (output, context) => {
|
|
|
2168
2168
|
const contents = (0, smithy_client_1.map)({
|
|
2169
2169
|
$metadata: deserializeMetadata(output),
|
|
2170
2170
|
});
|
|
2171
|
-
await collectBody(output.body, context);
|
|
2171
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2172
2172
|
return contents;
|
|
2173
2173
|
};
|
|
2174
2174
|
exports.de_DeleteUserAccessLoggingSettingsCommand = de_DeleteUserAccessLoggingSettingsCommand;
|
|
@@ -2210,7 +2210,7 @@ const de_DeleteUserSettingsCommand = async (output, context) => {
|
|
|
2210
2210
|
const contents = (0, smithy_client_1.map)({
|
|
2211
2211
|
$metadata: deserializeMetadata(output),
|
|
2212
2212
|
});
|
|
2213
|
-
await collectBody(output.body, context);
|
|
2213
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2214
2214
|
return contents;
|
|
2215
2215
|
};
|
|
2216
2216
|
exports.de_DeleteUserSettingsCommand = de_DeleteUserSettingsCommand;
|
|
@@ -2252,7 +2252,7 @@ const de_DisassociateBrowserSettingsCommand = async (output, context) => {
|
|
|
2252
2252
|
const contents = (0, smithy_client_1.map)({
|
|
2253
2253
|
$metadata: deserializeMetadata(output),
|
|
2254
2254
|
});
|
|
2255
|
-
await collectBody(output.body, context);
|
|
2255
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2256
2256
|
return contents;
|
|
2257
2257
|
};
|
|
2258
2258
|
exports.de_DisassociateBrowserSettingsCommand = de_DisassociateBrowserSettingsCommand;
|
|
@@ -2294,7 +2294,7 @@ const de_DisassociateIpAccessSettingsCommand = async (output, context) => {
|
|
|
2294
2294
|
const contents = (0, smithy_client_1.map)({
|
|
2295
2295
|
$metadata: deserializeMetadata(output),
|
|
2296
2296
|
});
|
|
2297
|
-
await collectBody(output.body, context);
|
|
2297
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2298
2298
|
return contents;
|
|
2299
2299
|
};
|
|
2300
2300
|
exports.de_DisassociateIpAccessSettingsCommand = de_DisassociateIpAccessSettingsCommand;
|
|
@@ -2336,7 +2336,7 @@ const de_DisassociateNetworkSettingsCommand = async (output, context) => {
|
|
|
2336
2336
|
const contents = (0, smithy_client_1.map)({
|
|
2337
2337
|
$metadata: deserializeMetadata(output),
|
|
2338
2338
|
});
|
|
2339
|
-
await collectBody(output.body, context);
|
|
2339
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2340
2340
|
return contents;
|
|
2341
2341
|
};
|
|
2342
2342
|
exports.de_DisassociateNetworkSettingsCommand = de_DisassociateNetworkSettingsCommand;
|
|
@@ -2378,7 +2378,7 @@ const de_DisassociateTrustStoreCommand = async (output, context) => {
|
|
|
2378
2378
|
const contents = (0, smithy_client_1.map)({
|
|
2379
2379
|
$metadata: deserializeMetadata(output),
|
|
2380
2380
|
});
|
|
2381
|
-
await collectBody(output.body, context);
|
|
2381
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2382
2382
|
return contents;
|
|
2383
2383
|
};
|
|
2384
2384
|
exports.de_DisassociateTrustStoreCommand = de_DisassociateTrustStoreCommand;
|
|
@@ -2420,7 +2420,7 @@ const de_DisassociateUserAccessLoggingSettingsCommand = async (output, context)
|
|
|
2420
2420
|
const contents = (0, smithy_client_1.map)({
|
|
2421
2421
|
$metadata: deserializeMetadata(output),
|
|
2422
2422
|
});
|
|
2423
|
-
await collectBody(output.body, context);
|
|
2423
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2424
2424
|
return contents;
|
|
2425
2425
|
};
|
|
2426
2426
|
exports.de_DisassociateUserAccessLoggingSettingsCommand = de_DisassociateUserAccessLoggingSettingsCommand;
|
|
@@ -2462,7 +2462,7 @@ const de_DisassociateUserSettingsCommand = async (output, context) => {
|
|
|
2462
2462
|
const contents = (0, smithy_client_1.map)({
|
|
2463
2463
|
$metadata: deserializeMetadata(output),
|
|
2464
2464
|
});
|
|
2465
|
-
await collectBody(output.body, context);
|
|
2465
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2466
2466
|
return contents;
|
|
2467
2467
|
};
|
|
2468
2468
|
exports.de_DisassociateUserSettingsCommand = de_DisassociateUserSettingsCommand;
|
|
@@ -3412,7 +3412,7 @@ const de_TagResourceCommand = async (output, context) => {
|
|
|
3412
3412
|
const contents = (0, smithy_client_1.map)({
|
|
3413
3413
|
$metadata: deserializeMetadata(output),
|
|
3414
3414
|
});
|
|
3415
|
-
await collectBody(output.body, context);
|
|
3415
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3416
3416
|
return contents;
|
|
3417
3417
|
};
|
|
3418
3418
|
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
@@ -3457,7 +3457,7 @@ const de_UntagResourceCommand = async (output, context) => {
|
|
|
3457
3457
|
const contents = (0, smithy_client_1.map)({
|
|
3458
3458
|
$metadata: deserializeMetadata(output),
|
|
3459
3459
|
});
|
|
3460
|
-
await collectBody(output.body, context);
|
|
3460
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3461
3461
|
return contents;
|
|
3462
3462
|
};
|
|
3463
3463
|
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
@@ -4105,13 +4105,7 @@ const deserializeMetadata = (output) => ({
|
|
|
4105
4105
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
4106
4106
|
cfId: output.headers["x-amz-cf-id"],
|
|
4107
4107
|
});
|
|
4108
|
-
const
|
|
4109
|
-
if (streamBody instanceof Uint8Array) {
|
|
4110
|
-
return Promise.resolve(streamBody);
|
|
4111
|
-
}
|
|
4112
|
-
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
4113
|
-
};
|
|
4114
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
4108
|
+
const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
4115
4109
|
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
4116
4110
|
value !== null &&
|
|
4117
4111
|
value !== "" &&
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _json, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, strictParseInt32 as __strictParseInt32, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
1
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, strictParseInt32 as __strictParseInt32, 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, TooManyTagsException, ValidationException, } from "../models/models_0";
|
|
@@ -3984,12 +3984,6 @@ const deserializeMetadata = (output) => ({
|
|
|
3984
3984
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
3985
3985
|
cfId: output.headers["x-amz-cf-id"],
|
|
3986
3986
|
});
|
|
3987
|
-
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
3988
|
-
if (streamBody instanceof Uint8Array) {
|
|
3989
|
-
return Promise.resolve(streamBody);
|
|
3990
|
-
}
|
|
3991
|
-
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
3992
|
-
};
|
|
3993
3987
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
3994
3988
|
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
3995
3989
|
value !== null &&
|
|
@@ -131,7 +131,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
131
131
|
*/
|
|
132
132
|
runtime?: string;
|
|
133
133
|
/**
|
|
134
|
-
* Disable
|
|
134
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
135
135
|
* trait of an operation.
|
|
136
136
|
*/
|
|
137
137
|
disableHostPrefix?: boolean;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-workspaces-web",
|
|
3
3
|
"description": "AWS SDK for JavaScript Workspaces Web 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,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.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-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.357.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.357.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.357.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",
|