@aws-sdk/client-workspaces-web 3.95.0 → 3.105.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.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/WorkSpacesWebClient.js +2 -0
- package/dist-cjs/runtimeConfig.js +2 -0
- package/dist-es/WorkSpacesWebClient.js +2 -0
- package/dist-es/runtimeConfig.js +2 -0
- package/dist-types/models/models_0.d.ts +5 -15
- package/dist-types/ts3.4/models/models_0.d.ts +5 -15
- package/package.json +7 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** support recursion detection in Lambda ([#3654](https://github.com/aws/aws-sdk-js-v3/issues/3654)) ([ecfe46e](https://github.com/aws/aws-sdk-js-v3/commit/ecfe46ea1fd8b6e3812b75b3dc6c03554fb4b3fa))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-workspaces-web
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.99.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.98.0...v3.99.0) (2022-05-25)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-workspaces-web
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.95.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.94.0...v3.95.0) (2022-05-19)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-workspaces-web
|
|
@@ -5,6 +5,7 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
|
5
5
|
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
6
6
|
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
7
7
|
const middleware_logger_1 = require("@aws-sdk/middleware-logger");
|
|
8
|
+
const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
|
|
8
9
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
9
10
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
10
11
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
@@ -25,6 +26,7 @@ class WorkSpacesWebClient extends smithy_client_1.Client {
|
|
|
25
26
|
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
26
27
|
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
27
28
|
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
29
|
+
this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
|
|
28
30
|
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
|
|
29
31
|
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
30
32
|
}
|
|
@@ -17,8 +17,10 @@ const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
19
|
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
20
|
+
const smithy_client_2 = require("@aws-sdk/smithy-client");
|
|
20
21
|
const getRuntimeConfig = (config) => {
|
|
21
22
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
23
|
+
(0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
|
|
22
24
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
23
25
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
26
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
@@ -3,6 +3,7 @@ import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-re
|
|
|
3
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
4
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
5
5
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
6
|
+
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
6
7
|
import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
7
8
|
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
@@ -25,6 +26,7 @@ var WorkSpacesWebClient = (function (_super) {
|
|
|
25
26
|
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
26
27
|
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
27
28
|
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
28
30
|
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
29
31
|
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
30
32
|
return _this;
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -14,8 +14,10 @@ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
15
|
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
16
|
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
17
|
+
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
17
18
|
export var getRuntimeConfig = function (config) {
|
|
18
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
19
21
|
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
22
|
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
21
23
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
@@ -290,9 +290,7 @@ export interface CreateBrowserSettingsRequest {
|
|
|
290
290
|
/**
|
|
291
291
|
* <p>Additional encryption context of the browser settings.</p>
|
|
292
292
|
*/
|
|
293
|
-
additionalEncryptionContext?:
|
|
294
|
-
[key: string]: string;
|
|
295
|
-
};
|
|
293
|
+
additionalEncryptionContext?: Record<string, string>;
|
|
296
294
|
/**
|
|
297
295
|
* <p>A JSON string containing Chrome Enterprise policies that will be applied to all
|
|
298
296
|
* streaming sessions.</p>
|
|
@@ -528,9 +526,7 @@ export interface CreateIdentityProviderRequest {
|
|
|
528
526
|
* </li>
|
|
529
527
|
* </ul>
|
|
530
528
|
*/
|
|
531
|
-
identityProviderDetails:
|
|
532
|
-
[key: string]: string;
|
|
533
|
-
} | undefined;
|
|
529
|
+
identityProviderDetails: Record<string, string> | undefined;
|
|
534
530
|
/**
|
|
535
531
|
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
|
|
536
532
|
* request. Idempotency ensures that an API request completes only once. With an idempotent
|
|
@@ -620,9 +616,7 @@ export interface CreatePortalRequest {
|
|
|
620
616
|
/**
|
|
621
617
|
* <p>The additional encryption context of the portal.</p>
|
|
622
618
|
*/
|
|
623
|
-
additionalEncryptionContext?:
|
|
624
|
-
[key: string]: string;
|
|
625
|
-
};
|
|
619
|
+
additionalEncryptionContext?: Record<string, string>;
|
|
626
620
|
/**
|
|
627
621
|
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
|
|
628
622
|
* request. Idempotency ensures that an API request completes only once. With an idempotent
|
|
@@ -1194,9 +1188,7 @@ export interface IdentityProvider {
|
|
|
1194
1188
|
* </li>
|
|
1195
1189
|
* </ul>
|
|
1196
1190
|
*/
|
|
1197
|
-
identityProviderDetails?:
|
|
1198
|
-
[key: string]: string;
|
|
1199
|
-
};
|
|
1191
|
+
identityProviderDetails?: Record<string, string>;
|
|
1200
1192
|
}
|
|
1201
1193
|
export declare namespace IdentityProvider {
|
|
1202
1194
|
/**
|
|
@@ -2331,9 +2323,7 @@ export interface UpdateIdentityProviderRequest {
|
|
|
2331
2323
|
* </li>
|
|
2332
2324
|
* </ul>
|
|
2333
2325
|
*/
|
|
2334
|
-
identityProviderDetails?:
|
|
2335
|
-
[key: string]: string;
|
|
2336
|
-
};
|
|
2326
|
+
identityProviderDetails?: Record<string, string>;
|
|
2337
2327
|
/**
|
|
2338
2328
|
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
|
|
2339
2329
|
* request. Idempotency ensures that an API request completes only once. With an idempotent
|
|
@@ -176,9 +176,7 @@ export interface CreateBrowserSettingsRequest {
|
|
|
176
176
|
|
|
177
177
|
customerManagedKey?: string;
|
|
178
178
|
|
|
179
|
-
additionalEncryptionContext?:
|
|
180
|
-
[key: string]: string;
|
|
181
|
-
};
|
|
179
|
+
additionalEncryptionContext?: Record<string, string>;
|
|
182
180
|
|
|
183
181
|
browserPolicy: string | undefined;
|
|
184
182
|
|
|
@@ -227,9 +225,7 @@ export interface CreateIdentityProviderRequest {
|
|
|
227
225
|
|
|
228
226
|
identityProviderType: IdentityProviderType | string | undefined;
|
|
229
227
|
|
|
230
|
-
identityProviderDetails:
|
|
231
|
-
[key: string]: string;
|
|
232
|
-
} | undefined;
|
|
228
|
+
identityProviderDetails: Record<string, string> | undefined;
|
|
233
229
|
|
|
234
230
|
clientToken?: string;
|
|
235
231
|
}
|
|
@@ -277,9 +273,7 @@ export interface CreatePortalRequest {
|
|
|
277
273
|
|
|
278
274
|
customerManagedKey?: string;
|
|
279
275
|
|
|
280
|
-
additionalEncryptionContext?:
|
|
281
|
-
[key: string]: string;
|
|
282
|
-
};
|
|
276
|
+
additionalEncryptionContext?: Record<string, string>;
|
|
283
277
|
|
|
284
278
|
clientToken?: string;
|
|
285
279
|
}
|
|
@@ -539,9 +533,7 @@ export interface IdentityProvider {
|
|
|
539
533
|
|
|
540
534
|
identityProviderType?: IdentityProviderType | string;
|
|
541
535
|
|
|
542
|
-
identityProviderDetails?:
|
|
543
|
-
[key: string]: string;
|
|
544
|
-
};
|
|
536
|
+
identityProviderDetails?: Record<string, string>;
|
|
545
537
|
}
|
|
546
538
|
export declare namespace IdentityProvider {
|
|
547
539
|
|
|
@@ -1115,9 +1107,7 @@ export interface UpdateIdentityProviderRequest {
|
|
|
1115
1107
|
|
|
1116
1108
|
identityProviderType?: IdentityProviderType | string;
|
|
1117
1109
|
|
|
1118
|
-
identityProviderDetails?:
|
|
1119
|
-
[key: string]: string;
|
|
1120
|
-
};
|
|
1110
|
+
identityProviderDetails?: Record<string, string>;
|
|
1121
1111
|
|
|
1122
1112
|
clientToken?: string;
|
|
1123
1113
|
}
|
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.105.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",
|
|
@@ -18,15 +18,16 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.105.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.80.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.105.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.78.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.78.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.78.0",
|
|
27
27
|
"@aws-sdk/middleware-content-length": "3.78.0",
|
|
28
28
|
"@aws-sdk/middleware-host-header": "3.78.0",
|
|
29
29
|
"@aws-sdk/middleware-logger": "3.78.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.105.0",
|
|
30
31
|
"@aws-sdk/middleware-retry": "3.80.0",
|
|
31
32
|
"@aws-sdk/middleware-serde": "3.78.0",
|
|
32
33
|
"@aws-sdk/middleware-signing": "3.78.0",
|
|
@@ -35,15 +36,15 @@
|
|
|
35
36
|
"@aws-sdk/node-config-provider": "3.80.0",
|
|
36
37
|
"@aws-sdk/node-http-handler": "3.94.0",
|
|
37
38
|
"@aws-sdk/protocol-http": "3.78.0",
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
+
"@aws-sdk/smithy-client": "3.99.0",
|
|
39
40
|
"@aws-sdk/types": "3.78.0",
|
|
40
41
|
"@aws-sdk/url-parser": "3.78.0",
|
|
41
42
|
"@aws-sdk/util-base64-browser": "3.58.0",
|
|
42
43
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
43
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.99.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.99.0",
|
|
47
48
|
"@aws-sdk/util-user-agent-browser": "3.78.0",
|
|
48
49
|
"@aws-sdk/util-user-agent-node": "3.80.0",
|
|
49
50
|
"@aws-sdk/util-utf8-browser": "3.55.0",
|