@aws-sdk/client-workspaces-thin-client 3.1075.0 → 3.1076.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/dist-cjs/index.js +859 -15
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -1
- package/package.json +8 -8
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
- package/dist-cjs/endpoint/bdd.js +0 -46
- package/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/dist-cjs/models/WorkSpacesThinClientServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -113
- package/dist-cjs/runtimeConfig.browser.js +0 -32
- package/dist-cjs/runtimeConfig.js +0 -45
- package/dist-cjs/runtimeConfig.native.js +0 -12
- package/dist-cjs/runtimeConfig.shared.js +0 -38
- package/dist-cjs/schemas/schemas_0.js +0 -538
package/dist-cjs/index.js
CHANGED
|
@@ -1,21 +1,57 @@
|
|
|
1
|
-
|
|
2
|
-
const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
1
|
+
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
3
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
4
|
-
const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
5
4
|
exports.$Command = Command;
|
|
6
5
|
exports.__Client = Client;
|
|
7
|
-
const { resolveRegionConfig } = require("@smithy/core/config");
|
|
8
|
-
const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
9
|
-
const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
10
|
-
const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
11
|
-
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
12
|
-
const {
|
|
13
|
-
const {
|
|
14
|
-
const {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
6
|
+
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
|
+
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
8
|
+
const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
9
|
+
const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
10
|
+
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
|
+
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
|
+
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
|
+
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
|
+
const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
|
|
16
|
+
|
|
17
|
+
const defaultWorkSpacesThinClientHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
18
|
+
return {
|
|
19
|
+
operation: getSmithyContext(context).operation,
|
|
20
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
21
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
22
|
+
})(),
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
26
|
+
return {
|
|
27
|
+
schemeId: "aws.auth#sigv4",
|
|
28
|
+
signingProperties: {
|
|
29
|
+
name: "thinclient",
|
|
30
|
+
region: authParameters.region,
|
|
31
|
+
},
|
|
32
|
+
propertiesExtractor: (config, context) => ({
|
|
33
|
+
signingProperties: {
|
|
34
|
+
config,
|
|
35
|
+
context,
|
|
36
|
+
},
|
|
37
|
+
}),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
const defaultWorkSpacesThinClientHttpAuthSchemeProvider = (authParameters) => {
|
|
41
|
+
const options = [];
|
|
42
|
+
switch (authParameters.operation) {
|
|
43
|
+
default: {
|
|
44
|
+
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return options;
|
|
48
|
+
};
|
|
49
|
+
const resolveHttpAuthSchemeConfig = (config) => {
|
|
50
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
51
|
+
return Object.assign(config_0, {
|
|
52
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
53
|
+
});
|
|
54
|
+
};
|
|
19
55
|
|
|
20
56
|
const resolveClientEndpointParameters = (options) => {
|
|
21
57
|
return Object.assign(options, {
|
|
@@ -31,6 +67,740 @@ const commonParams = {
|
|
|
31
67
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
32
68
|
};
|
|
33
69
|
|
|
70
|
+
var version = "3.1075.0";
|
|
71
|
+
var packageInfo = {
|
|
72
|
+
version: version};
|
|
73
|
+
|
|
74
|
+
const k = "ref";
|
|
75
|
+
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
76
|
+
const _data = {
|
|
77
|
+
conditions: [
|
|
78
|
+
[c, [g]],
|
|
79
|
+
[c, j],
|
|
80
|
+
["aws.partition", j, d],
|
|
81
|
+
[e, [{ [k]: "UseFIPS" }, b]],
|
|
82
|
+
[e, [{ [k]: "UseDualStack" }, b]],
|
|
83
|
+
[e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
|
|
84
|
+
[e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
|
|
85
|
+
],
|
|
86
|
+
results: [
|
|
87
|
+
[a],
|
|
88
|
+
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
89
|
+
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
90
|
+
[g, i],
|
|
91
|
+
["https://thinclient-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
92
|
+
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
93
|
+
["https://thinclient-fips.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
94
|
+
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
95
|
+
["https://thinclient.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
96
|
+
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
97
|
+
["https://thinclient.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
98
|
+
[a, "Invalid Configuration: Missing Region"]
|
|
99
|
+
]
|
|
100
|
+
};
|
|
101
|
+
const root = 2;
|
|
102
|
+
const r = 100_000_000;
|
|
103
|
+
const nodes = new Int32Array([
|
|
104
|
+
-1, 1, -1,
|
|
105
|
+
0, 12, 3,
|
|
106
|
+
1, 4, r + 11,
|
|
107
|
+
2, 5, r + 11,
|
|
108
|
+
3, 8, 6,
|
|
109
|
+
4, 7, r + 10,
|
|
110
|
+
5, r + 8, r + 9,
|
|
111
|
+
4, 10, 9,
|
|
112
|
+
6, r + 6, r + 7,
|
|
113
|
+
5, 11, r + 5,
|
|
114
|
+
6, r + 4, r + 5,
|
|
115
|
+
3, r + 1, 13,
|
|
116
|
+
4, r + 2, r + 3,
|
|
117
|
+
]);
|
|
118
|
+
const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
119
|
+
|
|
120
|
+
const cache = new EndpointCache({
|
|
121
|
+
size: 50,
|
|
122
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
123
|
+
});
|
|
124
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
125
|
+
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
126
|
+
endpointParams: endpointParams,
|
|
127
|
+
logger: context.logger,
|
|
128
|
+
}));
|
|
129
|
+
};
|
|
130
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
131
|
+
|
|
132
|
+
class WorkSpacesThinClientServiceException extends ServiceException {
|
|
133
|
+
constructor(options) {
|
|
134
|
+
super(options);
|
|
135
|
+
Object.setPrototypeOf(this, WorkSpacesThinClientServiceException.prototype);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
class AccessDeniedException extends WorkSpacesThinClientServiceException {
|
|
140
|
+
name = "AccessDeniedException";
|
|
141
|
+
$fault = "client";
|
|
142
|
+
constructor(opts) {
|
|
143
|
+
super({
|
|
144
|
+
name: "AccessDeniedException",
|
|
145
|
+
$fault: "client",
|
|
146
|
+
...opts,
|
|
147
|
+
});
|
|
148
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
class ConflictException extends WorkSpacesThinClientServiceException {
|
|
152
|
+
name = "ConflictException";
|
|
153
|
+
$fault = "client";
|
|
154
|
+
resourceId;
|
|
155
|
+
resourceType;
|
|
156
|
+
constructor(opts) {
|
|
157
|
+
super({
|
|
158
|
+
name: "ConflictException",
|
|
159
|
+
$fault: "client",
|
|
160
|
+
...opts,
|
|
161
|
+
});
|
|
162
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
163
|
+
this.resourceId = opts.resourceId;
|
|
164
|
+
this.resourceType = opts.resourceType;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
class InternalServerException extends WorkSpacesThinClientServiceException {
|
|
168
|
+
name = "InternalServerException";
|
|
169
|
+
$fault = "server";
|
|
170
|
+
retryAfterSeconds;
|
|
171
|
+
constructor(opts) {
|
|
172
|
+
super({
|
|
173
|
+
name: "InternalServerException",
|
|
174
|
+
$fault: "server",
|
|
175
|
+
...opts,
|
|
176
|
+
});
|
|
177
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
178
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
class ResourceNotFoundException extends WorkSpacesThinClientServiceException {
|
|
182
|
+
name = "ResourceNotFoundException";
|
|
183
|
+
$fault = "client";
|
|
184
|
+
resourceId;
|
|
185
|
+
resourceType;
|
|
186
|
+
constructor(opts) {
|
|
187
|
+
super({
|
|
188
|
+
name: "ResourceNotFoundException",
|
|
189
|
+
$fault: "client",
|
|
190
|
+
...opts,
|
|
191
|
+
});
|
|
192
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
193
|
+
this.resourceId = opts.resourceId;
|
|
194
|
+
this.resourceType = opts.resourceType;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
class ServiceQuotaExceededException extends WorkSpacesThinClientServiceException {
|
|
198
|
+
name = "ServiceQuotaExceededException";
|
|
199
|
+
$fault = "client";
|
|
200
|
+
resourceId;
|
|
201
|
+
resourceType;
|
|
202
|
+
serviceCode;
|
|
203
|
+
quotaCode;
|
|
204
|
+
constructor(opts) {
|
|
205
|
+
super({
|
|
206
|
+
name: "ServiceQuotaExceededException",
|
|
207
|
+
$fault: "client",
|
|
208
|
+
...opts,
|
|
209
|
+
});
|
|
210
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
211
|
+
this.resourceId = opts.resourceId;
|
|
212
|
+
this.resourceType = opts.resourceType;
|
|
213
|
+
this.serviceCode = opts.serviceCode;
|
|
214
|
+
this.quotaCode = opts.quotaCode;
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
class ThrottlingException extends WorkSpacesThinClientServiceException {
|
|
218
|
+
name = "ThrottlingException";
|
|
219
|
+
$fault = "client";
|
|
220
|
+
serviceCode;
|
|
221
|
+
quotaCode;
|
|
222
|
+
retryAfterSeconds;
|
|
223
|
+
constructor(opts) {
|
|
224
|
+
super({
|
|
225
|
+
name: "ThrottlingException",
|
|
226
|
+
$fault: "client",
|
|
227
|
+
...opts,
|
|
228
|
+
});
|
|
229
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
230
|
+
this.serviceCode = opts.serviceCode;
|
|
231
|
+
this.quotaCode = opts.quotaCode;
|
|
232
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
class ValidationException extends WorkSpacesThinClientServiceException {
|
|
236
|
+
name = "ValidationException";
|
|
237
|
+
$fault = "client";
|
|
238
|
+
reason;
|
|
239
|
+
fieldList;
|
|
240
|
+
constructor(opts) {
|
|
241
|
+
super({
|
|
242
|
+
name: "ValidationException",
|
|
243
|
+
$fault: "client",
|
|
244
|
+
...opts,
|
|
245
|
+
});
|
|
246
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
247
|
+
this.reason = opts.reason;
|
|
248
|
+
this.fieldList = opts.fieldList;
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
const _AC = "ActivationCode";
|
|
253
|
+
const _ADE = "AccessDeniedException";
|
|
254
|
+
const _CE = "ConflictException";
|
|
255
|
+
const _CER = "CreateEnvironmentRequest";
|
|
256
|
+
const _CERr = "CreateEnvironmentResponse";
|
|
257
|
+
const _CEr = "CreateEnvironment";
|
|
258
|
+
const _D = "Device";
|
|
259
|
+
const _DCTM = "DeviceCreationTagsMap";
|
|
260
|
+
const _DD = "DeleteDevice";
|
|
261
|
+
const _DDR = "DeleteDeviceRequest";
|
|
262
|
+
const _DDRe = "DeleteDeviceResponse";
|
|
263
|
+
const _DDRer = "DeregisterDeviceRequest";
|
|
264
|
+
const _DDRere = "DeregisterDeviceResponse";
|
|
265
|
+
const _DDe = "DeregisterDevice";
|
|
266
|
+
const _DE = "DesktopEndpoint";
|
|
267
|
+
const _DER = "DeleteEnvironmentRequest";
|
|
268
|
+
const _DERe = "DeleteEnvironmentResponse";
|
|
269
|
+
const _DEe = "DeleteEnvironment";
|
|
270
|
+
const _DL = "DeviceList";
|
|
271
|
+
const _DN = "DeviceName";
|
|
272
|
+
const _DS = "DeviceSummary";
|
|
273
|
+
const _E = "Environment";
|
|
274
|
+
const _EL = "EnvironmentList";
|
|
275
|
+
const _EN = "EnvironmentName";
|
|
276
|
+
const _ES = "EnvironmentSummary";
|
|
277
|
+
const _GD = "GetDevice";
|
|
278
|
+
const _GDR = "GetDeviceRequest";
|
|
279
|
+
const _GDRe = "GetDeviceResponse";
|
|
280
|
+
const _GE = "GetEnvironment";
|
|
281
|
+
const _GER = "GetEnvironmentRequest";
|
|
282
|
+
const _GERe = "GetEnvironmentResponse";
|
|
283
|
+
const _GSS = "GetSoftwareSet";
|
|
284
|
+
const _GSSR = "GetSoftwareSetRequest";
|
|
285
|
+
const _GSSRe = "GetSoftwareSetResponse";
|
|
286
|
+
const _ISE = "InternalServerException";
|
|
287
|
+
const _LD = "ListDevices";
|
|
288
|
+
const _LDR = "ListDevicesRequest";
|
|
289
|
+
const _LDRi = "ListDevicesResponse";
|
|
290
|
+
const _LE = "ListEnvironments";
|
|
291
|
+
const _LER = "ListEnvironmentsRequest";
|
|
292
|
+
const _LERi = "ListEnvironmentsResponse";
|
|
293
|
+
const _LSS = "ListSoftwareSets";
|
|
294
|
+
const _LSSR = "ListSoftwareSetsRequest";
|
|
295
|
+
const _LSSRi = "ListSoftwareSetsResponse";
|
|
296
|
+
const _LTFR = "ListTagsForResource";
|
|
297
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
298
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
299
|
+
const _MW = "MaintenanceWindow";
|
|
300
|
+
const _RA = "Retry-After";
|
|
301
|
+
const _RNFE = "ResourceNotFoundException";
|
|
302
|
+
const _S = "Software";
|
|
303
|
+
const _SL = "SoftwareList";
|
|
304
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
305
|
+
const _SS = "SoftwareSet";
|
|
306
|
+
const _SSL = "SoftwareSetList";
|
|
307
|
+
const _SSS = "SoftwareSetSummary";
|
|
308
|
+
const _TE = "ThrottlingException";
|
|
309
|
+
const _TK = "TagKeys";
|
|
310
|
+
const _TM = "TagsMap";
|
|
311
|
+
const _TR = "TagResource";
|
|
312
|
+
const _TRR = "TagResourceRequest";
|
|
313
|
+
const _TRRa = "TagResourceResponse";
|
|
314
|
+
const _UD = "UpdateDevice";
|
|
315
|
+
const _UDR = "UpdateDeviceRequest";
|
|
316
|
+
const _UDRp = "UpdateDeviceResponse";
|
|
317
|
+
const _UE = "UpdateEnvironment";
|
|
318
|
+
const _UER = "UpdateEnvironmentRequest";
|
|
319
|
+
const _UERp = "UpdateEnvironmentResponse";
|
|
320
|
+
const _UI = "UserId";
|
|
321
|
+
const _UR = "UntagResource";
|
|
322
|
+
const _URR = "UntagResourceRequest";
|
|
323
|
+
const _URRn = "UntagResourceResponse";
|
|
324
|
+
const _USS = "UpdateSoftwareSet";
|
|
325
|
+
const _USSR = "UpdateSoftwareSetRequest";
|
|
326
|
+
const _USSRp = "UpdateSoftwareSetResponse";
|
|
327
|
+
const _VE = "ValidationException";
|
|
328
|
+
const _VEF = "ValidationExceptionField";
|
|
329
|
+
const _VEFL = "ValidationExceptionFieldList";
|
|
330
|
+
const _a = "arn";
|
|
331
|
+
const _aC = "activationCode";
|
|
332
|
+
const _aTO = "applyTimeOf";
|
|
333
|
+
const _c = "client";
|
|
334
|
+
const _cA = "createdAt";
|
|
335
|
+
const _cSSI = "currentSoftwareSetId";
|
|
336
|
+
const _cSSV = "currentSoftwareSetVersion";
|
|
337
|
+
const _cT = "clientToken";
|
|
338
|
+
const _d = "device";
|
|
339
|
+
const _dA = "desktopArn";
|
|
340
|
+
const _dCT = "deviceCreationTags";
|
|
341
|
+
const _dE = "desktopEndpoint";
|
|
342
|
+
const _dOTW = "daysOfTheWeek";
|
|
343
|
+
const _dSSI = "desiredSoftwareSetId";
|
|
344
|
+
const _dT = "desktopType";
|
|
345
|
+
const _de = "devices";
|
|
346
|
+
const _e = "error";
|
|
347
|
+
const _eI = "environmentId";
|
|
348
|
+
const _eTH = "endTimeHour";
|
|
349
|
+
const _eTM = "endTimeMinute";
|
|
350
|
+
const _en = "environment";
|
|
351
|
+
const _end = "endpoint";
|
|
352
|
+
const _env = "environments";
|
|
353
|
+
const _fL = "fieldList";
|
|
354
|
+
const _h = "http";
|
|
355
|
+
const _hE = "httpError";
|
|
356
|
+
const _hH = "httpHeader";
|
|
357
|
+
const _hQ = "httpQuery";
|
|
358
|
+
const _i = "id";
|
|
359
|
+
const _iT = "idempotencyToken";
|
|
360
|
+
const _kKA = "kmsKeyArn";
|
|
361
|
+
const _lCA = "lastConnectedAt";
|
|
362
|
+
const _lPA = "lastPostureAt";
|
|
363
|
+
const _lUI = "lastUserId";
|
|
364
|
+
const _m = "message";
|
|
365
|
+
const _mR = "maxResults";
|
|
366
|
+
const _mW = "maintenanceWindow";
|
|
367
|
+
const _mo = "model";
|
|
368
|
+
const _n = "name";
|
|
369
|
+
const _nT = "nextToken";
|
|
370
|
+
const _pSSI = "pendingSoftwareSetId";
|
|
371
|
+
const _pSSV = "pendingSoftwareSetVersion";
|
|
372
|
+
const _qC = "quotaCode";
|
|
373
|
+
const _r = "reason";
|
|
374
|
+
const _rA = "resourceArn";
|
|
375
|
+
const _rAS = "retryAfterSeconds";
|
|
376
|
+
const _rAe = "releasedAt";
|
|
377
|
+
const _rDC = "registeredDevicesCount";
|
|
378
|
+
const _rI = "resourceId";
|
|
379
|
+
const _rT = "resourceType";
|
|
380
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.workspacesthinclient";
|
|
381
|
+
const _sC = "serviceCode";
|
|
382
|
+
const _sN = "serialNumber";
|
|
383
|
+
const _sS = "softwareSet";
|
|
384
|
+
const _sSCS = "softwareSetComplianceStatus";
|
|
385
|
+
const _sSUM = "softwareSetUpdateMode";
|
|
386
|
+
const _sSUS = "softwareSetUpdateSchedule";
|
|
387
|
+
const _sSUSo = "softwareSetUpdateStatus";
|
|
388
|
+
const _sSo = "softwareSets";
|
|
389
|
+
const _sTH = "startTimeHour";
|
|
390
|
+
const _sTM = "startTimeMinute";
|
|
391
|
+
const _sU = "supportedUntil";
|
|
392
|
+
const _se = "server";
|
|
393
|
+
const _so = "software";
|
|
394
|
+
const _st = "status";
|
|
395
|
+
const _t = "tags";
|
|
396
|
+
const _tDS = "targetDeviceStatus";
|
|
397
|
+
const _tK = "tagKeys";
|
|
398
|
+
const _ty = "type";
|
|
399
|
+
const _uA = "updatedAt";
|
|
400
|
+
const _v = "version";
|
|
401
|
+
const _vS = "validationStatus";
|
|
402
|
+
const n0 = "com.amazonaws.workspacesthinclient";
|
|
403
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
404
|
+
var WorkSpacesThinClientServiceException$ = [-3, _s, "WorkSpacesThinClientServiceException", 0, [], []];
|
|
405
|
+
_s_registry.registerError(WorkSpacesThinClientServiceException$, WorkSpacesThinClientServiceException);
|
|
406
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
407
|
+
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
408
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
409
|
+
[_m],
|
|
410
|
+
[0]
|
|
411
|
+
];
|
|
412
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
413
|
+
var ConflictException$ = [-3, n0, _CE,
|
|
414
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
415
|
+
[_m, _rI, _rT],
|
|
416
|
+
[0, 0, 0]
|
|
417
|
+
];
|
|
418
|
+
n0_registry.registerError(ConflictException$, ConflictException);
|
|
419
|
+
var InternalServerException$ = [-3, n0, _ISE,
|
|
420
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
421
|
+
[_m, _rAS],
|
|
422
|
+
[0, [1, { [_hH]: _RA }]]
|
|
423
|
+
];
|
|
424
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
425
|
+
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
426
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
427
|
+
[_m, _rI, _rT],
|
|
428
|
+
[0, 0, 0]
|
|
429
|
+
];
|
|
430
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
431
|
+
var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
432
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
433
|
+
[_m, _rI, _rT, _sC, _qC],
|
|
434
|
+
[0, 0, 0, 0, 0]
|
|
435
|
+
];
|
|
436
|
+
n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
437
|
+
var ThrottlingException$ = [-3, n0, _TE,
|
|
438
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
439
|
+
[_m, _sC, _qC, _rAS],
|
|
440
|
+
[0, 0, 0, [1, { [_hH]: _RA }]]
|
|
441
|
+
];
|
|
442
|
+
n0_registry.registerError(ThrottlingException$, ThrottlingException);
|
|
443
|
+
var ValidationException$ = [-3, n0, _VE,
|
|
444
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
445
|
+
[_m, _r, _fL],
|
|
446
|
+
[0, 0, () => ValidationExceptionFieldList]
|
|
447
|
+
];
|
|
448
|
+
n0_registry.registerError(ValidationException$, ValidationException);
|
|
449
|
+
const errorTypeRegistries = [
|
|
450
|
+
_s_registry,
|
|
451
|
+
n0_registry,
|
|
452
|
+
];
|
|
453
|
+
var ActivationCode = [0, n0, _AC, 8, 0];
|
|
454
|
+
var DesktopEndpoint = [0, n0, _DE, 8, 0];
|
|
455
|
+
var DeviceName = [0, n0, _DN, 8, 0];
|
|
456
|
+
var EnvironmentName = [0, n0, _EN, 8, 0];
|
|
457
|
+
var UserId = [0, n0, _UI, 8, 0];
|
|
458
|
+
var CreateEnvironmentRequest$ = [3, n0, _CER,
|
|
459
|
+
0,
|
|
460
|
+
[_dA, _n, _dE, _sSUS, _mW, _sSUM, _dSSI, _kKA, _cT, _t, _dCT],
|
|
461
|
+
[0, [() => EnvironmentName, 0], [() => DesktopEndpoint, 0], 0, () => MaintenanceWindow$, 0, 0, 0, [0, 4], [() => TagsMap, 0], [() => DeviceCreationTagsMap, 0]], 1
|
|
462
|
+
];
|
|
463
|
+
var CreateEnvironmentResponse$ = [3, n0, _CERr,
|
|
464
|
+
0,
|
|
465
|
+
[_en],
|
|
466
|
+
[[() => EnvironmentSummary$, 0]]
|
|
467
|
+
];
|
|
468
|
+
var DeleteDeviceRequest$ = [3, n0, _DDR,
|
|
469
|
+
0,
|
|
470
|
+
[_i, _cT],
|
|
471
|
+
[[0, 1], [0, { [_hQ]: _cT, [_iT]: 1 }]], 1
|
|
472
|
+
];
|
|
473
|
+
var DeleteDeviceResponse$ = [3, n0, _DDRe,
|
|
474
|
+
0,
|
|
475
|
+
[],
|
|
476
|
+
[]
|
|
477
|
+
];
|
|
478
|
+
var DeleteEnvironmentRequest$ = [3, n0, _DER,
|
|
479
|
+
0,
|
|
480
|
+
[_i, _cT],
|
|
481
|
+
[[0, 1], [0, { [_hQ]: _cT, [_iT]: 1 }]], 1
|
|
482
|
+
];
|
|
483
|
+
var DeleteEnvironmentResponse$ = [3, n0, _DERe,
|
|
484
|
+
0,
|
|
485
|
+
[],
|
|
486
|
+
[]
|
|
487
|
+
];
|
|
488
|
+
var DeregisterDeviceRequest$ = [3, n0, _DDRer,
|
|
489
|
+
0,
|
|
490
|
+
[_i, _tDS, _cT],
|
|
491
|
+
[[0, 1], 0, [0, 4]], 1
|
|
492
|
+
];
|
|
493
|
+
var DeregisterDeviceResponse$ = [3, n0, _DDRere,
|
|
494
|
+
0,
|
|
495
|
+
[],
|
|
496
|
+
[]
|
|
497
|
+
];
|
|
498
|
+
var Device$ = [3, n0, _D,
|
|
499
|
+
0,
|
|
500
|
+
[_i, _sN, _n, _mo, _eI, _st, _cSSI, _cSSV, _dSSI, _pSSI, _pSSV, _sSUS, _sSCS, _sSUSo, _lCA, _lPA, _cA, _uA, _a, _kKA, _lUI],
|
|
501
|
+
[0, 0, [() => DeviceName, 0], 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4, 4, 4, 0, 0, [() => UserId, 0]]
|
|
502
|
+
];
|
|
503
|
+
var DeviceSummary$ = [3, n0, _DS,
|
|
504
|
+
0,
|
|
505
|
+
[_i, _sN, _n, _mo, _eI, _st, _cSSI, _dSSI, _pSSI, _sSUS, _lCA, _lPA, _cA, _uA, _a, _lUI],
|
|
506
|
+
[0, 0, [() => DeviceName, 0], 0, 0, 0, 0, 0, 0, 0, 4, 4, 4, 4, 0, [() => UserId, 0]]
|
|
507
|
+
];
|
|
508
|
+
var Environment$ = [3, n0, _E,
|
|
509
|
+
0,
|
|
510
|
+
[_i, _n, _dA, _dE, _dT, _aC, _rDC, _sSUS, _mW, _sSUM, _dSSI, _pSSI, _pSSV, _sSCS, _cA, _uA, _a, _kKA, _dCT],
|
|
511
|
+
[0, [() => EnvironmentName, 0], 0, [() => DesktopEndpoint, 0], 0, [() => ActivationCode, 0], 1, 0, () => MaintenanceWindow$, 0, 0, 0, 0, 0, 4, 4, 0, 0, [() => DeviceCreationTagsMap, 0]]
|
|
512
|
+
];
|
|
513
|
+
var EnvironmentSummary$ = [3, n0, _ES,
|
|
514
|
+
0,
|
|
515
|
+
[_i, _n, _dA, _dE, _dT, _aC, _sSUS, _mW, _sSUM, _dSSI, _pSSI, _cA, _uA, _a],
|
|
516
|
+
[0, [() => EnvironmentName, 0], 0, [() => DesktopEndpoint, 0], 0, [() => ActivationCode, 0], 0, () => MaintenanceWindow$, 0, 0, 0, 4, 4, 0]
|
|
517
|
+
];
|
|
518
|
+
var GetDeviceRequest$ = [3, n0, _GDR,
|
|
519
|
+
0,
|
|
520
|
+
[_i],
|
|
521
|
+
[[0, 1]], 1
|
|
522
|
+
];
|
|
523
|
+
var GetDeviceResponse$ = [3, n0, _GDRe,
|
|
524
|
+
0,
|
|
525
|
+
[_d],
|
|
526
|
+
[[() => Device$, 0]]
|
|
527
|
+
];
|
|
528
|
+
var GetEnvironmentRequest$ = [3, n0, _GER,
|
|
529
|
+
0,
|
|
530
|
+
[_i],
|
|
531
|
+
[[0, 1]], 1
|
|
532
|
+
];
|
|
533
|
+
var GetEnvironmentResponse$ = [3, n0, _GERe,
|
|
534
|
+
0,
|
|
535
|
+
[_en],
|
|
536
|
+
[[() => Environment$, 0]]
|
|
537
|
+
];
|
|
538
|
+
var GetSoftwareSetRequest$ = [3, n0, _GSSR,
|
|
539
|
+
0,
|
|
540
|
+
[_i],
|
|
541
|
+
[[0, 1]], 1
|
|
542
|
+
];
|
|
543
|
+
var GetSoftwareSetResponse$ = [3, n0, _GSSRe,
|
|
544
|
+
0,
|
|
545
|
+
[_sS],
|
|
546
|
+
[() => SoftwareSet$]
|
|
547
|
+
];
|
|
548
|
+
var ListDevicesRequest$ = [3, n0, _LDR,
|
|
549
|
+
0,
|
|
550
|
+
[_nT, _mR],
|
|
551
|
+
[[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]]
|
|
552
|
+
];
|
|
553
|
+
var ListDevicesResponse$ = [3, n0, _LDRi,
|
|
554
|
+
0,
|
|
555
|
+
[_de, _nT],
|
|
556
|
+
[[() => DeviceList, 0], 0]
|
|
557
|
+
];
|
|
558
|
+
var ListEnvironmentsRequest$ = [3, n0, _LER,
|
|
559
|
+
0,
|
|
560
|
+
[_nT, _mR],
|
|
561
|
+
[[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]]
|
|
562
|
+
];
|
|
563
|
+
var ListEnvironmentsResponse$ = [3, n0, _LERi,
|
|
564
|
+
0,
|
|
565
|
+
[_env, _nT],
|
|
566
|
+
[[() => EnvironmentList, 0], 0]
|
|
567
|
+
];
|
|
568
|
+
var ListSoftwareSetsRequest$ = [3, n0, _LSSR,
|
|
569
|
+
0,
|
|
570
|
+
[_nT, _mR],
|
|
571
|
+
[[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]]
|
|
572
|
+
];
|
|
573
|
+
var ListSoftwareSetsResponse$ = [3, n0, _LSSRi,
|
|
574
|
+
0,
|
|
575
|
+
[_sSo, _nT],
|
|
576
|
+
[() => SoftwareSetList, 0]
|
|
577
|
+
];
|
|
578
|
+
var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
579
|
+
0,
|
|
580
|
+
[_rA],
|
|
581
|
+
[[0, 1]], 1
|
|
582
|
+
];
|
|
583
|
+
var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
584
|
+
0,
|
|
585
|
+
[_t],
|
|
586
|
+
[[() => TagsMap, 0]]
|
|
587
|
+
];
|
|
588
|
+
var MaintenanceWindow$ = [3, n0, _MW,
|
|
589
|
+
0,
|
|
590
|
+
[_ty, _sTH, _sTM, _eTH, _eTM, _dOTW, _aTO],
|
|
591
|
+
[0, 1, 1, 1, 1, 64 | 0, 0], 1
|
|
592
|
+
];
|
|
593
|
+
var Software$ = [3, n0, _S,
|
|
594
|
+
0,
|
|
595
|
+
[_n, _v],
|
|
596
|
+
[0, 0]
|
|
597
|
+
];
|
|
598
|
+
var SoftwareSet$ = [3, n0, _SS,
|
|
599
|
+
0,
|
|
600
|
+
[_i, _v, _rAe, _sU, _vS, _so, _a],
|
|
601
|
+
[0, 0, 4, 4, 0, () => SoftwareList, 0]
|
|
602
|
+
];
|
|
603
|
+
var SoftwareSetSummary$ = [3, n0, _SSS,
|
|
604
|
+
0,
|
|
605
|
+
[_i, _v, _rAe, _sU, _vS, _a],
|
|
606
|
+
[0, 0, 4, 4, 0, 0]
|
|
607
|
+
];
|
|
608
|
+
var TagResourceRequest$ = [3, n0, _TRR,
|
|
609
|
+
0,
|
|
610
|
+
[_rA, _t],
|
|
611
|
+
[[0, 1], [() => TagsMap, 0]], 2
|
|
612
|
+
];
|
|
613
|
+
var TagResourceResponse$ = [3, n0, _TRRa,
|
|
614
|
+
0,
|
|
615
|
+
[],
|
|
616
|
+
[]
|
|
617
|
+
];
|
|
618
|
+
var UntagResourceRequest$ = [3, n0, _URR,
|
|
619
|
+
0,
|
|
620
|
+
[_rA, _tK],
|
|
621
|
+
[[0, 1], [() => TagKeys, { [_hQ]: _tK }]], 2
|
|
622
|
+
];
|
|
623
|
+
var UntagResourceResponse$ = [3, n0, _URRn,
|
|
624
|
+
0,
|
|
625
|
+
[],
|
|
626
|
+
[]
|
|
627
|
+
];
|
|
628
|
+
var UpdateDeviceRequest$ = [3, n0, _UDR,
|
|
629
|
+
0,
|
|
630
|
+
[_i, _n, _dSSI, _sSUS],
|
|
631
|
+
[[0, 1], [() => DeviceName, 0], 0, 0], 1
|
|
632
|
+
];
|
|
633
|
+
var UpdateDeviceResponse$ = [3, n0, _UDRp,
|
|
634
|
+
0,
|
|
635
|
+
[_d],
|
|
636
|
+
[[() => DeviceSummary$, 0]]
|
|
637
|
+
];
|
|
638
|
+
var UpdateEnvironmentRequest$ = [3, n0, _UER,
|
|
639
|
+
0,
|
|
640
|
+
[_i, _n, _dA, _dE, _sSUS, _mW, _sSUM, _dSSI, _dCT],
|
|
641
|
+
[[0, 1], [() => EnvironmentName, 0], 0, [() => DesktopEndpoint, 0], 0, () => MaintenanceWindow$, 0, 0, [() => DeviceCreationTagsMap, 0]], 1
|
|
642
|
+
];
|
|
643
|
+
var UpdateEnvironmentResponse$ = [3, n0, _UERp,
|
|
644
|
+
0,
|
|
645
|
+
[_en],
|
|
646
|
+
[[() => EnvironmentSummary$, 0]]
|
|
647
|
+
];
|
|
648
|
+
var UpdateSoftwareSetRequest$ = [3, n0, _USSR,
|
|
649
|
+
0,
|
|
650
|
+
[_i, _vS],
|
|
651
|
+
[[0, 1], 0], 2
|
|
652
|
+
];
|
|
653
|
+
var UpdateSoftwareSetResponse$ = [3, n0, _USSRp,
|
|
654
|
+
0,
|
|
655
|
+
[],
|
|
656
|
+
[]
|
|
657
|
+
];
|
|
658
|
+
var ValidationExceptionField$ = [3, n0, _VEF,
|
|
659
|
+
0,
|
|
660
|
+
[_n, _m],
|
|
661
|
+
[0, 0], 2
|
|
662
|
+
];
|
|
663
|
+
var DeviceList = [1, n0, _DL,
|
|
664
|
+
0, [() => DeviceSummary$,
|
|
665
|
+
0]
|
|
666
|
+
];
|
|
667
|
+
var EnvironmentList = [1, n0, _EL,
|
|
668
|
+
0, [() => EnvironmentSummary$,
|
|
669
|
+
0]
|
|
670
|
+
];
|
|
671
|
+
var SoftwareList = [1, n0, _SL,
|
|
672
|
+
0, () => Software$
|
|
673
|
+
];
|
|
674
|
+
var SoftwareSetList = [1, n0, _SSL,
|
|
675
|
+
0, () => SoftwareSetSummary$
|
|
676
|
+
];
|
|
677
|
+
var TagKeys = [1, n0, _TK,
|
|
678
|
+
8, 0
|
|
679
|
+
];
|
|
680
|
+
var ValidationExceptionFieldList = [1, n0, _VEFL,
|
|
681
|
+
0, () => ValidationExceptionField$
|
|
682
|
+
];
|
|
683
|
+
var DeviceCreationTagsMap = [2, n0, _DCTM,
|
|
684
|
+
8, 0, 0
|
|
685
|
+
];
|
|
686
|
+
var TagsMap = [2, n0, _TM,
|
|
687
|
+
8, 0, 0
|
|
688
|
+
];
|
|
689
|
+
var CreateEnvironment$ = [9, n0, _CEr,
|
|
690
|
+
{ [_end]: ["api."], [_h]: ["POST", "/environments", 201] }, () => CreateEnvironmentRequest$, () => CreateEnvironmentResponse$
|
|
691
|
+
];
|
|
692
|
+
var DeleteDevice$ = [9, n0, _DD,
|
|
693
|
+
{ [_end]: ["api."], [_h]: ["DELETE", "/devices/{id}", 204] }, () => DeleteDeviceRequest$, () => DeleteDeviceResponse$
|
|
694
|
+
];
|
|
695
|
+
var DeleteEnvironment$ = [9, n0, _DEe,
|
|
696
|
+
{ [_end]: ["api."], [_h]: ["DELETE", "/environments/{id}", 204] }, () => DeleteEnvironmentRequest$, () => DeleteEnvironmentResponse$
|
|
697
|
+
];
|
|
698
|
+
var DeregisterDevice$ = [9, n0, _DDe,
|
|
699
|
+
{ [_end]: ["api."], [_h]: ["POST", "/deregister-device/{id}", 202] }, () => DeregisterDeviceRequest$, () => DeregisterDeviceResponse$
|
|
700
|
+
];
|
|
701
|
+
var GetDevice$ = [9, n0, _GD,
|
|
702
|
+
{ [_end]: ["api."], [_h]: ["GET", "/devices/{id}", 200] }, () => GetDeviceRequest$, () => GetDeviceResponse$
|
|
703
|
+
];
|
|
704
|
+
var GetEnvironment$ = [9, n0, _GE,
|
|
705
|
+
{ [_end]: ["api."], [_h]: ["GET", "/environments/{id}", 200] }, () => GetEnvironmentRequest$, () => GetEnvironmentResponse$
|
|
706
|
+
];
|
|
707
|
+
var GetSoftwareSet$ = [9, n0, _GSS,
|
|
708
|
+
{ [_end]: ["api."], [_h]: ["GET", "/softwaresets/{id}", 200] }, () => GetSoftwareSetRequest$, () => GetSoftwareSetResponse$
|
|
709
|
+
];
|
|
710
|
+
var ListDevices$ = [9, n0, _LD,
|
|
711
|
+
{ [_end]: ["api."], [_h]: ["GET", "/devices", 200] }, () => ListDevicesRequest$, () => ListDevicesResponse$
|
|
712
|
+
];
|
|
713
|
+
var ListEnvironments$ = [9, n0, _LE,
|
|
714
|
+
{ [_end]: ["api."], [_h]: ["GET", "/environments", 200] }, () => ListEnvironmentsRequest$, () => ListEnvironmentsResponse$
|
|
715
|
+
];
|
|
716
|
+
var ListSoftwareSets$ = [9, n0, _LSS,
|
|
717
|
+
{ [_end]: ["api."], [_h]: ["GET", "/softwaresets", 200] }, () => ListSoftwareSetsRequest$, () => ListSoftwareSetsResponse$
|
|
718
|
+
];
|
|
719
|
+
var ListTagsForResource$ = [9, n0, _LTFR,
|
|
720
|
+
{ [_end]: ["api."], [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
|
|
721
|
+
];
|
|
722
|
+
var TagResource$ = [9, n0, _TR,
|
|
723
|
+
{ [_end]: ["api."], [_h]: ["POST", "/tags/{resourceArn}", 200] }, () => TagResourceRequest$, () => TagResourceResponse$
|
|
724
|
+
];
|
|
725
|
+
var UntagResource$ = [9, n0, _UR,
|
|
726
|
+
{ [_end]: ["api."], [_h]: ["DELETE", "/tags/{resourceArn}", 200] }, () => UntagResourceRequest$, () => UntagResourceResponse$
|
|
727
|
+
];
|
|
728
|
+
var UpdateDevice$ = [9, n0, _UD,
|
|
729
|
+
{ [_end]: ["api."], [_h]: ["PATCH", "/devices/{id}", 200] }, () => UpdateDeviceRequest$, () => UpdateDeviceResponse$
|
|
730
|
+
];
|
|
731
|
+
var UpdateEnvironment$ = [9, n0, _UE,
|
|
732
|
+
{ [_end]: ["api."], [_h]: ["PATCH", "/environments/{id}", 200] }, () => UpdateEnvironmentRequest$, () => UpdateEnvironmentResponse$
|
|
733
|
+
];
|
|
734
|
+
var UpdateSoftwareSet$ = [9, n0, _USS,
|
|
735
|
+
{ [_end]: ["api."], [_h]: ["PATCH", "/softwaresets/{id}", 204] }, () => UpdateSoftwareSetRequest$, () => UpdateSoftwareSetResponse$
|
|
736
|
+
];
|
|
737
|
+
|
|
738
|
+
const getRuntimeConfig$1 = (config) => {
|
|
739
|
+
return {
|
|
740
|
+
apiVersion: "2023-08-22",
|
|
741
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
742
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
743
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
744
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
745
|
+
extensions: config?.extensions ?? [],
|
|
746
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultWorkSpacesThinClientHttpAuthSchemeProvider,
|
|
747
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
748
|
+
{
|
|
749
|
+
schemeId: "aws.auth#sigv4",
|
|
750
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
751
|
+
signer: new AwsSdkSigV4Signer(),
|
|
752
|
+
},
|
|
753
|
+
],
|
|
754
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
755
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
756
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
757
|
+
defaultNamespace: "com.amazonaws.workspacesthinclient",
|
|
758
|
+
errorTypeRegistries,
|
|
759
|
+
version: "2023-08-22",
|
|
760
|
+
serviceTarget: "ThinClient",
|
|
761
|
+
},
|
|
762
|
+
serviceId: config?.serviceId ?? "WorkSpaces Thin Client",
|
|
763
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
764
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
765
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
766
|
+
};
|
|
767
|
+
};
|
|
768
|
+
|
|
769
|
+
const getRuntimeConfig = (config) => {
|
|
770
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
771
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
772
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
773
|
+
const clientSharedValues = getRuntimeConfig$1(config);
|
|
774
|
+
emitWarningIfUnsupportedVersion$1(process.version);
|
|
775
|
+
const loaderConfig = {
|
|
776
|
+
profile: config?.profile,
|
|
777
|
+
logger: clientSharedValues.logger,
|
|
778
|
+
};
|
|
779
|
+
return {
|
|
780
|
+
...clientSharedValues,
|
|
781
|
+
...config,
|
|
782
|
+
runtime: "node",
|
|
783
|
+
defaultsMode,
|
|
784
|
+
authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
785
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
786
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
787
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
788
|
+
maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
789
|
+
region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
790
|
+
requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
791
|
+
retryMode: config?.retryMode ??
|
|
792
|
+
loadConfig({
|
|
793
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
794
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
795
|
+
}, config),
|
|
796
|
+
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
797
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
798
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
799
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
800
|
+
userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
801
|
+
};
|
|
802
|
+
};
|
|
803
|
+
|
|
34
804
|
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
35
805
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
36
806
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -404,38 +1174,112 @@ const SoftwareSetValidationStatus = {
|
|
|
404
1174
|
|
|
405
1175
|
const WorkSpacesThin = WorkSpacesThinClient;
|
|
406
1176
|
|
|
1177
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
1178
|
+
exports.AccessDeniedException$ = AccessDeniedException$;
|
|
407
1179
|
exports.ApplyTimeOf = ApplyTimeOf;
|
|
1180
|
+
exports.ConflictException = ConflictException;
|
|
1181
|
+
exports.ConflictException$ = ConflictException$;
|
|
1182
|
+
exports.CreateEnvironment$ = CreateEnvironment$;
|
|
408
1183
|
exports.CreateEnvironmentCommand = CreateEnvironmentCommand;
|
|
1184
|
+
exports.CreateEnvironmentRequest$ = CreateEnvironmentRequest$;
|
|
1185
|
+
exports.CreateEnvironmentResponse$ = CreateEnvironmentResponse$;
|
|
409
1186
|
exports.DayOfWeek = DayOfWeek;
|
|
1187
|
+
exports.DeleteDevice$ = DeleteDevice$;
|
|
410
1188
|
exports.DeleteDeviceCommand = DeleteDeviceCommand;
|
|
1189
|
+
exports.DeleteDeviceRequest$ = DeleteDeviceRequest$;
|
|
1190
|
+
exports.DeleteDeviceResponse$ = DeleteDeviceResponse$;
|
|
1191
|
+
exports.DeleteEnvironment$ = DeleteEnvironment$;
|
|
411
1192
|
exports.DeleteEnvironmentCommand = DeleteEnvironmentCommand;
|
|
1193
|
+
exports.DeleteEnvironmentRequest$ = DeleteEnvironmentRequest$;
|
|
1194
|
+
exports.DeleteEnvironmentResponse$ = DeleteEnvironmentResponse$;
|
|
1195
|
+
exports.DeregisterDevice$ = DeregisterDevice$;
|
|
412
1196
|
exports.DeregisterDeviceCommand = DeregisterDeviceCommand;
|
|
1197
|
+
exports.DeregisterDeviceRequest$ = DeregisterDeviceRequest$;
|
|
1198
|
+
exports.DeregisterDeviceResponse$ = DeregisterDeviceResponse$;
|
|
413
1199
|
exports.DesktopType = DesktopType;
|
|
1200
|
+
exports.Device$ = Device$;
|
|
414
1201
|
exports.DeviceSoftwareSetComplianceStatus = DeviceSoftwareSetComplianceStatus;
|
|
415
1202
|
exports.DeviceStatus = DeviceStatus;
|
|
1203
|
+
exports.DeviceSummary$ = DeviceSummary$;
|
|
1204
|
+
exports.Environment$ = Environment$;
|
|
416
1205
|
exports.EnvironmentSoftwareSetComplianceStatus = EnvironmentSoftwareSetComplianceStatus;
|
|
1206
|
+
exports.EnvironmentSummary$ = EnvironmentSummary$;
|
|
1207
|
+
exports.GetDevice$ = GetDevice$;
|
|
417
1208
|
exports.GetDeviceCommand = GetDeviceCommand;
|
|
1209
|
+
exports.GetDeviceRequest$ = GetDeviceRequest$;
|
|
1210
|
+
exports.GetDeviceResponse$ = GetDeviceResponse$;
|
|
1211
|
+
exports.GetEnvironment$ = GetEnvironment$;
|
|
418
1212
|
exports.GetEnvironmentCommand = GetEnvironmentCommand;
|
|
1213
|
+
exports.GetEnvironmentRequest$ = GetEnvironmentRequest$;
|
|
1214
|
+
exports.GetEnvironmentResponse$ = GetEnvironmentResponse$;
|
|
1215
|
+
exports.GetSoftwareSet$ = GetSoftwareSet$;
|
|
419
1216
|
exports.GetSoftwareSetCommand = GetSoftwareSetCommand;
|
|
1217
|
+
exports.GetSoftwareSetRequest$ = GetSoftwareSetRequest$;
|
|
1218
|
+
exports.GetSoftwareSetResponse$ = GetSoftwareSetResponse$;
|
|
1219
|
+
exports.InternalServerException = InternalServerException;
|
|
1220
|
+
exports.InternalServerException$ = InternalServerException$;
|
|
1221
|
+
exports.ListDevices$ = ListDevices$;
|
|
420
1222
|
exports.ListDevicesCommand = ListDevicesCommand;
|
|
1223
|
+
exports.ListDevicesRequest$ = ListDevicesRequest$;
|
|
1224
|
+
exports.ListDevicesResponse$ = ListDevicesResponse$;
|
|
1225
|
+
exports.ListEnvironments$ = ListEnvironments$;
|
|
421
1226
|
exports.ListEnvironmentsCommand = ListEnvironmentsCommand;
|
|
1227
|
+
exports.ListEnvironmentsRequest$ = ListEnvironmentsRequest$;
|
|
1228
|
+
exports.ListEnvironmentsResponse$ = ListEnvironmentsResponse$;
|
|
1229
|
+
exports.ListSoftwareSets$ = ListSoftwareSets$;
|
|
422
1230
|
exports.ListSoftwareSetsCommand = ListSoftwareSetsCommand;
|
|
1231
|
+
exports.ListSoftwareSetsRequest$ = ListSoftwareSetsRequest$;
|
|
1232
|
+
exports.ListSoftwareSetsResponse$ = ListSoftwareSetsResponse$;
|
|
1233
|
+
exports.ListTagsForResource$ = ListTagsForResource$;
|
|
423
1234
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1235
|
+
exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
|
|
1236
|
+
exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
|
|
1237
|
+
exports.MaintenanceWindow$ = MaintenanceWindow$;
|
|
424
1238
|
exports.MaintenanceWindowType = MaintenanceWindowType;
|
|
1239
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1240
|
+
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
1241
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
1242
|
+
exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
|
|
1243
|
+
exports.Software$ = Software$;
|
|
1244
|
+
exports.SoftwareSet$ = SoftwareSet$;
|
|
1245
|
+
exports.SoftwareSetSummary$ = SoftwareSetSummary$;
|
|
425
1246
|
exports.SoftwareSetUpdateMode = SoftwareSetUpdateMode;
|
|
426
1247
|
exports.SoftwareSetUpdateSchedule = SoftwareSetUpdateSchedule;
|
|
427
1248
|
exports.SoftwareSetUpdateStatus = SoftwareSetUpdateStatus;
|
|
428
1249
|
exports.SoftwareSetValidationStatus = SoftwareSetValidationStatus;
|
|
1250
|
+
exports.TagResource$ = TagResource$;
|
|
429
1251
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1252
|
+
exports.TagResourceRequest$ = TagResourceRequest$;
|
|
1253
|
+
exports.TagResourceResponse$ = TagResourceResponse$;
|
|
430
1254
|
exports.TargetDeviceStatus = TargetDeviceStatus;
|
|
1255
|
+
exports.ThrottlingException = ThrottlingException;
|
|
1256
|
+
exports.ThrottlingException$ = ThrottlingException$;
|
|
1257
|
+
exports.UntagResource$ = UntagResource$;
|
|
431
1258
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1259
|
+
exports.UntagResourceRequest$ = UntagResourceRequest$;
|
|
1260
|
+
exports.UntagResourceResponse$ = UntagResourceResponse$;
|
|
1261
|
+
exports.UpdateDevice$ = UpdateDevice$;
|
|
432
1262
|
exports.UpdateDeviceCommand = UpdateDeviceCommand;
|
|
1263
|
+
exports.UpdateDeviceRequest$ = UpdateDeviceRequest$;
|
|
1264
|
+
exports.UpdateDeviceResponse$ = UpdateDeviceResponse$;
|
|
1265
|
+
exports.UpdateEnvironment$ = UpdateEnvironment$;
|
|
433
1266
|
exports.UpdateEnvironmentCommand = UpdateEnvironmentCommand;
|
|
1267
|
+
exports.UpdateEnvironmentRequest$ = UpdateEnvironmentRequest$;
|
|
1268
|
+
exports.UpdateEnvironmentResponse$ = UpdateEnvironmentResponse$;
|
|
1269
|
+
exports.UpdateSoftwareSet$ = UpdateSoftwareSet$;
|
|
434
1270
|
exports.UpdateSoftwareSetCommand = UpdateSoftwareSetCommand;
|
|
1271
|
+
exports.UpdateSoftwareSetRequest$ = UpdateSoftwareSetRequest$;
|
|
1272
|
+
exports.UpdateSoftwareSetResponse$ = UpdateSoftwareSetResponse$;
|
|
1273
|
+
exports.ValidationException = ValidationException;
|
|
1274
|
+
exports.ValidationException$ = ValidationException$;
|
|
1275
|
+
exports.ValidationExceptionField$ = ValidationExceptionField$;
|
|
435
1276
|
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
436
1277
|
exports.WorkSpacesThin = WorkSpacesThin;
|
|
437
1278
|
exports.WorkSpacesThinClient = WorkSpacesThinClient;
|
|
438
1279
|
exports.WorkSpacesThinClientClient = WorkSpacesThinClientClient;
|
|
1280
|
+
exports.WorkSpacesThinClientServiceException = WorkSpacesThinClientServiceException;
|
|
1281
|
+
exports.WorkSpacesThinClientServiceException$ = WorkSpacesThinClientServiceException$;
|
|
1282
|
+
exports.errorTypeRegistries = errorTypeRegistries;
|
|
439
1283
|
exports.paginateListDevices = paginateListDevices;
|
|
440
1284
|
exports.paginateListEnvironments = paginateListEnvironments;
|
|
441
1285
|
exports.paginateListSoftwareSets = paginateListSoftwareSets;
|