@aws-sdk/client-workspaces-thin-client 3.934.0 → 3.936.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.
@@ -5,7 +5,9 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { WorkSpacesThinClientExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/enums";
9
+ export * from "./models/errors";
10
+ export * from "./models/models_0";
9
11
  export { WorkSpacesThinClientServiceException } from "./models/WorkSpacesThinClientServiceException";
10
12
  import { WorkSpacesThinClient } from "./WorkSpacesThinClient";
11
13
  export declare const WorkSpacesThin: typeof WorkSpacesThinClient;
@@ -0,0 +1,87 @@
1
+ export declare const ApplyTimeOf: {
2
+ readonly DEVICE: "DEVICE";
3
+ readonly UTC: "UTC";
4
+ };
5
+ export type ApplyTimeOf = (typeof ApplyTimeOf)[keyof typeof ApplyTimeOf];
6
+ export declare const DayOfWeek: {
7
+ readonly FRIDAY: "FRIDAY";
8
+ readonly MONDAY: "MONDAY";
9
+ readonly SATURDAY: "SATURDAY";
10
+ readonly SUNDAY: "SUNDAY";
11
+ readonly THURSDAY: "THURSDAY";
12
+ readonly TUESDAY: "TUESDAY";
13
+ readonly WEDNESDAY: "WEDNESDAY";
14
+ };
15
+ export type DayOfWeek = (typeof DayOfWeek)[keyof typeof DayOfWeek];
16
+ export declare const MaintenanceWindowType: {
17
+ readonly CUSTOM: "CUSTOM";
18
+ readonly SYSTEM: "SYSTEM";
19
+ };
20
+ export type MaintenanceWindowType =
21
+ (typeof MaintenanceWindowType)[keyof typeof MaintenanceWindowType];
22
+ export declare const SoftwareSetUpdateMode: {
23
+ readonly USE_DESIRED: "USE_DESIRED";
24
+ readonly USE_LATEST: "USE_LATEST";
25
+ };
26
+ export type SoftwareSetUpdateMode =
27
+ (typeof SoftwareSetUpdateMode)[keyof typeof SoftwareSetUpdateMode];
28
+ export declare const SoftwareSetUpdateSchedule: {
29
+ readonly APPLY_IMMEDIATELY: "APPLY_IMMEDIATELY";
30
+ readonly USE_MAINTENANCE_WINDOW: "USE_MAINTENANCE_WINDOW";
31
+ };
32
+ export type SoftwareSetUpdateSchedule =
33
+ (typeof SoftwareSetUpdateSchedule)[keyof typeof SoftwareSetUpdateSchedule];
34
+ export declare const DesktopType: {
35
+ readonly APPSTREAM: "appstream";
36
+ readonly WORKSPACES: "workspaces";
37
+ readonly WORKSPACES_WEB: "workspaces-web";
38
+ };
39
+ export type DesktopType = (typeof DesktopType)[keyof typeof DesktopType];
40
+ export declare const ValidationExceptionReason: {
41
+ readonly CANNOT_PARSE: "cannotParse";
42
+ readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
43
+ readonly OTHER: "other";
44
+ readonly UNKNOWN_OPERATION: "unknownOperation";
45
+ };
46
+ export type ValidationExceptionReason =
47
+ (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
48
+ export declare const TargetDeviceStatus: {
49
+ readonly ARCHIVED: "ARCHIVED";
50
+ readonly DEREGISTERED: "DEREGISTERED";
51
+ };
52
+ export type TargetDeviceStatus =
53
+ (typeof TargetDeviceStatus)[keyof typeof TargetDeviceStatus];
54
+ export declare const DeviceSoftwareSetComplianceStatus: {
55
+ readonly COMPLIANT: "COMPLIANT";
56
+ readonly NONE: "NONE";
57
+ readonly NOT_COMPLIANT: "NOT_COMPLIANT";
58
+ };
59
+ export type DeviceSoftwareSetComplianceStatus =
60
+ (typeof DeviceSoftwareSetComplianceStatus)[keyof typeof DeviceSoftwareSetComplianceStatus];
61
+ export declare const SoftwareSetUpdateStatus: {
62
+ readonly AVAILABLE: "AVAILABLE";
63
+ readonly IN_PROGRESS: "IN_PROGRESS";
64
+ readonly UP_TO_DATE: "UP_TO_DATE";
65
+ };
66
+ export type SoftwareSetUpdateStatus =
67
+ (typeof SoftwareSetUpdateStatus)[keyof typeof SoftwareSetUpdateStatus];
68
+ export declare const DeviceStatus: {
69
+ readonly ARCHIVED: "ARCHIVED";
70
+ readonly DEREGISTERED: "DEREGISTERED";
71
+ readonly DEREGISTERING: "DEREGISTERING";
72
+ readonly REGISTERED: "REGISTERED";
73
+ };
74
+ export type DeviceStatus = (typeof DeviceStatus)[keyof typeof DeviceStatus];
75
+ export declare const EnvironmentSoftwareSetComplianceStatus: {
76
+ readonly COMPLIANT: "COMPLIANT";
77
+ readonly NOT_COMPLIANT: "NOT_COMPLIANT";
78
+ readonly NO_REGISTERED_DEVICES: "NO_REGISTERED_DEVICES";
79
+ };
80
+ export type EnvironmentSoftwareSetComplianceStatus =
81
+ (typeof EnvironmentSoftwareSetComplianceStatus)[keyof typeof EnvironmentSoftwareSetComplianceStatus];
82
+ export declare const SoftwareSetValidationStatus: {
83
+ readonly NOT_VALIDATED: "NOT_VALIDATED";
84
+ readonly VALIDATED: "VALIDATED";
85
+ };
86
+ export type SoftwareSetValidationStatus =
87
+ (typeof SoftwareSetValidationStatus)[keyof typeof SoftwareSetValidationStatus];
@@ -0,0 +1,65 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ValidationExceptionReason } from "./enums";
3
+ import { ValidationExceptionField } from "./models_0";
4
+ import { WorkSpacesThinClientServiceException as __BaseException } from "./WorkSpacesThinClientServiceException";
5
+ export declare class AccessDeniedException extends __BaseException {
6
+ readonly name: "AccessDeniedException";
7
+ readonly $fault: "client";
8
+ constructor(
9
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
10
+ );
11
+ }
12
+ export declare class ConflictException extends __BaseException {
13
+ readonly name: "ConflictException";
14
+ readonly $fault: "client";
15
+ resourceId?: string | undefined;
16
+ resourceType?: string | undefined;
17
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
18
+ }
19
+ export declare class InternalServerException extends __BaseException {
20
+ readonly name: "InternalServerException";
21
+ readonly $fault: "server";
22
+ retryAfterSeconds?: number | undefined;
23
+ constructor(
24
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
25
+ );
26
+ }
27
+ export declare class ResourceNotFoundException extends __BaseException {
28
+ readonly name: "ResourceNotFoundException";
29
+ readonly $fault: "client";
30
+ resourceId?: string | undefined;
31
+ resourceType?: string | undefined;
32
+ constructor(
33
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
34
+ );
35
+ }
36
+ export declare class ServiceQuotaExceededException extends __BaseException {
37
+ readonly name: "ServiceQuotaExceededException";
38
+ readonly $fault: "client";
39
+ resourceId?: string | undefined;
40
+ resourceType?: string | undefined;
41
+ serviceCode?: string | undefined;
42
+ quotaCode?: string | undefined;
43
+ constructor(
44
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
45
+ );
46
+ }
47
+ export declare class ThrottlingException extends __BaseException {
48
+ readonly name: "ThrottlingException";
49
+ readonly $fault: "client";
50
+ serviceCode?: string | undefined;
51
+ quotaCode?: string | undefined;
52
+ retryAfterSeconds?: number | undefined;
53
+ constructor(
54
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
55
+ );
56
+ }
57
+ export declare class ValidationException extends __BaseException {
58
+ readonly name: "ValidationException";
59
+ readonly $fault: "client";
60
+ reason?: ValidationExceptionReason | undefined;
61
+ fieldList?: ValidationExceptionField[] | undefined;
62
+ constructor(
63
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
64
+ );
65
+ }
@@ -1,40 +1,17 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { WorkSpacesThinClientServiceException as __BaseException } from "./WorkSpacesThinClientServiceException";
3
- export declare class AccessDeniedException extends __BaseException {
4
- readonly name: "AccessDeniedException";
5
- readonly $fault: "client";
6
- constructor(
7
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
- );
9
- }
10
- export declare const ApplyTimeOf: {
11
- readonly DEVICE: "DEVICE";
12
- readonly UTC: "UTC";
13
- };
14
- export type ApplyTimeOf = (typeof ApplyTimeOf)[keyof typeof ApplyTimeOf];
15
- export declare class ConflictException extends __BaseException {
16
- readonly name: "ConflictException";
17
- readonly $fault: "client";
18
- resourceId?: string | undefined;
19
- resourceType?: string | undefined;
20
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
21
- }
22
- export declare const DayOfWeek: {
23
- readonly FRIDAY: "FRIDAY";
24
- readonly MONDAY: "MONDAY";
25
- readonly SATURDAY: "SATURDAY";
26
- readonly SUNDAY: "SUNDAY";
27
- readonly THURSDAY: "THURSDAY";
28
- readonly TUESDAY: "TUESDAY";
29
- readonly WEDNESDAY: "WEDNESDAY";
30
- };
31
- export type DayOfWeek = (typeof DayOfWeek)[keyof typeof DayOfWeek];
32
- export declare const MaintenanceWindowType: {
33
- readonly CUSTOM: "CUSTOM";
34
- readonly SYSTEM: "SYSTEM";
35
- };
36
- export type MaintenanceWindowType =
37
- (typeof MaintenanceWindowType)[keyof typeof MaintenanceWindowType];
1
+ import {
2
+ ApplyTimeOf,
3
+ DayOfWeek,
4
+ DesktopType,
5
+ DeviceSoftwareSetComplianceStatus,
6
+ DeviceStatus,
7
+ EnvironmentSoftwareSetComplianceStatus,
8
+ MaintenanceWindowType,
9
+ SoftwareSetUpdateMode,
10
+ SoftwareSetUpdateSchedule,
11
+ SoftwareSetUpdateStatus,
12
+ SoftwareSetValidationStatus,
13
+ TargetDeviceStatus,
14
+ } from "./enums";
38
15
  export interface MaintenanceWindow {
39
16
  type: MaintenanceWindowType | undefined;
40
17
  startTimeHour?: number | undefined;
@@ -44,18 +21,6 @@ export interface MaintenanceWindow {
44
21
  daysOfTheWeek?: DayOfWeek[] | undefined;
45
22
  applyTimeOf?: ApplyTimeOf | undefined;
46
23
  }
47
- export declare const SoftwareSetUpdateMode: {
48
- readonly USE_DESIRED: "USE_DESIRED";
49
- readonly USE_LATEST: "USE_LATEST";
50
- };
51
- export type SoftwareSetUpdateMode =
52
- (typeof SoftwareSetUpdateMode)[keyof typeof SoftwareSetUpdateMode];
53
- export declare const SoftwareSetUpdateSchedule: {
54
- readonly APPLY_IMMEDIATELY: "APPLY_IMMEDIATELY";
55
- readonly USE_MAINTENANCE_WINDOW: "USE_MAINTENANCE_WINDOW";
56
- };
57
- export type SoftwareSetUpdateSchedule =
58
- (typeof SoftwareSetUpdateSchedule)[keyof typeof SoftwareSetUpdateSchedule];
59
24
  export interface CreateEnvironmentRequest {
60
25
  name?: string | undefined;
61
26
  desktopArn: string | undefined;
@@ -69,12 +34,6 @@ export interface CreateEnvironmentRequest {
69
34
  tags?: Record<string, string> | undefined;
70
35
  deviceCreationTags?: Record<string, string> | undefined;
71
36
  }
72
- export declare const DesktopType: {
73
- readonly APPSTREAM: "appstream";
74
- readonly WORKSPACES: "workspaces";
75
- readonly WORKSPACES_WEB: "workspaces-web";
76
- };
77
- export type DesktopType = (typeof DesktopType)[keyof typeof DesktopType];
78
37
  export interface EnvironmentSummary {
79
38
  id?: string | undefined;
80
39
  name?: string | undefined;
@@ -94,65 +53,10 @@ export interface EnvironmentSummary {
94
53
  export interface CreateEnvironmentResponse {
95
54
  environment?: EnvironmentSummary | undefined;
96
55
  }
97
- export declare class InternalServerException extends __BaseException {
98
- readonly name: "InternalServerException";
99
- readonly $fault: "server";
100
- retryAfterSeconds?: number | undefined;
101
- constructor(
102
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
103
- );
104
- }
105
- export declare class ResourceNotFoundException extends __BaseException {
106
- readonly name: "ResourceNotFoundException";
107
- readonly $fault: "client";
108
- resourceId?: string | undefined;
109
- resourceType?: string | undefined;
110
- constructor(
111
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
112
- );
113
- }
114
- export declare class ServiceQuotaExceededException extends __BaseException {
115
- readonly name: "ServiceQuotaExceededException";
116
- readonly $fault: "client";
117
- resourceId?: string | undefined;
118
- resourceType?: string | undefined;
119
- serviceCode?: string | undefined;
120
- quotaCode?: string | undefined;
121
- constructor(
122
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
123
- );
124
- }
125
- export declare class ThrottlingException extends __BaseException {
126
- readonly name: "ThrottlingException";
127
- readonly $fault: "client";
128
- serviceCode?: string | undefined;
129
- quotaCode?: string | undefined;
130
- retryAfterSeconds?: number | undefined;
131
- constructor(
132
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
133
- );
134
- }
135
56
  export interface ValidationExceptionField {
136
57
  name: string | undefined;
137
58
  message: string | undefined;
138
59
  }
139
- export declare const ValidationExceptionReason: {
140
- readonly CANNOT_PARSE: "cannotParse";
141
- readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
142
- readonly OTHER: "other";
143
- readonly UNKNOWN_OPERATION: "unknownOperation";
144
- };
145
- export type ValidationExceptionReason =
146
- (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
147
- export declare class ValidationException extends __BaseException {
148
- readonly name: "ValidationException";
149
- readonly $fault: "client";
150
- reason?: ValidationExceptionReason | undefined;
151
- fieldList?: ValidationExceptionField[] | undefined;
152
- constructor(
153
- opts: __ExceptionOptionType<ValidationException, __BaseException>
154
- );
155
- }
156
60
  export interface DeleteDeviceRequest {
157
61
  id: string | undefined;
158
62
  clientToken?: string | undefined;
@@ -163,39 +67,12 @@ export interface DeleteEnvironmentRequest {
163
67
  clientToken?: string | undefined;
164
68
  }
165
69
  export interface DeleteEnvironmentResponse {}
166
- export declare const TargetDeviceStatus: {
167
- readonly ARCHIVED: "ARCHIVED";
168
- readonly DEREGISTERED: "DEREGISTERED";
169
- };
170
- export type TargetDeviceStatus =
171
- (typeof TargetDeviceStatus)[keyof typeof TargetDeviceStatus];
172
70
  export interface DeregisterDeviceRequest {
173
71
  id: string | undefined;
174
72
  targetDeviceStatus?: TargetDeviceStatus | undefined;
175
73
  clientToken?: string | undefined;
176
74
  }
177
75
  export interface DeregisterDeviceResponse {}
178
- export declare const DeviceSoftwareSetComplianceStatus: {
179
- readonly COMPLIANT: "COMPLIANT";
180
- readonly NONE: "NONE";
181
- readonly NOT_COMPLIANT: "NOT_COMPLIANT";
182
- };
183
- export type DeviceSoftwareSetComplianceStatus =
184
- (typeof DeviceSoftwareSetComplianceStatus)[keyof typeof DeviceSoftwareSetComplianceStatus];
185
- export declare const SoftwareSetUpdateStatus: {
186
- readonly AVAILABLE: "AVAILABLE";
187
- readonly IN_PROGRESS: "IN_PROGRESS";
188
- readonly UP_TO_DATE: "UP_TO_DATE";
189
- };
190
- export type SoftwareSetUpdateStatus =
191
- (typeof SoftwareSetUpdateStatus)[keyof typeof SoftwareSetUpdateStatus];
192
- export declare const DeviceStatus: {
193
- readonly ARCHIVED: "ARCHIVED";
194
- readonly DEREGISTERED: "DEREGISTERED";
195
- readonly DEREGISTERING: "DEREGISTERING";
196
- readonly REGISTERED: "REGISTERED";
197
- };
198
- export type DeviceStatus = (typeof DeviceStatus)[keyof typeof DeviceStatus];
199
76
  export interface Device {
200
77
  id?: string | undefined;
201
78
  serialNumber?: string | undefined;
@@ -237,13 +114,6 @@ export interface DeviceSummary {
237
114
  arn?: string | undefined;
238
115
  lastUserId?: string | undefined;
239
116
  }
240
- export declare const EnvironmentSoftwareSetComplianceStatus: {
241
- readonly COMPLIANT: "COMPLIANT";
242
- readonly NOT_COMPLIANT: "NOT_COMPLIANT";
243
- readonly NO_REGISTERED_DEVICES: "NO_REGISTERED_DEVICES";
244
- };
245
- export type EnvironmentSoftwareSetComplianceStatus =
246
- (typeof EnvironmentSoftwareSetComplianceStatus)[keyof typeof EnvironmentSoftwareSetComplianceStatus];
247
117
  export interface Environment {
248
118
  id?: string | undefined;
249
119
  name?: string | undefined;
@@ -286,12 +156,6 @@ export interface Software {
286
156
  name?: string | undefined;
287
157
  version?: string | undefined;
288
158
  }
289
- export declare const SoftwareSetValidationStatus: {
290
- readonly NOT_VALIDATED: "NOT_VALIDATED";
291
- readonly VALIDATED: "VALIDATED";
292
- };
293
- export type SoftwareSetValidationStatus =
294
- (typeof SoftwareSetValidationStatus)[keyof typeof SoftwareSetValidationStatus];
295
159
  export interface SoftwareSet {
296
160
  id?: string | undefined;
297
161
  version?: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-workspaces-thin-client",
3
3
  "description": "AWS SDK for JavaScript Workspaces Thin Client Client for Node.js, Browser and React Native",
4
- "version": "3.934.0",
4
+ "version": "3.936.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-workspaces-thin-client",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.934.0",
24
- "@aws-sdk/credential-provider-node": "3.934.0",
25
- "@aws-sdk/middleware-host-header": "3.930.0",
26
- "@aws-sdk/middleware-logger": "3.930.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.934.0",
29
- "@aws-sdk/region-config-resolver": "3.930.0",
30
- "@aws-sdk/types": "3.930.0",
31
- "@aws-sdk/util-endpoints": "3.930.0",
32
- "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.934.0",
23
+ "@aws-sdk/core": "3.936.0",
24
+ "@aws-sdk/credential-provider-node": "3.936.0",
25
+ "@aws-sdk/middleware-host-header": "3.936.0",
26
+ "@aws-sdk/middleware-logger": "3.936.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
+ "@aws-sdk/middleware-user-agent": "3.936.0",
29
+ "@aws-sdk/region-config-resolver": "3.936.0",
30
+ "@aws-sdk/types": "3.936.0",
31
+ "@aws-sdk/util-endpoints": "3.936.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.936.0",
33
+ "@aws-sdk/util-user-agent-node": "3.936.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";