@aws-sdk/client-workspaces-thin-client 3.987.0 → 3.989.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 +35 -689
- package/dist-cjs/models/WorkSpacesThinClientServiceException.js +12 -0
- package/dist-cjs/models/errors.js +123 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +493 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +49 -43
- package/dist-types/schemas/schemas_0.d.ts +13 -6
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -6
- package/package.json +13 -13
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WorkSpacesThinClientServiceException = exports.__ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
+
class WorkSpacesThinClientServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, WorkSpacesThinClientServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.WorkSpacesThinClientServiceException = WorkSpacesThinClientServiceException;
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
|
+
const WorkSpacesThinClientServiceException_1 = require("./WorkSpacesThinClientServiceException");
|
|
5
|
+
class AccessDeniedException extends WorkSpacesThinClientServiceException_1.WorkSpacesThinClientServiceException {
|
|
6
|
+
name = "AccessDeniedException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "AccessDeniedException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
18
|
+
class ConflictException extends WorkSpacesThinClientServiceException_1.WorkSpacesThinClientServiceException {
|
|
19
|
+
name = "ConflictException";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
resourceId;
|
|
22
|
+
resourceType;
|
|
23
|
+
constructor(opts) {
|
|
24
|
+
super({
|
|
25
|
+
name: "ConflictException",
|
|
26
|
+
$fault: "client",
|
|
27
|
+
...opts,
|
|
28
|
+
});
|
|
29
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
30
|
+
this.resourceId = opts.resourceId;
|
|
31
|
+
this.resourceType = opts.resourceType;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.ConflictException = ConflictException;
|
|
35
|
+
class InternalServerException extends WorkSpacesThinClientServiceException_1.WorkSpacesThinClientServiceException {
|
|
36
|
+
name = "InternalServerException";
|
|
37
|
+
$fault = "server";
|
|
38
|
+
retryAfterSeconds;
|
|
39
|
+
constructor(opts) {
|
|
40
|
+
super({
|
|
41
|
+
name: "InternalServerException",
|
|
42
|
+
$fault: "server",
|
|
43
|
+
...opts,
|
|
44
|
+
});
|
|
45
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
46
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
exports.InternalServerException = InternalServerException;
|
|
50
|
+
class ResourceNotFoundException extends WorkSpacesThinClientServiceException_1.WorkSpacesThinClientServiceException {
|
|
51
|
+
name = "ResourceNotFoundException";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
resourceId;
|
|
54
|
+
resourceType;
|
|
55
|
+
constructor(opts) {
|
|
56
|
+
super({
|
|
57
|
+
name: "ResourceNotFoundException",
|
|
58
|
+
$fault: "client",
|
|
59
|
+
...opts,
|
|
60
|
+
});
|
|
61
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
62
|
+
this.resourceId = opts.resourceId;
|
|
63
|
+
this.resourceType = opts.resourceType;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
67
|
+
class ServiceQuotaExceededException extends WorkSpacesThinClientServiceException_1.WorkSpacesThinClientServiceException {
|
|
68
|
+
name = "ServiceQuotaExceededException";
|
|
69
|
+
$fault = "client";
|
|
70
|
+
resourceId;
|
|
71
|
+
resourceType;
|
|
72
|
+
serviceCode;
|
|
73
|
+
quotaCode;
|
|
74
|
+
constructor(opts) {
|
|
75
|
+
super({
|
|
76
|
+
name: "ServiceQuotaExceededException",
|
|
77
|
+
$fault: "client",
|
|
78
|
+
...opts,
|
|
79
|
+
});
|
|
80
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
81
|
+
this.resourceId = opts.resourceId;
|
|
82
|
+
this.resourceType = opts.resourceType;
|
|
83
|
+
this.serviceCode = opts.serviceCode;
|
|
84
|
+
this.quotaCode = opts.quotaCode;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
88
|
+
class ThrottlingException extends WorkSpacesThinClientServiceException_1.WorkSpacesThinClientServiceException {
|
|
89
|
+
name = "ThrottlingException";
|
|
90
|
+
$fault = "client";
|
|
91
|
+
serviceCode;
|
|
92
|
+
quotaCode;
|
|
93
|
+
retryAfterSeconds;
|
|
94
|
+
constructor(opts) {
|
|
95
|
+
super({
|
|
96
|
+
name: "ThrottlingException",
|
|
97
|
+
$fault: "client",
|
|
98
|
+
...opts,
|
|
99
|
+
});
|
|
100
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
101
|
+
this.serviceCode = opts.serviceCode;
|
|
102
|
+
this.quotaCode = opts.quotaCode;
|
|
103
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
exports.ThrottlingException = ThrottlingException;
|
|
107
|
+
class ValidationException extends WorkSpacesThinClientServiceException_1.WorkSpacesThinClientServiceException {
|
|
108
|
+
name = "ValidationException";
|
|
109
|
+
$fault = "client";
|
|
110
|
+
reason;
|
|
111
|
+
fieldList;
|
|
112
|
+
constructor(opts) {
|
|
113
|
+
super({
|
|
114
|
+
name: "ValidationException",
|
|
115
|
+
$fault: "client",
|
|
116
|
+
...opts,
|
|
117
|
+
});
|
|
118
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
119
|
+
this.reason = opts.reason;
|
|
120
|
+
this.fieldList = opts.fieldList;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
exports.ValidationException = ValidationException;
|
|
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
|
|
|
9
9
|
const util_utf8_1 = require("@smithy/util-utf8");
|
|
10
10
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
11
11
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
12
|
+
const schemas_0_1 = require("./schemas/schemas_0");
|
|
12
13
|
const getRuntimeConfig = (config) => {
|
|
13
14
|
return {
|
|
14
15
|
apiVersion: "2023-08-22",
|
|
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
29
30
|
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
30
31
|
protocolSettings: config?.protocolSettings ?? {
|
|
31
32
|
defaultNamespace: "com.amazonaws.workspacesthinclient",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
version: "2023-08-22",
|
|
33
35
|
serviceTarget: "ThinClient",
|
|
34
36
|
},
|
|
@@ -0,0 +1,493 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ValidationExceptionField$ = exports.UpdateSoftwareSetResponse$ = exports.UpdateSoftwareSetRequest$ = exports.UpdateEnvironmentResponse$ = exports.UpdateEnvironmentRequest$ = exports.UpdateDeviceResponse$ = exports.UpdateDeviceRequest$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = exports.TagResourceResponse$ = exports.TagResourceRequest$ = exports.SoftwareSetSummary$ = exports.SoftwareSet$ = exports.Software$ = exports.MaintenanceWindow$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListSoftwareSetsResponse$ = exports.ListSoftwareSetsRequest$ = exports.ListEnvironmentsResponse$ = exports.ListEnvironmentsRequest$ = exports.ListDevicesResponse$ = exports.ListDevicesRequest$ = exports.GetSoftwareSetResponse$ = exports.GetSoftwareSetRequest$ = exports.GetEnvironmentResponse$ = exports.GetEnvironmentRequest$ = exports.GetDeviceResponse$ = exports.GetDeviceRequest$ = exports.EnvironmentSummary$ = exports.Environment$ = exports.DeviceSummary$ = exports.Device$ = exports.DeregisterDeviceResponse$ = exports.DeregisterDeviceRequest$ = exports.DeleteEnvironmentResponse$ = exports.DeleteEnvironmentRequest$ = exports.DeleteDeviceResponse$ = exports.DeleteDeviceRequest$ = exports.CreateEnvironmentResponse$ = exports.CreateEnvironmentRequest$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.ConflictException$ = exports.AccessDeniedException$ = exports.WorkSpacesThinClientServiceException$ = void 0;
|
|
4
|
+
exports.UpdateSoftwareSet$ = exports.UpdateEnvironment$ = exports.UpdateDevice$ = exports.UntagResource$ = exports.TagResource$ = exports.ListTagsForResource$ = exports.ListSoftwareSets$ = exports.ListEnvironments$ = exports.ListDevices$ = exports.GetSoftwareSet$ = exports.GetEnvironment$ = exports.GetDevice$ = exports.DeregisterDevice$ = exports.DeleteEnvironment$ = exports.DeleteDevice$ = exports.CreateEnvironment$ = void 0;
|
|
5
|
+
const _AC = "ActivationCode";
|
|
6
|
+
const _ADE = "AccessDeniedException";
|
|
7
|
+
const _CE = "ConflictException";
|
|
8
|
+
const _CER = "CreateEnvironmentRequest";
|
|
9
|
+
const _CERr = "CreateEnvironmentResponse";
|
|
10
|
+
const _CEr = "CreateEnvironment";
|
|
11
|
+
const _D = "Device";
|
|
12
|
+
const _DCTM = "DeviceCreationTagsMap";
|
|
13
|
+
const _DD = "DeleteDevice";
|
|
14
|
+
const _DDR = "DeleteDeviceRequest";
|
|
15
|
+
const _DDRe = "DeleteDeviceResponse";
|
|
16
|
+
const _DDRer = "DeregisterDeviceRequest";
|
|
17
|
+
const _DDRere = "DeregisterDeviceResponse";
|
|
18
|
+
const _DDe = "DeregisterDevice";
|
|
19
|
+
const _DE = "DesktopEndpoint";
|
|
20
|
+
const _DER = "DeleteEnvironmentRequest";
|
|
21
|
+
const _DERe = "DeleteEnvironmentResponse";
|
|
22
|
+
const _DEe = "DeleteEnvironment";
|
|
23
|
+
const _DL = "DeviceList";
|
|
24
|
+
const _DN = "DeviceName";
|
|
25
|
+
const _DS = "DeviceSummary";
|
|
26
|
+
const _E = "Environment";
|
|
27
|
+
const _EL = "EnvironmentList";
|
|
28
|
+
const _EN = "EnvironmentName";
|
|
29
|
+
const _ES = "EnvironmentSummary";
|
|
30
|
+
const _GD = "GetDevice";
|
|
31
|
+
const _GDR = "GetDeviceRequest";
|
|
32
|
+
const _GDRe = "GetDeviceResponse";
|
|
33
|
+
const _GE = "GetEnvironment";
|
|
34
|
+
const _GER = "GetEnvironmentRequest";
|
|
35
|
+
const _GERe = "GetEnvironmentResponse";
|
|
36
|
+
const _GSS = "GetSoftwareSet";
|
|
37
|
+
const _GSSR = "GetSoftwareSetRequest";
|
|
38
|
+
const _GSSRe = "GetSoftwareSetResponse";
|
|
39
|
+
const _ISE = "InternalServerException";
|
|
40
|
+
const _LD = "ListDevices";
|
|
41
|
+
const _LDR = "ListDevicesRequest";
|
|
42
|
+
const _LDRi = "ListDevicesResponse";
|
|
43
|
+
const _LE = "ListEnvironments";
|
|
44
|
+
const _LER = "ListEnvironmentsRequest";
|
|
45
|
+
const _LERi = "ListEnvironmentsResponse";
|
|
46
|
+
const _LSS = "ListSoftwareSets";
|
|
47
|
+
const _LSSR = "ListSoftwareSetsRequest";
|
|
48
|
+
const _LSSRi = "ListSoftwareSetsResponse";
|
|
49
|
+
const _LTFR = "ListTagsForResource";
|
|
50
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
51
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
52
|
+
const _MW = "MaintenanceWindow";
|
|
53
|
+
const _RA = "Retry-After";
|
|
54
|
+
const _RNFE = "ResourceNotFoundException";
|
|
55
|
+
const _S = "Software";
|
|
56
|
+
const _SL = "SoftwareList";
|
|
57
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
58
|
+
const _SS = "SoftwareSet";
|
|
59
|
+
const _SSL = "SoftwareSetList";
|
|
60
|
+
const _SSS = "SoftwareSetSummary";
|
|
61
|
+
const _TE = "ThrottlingException";
|
|
62
|
+
const _TK = "TagKeys";
|
|
63
|
+
const _TM = "TagsMap";
|
|
64
|
+
const _TR = "TagResource";
|
|
65
|
+
const _TRR = "TagResourceRequest";
|
|
66
|
+
const _TRRa = "TagResourceResponse";
|
|
67
|
+
const _UD = "UpdateDevice";
|
|
68
|
+
const _UDR = "UpdateDeviceRequest";
|
|
69
|
+
const _UDRp = "UpdateDeviceResponse";
|
|
70
|
+
const _UE = "UpdateEnvironment";
|
|
71
|
+
const _UER = "UpdateEnvironmentRequest";
|
|
72
|
+
const _UERp = "UpdateEnvironmentResponse";
|
|
73
|
+
const _UI = "UserId";
|
|
74
|
+
const _UR = "UntagResource";
|
|
75
|
+
const _URR = "UntagResourceRequest";
|
|
76
|
+
const _URRn = "UntagResourceResponse";
|
|
77
|
+
const _USS = "UpdateSoftwareSet";
|
|
78
|
+
const _USSR = "UpdateSoftwareSetRequest";
|
|
79
|
+
const _USSRp = "UpdateSoftwareSetResponse";
|
|
80
|
+
const _VE = "ValidationException";
|
|
81
|
+
const _VEF = "ValidationExceptionField";
|
|
82
|
+
const _VEFL = "ValidationExceptionFieldList";
|
|
83
|
+
const _a = "arn";
|
|
84
|
+
const _aC = "activationCode";
|
|
85
|
+
const _aTO = "applyTimeOf";
|
|
86
|
+
const _c = "client";
|
|
87
|
+
const _cA = "createdAt";
|
|
88
|
+
const _cSSI = "currentSoftwareSetId";
|
|
89
|
+
const _cSSV = "currentSoftwareSetVersion";
|
|
90
|
+
const _cT = "clientToken";
|
|
91
|
+
const _d = "device";
|
|
92
|
+
const _dA = "desktopArn";
|
|
93
|
+
const _dCT = "deviceCreationTags";
|
|
94
|
+
const _dE = "desktopEndpoint";
|
|
95
|
+
const _dOTW = "daysOfTheWeek";
|
|
96
|
+
const _dSSI = "desiredSoftwareSetId";
|
|
97
|
+
const _dT = "desktopType";
|
|
98
|
+
const _de = "devices";
|
|
99
|
+
const _e = "error";
|
|
100
|
+
const _eI = "environmentId";
|
|
101
|
+
const _eTH = "endTimeHour";
|
|
102
|
+
const _eTM = "endTimeMinute";
|
|
103
|
+
const _en = "environment";
|
|
104
|
+
const _end = "endpoint";
|
|
105
|
+
const _env = "environments";
|
|
106
|
+
const _fL = "fieldList";
|
|
107
|
+
const _h = "http";
|
|
108
|
+
const _hE = "httpError";
|
|
109
|
+
const _hH = "httpHeader";
|
|
110
|
+
const _hQ = "httpQuery";
|
|
111
|
+
const _i = "id";
|
|
112
|
+
const _iT = "idempotencyToken";
|
|
113
|
+
const _kKA = "kmsKeyArn";
|
|
114
|
+
const _lCA = "lastConnectedAt";
|
|
115
|
+
const _lPA = "lastPostureAt";
|
|
116
|
+
const _lUI = "lastUserId";
|
|
117
|
+
const _m = "message";
|
|
118
|
+
const _mR = "maxResults";
|
|
119
|
+
const _mW = "maintenanceWindow";
|
|
120
|
+
const _mo = "model";
|
|
121
|
+
const _n = "name";
|
|
122
|
+
const _nT = "nextToken";
|
|
123
|
+
const _pSSI = "pendingSoftwareSetId";
|
|
124
|
+
const _pSSV = "pendingSoftwareSetVersion";
|
|
125
|
+
const _qC = "quotaCode";
|
|
126
|
+
const _r = "reason";
|
|
127
|
+
const _rA = "resourceArn";
|
|
128
|
+
const _rAS = "retryAfterSeconds";
|
|
129
|
+
const _rAe = "releasedAt";
|
|
130
|
+
const _rDC = "registeredDevicesCount";
|
|
131
|
+
const _rI = "resourceId";
|
|
132
|
+
const _rT = "resourceType";
|
|
133
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.workspacesthinclient";
|
|
134
|
+
const _sC = "serviceCode";
|
|
135
|
+
const _sN = "serialNumber";
|
|
136
|
+
const _sS = "softwareSet";
|
|
137
|
+
const _sSCS = "softwareSetComplianceStatus";
|
|
138
|
+
const _sSUM = "softwareSetUpdateMode";
|
|
139
|
+
const _sSUS = "softwareSetUpdateSchedule";
|
|
140
|
+
const _sSUSo = "softwareSetUpdateStatus";
|
|
141
|
+
const _sSo = "softwareSets";
|
|
142
|
+
const _sTH = "startTimeHour";
|
|
143
|
+
const _sTM = "startTimeMinute";
|
|
144
|
+
const _sU = "supportedUntil";
|
|
145
|
+
const _se = "server";
|
|
146
|
+
const _so = "software";
|
|
147
|
+
const _st = "status";
|
|
148
|
+
const _t = "tags";
|
|
149
|
+
const _tDS = "targetDeviceStatus";
|
|
150
|
+
const _tK = "tagKeys";
|
|
151
|
+
const _ty = "type";
|
|
152
|
+
const _uA = "updatedAt";
|
|
153
|
+
const _v = "version";
|
|
154
|
+
const _vS = "validationStatus";
|
|
155
|
+
const n0 = "com.amazonaws.workspacesthinclient";
|
|
156
|
+
const schema_1 = require("@smithy/core/schema");
|
|
157
|
+
const errors_1 = require("../models/errors");
|
|
158
|
+
const WorkSpacesThinClientServiceException_1 = require("../models/WorkSpacesThinClientServiceException");
|
|
159
|
+
const _s_registry = schema_1.TypeRegistry.for(_s);
|
|
160
|
+
exports.WorkSpacesThinClientServiceException$ = [-3, _s, "WorkSpacesThinClientServiceException", 0, [], []];
|
|
161
|
+
_s_registry.registerError(exports.WorkSpacesThinClientServiceException$, WorkSpacesThinClientServiceException_1.WorkSpacesThinClientServiceException);
|
|
162
|
+
const n0_registry = schema_1.TypeRegistry.for(n0);
|
|
163
|
+
exports.AccessDeniedException$ = [-3, n0, _ADE,
|
|
164
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
165
|
+
[_m],
|
|
166
|
+
[0]
|
|
167
|
+
];
|
|
168
|
+
n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException);
|
|
169
|
+
exports.ConflictException$ = [-3, n0, _CE,
|
|
170
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
171
|
+
[_m, _rI, _rT],
|
|
172
|
+
[0, 0, 0]
|
|
173
|
+
];
|
|
174
|
+
n0_registry.registerError(exports.ConflictException$, errors_1.ConflictException);
|
|
175
|
+
exports.InternalServerException$ = [-3, n0, _ISE,
|
|
176
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
177
|
+
[_m, _rAS],
|
|
178
|
+
[0, [1, { [_hH]: _RA }]]
|
|
179
|
+
];
|
|
180
|
+
n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
|
|
181
|
+
exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
182
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
183
|
+
[_m, _rI, _rT],
|
|
184
|
+
[0, 0, 0]
|
|
185
|
+
];
|
|
186
|
+
n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
|
|
187
|
+
exports.ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
188
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
189
|
+
[_m, _rI, _rT, _sC, _qC],
|
|
190
|
+
[0, 0, 0, 0, 0]
|
|
191
|
+
];
|
|
192
|
+
n0_registry.registerError(exports.ServiceQuotaExceededException$, errors_1.ServiceQuotaExceededException);
|
|
193
|
+
exports.ThrottlingException$ = [-3, n0, _TE,
|
|
194
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
195
|
+
[_m, _sC, _qC, _rAS],
|
|
196
|
+
[0, 0, 0, [1, { [_hH]: _RA }]]
|
|
197
|
+
];
|
|
198
|
+
n0_registry.registerError(exports.ThrottlingException$, errors_1.ThrottlingException);
|
|
199
|
+
exports.ValidationException$ = [-3, n0, _VE,
|
|
200
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
201
|
+
[_m, _r, _fL],
|
|
202
|
+
[0, 0, () => ValidationExceptionFieldList]
|
|
203
|
+
];
|
|
204
|
+
n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
|
|
205
|
+
exports.errorTypeRegistries = [
|
|
206
|
+
_s_registry,
|
|
207
|
+
n0_registry,
|
|
208
|
+
];
|
|
209
|
+
var ActivationCode = [0, n0, _AC, 8, 0];
|
|
210
|
+
var DesktopEndpoint = [0, n0, _DE, 8, 0];
|
|
211
|
+
var DeviceName = [0, n0, _DN, 8, 0];
|
|
212
|
+
var EnvironmentName = [0, n0, _EN, 8, 0];
|
|
213
|
+
var UserId = [0, n0, _UI, 8, 0];
|
|
214
|
+
exports.CreateEnvironmentRequest$ = [3, n0, _CER,
|
|
215
|
+
0,
|
|
216
|
+
[_dA, _n, _dE, _sSUS, _mW, _sSUM, _dSSI, _kKA, _cT, _t, _dCT],
|
|
217
|
+
[0, [() => EnvironmentName, 0], [() => DesktopEndpoint, 0], 0, () => exports.MaintenanceWindow$, 0, 0, 0, [0, 4], [() => TagsMap, 0], [() => DeviceCreationTagsMap, 0]], 1
|
|
218
|
+
];
|
|
219
|
+
exports.CreateEnvironmentResponse$ = [3, n0, _CERr,
|
|
220
|
+
0,
|
|
221
|
+
[_en],
|
|
222
|
+
[[() => exports.EnvironmentSummary$, 0]]
|
|
223
|
+
];
|
|
224
|
+
exports.DeleteDeviceRequest$ = [3, n0, _DDR,
|
|
225
|
+
0,
|
|
226
|
+
[_i, _cT],
|
|
227
|
+
[[0, 1], [0, { [_hQ]: _cT, [_iT]: 1 }]], 1
|
|
228
|
+
];
|
|
229
|
+
exports.DeleteDeviceResponse$ = [3, n0, _DDRe,
|
|
230
|
+
0,
|
|
231
|
+
[],
|
|
232
|
+
[]
|
|
233
|
+
];
|
|
234
|
+
exports.DeleteEnvironmentRequest$ = [3, n0, _DER,
|
|
235
|
+
0,
|
|
236
|
+
[_i, _cT],
|
|
237
|
+
[[0, 1], [0, { [_hQ]: _cT, [_iT]: 1 }]], 1
|
|
238
|
+
];
|
|
239
|
+
exports.DeleteEnvironmentResponse$ = [3, n0, _DERe,
|
|
240
|
+
0,
|
|
241
|
+
[],
|
|
242
|
+
[]
|
|
243
|
+
];
|
|
244
|
+
exports.DeregisterDeviceRequest$ = [3, n0, _DDRer,
|
|
245
|
+
0,
|
|
246
|
+
[_i, _tDS, _cT],
|
|
247
|
+
[[0, 1], 0, [0, 4]], 1
|
|
248
|
+
];
|
|
249
|
+
exports.DeregisterDeviceResponse$ = [3, n0, _DDRere,
|
|
250
|
+
0,
|
|
251
|
+
[],
|
|
252
|
+
[]
|
|
253
|
+
];
|
|
254
|
+
exports.Device$ = [3, n0, _D,
|
|
255
|
+
0,
|
|
256
|
+
[_i, _sN, _n, _mo, _eI, _st, _cSSI, _cSSV, _dSSI, _pSSI, _pSSV, _sSUS, _sSCS, _sSUSo, _lCA, _lPA, _cA, _uA, _a, _kKA, _lUI],
|
|
257
|
+
[0, 0, [() => DeviceName, 0], 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4, 4, 4, 0, 0, [() => UserId, 0]]
|
|
258
|
+
];
|
|
259
|
+
exports.DeviceSummary$ = [3, n0, _DS,
|
|
260
|
+
0,
|
|
261
|
+
[_i, _sN, _n, _mo, _eI, _st, _cSSI, _dSSI, _pSSI, _sSUS, _lCA, _lPA, _cA, _uA, _a, _lUI],
|
|
262
|
+
[0, 0, [() => DeviceName, 0], 0, 0, 0, 0, 0, 0, 0, 4, 4, 4, 4, 0, [() => UserId, 0]]
|
|
263
|
+
];
|
|
264
|
+
exports.Environment$ = [3, n0, _E,
|
|
265
|
+
0,
|
|
266
|
+
[_i, _n, _dA, _dE, _dT, _aC, _rDC, _sSUS, _mW, _sSUM, _dSSI, _pSSI, _pSSV, _sSCS, _cA, _uA, _a, _kKA, _dCT],
|
|
267
|
+
[0, [() => EnvironmentName, 0], 0, [() => DesktopEndpoint, 0], 0, [() => ActivationCode, 0], 1, 0, () => exports.MaintenanceWindow$, 0, 0, 0, 0, 0, 4, 4, 0, 0, [() => DeviceCreationTagsMap, 0]]
|
|
268
|
+
];
|
|
269
|
+
exports.EnvironmentSummary$ = [3, n0, _ES,
|
|
270
|
+
0,
|
|
271
|
+
[_i, _n, _dA, _dE, _dT, _aC, _sSUS, _mW, _sSUM, _dSSI, _pSSI, _cA, _uA, _a],
|
|
272
|
+
[0, [() => EnvironmentName, 0], 0, [() => DesktopEndpoint, 0], 0, [() => ActivationCode, 0], 0, () => exports.MaintenanceWindow$, 0, 0, 0, 4, 4, 0]
|
|
273
|
+
];
|
|
274
|
+
exports.GetDeviceRequest$ = [3, n0, _GDR,
|
|
275
|
+
0,
|
|
276
|
+
[_i],
|
|
277
|
+
[[0, 1]], 1
|
|
278
|
+
];
|
|
279
|
+
exports.GetDeviceResponse$ = [3, n0, _GDRe,
|
|
280
|
+
0,
|
|
281
|
+
[_d],
|
|
282
|
+
[[() => exports.Device$, 0]]
|
|
283
|
+
];
|
|
284
|
+
exports.GetEnvironmentRequest$ = [3, n0, _GER,
|
|
285
|
+
0,
|
|
286
|
+
[_i],
|
|
287
|
+
[[0, 1]], 1
|
|
288
|
+
];
|
|
289
|
+
exports.GetEnvironmentResponse$ = [3, n0, _GERe,
|
|
290
|
+
0,
|
|
291
|
+
[_en],
|
|
292
|
+
[[() => exports.Environment$, 0]]
|
|
293
|
+
];
|
|
294
|
+
exports.GetSoftwareSetRequest$ = [3, n0, _GSSR,
|
|
295
|
+
0,
|
|
296
|
+
[_i],
|
|
297
|
+
[[0, 1]], 1
|
|
298
|
+
];
|
|
299
|
+
exports.GetSoftwareSetResponse$ = [3, n0, _GSSRe,
|
|
300
|
+
0,
|
|
301
|
+
[_sS],
|
|
302
|
+
[() => exports.SoftwareSet$]
|
|
303
|
+
];
|
|
304
|
+
exports.ListDevicesRequest$ = [3, n0, _LDR,
|
|
305
|
+
0,
|
|
306
|
+
[_nT, _mR],
|
|
307
|
+
[[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]]
|
|
308
|
+
];
|
|
309
|
+
exports.ListDevicesResponse$ = [3, n0, _LDRi,
|
|
310
|
+
0,
|
|
311
|
+
[_de, _nT],
|
|
312
|
+
[[() => DeviceList, 0], 0]
|
|
313
|
+
];
|
|
314
|
+
exports.ListEnvironmentsRequest$ = [3, n0, _LER,
|
|
315
|
+
0,
|
|
316
|
+
[_nT, _mR],
|
|
317
|
+
[[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]]
|
|
318
|
+
];
|
|
319
|
+
exports.ListEnvironmentsResponse$ = [3, n0, _LERi,
|
|
320
|
+
0,
|
|
321
|
+
[_env, _nT],
|
|
322
|
+
[[() => EnvironmentList, 0], 0]
|
|
323
|
+
];
|
|
324
|
+
exports.ListSoftwareSetsRequest$ = [3, n0, _LSSR,
|
|
325
|
+
0,
|
|
326
|
+
[_nT, _mR],
|
|
327
|
+
[[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]]
|
|
328
|
+
];
|
|
329
|
+
exports.ListSoftwareSetsResponse$ = [3, n0, _LSSRi,
|
|
330
|
+
0,
|
|
331
|
+
[_sSo, _nT],
|
|
332
|
+
[() => SoftwareSetList, 0]
|
|
333
|
+
];
|
|
334
|
+
exports.ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
335
|
+
0,
|
|
336
|
+
[_rA],
|
|
337
|
+
[[0, 1]], 1
|
|
338
|
+
];
|
|
339
|
+
exports.ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
340
|
+
0,
|
|
341
|
+
[_t],
|
|
342
|
+
[[() => TagsMap, 0]]
|
|
343
|
+
];
|
|
344
|
+
exports.MaintenanceWindow$ = [3, n0, _MW,
|
|
345
|
+
0,
|
|
346
|
+
[_ty, _sTH, _sTM, _eTH, _eTM, _dOTW, _aTO],
|
|
347
|
+
[0, 1, 1, 1, 1, 64 | 0, 0], 1
|
|
348
|
+
];
|
|
349
|
+
exports.Software$ = [3, n0, _S,
|
|
350
|
+
0,
|
|
351
|
+
[_n, _v],
|
|
352
|
+
[0, 0]
|
|
353
|
+
];
|
|
354
|
+
exports.SoftwareSet$ = [3, n0, _SS,
|
|
355
|
+
0,
|
|
356
|
+
[_i, _v, _rAe, _sU, _vS, _so, _a],
|
|
357
|
+
[0, 0, 4, 4, 0, () => SoftwareList, 0]
|
|
358
|
+
];
|
|
359
|
+
exports.SoftwareSetSummary$ = [3, n0, _SSS,
|
|
360
|
+
0,
|
|
361
|
+
[_i, _v, _rAe, _sU, _vS, _a],
|
|
362
|
+
[0, 0, 4, 4, 0, 0]
|
|
363
|
+
];
|
|
364
|
+
exports.TagResourceRequest$ = [3, n0, _TRR,
|
|
365
|
+
0,
|
|
366
|
+
[_rA, _t],
|
|
367
|
+
[[0, 1], [() => TagsMap, 0]], 2
|
|
368
|
+
];
|
|
369
|
+
exports.TagResourceResponse$ = [3, n0, _TRRa,
|
|
370
|
+
0,
|
|
371
|
+
[],
|
|
372
|
+
[]
|
|
373
|
+
];
|
|
374
|
+
exports.UntagResourceRequest$ = [3, n0, _URR,
|
|
375
|
+
0,
|
|
376
|
+
[_rA, _tK],
|
|
377
|
+
[[0, 1], [() => TagKeys, { [_hQ]: _tK }]], 2
|
|
378
|
+
];
|
|
379
|
+
exports.UntagResourceResponse$ = [3, n0, _URRn,
|
|
380
|
+
0,
|
|
381
|
+
[],
|
|
382
|
+
[]
|
|
383
|
+
];
|
|
384
|
+
exports.UpdateDeviceRequest$ = [3, n0, _UDR,
|
|
385
|
+
0,
|
|
386
|
+
[_i, _n, _dSSI, _sSUS],
|
|
387
|
+
[[0, 1], [() => DeviceName, 0], 0, 0], 1
|
|
388
|
+
];
|
|
389
|
+
exports.UpdateDeviceResponse$ = [3, n0, _UDRp,
|
|
390
|
+
0,
|
|
391
|
+
[_d],
|
|
392
|
+
[[() => exports.DeviceSummary$, 0]]
|
|
393
|
+
];
|
|
394
|
+
exports.UpdateEnvironmentRequest$ = [3, n0, _UER,
|
|
395
|
+
0,
|
|
396
|
+
[_i, _n, _dA, _dE, _sSUS, _mW, _sSUM, _dSSI, _dCT],
|
|
397
|
+
[[0, 1], [() => EnvironmentName, 0], 0, [() => DesktopEndpoint, 0], 0, () => exports.MaintenanceWindow$, 0, 0, [() => DeviceCreationTagsMap, 0]], 1
|
|
398
|
+
];
|
|
399
|
+
exports.UpdateEnvironmentResponse$ = [3, n0, _UERp,
|
|
400
|
+
0,
|
|
401
|
+
[_en],
|
|
402
|
+
[[() => exports.EnvironmentSummary$, 0]]
|
|
403
|
+
];
|
|
404
|
+
exports.UpdateSoftwareSetRequest$ = [3, n0, _USSR,
|
|
405
|
+
0,
|
|
406
|
+
[_i, _vS],
|
|
407
|
+
[[0, 1], 0], 2
|
|
408
|
+
];
|
|
409
|
+
exports.UpdateSoftwareSetResponse$ = [3, n0, _USSRp,
|
|
410
|
+
0,
|
|
411
|
+
[],
|
|
412
|
+
[]
|
|
413
|
+
];
|
|
414
|
+
exports.ValidationExceptionField$ = [3, n0, _VEF,
|
|
415
|
+
0,
|
|
416
|
+
[_n, _m],
|
|
417
|
+
[0, 0], 2
|
|
418
|
+
];
|
|
419
|
+
var DayOfWeekList = 64 | 0;
|
|
420
|
+
var DeviceList = [1, n0, _DL,
|
|
421
|
+
0, [() => exports.DeviceSummary$,
|
|
422
|
+
0]
|
|
423
|
+
];
|
|
424
|
+
var EnvironmentList = [1, n0, _EL,
|
|
425
|
+
0, [() => exports.EnvironmentSummary$,
|
|
426
|
+
0]
|
|
427
|
+
];
|
|
428
|
+
var SoftwareList = [1, n0, _SL,
|
|
429
|
+
0, () => exports.Software$
|
|
430
|
+
];
|
|
431
|
+
var SoftwareSetList = [1, n0, _SSL,
|
|
432
|
+
0, () => exports.SoftwareSetSummary$
|
|
433
|
+
];
|
|
434
|
+
var TagKeys = [1, n0, _TK,
|
|
435
|
+
8, 0
|
|
436
|
+
];
|
|
437
|
+
var ValidationExceptionFieldList = [1, n0, _VEFL,
|
|
438
|
+
0, () => exports.ValidationExceptionField$
|
|
439
|
+
];
|
|
440
|
+
var DeviceCreationTagsMap = [2, n0, _DCTM,
|
|
441
|
+
8, 0, 0
|
|
442
|
+
];
|
|
443
|
+
var TagsMap = [2, n0, _TM,
|
|
444
|
+
8, 0, 0
|
|
445
|
+
];
|
|
446
|
+
exports.CreateEnvironment$ = [9, n0, _CEr,
|
|
447
|
+
{ [_end]: ["api."], [_h]: ["POST", "/environments", 201] }, () => exports.CreateEnvironmentRequest$, () => exports.CreateEnvironmentResponse$
|
|
448
|
+
];
|
|
449
|
+
exports.DeleteDevice$ = [9, n0, _DD,
|
|
450
|
+
{ [_end]: ["api."], [_h]: ["DELETE", "/devices/{id}", 204] }, () => exports.DeleteDeviceRequest$, () => exports.DeleteDeviceResponse$
|
|
451
|
+
];
|
|
452
|
+
exports.DeleteEnvironment$ = [9, n0, _DEe,
|
|
453
|
+
{ [_end]: ["api."], [_h]: ["DELETE", "/environments/{id}", 204] }, () => exports.DeleteEnvironmentRequest$, () => exports.DeleteEnvironmentResponse$
|
|
454
|
+
];
|
|
455
|
+
exports.DeregisterDevice$ = [9, n0, _DDe,
|
|
456
|
+
{ [_end]: ["api."], [_h]: ["POST", "/deregister-device/{id}", 202] }, () => exports.DeregisterDeviceRequest$, () => exports.DeregisterDeviceResponse$
|
|
457
|
+
];
|
|
458
|
+
exports.GetDevice$ = [9, n0, _GD,
|
|
459
|
+
{ [_end]: ["api."], [_h]: ["GET", "/devices/{id}", 200] }, () => exports.GetDeviceRequest$, () => exports.GetDeviceResponse$
|
|
460
|
+
];
|
|
461
|
+
exports.GetEnvironment$ = [9, n0, _GE,
|
|
462
|
+
{ [_end]: ["api."], [_h]: ["GET", "/environments/{id}", 200] }, () => exports.GetEnvironmentRequest$, () => exports.GetEnvironmentResponse$
|
|
463
|
+
];
|
|
464
|
+
exports.GetSoftwareSet$ = [9, n0, _GSS,
|
|
465
|
+
{ [_end]: ["api."], [_h]: ["GET", "/softwaresets/{id}", 200] }, () => exports.GetSoftwareSetRequest$, () => exports.GetSoftwareSetResponse$
|
|
466
|
+
];
|
|
467
|
+
exports.ListDevices$ = [9, n0, _LD,
|
|
468
|
+
{ [_end]: ["api."], [_h]: ["GET", "/devices", 200] }, () => exports.ListDevicesRequest$, () => exports.ListDevicesResponse$
|
|
469
|
+
];
|
|
470
|
+
exports.ListEnvironments$ = [9, n0, _LE,
|
|
471
|
+
{ [_end]: ["api."], [_h]: ["GET", "/environments", 200] }, () => exports.ListEnvironmentsRequest$, () => exports.ListEnvironmentsResponse$
|
|
472
|
+
];
|
|
473
|
+
exports.ListSoftwareSets$ = [9, n0, _LSS,
|
|
474
|
+
{ [_end]: ["api."], [_h]: ["GET", "/softwaresets", 200] }, () => exports.ListSoftwareSetsRequest$, () => exports.ListSoftwareSetsResponse$
|
|
475
|
+
];
|
|
476
|
+
exports.ListTagsForResource$ = [9, n0, _LTFR,
|
|
477
|
+
{ [_end]: ["api."], [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => exports.ListTagsForResourceRequest$, () => exports.ListTagsForResourceResponse$
|
|
478
|
+
];
|
|
479
|
+
exports.TagResource$ = [9, n0, _TR,
|
|
480
|
+
{ [_end]: ["api."], [_h]: ["POST", "/tags/{resourceArn}", 200] }, () => exports.TagResourceRequest$, () => exports.TagResourceResponse$
|
|
481
|
+
];
|
|
482
|
+
exports.UntagResource$ = [9, n0, _UR,
|
|
483
|
+
{ [_end]: ["api."], [_h]: ["DELETE", "/tags/{resourceArn}", 200] }, () => exports.UntagResourceRequest$, () => exports.UntagResourceResponse$
|
|
484
|
+
];
|
|
485
|
+
exports.UpdateDevice$ = [9, n0, _UD,
|
|
486
|
+
{ [_end]: ["api."], [_h]: ["PATCH", "/devices/{id}", 200] }, () => exports.UpdateDeviceRequest$, () => exports.UpdateDeviceResponse$
|
|
487
|
+
];
|
|
488
|
+
exports.UpdateEnvironment$ = [9, n0, _UE,
|
|
489
|
+
{ [_end]: ["api."], [_h]: ["PATCH", "/environments/{id}", 200] }, () => exports.UpdateEnvironmentRequest$, () => exports.UpdateEnvironmentResponse$
|
|
490
|
+
];
|
|
491
|
+
exports.UpdateSoftwareSet$ = [9, n0, _USS,
|
|
492
|
+
{ [_end]: ["api."], [_h]: ["PATCH", "/softwaresets/{id}", 204] }, () => exports.UpdateSoftwareSetRequest$, () => exports.UpdateSoftwareSetResponse$
|
|
493
|
+
];
|
|
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
|
6
6
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
7
7
|
import { defaultWorkSpacesThinClientHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
8
8
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
9
|
+
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
9
10
|
export const getRuntimeConfig = (config) => {
|
|
10
11
|
return {
|
|
11
12
|
apiVersion: "2023-08-22",
|
|
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
27
|
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
28
|
protocolSettings: config?.protocolSettings ?? {
|
|
28
29
|
defaultNamespace: "com.amazonaws.workspacesthinclient",
|
|
30
|
+
errorTypeRegistries,
|
|
29
31
|
version: "2023-08-22",
|
|
30
32
|
serviceTarget: "ThinClient",
|
|
31
33
|
},
|