@aws-sdk/client-workspaces-web 3.52.0 → 3.53.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 +11 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/WorkSpacesWebServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +123 -3
- package/dist-cjs/protocols/Aws_restJson1.js +477 -1885
- package/dist-es/index.js +1 -0
- package/dist-es/models/WorkSpacesWebServiceException.js +12 -0
- package/dist-es/models/models_0.js +113 -1
- package/dist-es/protocols/Aws_restJson1.js +1041 -2070
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/WorkSpacesWebServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +58 -33
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/WorkSpacesWebServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +42 -33
- package/package.json +25 -25
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from WorkSpacesWeb service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class WorkSpacesWebServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { WorkSpacesWebServiceException as __BaseException } from "./WorkSpacesWebServiceException";
|
|
2
3
|
/**
|
|
3
4
|
* <p>Access is denied.</p>
|
|
4
5
|
*/
|
|
5
|
-
export
|
|
6
|
-
name: "AccessDeniedException";
|
|
7
|
-
$fault: "client";
|
|
8
|
-
|
|
6
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
7
|
+
readonly name: "AccessDeniedException";
|
|
8
|
+
readonly $fault: "client";
|
|
9
|
+
/**
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
9
13
|
}
|
|
10
14
|
export interface AssociateBrowserSettingsRequest {
|
|
11
15
|
/**
|
|
@@ -42,10 +46,9 @@ export declare namespace AssociateBrowserSettingsResponse {
|
|
|
42
46
|
/**
|
|
43
47
|
* <p>There is a conflict.</p>
|
|
44
48
|
*/
|
|
45
|
-
export
|
|
46
|
-
name: "ConflictException";
|
|
47
|
-
$fault: "client";
|
|
48
|
-
message?: string;
|
|
49
|
+
export declare class ConflictException extends __BaseException {
|
|
50
|
+
readonly name: "ConflictException";
|
|
51
|
+
readonly $fault: "client";
|
|
49
52
|
/**
|
|
50
53
|
* <p>Identifier of the resource affected.</p>
|
|
51
54
|
*/
|
|
@@ -54,26 +57,32 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
|
54
57
|
* <p>Type of the resource affected.</p>
|
|
55
58
|
*/
|
|
56
59
|
resourceType?: string;
|
|
60
|
+
/**
|
|
61
|
+
* @internal
|
|
62
|
+
*/
|
|
63
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
57
64
|
}
|
|
58
65
|
/**
|
|
59
66
|
* <p>There is an internal server error.</p>
|
|
60
67
|
*/
|
|
61
|
-
export
|
|
62
|
-
name: "InternalServerException";
|
|
63
|
-
$fault: "server";
|
|
64
|
-
message?: string;
|
|
68
|
+
export declare class InternalServerException extends __BaseException {
|
|
69
|
+
readonly name: "InternalServerException";
|
|
70
|
+
readonly $fault: "server";
|
|
65
71
|
/**
|
|
66
72
|
* <p>Advice to clients on when the call can be safely retried.</p>
|
|
67
73
|
*/
|
|
68
74
|
retryAfterSeconds?: number;
|
|
75
|
+
/**
|
|
76
|
+
* @internal
|
|
77
|
+
*/
|
|
78
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
69
79
|
}
|
|
70
80
|
/**
|
|
71
81
|
* <p>The resource cannot be found.</p>
|
|
72
82
|
*/
|
|
73
|
-
export
|
|
74
|
-
name: "ResourceNotFoundException";
|
|
75
|
-
$fault: "client";
|
|
76
|
-
message?: string;
|
|
83
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
84
|
+
readonly name: "ResourceNotFoundException";
|
|
85
|
+
readonly $fault: "client";
|
|
77
86
|
/**
|
|
78
87
|
* <p>Hypothetical identifier of the resource affected.</p>
|
|
79
88
|
*/
|
|
@@ -82,14 +91,17 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
82
91
|
* <p>Hypothetical type of the resource affected.</p>
|
|
83
92
|
*/
|
|
84
93
|
resourceType?: string;
|
|
94
|
+
/**
|
|
95
|
+
* @internal
|
|
96
|
+
*/
|
|
97
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
85
98
|
}
|
|
86
99
|
/**
|
|
87
100
|
* <p>There is a throttling error.</p>
|
|
88
101
|
*/
|
|
89
|
-
export
|
|
90
|
-
name: "ThrottlingException";
|
|
91
|
-
$fault: "client";
|
|
92
|
-
message?: string;
|
|
102
|
+
export declare class ThrottlingException extends __BaseException {
|
|
103
|
+
readonly name: "ThrottlingException";
|
|
104
|
+
readonly $fault: "client";
|
|
93
105
|
/**
|
|
94
106
|
* <p>The originating service.</p>
|
|
95
107
|
*/
|
|
@@ -102,6 +114,10 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
|
|
|
102
114
|
* <p>Advice to clients on when the call can be safely retried.</p>
|
|
103
115
|
*/
|
|
104
116
|
retryAfterSeconds?: number;
|
|
117
|
+
/**
|
|
118
|
+
* @internal
|
|
119
|
+
*/
|
|
120
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
105
121
|
}
|
|
106
122
|
/**
|
|
107
123
|
* <p>Information about a field passed inside a request that resulted in an exception.</p>
|
|
@@ -131,10 +147,9 @@ export declare enum ValidationExceptionReason {
|
|
|
131
147
|
/**
|
|
132
148
|
* <p>There is a validation error.</p>
|
|
133
149
|
*/
|
|
134
|
-
export
|
|
135
|
-
name: "ValidationException";
|
|
136
|
-
$fault: "client";
|
|
137
|
-
message?: string;
|
|
150
|
+
export declare class ValidationException extends __BaseException {
|
|
151
|
+
readonly name: "ValidationException";
|
|
152
|
+
readonly $fault: "client";
|
|
138
153
|
/**
|
|
139
154
|
* <p>Reason the request failed validation</p>
|
|
140
155
|
*/
|
|
@@ -143,6 +158,10 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
|
|
|
143
158
|
* <p>The field that caused the error.</p>
|
|
144
159
|
*/
|
|
145
160
|
fieldList?: ValidationExceptionField[];
|
|
161
|
+
/**
|
|
162
|
+
* @internal
|
|
163
|
+
*/
|
|
164
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
146
165
|
}
|
|
147
166
|
export interface AssociateNetworkSettingsRequest {
|
|
148
167
|
/**
|
|
@@ -309,10 +328,9 @@ export declare namespace CreateBrowserSettingsResponse {
|
|
|
309
328
|
/**
|
|
310
329
|
* <p>The service quota has been exceeded.</p>
|
|
311
330
|
*/
|
|
312
|
-
export
|
|
313
|
-
name: "ServiceQuotaExceededException";
|
|
314
|
-
$fault: "client";
|
|
315
|
-
message?: string;
|
|
331
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
332
|
+
readonly name: "ServiceQuotaExceededException";
|
|
333
|
+
readonly $fault: "client";
|
|
316
334
|
/**
|
|
317
335
|
* <p>Identifier of the resource affected.</p>
|
|
318
336
|
*/
|
|
@@ -329,6 +347,10 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
|
|
|
329
347
|
* <p>The originating quota.</p>
|
|
330
348
|
*/
|
|
331
349
|
quotaCode?: string;
|
|
350
|
+
/**
|
|
351
|
+
* @internal
|
|
352
|
+
*/
|
|
353
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
332
354
|
}
|
|
333
355
|
export declare enum IdentityProviderType {
|
|
334
356
|
Facebook = "Facebook",
|
|
@@ -2043,14 +2065,17 @@ export declare namespace TagResourceResponse {
|
|
|
2043
2065
|
/**
|
|
2044
2066
|
* <p>There are too many tags.</p>
|
|
2045
2067
|
*/
|
|
2046
|
-
export
|
|
2047
|
-
name: "TooManyTagsException";
|
|
2048
|
-
$fault: "client";
|
|
2049
|
-
message?: string;
|
|
2068
|
+
export declare class TooManyTagsException extends __BaseException {
|
|
2069
|
+
readonly name: "TooManyTagsException";
|
|
2070
|
+
readonly $fault: "client";
|
|
2050
2071
|
/**
|
|
2051
2072
|
* <p>Name of the resource affected.</p>
|
|
2052
2073
|
*/
|
|
2053
2074
|
resourceName?: string;
|
|
2075
|
+
/**
|
|
2076
|
+
* @internal
|
|
2077
|
+
*/
|
|
2078
|
+
constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
|
|
2054
2079
|
}
|
|
2055
2080
|
export interface UntagResourceRequest {
|
|
2056
2081
|
/**
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
|
|
3
|
+
export declare class WorkSpacesWebServiceException extends __ServiceException {
|
|
4
|
+
|
|
5
|
+
constructor(options: __ServiceExceptionOptions);
|
|
6
|
+
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { WorkSpacesWebServiceException as __BaseException } from "./WorkSpacesWebServiceException";
|
|
2
3
|
|
|
3
|
-
export
|
|
4
|
-
name: "AccessDeniedException";
|
|
5
|
-
$fault: "client";
|
|
6
|
-
|
|
4
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
5
|
+
readonly name: "AccessDeniedException";
|
|
6
|
+
readonly $fault: "client";
|
|
7
|
+
|
|
8
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
7
9
|
}
|
|
8
10
|
export interface AssociateBrowserSettingsRequest {
|
|
9
11
|
|
|
@@ -26,44 +28,48 @@ export declare namespace AssociateBrowserSettingsResponse {
|
|
|
26
28
|
const filterSensitiveLog: (obj: AssociateBrowserSettingsResponse) => any;
|
|
27
29
|
}
|
|
28
30
|
|
|
29
|
-
export
|
|
30
|
-
name: "ConflictException";
|
|
31
|
-
$fault: "client";
|
|
32
|
-
message?: string;
|
|
31
|
+
export declare class ConflictException extends __BaseException {
|
|
32
|
+
readonly name: "ConflictException";
|
|
33
|
+
readonly $fault: "client";
|
|
33
34
|
|
|
34
35
|
resourceId?: string;
|
|
35
36
|
|
|
36
37
|
resourceType?: string;
|
|
38
|
+
|
|
39
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
37
40
|
}
|
|
38
41
|
|
|
39
|
-
export
|
|
40
|
-
name: "InternalServerException";
|
|
41
|
-
$fault: "server";
|
|
42
|
-
message?: string;
|
|
42
|
+
export declare class InternalServerException extends __BaseException {
|
|
43
|
+
readonly name: "InternalServerException";
|
|
44
|
+
readonly $fault: "server";
|
|
43
45
|
|
|
44
46
|
retryAfterSeconds?: number;
|
|
47
|
+
|
|
48
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
45
49
|
}
|
|
46
50
|
|
|
47
|
-
export
|
|
48
|
-
name: "ResourceNotFoundException";
|
|
49
|
-
$fault: "client";
|
|
50
|
-
message?: string;
|
|
51
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
52
|
+
readonly name: "ResourceNotFoundException";
|
|
53
|
+
readonly $fault: "client";
|
|
51
54
|
|
|
52
55
|
resourceId?: string;
|
|
53
56
|
|
|
54
57
|
resourceType?: string;
|
|
58
|
+
|
|
59
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
55
60
|
}
|
|
56
61
|
|
|
57
|
-
export
|
|
58
|
-
name: "ThrottlingException";
|
|
59
|
-
$fault: "client";
|
|
60
|
-
message?: string;
|
|
62
|
+
export declare class ThrottlingException extends __BaseException {
|
|
63
|
+
readonly name: "ThrottlingException";
|
|
64
|
+
readonly $fault: "client";
|
|
61
65
|
|
|
62
66
|
serviceCode?: string;
|
|
63
67
|
|
|
64
68
|
quotaCode?: string;
|
|
65
69
|
|
|
66
70
|
retryAfterSeconds?: number;
|
|
71
|
+
|
|
72
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
67
73
|
}
|
|
68
74
|
|
|
69
75
|
export interface ValidationExceptionField {
|
|
@@ -83,14 +89,15 @@ export declare enum ValidationExceptionReason {
|
|
|
83
89
|
UNKNOWN_OPERATION = "unknownOperation"
|
|
84
90
|
}
|
|
85
91
|
|
|
86
|
-
export
|
|
87
|
-
name: "ValidationException";
|
|
88
|
-
$fault: "client";
|
|
89
|
-
message?: string;
|
|
92
|
+
export declare class ValidationException extends __BaseException {
|
|
93
|
+
readonly name: "ValidationException";
|
|
94
|
+
readonly $fault: "client";
|
|
90
95
|
|
|
91
96
|
reason?: ValidationExceptionReason | string;
|
|
92
97
|
|
|
93
98
|
fieldList?: ValidationExceptionField[];
|
|
99
|
+
|
|
100
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
94
101
|
}
|
|
95
102
|
export interface AssociateNetworkSettingsRequest {
|
|
96
103
|
|
|
@@ -190,10 +197,9 @@ export declare namespace CreateBrowserSettingsResponse {
|
|
|
190
197
|
const filterSensitiveLog: (obj: CreateBrowserSettingsResponse) => any;
|
|
191
198
|
}
|
|
192
199
|
|
|
193
|
-
export
|
|
194
|
-
name: "ServiceQuotaExceededException";
|
|
195
|
-
$fault: "client";
|
|
196
|
-
message?: string;
|
|
200
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
201
|
+
readonly name: "ServiceQuotaExceededException";
|
|
202
|
+
readonly $fault: "client";
|
|
197
203
|
|
|
198
204
|
resourceId?: string;
|
|
199
205
|
|
|
@@ -202,6 +208,8 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
|
|
|
202
208
|
serviceCode?: string;
|
|
203
209
|
|
|
204
210
|
quotaCode?: string;
|
|
211
|
+
|
|
212
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
205
213
|
}
|
|
206
214
|
export declare enum IdentityProviderType {
|
|
207
215
|
Facebook = "Facebook",
|
|
@@ -1043,12 +1051,13 @@ export declare namespace TagResourceResponse {
|
|
|
1043
1051
|
const filterSensitiveLog: (obj: TagResourceResponse) => any;
|
|
1044
1052
|
}
|
|
1045
1053
|
|
|
1046
|
-
export
|
|
1047
|
-
name: "TooManyTagsException";
|
|
1048
|
-
$fault: "client";
|
|
1049
|
-
message?: string;
|
|
1054
|
+
export declare class TooManyTagsException extends __BaseException {
|
|
1055
|
+
readonly name: "TooManyTagsException";
|
|
1056
|
+
readonly $fault: "client";
|
|
1050
1057
|
|
|
1051
1058
|
resourceName?: string;
|
|
1059
|
+
|
|
1060
|
+
constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
|
|
1052
1061
|
}
|
|
1053
1062
|
export interface UntagResourceRequest {
|
|
1054
1063
|
|
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.53.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,34 +18,34 @@
|
|
|
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.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.53.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.53.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.53.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.53.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.53.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.53.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.53.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.53.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.53.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.53.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.53.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.53.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.53.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.53.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.53.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.53.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.53.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.53.0",
|
|
39
|
+
"@aws-sdk/types": "3.53.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.53.0",
|
|
41
41
|
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
42
42
|
"@aws-sdk/util-base64-node": "3.52.0",
|
|
43
43
|
"@aws-sdk/util-body-length-browser": "3.52.0",
|
|
44
44
|
"@aws-sdk/util-body-length-node": "3.52.0",
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.53.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.53.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.53.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.53.0",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.52.0",
|
|
50
50
|
"@aws-sdk/util-utf8-node": "3.52.0",
|
|
51
51
|
"tslib": "^2.3.0",
|