@aws-sdk/client-workspaces-thin-client 3.458.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/LICENSE +201 -0
- package/README.md +344 -0
- package/dist-cjs/WorkSpacesThin.js +43 -0
- package/dist-cjs/WorkSpacesThinClientClient.js +43 -0
- package/dist-cjs/commands/CreateEnvironmentCommand.js +52 -0
- package/dist-cjs/commands/DeleteDeviceCommand.js +51 -0
- package/dist-cjs/commands/DeleteEnvironmentCommand.js +51 -0
- package/dist-cjs/commands/DeregisterDeviceCommand.js +51 -0
- package/dist-cjs/commands/GetDeviceCommand.js +52 -0
- package/dist-cjs/commands/GetEnvironmentCommand.js +52 -0
- package/dist-cjs/commands/GetSoftwareSetCommand.js +51 -0
- package/dist-cjs/commands/ListDevicesCommand.js +52 -0
- package/dist-cjs/commands/ListEnvironmentsCommand.js +52 -0
- package/dist-cjs/commands/ListSoftwareSetsCommand.js +51 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +52 -0
- package/dist-cjs/commands/TagResourceCommand.js +52 -0
- package/dist-cjs/commands/UntagResourceCommand.js +52 -0
- package/dist-cjs/commands/UpdateDeviceCommand.js +52 -0
- package/dist-cjs/commands/UpdateEnvironmentCommand.js +52 -0
- package/dist-cjs/commands/UpdateSoftwareSetCommand.js +51 -0
- package/dist-cjs/commands/index.js +19 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +12 -0
- package/dist-cjs/models/WorkSpacesThinClientServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +287 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListDevicesPaginator.js +29 -0
- package/dist-cjs/pagination/ListEnvironmentsPaginator.js +29 -0
- package/dist-cjs/pagination/ListSoftwareSetsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +7 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1486 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +24 -0
- package/dist-cjs/runtimeExtensions.js +22 -0
- package/dist-es/WorkSpacesThin.js +39 -0
- package/dist-es/WorkSpacesThinClientClient.js +39 -0
- package/dist-es/commands/CreateEnvironmentCommand.js +48 -0
- package/dist-es/commands/DeleteDeviceCommand.js +47 -0
- package/dist-es/commands/DeleteEnvironmentCommand.js +47 -0
- package/dist-es/commands/DeregisterDeviceCommand.js +47 -0
- package/dist-es/commands/GetDeviceCommand.js +48 -0
- package/dist-es/commands/GetEnvironmentCommand.js +48 -0
- package/dist-es/commands/GetSoftwareSetCommand.js +47 -0
- package/dist-es/commands/ListDevicesCommand.js +48 -0
- package/dist-es/commands/ListEnvironmentsCommand.js +48 -0
- package/dist-es/commands/ListSoftwareSetsCommand.js +47 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +48 -0
- package/dist-es/commands/TagResourceCommand.js +48 -0
- package/dist-es/commands/UntagResourceCommand.js +48 -0
- package/dist-es/commands/UpdateDeviceCommand.js +48 -0
- package/dist-es/commands/UpdateEnvironmentCommand.js +48 -0
- package/dist-es/commands/UpdateSoftwareSetCommand.js +47 -0
- package/dist-es/commands/index.js +16 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +7 -0
- package/dist-es/models/WorkSpacesThinClientServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +258 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListDevicesPaginator.js +25 -0
- package/dist-es/pagination/ListEnvironmentsPaginator.js +25 -0
- package/dist-es/pagination/ListSoftwareSetsPaginator.js +25 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +1451 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +20 -0
- package/dist-es/runtimeExtensions.js +18 -0
- package/dist-types/WorkSpacesThin.d.ts +133 -0
- package/dist-types/WorkSpacesThinClientClient.d.ts +196 -0
- package/dist-types/commands/CreateEnvironmentCommand.d.ts +146 -0
- package/dist-types/commands/DeleteDeviceCommand.d.ts +92 -0
- package/dist-types/commands/DeleteEnvironmentCommand.d.ts +92 -0
- package/dist-types/commands/DeregisterDeviceCommand.d.ts +93 -0
- package/dist-types/commands/GetDeviceCommand.d.ts +113 -0
- package/dist-types/commands/GetEnvironmentCommand.d.ts +121 -0
- package/dist-types/commands/GetSoftwareSetCommand.d.ts +101 -0
- package/dist-types/commands/ListDevicesCommand.d.ts +109 -0
- package/dist-types/commands/ListEnvironmentsCommand.d.ts +118 -0
- package/dist-types/commands/ListSoftwareSetsCommand.d.ts +96 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +84 -0
- package/dist-types/commands/TagResourceCommand.d.ts +83 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +83 -0
- package/dist-types/commands/UpdateDeviceCommand.d.ts +112 -0
- package/dist-types/commands/UpdateEnvironmentCommand.d.ts +134 -0
- package/dist-types/commands/UpdateSoftwareSetCommand.d.ts +87 -0
- package/dist-types/commands/index.d.ts +16 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +22 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +8 -0
- package/dist-types/index.d.ts +26 -0
- package/dist-types/models/WorkSpacesThinClientServiceException.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1506 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListDevicesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListEnvironmentsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSoftwareSetsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +146 -0
- package/dist-types/runtimeConfig.browser.d.ts +46 -0
- package/dist-types/runtimeConfig.d.ts +46 -0
- package/dist-types/runtimeConfig.native.d.ts +45 -0
- package/dist-types/runtimeConfig.shared.d.ts +19 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/WorkSpacesThin.d.ts +279 -0
- package/dist-types/ts3.4/WorkSpacesThinClientClient.d.ts +217 -0
- package/dist-types/ts3.4/commands/CreateEnvironmentCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteDeviceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteEnvironmentCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeregisterDeviceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetDeviceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetEnvironmentCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetSoftwareSetCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListDevicesCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListEnvironmentsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListSoftwareSetsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateDeviceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpdateEnvironmentCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateSoftwareSetCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +16 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
- package/dist-types/ts3.4/index.d.ts +10 -0
- package/dist-types/ts3.4/models/WorkSpacesThinClientServiceException.d.ts +8 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +440 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListDevicesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListEnvironmentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSoftwareSetsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +197 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +99 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +99 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +90 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +104 -0
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
|
+
import { WorkSpacesThinClientServiceException as __BaseException } from "./WorkSpacesThinClientServiceException";
|
|
3
|
+
export class AccessDeniedException extends __BaseException {
|
|
4
|
+
constructor(opts) {
|
|
5
|
+
super({
|
|
6
|
+
name: "AccessDeniedException",
|
|
7
|
+
$fault: "client",
|
|
8
|
+
...opts,
|
|
9
|
+
});
|
|
10
|
+
this.name = "AccessDeniedException";
|
|
11
|
+
this.$fault = "client";
|
|
12
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
export const ApplyTimeOf = {
|
|
16
|
+
DEVICE: "DEVICE",
|
|
17
|
+
UTC: "UTC",
|
|
18
|
+
};
|
|
19
|
+
export class ConflictException extends __BaseException {
|
|
20
|
+
constructor(opts) {
|
|
21
|
+
super({
|
|
22
|
+
name: "ConflictException",
|
|
23
|
+
$fault: "client",
|
|
24
|
+
...opts,
|
|
25
|
+
});
|
|
26
|
+
this.name = "ConflictException";
|
|
27
|
+
this.$fault = "client";
|
|
28
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
29
|
+
this.resourceId = opts.resourceId;
|
|
30
|
+
this.resourceType = opts.resourceType;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
export const DayOfWeek = {
|
|
34
|
+
FRIDAY: "FRIDAY",
|
|
35
|
+
MONDAY: "MONDAY",
|
|
36
|
+
SATURDAY: "SATURDAY",
|
|
37
|
+
SUNDAY: "SUNDAY",
|
|
38
|
+
THURSDAY: "THURSDAY",
|
|
39
|
+
TUESDAY: "TUESDAY",
|
|
40
|
+
WEDNESDAY: "WEDNESDAY",
|
|
41
|
+
};
|
|
42
|
+
export const MaintenanceWindowType = {
|
|
43
|
+
CUSTOM: "CUSTOM",
|
|
44
|
+
SYSTEM: "SYSTEM",
|
|
45
|
+
};
|
|
46
|
+
export const SoftwareSetUpdateMode = {
|
|
47
|
+
USE_DESIRED: "USE_DESIRED",
|
|
48
|
+
USE_LATEST: "USE_LATEST",
|
|
49
|
+
};
|
|
50
|
+
export const SoftwareSetUpdateSchedule = {
|
|
51
|
+
APPLY_IMMEDIATELY: "APPLY_IMMEDIATELY",
|
|
52
|
+
USE_MAINTENANCE_WINDOW: "USE_MAINTENANCE_WINDOW",
|
|
53
|
+
};
|
|
54
|
+
export const DesktopType = {
|
|
55
|
+
APPSTREAM: "appstream",
|
|
56
|
+
WORKSPACES: "workspaces",
|
|
57
|
+
WORKSPACES_WEB: "workspaces-web",
|
|
58
|
+
};
|
|
59
|
+
export class InternalServerException extends __BaseException {
|
|
60
|
+
constructor(opts) {
|
|
61
|
+
super({
|
|
62
|
+
name: "InternalServerException",
|
|
63
|
+
$fault: "server",
|
|
64
|
+
...opts,
|
|
65
|
+
});
|
|
66
|
+
this.name = "InternalServerException";
|
|
67
|
+
this.$fault = "server";
|
|
68
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
69
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
73
|
+
constructor(opts) {
|
|
74
|
+
super({
|
|
75
|
+
name: "ResourceNotFoundException",
|
|
76
|
+
$fault: "client",
|
|
77
|
+
...opts,
|
|
78
|
+
});
|
|
79
|
+
this.name = "ResourceNotFoundException";
|
|
80
|
+
this.$fault = "client";
|
|
81
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
82
|
+
this.resourceId = opts.resourceId;
|
|
83
|
+
this.resourceType = opts.resourceType;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
87
|
+
constructor(opts) {
|
|
88
|
+
super({
|
|
89
|
+
name: "ServiceQuotaExceededException",
|
|
90
|
+
$fault: "client",
|
|
91
|
+
...opts,
|
|
92
|
+
});
|
|
93
|
+
this.name = "ServiceQuotaExceededException";
|
|
94
|
+
this.$fault = "client";
|
|
95
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
96
|
+
this.resourceId = opts.resourceId;
|
|
97
|
+
this.resourceType = opts.resourceType;
|
|
98
|
+
this.serviceCode = opts.serviceCode;
|
|
99
|
+
this.quotaCode = opts.quotaCode;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
export class ThrottlingException extends __BaseException {
|
|
103
|
+
constructor(opts) {
|
|
104
|
+
super({
|
|
105
|
+
name: "ThrottlingException",
|
|
106
|
+
$fault: "client",
|
|
107
|
+
...opts,
|
|
108
|
+
});
|
|
109
|
+
this.name = "ThrottlingException";
|
|
110
|
+
this.$fault = "client";
|
|
111
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
112
|
+
this.serviceCode = opts.serviceCode;
|
|
113
|
+
this.quotaCode = opts.quotaCode;
|
|
114
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
export const ValidationExceptionReason = {
|
|
118
|
+
CANNOT_PARSE: "cannotParse",
|
|
119
|
+
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
120
|
+
OTHER: "other",
|
|
121
|
+
UNKNOWN_OPERATION: "unknownOperation",
|
|
122
|
+
};
|
|
123
|
+
export class ValidationException extends __BaseException {
|
|
124
|
+
constructor(opts) {
|
|
125
|
+
super({
|
|
126
|
+
name: "ValidationException",
|
|
127
|
+
$fault: "client",
|
|
128
|
+
...opts,
|
|
129
|
+
});
|
|
130
|
+
this.name = "ValidationException";
|
|
131
|
+
this.$fault = "client";
|
|
132
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
133
|
+
this.reason = opts.reason;
|
|
134
|
+
this.fieldList = opts.fieldList;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
export const TargetDeviceStatus = {
|
|
138
|
+
ARCHIVED: "ARCHIVED",
|
|
139
|
+
DEREGISTERED: "DEREGISTERED",
|
|
140
|
+
};
|
|
141
|
+
export const DeviceSoftwareSetComplianceStatus = {
|
|
142
|
+
COMPLIANT: "COMPLIANT",
|
|
143
|
+
NONE: "NONE",
|
|
144
|
+
NOT_COMPLIANT: "NOT_COMPLIANT",
|
|
145
|
+
};
|
|
146
|
+
export const SoftwareSetUpdateStatus = {
|
|
147
|
+
AVAILABLE: "AVAILABLE",
|
|
148
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
149
|
+
UP_TO_DATE: "UP_TO_DATE",
|
|
150
|
+
};
|
|
151
|
+
export const DeviceStatus = {
|
|
152
|
+
ARCHIVED: "ARCHIVED",
|
|
153
|
+
DEREGISTERED: "DEREGISTERED",
|
|
154
|
+
DEREGISTERING: "DEREGISTERING",
|
|
155
|
+
REGISTERED: "REGISTERED",
|
|
156
|
+
};
|
|
157
|
+
export const EnvironmentSoftwareSetComplianceStatus = {
|
|
158
|
+
COMPLIANT: "COMPLIANT",
|
|
159
|
+
NOT_COMPLIANT: "NOT_COMPLIANT",
|
|
160
|
+
NO_REGISTERED_DEVICES: "NO_REGISTERED_DEVICES",
|
|
161
|
+
};
|
|
162
|
+
export const SoftwareSetValidationStatus = {
|
|
163
|
+
NOT_VALIDATED: "NOT_VALIDATED",
|
|
164
|
+
VALIDATED: "VALIDATED",
|
|
165
|
+
};
|
|
166
|
+
export class InternalServiceException extends __BaseException {
|
|
167
|
+
constructor(opts) {
|
|
168
|
+
super({
|
|
169
|
+
name: "InternalServiceException",
|
|
170
|
+
$fault: "server",
|
|
171
|
+
...opts,
|
|
172
|
+
});
|
|
173
|
+
this.name = "InternalServiceException";
|
|
174
|
+
this.$fault = "server";
|
|
175
|
+
Object.setPrototypeOf(this, InternalServiceException.prototype);
|
|
176
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
export const CreateEnvironmentRequestFilterSensitiveLog = (obj) => ({
|
|
180
|
+
...obj,
|
|
181
|
+
...(obj.name && { name: SENSITIVE_STRING }),
|
|
182
|
+
...(obj.desktopEndpoint && { desktopEndpoint: SENSITIVE_STRING }),
|
|
183
|
+
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
184
|
+
});
|
|
185
|
+
export const EmbeddedTagFilterSensitiveLog = (obj) => ({
|
|
186
|
+
...obj,
|
|
187
|
+
});
|
|
188
|
+
export const EnvironmentSummaryFilterSensitiveLog = (obj) => ({
|
|
189
|
+
...obj,
|
|
190
|
+
...(obj.name && { name: SENSITIVE_STRING }),
|
|
191
|
+
...(obj.desktopEndpoint && { desktopEndpoint: SENSITIVE_STRING }),
|
|
192
|
+
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
193
|
+
});
|
|
194
|
+
export const CreateEnvironmentResponseFilterSensitiveLog = (obj) => ({
|
|
195
|
+
...obj,
|
|
196
|
+
...(obj.environment && { environment: EnvironmentSummaryFilterSensitiveLog(obj.environment) }),
|
|
197
|
+
});
|
|
198
|
+
export const DeviceFilterSensitiveLog = (obj) => ({
|
|
199
|
+
...obj,
|
|
200
|
+
...(obj.name && { name: SENSITIVE_STRING }),
|
|
201
|
+
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
202
|
+
});
|
|
203
|
+
export const DeviceSummaryFilterSensitiveLog = (obj) => ({
|
|
204
|
+
...obj,
|
|
205
|
+
...(obj.name && { name: SENSITIVE_STRING }),
|
|
206
|
+
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
207
|
+
});
|
|
208
|
+
export const EnvironmentFilterSensitiveLog = (obj) => ({
|
|
209
|
+
...obj,
|
|
210
|
+
...(obj.name && { name: SENSITIVE_STRING }),
|
|
211
|
+
...(obj.desktopEndpoint && { desktopEndpoint: SENSITIVE_STRING }),
|
|
212
|
+
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
213
|
+
});
|
|
214
|
+
export const GetDeviceResponseFilterSensitiveLog = (obj) => ({
|
|
215
|
+
...obj,
|
|
216
|
+
...(obj.device && { device: DeviceFilterSensitiveLog(obj.device) }),
|
|
217
|
+
});
|
|
218
|
+
export const GetEnvironmentResponseFilterSensitiveLog = (obj) => ({
|
|
219
|
+
...obj,
|
|
220
|
+
...(obj.environment && { environment: EnvironmentFilterSensitiveLog(obj.environment) }),
|
|
221
|
+
});
|
|
222
|
+
export const ListDevicesResponseFilterSensitiveLog = (obj) => ({
|
|
223
|
+
...obj,
|
|
224
|
+
...(obj.devices && { devices: obj.devices.map((item) => DeviceSummaryFilterSensitiveLog(item)) }),
|
|
225
|
+
});
|
|
226
|
+
export const ListEnvironmentsResponseFilterSensitiveLog = (obj) => ({
|
|
227
|
+
...obj,
|
|
228
|
+
...(obj.environments && { environments: obj.environments.map((item) => EnvironmentSummaryFilterSensitiveLog(item)) }),
|
|
229
|
+
});
|
|
230
|
+
export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
231
|
+
...obj,
|
|
232
|
+
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
233
|
+
});
|
|
234
|
+
export const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
235
|
+
...obj,
|
|
236
|
+
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
237
|
+
});
|
|
238
|
+
export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
239
|
+
...obj,
|
|
240
|
+
...(obj.tagKeys && { tagKeys: SENSITIVE_STRING }),
|
|
241
|
+
});
|
|
242
|
+
export const UpdateDeviceRequestFilterSensitiveLog = (obj) => ({
|
|
243
|
+
...obj,
|
|
244
|
+
...(obj.name && { name: SENSITIVE_STRING }),
|
|
245
|
+
});
|
|
246
|
+
export const UpdateDeviceResponseFilterSensitiveLog = (obj) => ({
|
|
247
|
+
...obj,
|
|
248
|
+
...(obj.device && { device: DeviceSummaryFilterSensitiveLog(obj.device) }),
|
|
249
|
+
});
|
|
250
|
+
export const UpdateEnvironmentRequestFilterSensitiveLog = (obj) => ({
|
|
251
|
+
...obj,
|
|
252
|
+
...(obj.name && { name: SENSITIVE_STRING }),
|
|
253
|
+
...(obj.desktopEndpoint && { desktopEndpoint: SENSITIVE_STRING }),
|
|
254
|
+
});
|
|
255
|
+
export const UpdateEnvironmentResponseFilterSensitiveLog = (obj) => ({
|
|
256
|
+
...obj,
|
|
257
|
+
...(obj.environment && { environment: EnvironmentSummaryFilterSensitiveLog(obj.environment) }),
|
|
258
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ListDevicesCommand } from "../commands/ListDevicesCommand";
|
|
2
|
+
import { WorkSpacesThinClientClient } from "../WorkSpacesThinClientClient";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new ListDevicesCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateListDevices(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.nextToken = token;
|
|
12
|
+
input["maxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof WorkSpacesThinClientClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected WorkSpacesThin | WorkSpacesThinClientClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.nextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ListEnvironmentsCommand, } from "../commands/ListEnvironmentsCommand";
|
|
2
|
+
import { WorkSpacesThinClientClient } from "../WorkSpacesThinClientClient";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new ListEnvironmentsCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateListEnvironments(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.nextToken = token;
|
|
12
|
+
input["maxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof WorkSpacesThinClientClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected WorkSpacesThin | WorkSpacesThinClientClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.nextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ListSoftwareSetsCommand, } from "../commands/ListSoftwareSetsCommand";
|
|
2
|
+
import { WorkSpacesThinClientClient } from "../WorkSpacesThinClientClient";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new ListSoftwareSetsCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateListSoftwareSets(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.nextToken = token;
|
|
12
|
+
input["maxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof WorkSpacesThinClientClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected WorkSpacesThin | WorkSpacesThinClientClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.nextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|