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