@aws-sdk/client-directory-service 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 +3361 -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/DirectoryServiceServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -641
- 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 -39
- package/dist-cjs/schemas/schemas_0.js +0 -2433
|
@@ -1,641 +0,0 @@
|
|
|
1
|
-
const { DirectoryServiceServiceException: __BaseException } = require("./DirectoryServiceServiceException");
|
|
2
|
-
exports.ClientException = class ClientException extends __BaseException {
|
|
3
|
-
name = "ClientException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
Message;
|
|
6
|
-
RequestId;
|
|
7
|
-
constructor(opts) {
|
|
8
|
-
super({
|
|
9
|
-
name: "ClientException",
|
|
10
|
-
$fault: "client",
|
|
11
|
-
...opts,
|
|
12
|
-
});
|
|
13
|
-
Object.setPrototypeOf(this, ClientException.prototype);
|
|
14
|
-
this.Message = opts.Message;
|
|
15
|
-
this.RequestId = opts.RequestId;
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
exports.DirectoryAlreadySharedException = class DirectoryAlreadySharedException extends __BaseException {
|
|
19
|
-
name = "DirectoryAlreadySharedException";
|
|
20
|
-
$fault = "client";
|
|
21
|
-
Message;
|
|
22
|
-
RequestId;
|
|
23
|
-
constructor(opts) {
|
|
24
|
-
super({
|
|
25
|
-
name: "DirectoryAlreadySharedException",
|
|
26
|
-
$fault: "client",
|
|
27
|
-
...opts,
|
|
28
|
-
});
|
|
29
|
-
Object.setPrototypeOf(this, DirectoryAlreadySharedException.prototype);
|
|
30
|
-
this.Message = opts.Message;
|
|
31
|
-
this.RequestId = opts.RequestId;
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
exports.EntityDoesNotExistException = class EntityDoesNotExistException extends __BaseException {
|
|
35
|
-
name = "EntityDoesNotExistException";
|
|
36
|
-
$fault = "client";
|
|
37
|
-
Message;
|
|
38
|
-
RequestId;
|
|
39
|
-
constructor(opts) {
|
|
40
|
-
super({
|
|
41
|
-
name: "EntityDoesNotExistException",
|
|
42
|
-
$fault: "client",
|
|
43
|
-
...opts,
|
|
44
|
-
});
|
|
45
|
-
Object.setPrototypeOf(this, EntityDoesNotExistException.prototype);
|
|
46
|
-
this.Message = opts.Message;
|
|
47
|
-
this.RequestId = opts.RequestId;
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
exports.InvalidParameterException = class InvalidParameterException extends __BaseException {
|
|
51
|
-
name = "InvalidParameterException";
|
|
52
|
-
$fault = "client";
|
|
53
|
-
Message;
|
|
54
|
-
RequestId;
|
|
55
|
-
constructor(opts) {
|
|
56
|
-
super({
|
|
57
|
-
name: "InvalidParameterException",
|
|
58
|
-
$fault: "client",
|
|
59
|
-
...opts,
|
|
60
|
-
});
|
|
61
|
-
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
62
|
-
this.Message = opts.Message;
|
|
63
|
-
this.RequestId = opts.RequestId;
|
|
64
|
-
}
|
|
65
|
-
};
|
|
66
|
-
exports.ServiceException = class ServiceException extends __BaseException {
|
|
67
|
-
name = "ServiceException";
|
|
68
|
-
$fault = "server";
|
|
69
|
-
Message;
|
|
70
|
-
RequestId;
|
|
71
|
-
constructor(opts) {
|
|
72
|
-
super({
|
|
73
|
-
name: "ServiceException",
|
|
74
|
-
$fault: "server",
|
|
75
|
-
...opts,
|
|
76
|
-
});
|
|
77
|
-
Object.setPrototypeOf(this, ServiceException.prototype);
|
|
78
|
-
this.Message = opts.Message;
|
|
79
|
-
this.RequestId = opts.RequestId;
|
|
80
|
-
}
|
|
81
|
-
};
|
|
82
|
-
exports.AccessDeniedException = class AccessDeniedException extends __BaseException {
|
|
83
|
-
name = "AccessDeniedException";
|
|
84
|
-
$fault = "client";
|
|
85
|
-
Message;
|
|
86
|
-
RequestId;
|
|
87
|
-
constructor(opts) {
|
|
88
|
-
super({
|
|
89
|
-
name: "AccessDeniedException",
|
|
90
|
-
$fault: "client",
|
|
91
|
-
...opts,
|
|
92
|
-
});
|
|
93
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
94
|
-
this.Message = opts.Message;
|
|
95
|
-
this.RequestId = opts.RequestId;
|
|
96
|
-
}
|
|
97
|
-
};
|
|
98
|
-
exports.ADAssessmentLimitExceededException = class ADAssessmentLimitExceededException extends __BaseException {
|
|
99
|
-
name = "ADAssessmentLimitExceededException";
|
|
100
|
-
$fault = "client";
|
|
101
|
-
Message;
|
|
102
|
-
RequestId;
|
|
103
|
-
constructor(opts) {
|
|
104
|
-
super({
|
|
105
|
-
name: "ADAssessmentLimitExceededException",
|
|
106
|
-
$fault: "client",
|
|
107
|
-
...opts,
|
|
108
|
-
});
|
|
109
|
-
Object.setPrototypeOf(this, ADAssessmentLimitExceededException.prototype);
|
|
110
|
-
this.Message = opts.Message;
|
|
111
|
-
this.RequestId = opts.RequestId;
|
|
112
|
-
}
|
|
113
|
-
};
|
|
114
|
-
exports.DirectoryUnavailableException = class DirectoryUnavailableException extends __BaseException {
|
|
115
|
-
name = "DirectoryUnavailableException";
|
|
116
|
-
$fault = "client";
|
|
117
|
-
Message;
|
|
118
|
-
RequestId;
|
|
119
|
-
constructor(opts) {
|
|
120
|
-
super({
|
|
121
|
-
name: "DirectoryUnavailableException",
|
|
122
|
-
$fault: "client",
|
|
123
|
-
...opts,
|
|
124
|
-
});
|
|
125
|
-
Object.setPrototypeOf(this, DirectoryUnavailableException.prototype);
|
|
126
|
-
this.Message = opts.Message;
|
|
127
|
-
this.RequestId = opts.RequestId;
|
|
128
|
-
}
|
|
129
|
-
};
|
|
130
|
-
exports.EntityAlreadyExistsException = class EntityAlreadyExistsException extends __BaseException {
|
|
131
|
-
name = "EntityAlreadyExistsException";
|
|
132
|
-
$fault = "client";
|
|
133
|
-
Message;
|
|
134
|
-
RequestId;
|
|
135
|
-
constructor(opts) {
|
|
136
|
-
super({
|
|
137
|
-
name: "EntityAlreadyExistsException",
|
|
138
|
-
$fault: "client",
|
|
139
|
-
...opts,
|
|
140
|
-
});
|
|
141
|
-
Object.setPrototypeOf(this, EntityAlreadyExistsException.prototype);
|
|
142
|
-
this.Message = opts.Message;
|
|
143
|
-
this.RequestId = opts.RequestId;
|
|
144
|
-
}
|
|
145
|
-
};
|
|
146
|
-
exports.IpRouteLimitExceededException = class IpRouteLimitExceededException extends __BaseException {
|
|
147
|
-
name = "IpRouteLimitExceededException";
|
|
148
|
-
$fault = "client";
|
|
149
|
-
Message;
|
|
150
|
-
RequestId;
|
|
151
|
-
constructor(opts) {
|
|
152
|
-
super({
|
|
153
|
-
name: "IpRouteLimitExceededException",
|
|
154
|
-
$fault: "client",
|
|
155
|
-
...opts,
|
|
156
|
-
});
|
|
157
|
-
Object.setPrototypeOf(this, IpRouteLimitExceededException.prototype);
|
|
158
|
-
this.Message = opts.Message;
|
|
159
|
-
this.RequestId = opts.RequestId;
|
|
160
|
-
}
|
|
161
|
-
};
|
|
162
|
-
exports.DirectoryAlreadyInRegionException = class DirectoryAlreadyInRegionException extends __BaseException {
|
|
163
|
-
name = "DirectoryAlreadyInRegionException";
|
|
164
|
-
$fault = "client";
|
|
165
|
-
Message;
|
|
166
|
-
RequestId;
|
|
167
|
-
constructor(opts) {
|
|
168
|
-
super({
|
|
169
|
-
name: "DirectoryAlreadyInRegionException",
|
|
170
|
-
$fault: "client",
|
|
171
|
-
...opts,
|
|
172
|
-
});
|
|
173
|
-
Object.setPrototypeOf(this, DirectoryAlreadyInRegionException.prototype);
|
|
174
|
-
this.Message = opts.Message;
|
|
175
|
-
this.RequestId = opts.RequestId;
|
|
176
|
-
}
|
|
177
|
-
};
|
|
178
|
-
exports.DirectoryDoesNotExistException = class DirectoryDoesNotExistException extends __BaseException {
|
|
179
|
-
name = "DirectoryDoesNotExistException";
|
|
180
|
-
$fault = "client";
|
|
181
|
-
Message;
|
|
182
|
-
RequestId;
|
|
183
|
-
constructor(opts) {
|
|
184
|
-
super({
|
|
185
|
-
name: "DirectoryDoesNotExistException",
|
|
186
|
-
$fault: "client",
|
|
187
|
-
...opts,
|
|
188
|
-
});
|
|
189
|
-
Object.setPrototypeOf(this, DirectoryDoesNotExistException.prototype);
|
|
190
|
-
this.Message = opts.Message;
|
|
191
|
-
this.RequestId = opts.RequestId;
|
|
192
|
-
}
|
|
193
|
-
};
|
|
194
|
-
exports.RegionLimitExceededException = class RegionLimitExceededException extends __BaseException {
|
|
195
|
-
name = "RegionLimitExceededException";
|
|
196
|
-
$fault = "client";
|
|
197
|
-
Message;
|
|
198
|
-
RequestId;
|
|
199
|
-
constructor(opts) {
|
|
200
|
-
super({
|
|
201
|
-
name: "RegionLimitExceededException",
|
|
202
|
-
$fault: "client",
|
|
203
|
-
...opts,
|
|
204
|
-
});
|
|
205
|
-
Object.setPrototypeOf(this, RegionLimitExceededException.prototype);
|
|
206
|
-
this.Message = opts.Message;
|
|
207
|
-
this.RequestId = opts.RequestId;
|
|
208
|
-
}
|
|
209
|
-
};
|
|
210
|
-
exports.UnsupportedOperationException = class UnsupportedOperationException extends __BaseException {
|
|
211
|
-
name = "UnsupportedOperationException";
|
|
212
|
-
$fault = "client";
|
|
213
|
-
Message;
|
|
214
|
-
RequestId;
|
|
215
|
-
constructor(opts) {
|
|
216
|
-
super({
|
|
217
|
-
name: "UnsupportedOperationException",
|
|
218
|
-
$fault: "client",
|
|
219
|
-
...opts,
|
|
220
|
-
});
|
|
221
|
-
Object.setPrototypeOf(this, UnsupportedOperationException.prototype);
|
|
222
|
-
this.Message = opts.Message;
|
|
223
|
-
this.RequestId = opts.RequestId;
|
|
224
|
-
}
|
|
225
|
-
};
|
|
226
|
-
exports.TagLimitExceededException = class TagLimitExceededException extends __BaseException {
|
|
227
|
-
name = "TagLimitExceededException";
|
|
228
|
-
$fault = "client";
|
|
229
|
-
Message;
|
|
230
|
-
RequestId;
|
|
231
|
-
constructor(opts) {
|
|
232
|
-
super({
|
|
233
|
-
name: "TagLimitExceededException",
|
|
234
|
-
$fault: "client",
|
|
235
|
-
...opts,
|
|
236
|
-
});
|
|
237
|
-
Object.setPrototypeOf(this, TagLimitExceededException.prototype);
|
|
238
|
-
this.Message = opts.Message;
|
|
239
|
-
this.RequestId = opts.RequestId;
|
|
240
|
-
}
|
|
241
|
-
};
|
|
242
|
-
exports.AuthenticationFailedException = class AuthenticationFailedException extends __BaseException {
|
|
243
|
-
name = "AuthenticationFailedException";
|
|
244
|
-
$fault = "client";
|
|
245
|
-
Message;
|
|
246
|
-
RequestId;
|
|
247
|
-
constructor(opts) {
|
|
248
|
-
super({
|
|
249
|
-
name: "AuthenticationFailedException",
|
|
250
|
-
$fault: "client",
|
|
251
|
-
...opts,
|
|
252
|
-
});
|
|
253
|
-
Object.setPrototypeOf(this, AuthenticationFailedException.prototype);
|
|
254
|
-
this.Message = opts.Message;
|
|
255
|
-
this.RequestId = opts.RequestId;
|
|
256
|
-
}
|
|
257
|
-
};
|
|
258
|
-
exports.CertificateAlreadyExistsException = class CertificateAlreadyExistsException extends __BaseException {
|
|
259
|
-
name = "CertificateAlreadyExistsException";
|
|
260
|
-
$fault = "client";
|
|
261
|
-
Message;
|
|
262
|
-
RequestId;
|
|
263
|
-
constructor(opts) {
|
|
264
|
-
super({
|
|
265
|
-
name: "CertificateAlreadyExistsException",
|
|
266
|
-
$fault: "client",
|
|
267
|
-
...opts,
|
|
268
|
-
});
|
|
269
|
-
Object.setPrototypeOf(this, CertificateAlreadyExistsException.prototype);
|
|
270
|
-
this.Message = opts.Message;
|
|
271
|
-
this.RequestId = opts.RequestId;
|
|
272
|
-
}
|
|
273
|
-
};
|
|
274
|
-
exports.CertificateDoesNotExistException = class CertificateDoesNotExistException extends __BaseException {
|
|
275
|
-
name = "CertificateDoesNotExistException";
|
|
276
|
-
$fault = "client";
|
|
277
|
-
Message;
|
|
278
|
-
RequestId;
|
|
279
|
-
constructor(opts) {
|
|
280
|
-
super({
|
|
281
|
-
name: "CertificateDoesNotExistException",
|
|
282
|
-
$fault: "client",
|
|
283
|
-
...opts,
|
|
284
|
-
});
|
|
285
|
-
Object.setPrototypeOf(this, CertificateDoesNotExistException.prototype);
|
|
286
|
-
this.Message = opts.Message;
|
|
287
|
-
this.RequestId = opts.RequestId;
|
|
288
|
-
}
|
|
289
|
-
};
|
|
290
|
-
exports.CertificateInUseException = class CertificateInUseException extends __BaseException {
|
|
291
|
-
name = "CertificateInUseException";
|
|
292
|
-
$fault = "client";
|
|
293
|
-
Message;
|
|
294
|
-
RequestId;
|
|
295
|
-
constructor(opts) {
|
|
296
|
-
super({
|
|
297
|
-
name: "CertificateInUseException",
|
|
298
|
-
$fault: "client",
|
|
299
|
-
...opts,
|
|
300
|
-
});
|
|
301
|
-
Object.setPrototypeOf(this, CertificateInUseException.prototype);
|
|
302
|
-
this.Message = opts.Message;
|
|
303
|
-
this.RequestId = opts.RequestId;
|
|
304
|
-
}
|
|
305
|
-
};
|
|
306
|
-
exports.CertificateLimitExceededException = class CertificateLimitExceededException extends __BaseException {
|
|
307
|
-
name = "CertificateLimitExceededException";
|
|
308
|
-
$fault = "client";
|
|
309
|
-
Message;
|
|
310
|
-
RequestId;
|
|
311
|
-
constructor(opts) {
|
|
312
|
-
super({
|
|
313
|
-
name: "CertificateLimitExceededException",
|
|
314
|
-
$fault: "client",
|
|
315
|
-
...opts,
|
|
316
|
-
});
|
|
317
|
-
Object.setPrototypeOf(this, CertificateLimitExceededException.prototype);
|
|
318
|
-
this.Message = opts.Message;
|
|
319
|
-
this.RequestId = opts.RequestId;
|
|
320
|
-
}
|
|
321
|
-
};
|
|
322
|
-
exports.DirectoryLimitExceededException = class DirectoryLimitExceededException extends __BaseException {
|
|
323
|
-
name = "DirectoryLimitExceededException";
|
|
324
|
-
$fault = "client";
|
|
325
|
-
Message;
|
|
326
|
-
RequestId;
|
|
327
|
-
constructor(opts) {
|
|
328
|
-
super({
|
|
329
|
-
name: "DirectoryLimitExceededException",
|
|
330
|
-
$fault: "client",
|
|
331
|
-
...opts,
|
|
332
|
-
});
|
|
333
|
-
Object.setPrototypeOf(this, DirectoryLimitExceededException.prototype);
|
|
334
|
-
this.Message = opts.Message;
|
|
335
|
-
this.RequestId = opts.RequestId;
|
|
336
|
-
}
|
|
337
|
-
};
|
|
338
|
-
exports.InsufficientPermissionsException = class InsufficientPermissionsException extends __BaseException {
|
|
339
|
-
name = "InsufficientPermissionsException";
|
|
340
|
-
$fault = "client";
|
|
341
|
-
Message;
|
|
342
|
-
RequestId;
|
|
343
|
-
constructor(opts) {
|
|
344
|
-
super({
|
|
345
|
-
name: "InsufficientPermissionsException",
|
|
346
|
-
$fault: "client",
|
|
347
|
-
...opts,
|
|
348
|
-
});
|
|
349
|
-
Object.setPrototypeOf(this, InsufficientPermissionsException.prototype);
|
|
350
|
-
this.Message = opts.Message;
|
|
351
|
-
this.RequestId = opts.RequestId;
|
|
352
|
-
}
|
|
353
|
-
};
|
|
354
|
-
exports.SnapshotLimitExceededException = class SnapshotLimitExceededException extends __BaseException {
|
|
355
|
-
name = "SnapshotLimitExceededException";
|
|
356
|
-
$fault = "client";
|
|
357
|
-
Message;
|
|
358
|
-
RequestId;
|
|
359
|
-
constructor(opts) {
|
|
360
|
-
super({
|
|
361
|
-
name: "SnapshotLimitExceededException",
|
|
362
|
-
$fault: "client",
|
|
363
|
-
...opts,
|
|
364
|
-
});
|
|
365
|
-
Object.setPrototypeOf(this, SnapshotLimitExceededException.prototype);
|
|
366
|
-
this.Message = opts.Message;
|
|
367
|
-
this.RequestId = opts.RequestId;
|
|
368
|
-
}
|
|
369
|
-
};
|
|
370
|
-
exports.InvalidNextTokenException = class InvalidNextTokenException extends __BaseException {
|
|
371
|
-
name = "InvalidNextTokenException";
|
|
372
|
-
$fault = "client";
|
|
373
|
-
Message;
|
|
374
|
-
RequestId;
|
|
375
|
-
constructor(opts) {
|
|
376
|
-
super({
|
|
377
|
-
name: "InvalidNextTokenException",
|
|
378
|
-
$fault: "client",
|
|
379
|
-
...opts,
|
|
380
|
-
});
|
|
381
|
-
Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
|
|
382
|
-
this.Message = opts.Message;
|
|
383
|
-
this.RequestId = opts.RequestId;
|
|
384
|
-
}
|
|
385
|
-
};
|
|
386
|
-
exports.DirectoryInDesiredStateException = class DirectoryInDesiredStateException extends __BaseException {
|
|
387
|
-
name = "DirectoryInDesiredStateException";
|
|
388
|
-
$fault = "client";
|
|
389
|
-
Message;
|
|
390
|
-
RequestId;
|
|
391
|
-
constructor(opts) {
|
|
392
|
-
super({
|
|
393
|
-
name: "DirectoryInDesiredStateException",
|
|
394
|
-
$fault: "client",
|
|
395
|
-
...opts,
|
|
396
|
-
});
|
|
397
|
-
Object.setPrototypeOf(this, DirectoryInDesiredStateException.prototype);
|
|
398
|
-
this.Message = opts.Message;
|
|
399
|
-
this.RequestId = opts.RequestId;
|
|
400
|
-
}
|
|
401
|
-
};
|
|
402
|
-
exports.DirectoryNotSharedException = class DirectoryNotSharedException extends __BaseException {
|
|
403
|
-
name = "DirectoryNotSharedException";
|
|
404
|
-
$fault = "client";
|
|
405
|
-
Message;
|
|
406
|
-
RequestId;
|
|
407
|
-
constructor(opts) {
|
|
408
|
-
super({
|
|
409
|
-
name: "DirectoryNotSharedException",
|
|
410
|
-
$fault: "client",
|
|
411
|
-
...opts,
|
|
412
|
-
});
|
|
413
|
-
Object.setPrototypeOf(this, DirectoryNotSharedException.prototype);
|
|
414
|
-
this.Message = opts.Message;
|
|
415
|
-
this.RequestId = opts.RequestId;
|
|
416
|
-
}
|
|
417
|
-
};
|
|
418
|
-
exports.DisableAlreadyInProgressException = class DisableAlreadyInProgressException extends __BaseException {
|
|
419
|
-
name = "DisableAlreadyInProgressException";
|
|
420
|
-
$fault = "client";
|
|
421
|
-
Message;
|
|
422
|
-
RequestId;
|
|
423
|
-
constructor(opts) {
|
|
424
|
-
super({
|
|
425
|
-
name: "DisableAlreadyInProgressException",
|
|
426
|
-
$fault: "client",
|
|
427
|
-
...opts,
|
|
428
|
-
});
|
|
429
|
-
Object.setPrototypeOf(this, DisableAlreadyInProgressException.prototype);
|
|
430
|
-
this.Message = opts.Message;
|
|
431
|
-
this.RequestId = opts.RequestId;
|
|
432
|
-
}
|
|
433
|
-
};
|
|
434
|
-
exports.InvalidClientAuthStatusException = class InvalidClientAuthStatusException extends __BaseException {
|
|
435
|
-
name = "InvalidClientAuthStatusException";
|
|
436
|
-
$fault = "client";
|
|
437
|
-
Message;
|
|
438
|
-
RequestId;
|
|
439
|
-
constructor(opts) {
|
|
440
|
-
super({
|
|
441
|
-
name: "InvalidClientAuthStatusException",
|
|
442
|
-
$fault: "client",
|
|
443
|
-
...opts,
|
|
444
|
-
});
|
|
445
|
-
Object.setPrototypeOf(this, InvalidClientAuthStatusException.prototype);
|
|
446
|
-
this.Message = opts.Message;
|
|
447
|
-
this.RequestId = opts.RequestId;
|
|
448
|
-
}
|
|
449
|
-
};
|
|
450
|
-
exports.InvalidLDAPSStatusException = class InvalidLDAPSStatusException extends __BaseException {
|
|
451
|
-
name = "InvalidLDAPSStatusException";
|
|
452
|
-
$fault = "client";
|
|
453
|
-
Message;
|
|
454
|
-
RequestId;
|
|
455
|
-
constructor(opts) {
|
|
456
|
-
super({
|
|
457
|
-
name: "InvalidLDAPSStatusException",
|
|
458
|
-
$fault: "client",
|
|
459
|
-
...opts,
|
|
460
|
-
});
|
|
461
|
-
Object.setPrototypeOf(this, InvalidLDAPSStatusException.prototype);
|
|
462
|
-
this.Message = opts.Message;
|
|
463
|
-
this.RequestId = opts.RequestId;
|
|
464
|
-
}
|
|
465
|
-
};
|
|
466
|
-
exports.EnableAlreadyInProgressException = class EnableAlreadyInProgressException extends __BaseException {
|
|
467
|
-
name = "EnableAlreadyInProgressException";
|
|
468
|
-
$fault = "client";
|
|
469
|
-
Message;
|
|
470
|
-
RequestId;
|
|
471
|
-
constructor(opts) {
|
|
472
|
-
super({
|
|
473
|
-
name: "EnableAlreadyInProgressException",
|
|
474
|
-
$fault: "client",
|
|
475
|
-
...opts,
|
|
476
|
-
});
|
|
477
|
-
Object.setPrototypeOf(this, EnableAlreadyInProgressException.prototype);
|
|
478
|
-
this.Message = opts.Message;
|
|
479
|
-
this.RequestId = opts.RequestId;
|
|
480
|
-
}
|
|
481
|
-
};
|
|
482
|
-
exports.NoAvailableCertificateException = class NoAvailableCertificateException extends __BaseException {
|
|
483
|
-
name = "NoAvailableCertificateException";
|
|
484
|
-
$fault = "client";
|
|
485
|
-
Message;
|
|
486
|
-
RequestId;
|
|
487
|
-
constructor(opts) {
|
|
488
|
-
super({
|
|
489
|
-
name: "NoAvailableCertificateException",
|
|
490
|
-
$fault: "client",
|
|
491
|
-
...opts,
|
|
492
|
-
});
|
|
493
|
-
Object.setPrototypeOf(this, NoAvailableCertificateException.prototype);
|
|
494
|
-
this.Message = opts.Message;
|
|
495
|
-
this.RequestId = opts.RequestId;
|
|
496
|
-
}
|
|
497
|
-
};
|
|
498
|
-
exports.InvalidCertificateException = class InvalidCertificateException extends __BaseException {
|
|
499
|
-
name = "InvalidCertificateException";
|
|
500
|
-
$fault = "client";
|
|
501
|
-
Message;
|
|
502
|
-
RequestId;
|
|
503
|
-
constructor(opts) {
|
|
504
|
-
super({
|
|
505
|
-
name: "InvalidCertificateException",
|
|
506
|
-
$fault: "client",
|
|
507
|
-
...opts,
|
|
508
|
-
});
|
|
509
|
-
Object.setPrototypeOf(this, InvalidCertificateException.prototype);
|
|
510
|
-
this.Message = opts.Message;
|
|
511
|
-
this.RequestId = opts.RequestId;
|
|
512
|
-
}
|
|
513
|
-
};
|
|
514
|
-
exports.InvalidPasswordException = class InvalidPasswordException extends __BaseException {
|
|
515
|
-
name = "InvalidPasswordException";
|
|
516
|
-
$fault = "client";
|
|
517
|
-
Message;
|
|
518
|
-
RequestId;
|
|
519
|
-
constructor(opts) {
|
|
520
|
-
super({
|
|
521
|
-
name: "InvalidPasswordException",
|
|
522
|
-
$fault: "client",
|
|
523
|
-
...opts,
|
|
524
|
-
});
|
|
525
|
-
Object.setPrototypeOf(this, InvalidPasswordException.prototype);
|
|
526
|
-
this.Message = opts.Message;
|
|
527
|
-
this.RequestId = opts.RequestId;
|
|
528
|
-
}
|
|
529
|
-
};
|
|
530
|
-
exports.UserDoesNotExistException = class UserDoesNotExistException extends __BaseException {
|
|
531
|
-
name = "UserDoesNotExistException";
|
|
532
|
-
$fault = "client";
|
|
533
|
-
Message;
|
|
534
|
-
RequestId;
|
|
535
|
-
constructor(opts) {
|
|
536
|
-
super({
|
|
537
|
-
name: "UserDoesNotExistException",
|
|
538
|
-
$fault: "client",
|
|
539
|
-
...opts,
|
|
540
|
-
});
|
|
541
|
-
Object.setPrototypeOf(this, UserDoesNotExistException.prototype);
|
|
542
|
-
this.Message = opts.Message;
|
|
543
|
-
this.RequestId = opts.RequestId;
|
|
544
|
-
}
|
|
545
|
-
};
|
|
546
|
-
exports.InvalidTargetException = class InvalidTargetException extends __BaseException {
|
|
547
|
-
name = "InvalidTargetException";
|
|
548
|
-
$fault = "client";
|
|
549
|
-
Message;
|
|
550
|
-
RequestId;
|
|
551
|
-
constructor(opts) {
|
|
552
|
-
super({
|
|
553
|
-
name: "InvalidTargetException",
|
|
554
|
-
$fault: "client",
|
|
555
|
-
...opts,
|
|
556
|
-
});
|
|
557
|
-
Object.setPrototypeOf(this, InvalidTargetException.prototype);
|
|
558
|
-
this.Message = opts.Message;
|
|
559
|
-
this.RequestId = opts.RequestId;
|
|
560
|
-
}
|
|
561
|
-
};
|
|
562
|
-
exports.OrganizationsException = class OrganizationsException extends __BaseException {
|
|
563
|
-
name = "OrganizationsException";
|
|
564
|
-
$fault = "client";
|
|
565
|
-
Message;
|
|
566
|
-
RequestId;
|
|
567
|
-
constructor(opts) {
|
|
568
|
-
super({
|
|
569
|
-
name: "OrganizationsException",
|
|
570
|
-
$fault: "client",
|
|
571
|
-
...opts,
|
|
572
|
-
});
|
|
573
|
-
Object.setPrototypeOf(this, OrganizationsException.prototype);
|
|
574
|
-
this.Message = opts.Message;
|
|
575
|
-
this.RequestId = opts.RequestId;
|
|
576
|
-
}
|
|
577
|
-
};
|
|
578
|
-
exports.ShareLimitExceededException = class ShareLimitExceededException extends __BaseException {
|
|
579
|
-
name = "ShareLimitExceededException";
|
|
580
|
-
$fault = "client";
|
|
581
|
-
Message;
|
|
582
|
-
RequestId;
|
|
583
|
-
constructor(opts) {
|
|
584
|
-
super({
|
|
585
|
-
name: "ShareLimitExceededException",
|
|
586
|
-
$fault: "client",
|
|
587
|
-
...opts,
|
|
588
|
-
});
|
|
589
|
-
Object.setPrototypeOf(this, ShareLimitExceededException.prototype);
|
|
590
|
-
this.Message = opts.Message;
|
|
591
|
-
this.RequestId = opts.RequestId;
|
|
592
|
-
}
|
|
593
|
-
};
|
|
594
|
-
exports.DomainControllerLimitExceededException = class DomainControllerLimitExceededException extends __BaseException {
|
|
595
|
-
name = "DomainControllerLimitExceededException";
|
|
596
|
-
$fault = "client";
|
|
597
|
-
Message;
|
|
598
|
-
RequestId;
|
|
599
|
-
constructor(opts) {
|
|
600
|
-
super({
|
|
601
|
-
name: "DomainControllerLimitExceededException",
|
|
602
|
-
$fault: "client",
|
|
603
|
-
...opts,
|
|
604
|
-
});
|
|
605
|
-
Object.setPrototypeOf(this, DomainControllerLimitExceededException.prototype);
|
|
606
|
-
this.Message = opts.Message;
|
|
607
|
-
this.RequestId = opts.RequestId;
|
|
608
|
-
}
|
|
609
|
-
};
|
|
610
|
-
exports.IncompatibleSettingsException = class IncompatibleSettingsException extends __BaseException {
|
|
611
|
-
name = "IncompatibleSettingsException";
|
|
612
|
-
$fault = "client";
|
|
613
|
-
Message;
|
|
614
|
-
RequestId;
|
|
615
|
-
constructor(opts) {
|
|
616
|
-
super({
|
|
617
|
-
name: "IncompatibleSettingsException",
|
|
618
|
-
$fault: "client",
|
|
619
|
-
...opts,
|
|
620
|
-
});
|
|
621
|
-
Object.setPrototypeOf(this, IncompatibleSettingsException.prototype);
|
|
622
|
-
this.Message = opts.Message;
|
|
623
|
-
this.RequestId = opts.RequestId;
|
|
624
|
-
}
|
|
625
|
-
};
|
|
626
|
-
exports.UnsupportedSettingsException = class UnsupportedSettingsException extends __BaseException {
|
|
627
|
-
name = "UnsupportedSettingsException";
|
|
628
|
-
$fault = "client";
|
|
629
|
-
Message;
|
|
630
|
-
RequestId;
|
|
631
|
-
constructor(opts) {
|
|
632
|
-
super({
|
|
633
|
-
name: "UnsupportedSettingsException",
|
|
634
|
-
$fault: "client",
|
|
635
|
-
...opts,
|
|
636
|
-
});
|
|
637
|
-
Object.setPrototypeOf(this, UnsupportedSettingsException.prototype);
|
|
638
|
-
this.Message = opts.Message;
|
|
639
|
-
this.RequestId = opts.RequestId;
|
|
640
|
-
}
|
|
641
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
const packageInfo = require("../package.json");
|
|
2
|
-
const { Sha256 } = require("@aws-crypto/sha256-browser");
|
|
3
|
-
const { createDefaultUserAgentProvider } = require("@aws-sdk/core/client");
|
|
4
|
-
const { invalidProvider, loadConfigsForDefaultMode } = require("@smithy/core/client");
|
|
5
|
-
const { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig } = require("@smithy/core/config");
|
|
6
|
-
const { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } = require("@smithy/core/retry");
|
|
7
|
-
const { calculateBodyLength } = require("@smithy/core/serde");
|
|
8
|
-
const { FetchHttpHandler: RequestHandler, streamCollector } = require("@smithy/fetch-http-handler");
|
|
9
|
-
const { getRuntimeConfig: getSharedRuntimeConfig } = require("./runtimeConfig.shared");
|
|
10
|
-
const getRuntimeConfig = (config) => {
|
|
11
|
-
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
12
|
-
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
13
|
-
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
14
|
-
return {
|
|
15
|
-
...clientSharedValues,
|
|
16
|
-
...config,
|
|
17
|
-
runtime: "browser",
|
|
18
|
-
defaultsMode,
|
|
19
|
-
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
20
|
-
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
21
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
22
|
-
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
23
|
-
region: config?.region ?? invalidProvider("Region is missing"),
|
|
24
|
-
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
25
|
-
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
26
|
-
sha256: config?.sha256 ?? Sha256,
|
|
27
|
-
streamCollector: config?.streamCollector ?? streamCollector,
|
|
28
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
29
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
exports.getRuntimeConfig = getRuntimeConfig;
|