@aws-sdk/client-clouddirectory 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 +85 -3018
- package/dist-cjs/models/CloudDirectoryServiceException.js +12 -0
- package/dist-cjs/models/errors.js +533 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +2112 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +215 -209
- package/dist-types/schemas/schemas_0.d.ts +42 -35
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +37 -35
- package/package.json +13 -13
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CloudDirectoryServiceException = 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 CloudDirectoryServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, CloudDirectoryServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.CloudDirectoryServiceException = CloudDirectoryServiceException;
|
|
@@ -0,0 +1,533 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IncompatibleSchemaException = exports.InvalidFacetUpdateException = exports.InvalidSchemaDocException = exports.SchemaAlreadyPublishedException = exports.InvalidTaggingRequestException = exports.CannotListParentOfRootException = exports.InvalidNextTokenException = exports.NotNodeException = exports.ObjectAlreadyDetachedException = exports.StillContainsLinksException = exports.ObjectNotDetachedException = exports.FacetNotFoundException = exports.FacetInUseException = exports.DirectoryNotDisabledException = exports.DirectoryDeletedException = exports.UnsupportedIndexTypeException = exports.InvalidRuleException = exports.FacetAlreadyExistsException = exports.DirectoryAlreadyExistsException = exports.BatchWriteException = exports.NotIndexException = exports.IndexedAttributeMissingException = exports.NotPolicyException = exports.LinkNameAlreadyInUseException = exports.SchemaAlreadyExistsException = exports.InvalidAttachmentException = exports.ValidationException = exports.RetryableConflictException = exports.ResourceNotFoundException = exports.LimitExceededException = exports.InvalidArnException = exports.InternalServiceException = exports.FacetValidationException = exports.DirectoryNotEnabledException = exports.AccessDeniedException = void 0;
|
|
4
|
+
const CloudDirectoryServiceException_1 = require("./CloudDirectoryServiceException");
|
|
5
|
+
class AccessDeniedException extends CloudDirectoryServiceException_1.CloudDirectoryServiceException {
|
|
6
|
+
name = "AccessDeniedException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
Message;
|
|
9
|
+
constructor(opts) {
|
|
10
|
+
super({
|
|
11
|
+
name: "AccessDeniedException",
|
|
12
|
+
$fault: "client",
|
|
13
|
+
...opts,
|
|
14
|
+
});
|
|
15
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
16
|
+
this.Message = opts.Message;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
20
|
+
class DirectoryNotEnabledException extends CloudDirectoryServiceException_1.CloudDirectoryServiceException {
|
|
21
|
+
name = "DirectoryNotEnabledException";
|
|
22
|
+
$fault = "client";
|
|
23
|
+
Message;
|
|
24
|
+
constructor(opts) {
|
|
25
|
+
super({
|
|
26
|
+
name: "DirectoryNotEnabledException",
|
|
27
|
+
$fault: "client",
|
|
28
|
+
...opts,
|
|
29
|
+
});
|
|
30
|
+
Object.setPrototypeOf(this, DirectoryNotEnabledException.prototype);
|
|
31
|
+
this.Message = opts.Message;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.DirectoryNotEnabledException = DirectoryNotEnabledException;
|
|
35
|
+
class FacetValidationException extends CloudDirectoryServiceException_1.CloudDirectoryServiceException {
|
|
36
|
+
name = "FacetValidationException";
|
|
37
|
+
$fault = "client";
|
|
38
|
+
Message;
|
|
39
|
+
constructor(opts) {
|
|
40
|
+
super({
|
|
41
|
+
name: "FacetValidationException",
|
|
42
|
+
$fault: "client",
|
|
43
|
+
...opts,
|
|
44
|
+
});
|
|
45
|
+
Object.setPrototypeOf(this, FacetValidationException.prototype);
|
|
46
|
+
this.Message = opts.Message;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
exports.FacetValidationException = FacetValidationException;
|
|
50
|
+
class InternalServiceException extends CloudDirectoryServiceException_1.CloudDirectoryServiceException {
|
|
51
|
+
name = "InternalServiceException";
|
|
52
|
+
$fault = "server";
|
|
53
|
+
Message;
|
|
54
|
+
constructor(opts) {
|
|
55
|
+
super({
|
|
56
|
+
name: "InternalServiceException",
|
|
57
|
+
$fault: "server",
|
|
58
|
+
...opts,
|
|
59
|
+
});
|
|
60
|
+
Object.setPrototypeOf(this, InternalServiceException.prototype);
|
|
61
|
+
this.Message = opts.Message;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
exports.InternalServiceException = InternalServiceException;
|
|
65
|
+
class InvalidArnException extends CloudDirectoryServiceException_1.CloudDirectoryServiceException {
|
|
66
|
+
name = "InvalidArnException";
|
|
67
|
+
$fault = "client";
|
|
68
|
+
Message;
|
|
69
|
+
constructor(opts) {
|
|
70
|
+
super({
|
|
71
|
+
name: "InvalidArnException",
|
|
72
|
+
$fault: "client",
|
|
73
|
+
...opts,
|
|
74
|
+
});
|
|
75
|
+
Object.setPrototypeOf(this, InvalidArnException.prototype);
|
|
76
|
+
this.Message = opts.Message;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
exports.InvalidArnException = InvalidArnException;
|
|
80
|
+
class LimitExceededException extends CloudDirectoryServiceException_1.CloudDirectoryServiceException {
|
|
81
|
+
name = "LimitExceededException";
|
|
82
|
+
$fault = "client";
|
|
83
|
+
Message;
|
|
84
|
+
constructor(opts) {
|
|
85
|
+
super({
|
|
86
|
+
name: "LimitExceededException",
|
|
87
|
+
$fault: "client",
|
|
88
|
+
...opts,
|
|
89
|
+
});
|
|
90
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
91
|
+
this.Message = opts.Message;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
exports.LimitExceededException = LimitExceededException;
|
|
95
|
+
class ResourceNotFoundException extends CloudDirectoryServiceException_1.CloudDirectoryServiceException {
|
|
96
|
+
name = "ResourceNotFoundException";
|
|
97
|
+
$fault = "client";
|
|
98
|
+
Message;
|
|
99
|
+
constructor(opts) {
|
|
100
|
+
super({
|
|
101
|
+
name: "ResourceNotFoundException",
|
|
102
|
+
$fault: "client",
|
|
103
|
+
...opts,
|
|
104
|
+
});
|
|
105
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
106
|
+
this.Message = opts.Message;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
110
|
+
class RetryableConflictException extends CloudDirectoryServiceException_1.CloudDirectoryServiceException {
|
|
111
|
+
name = "RetryableConflictException";
|
|
112
|
+
$fault = "client";
|
|
113
|
+
Message;
|
|
114
|
+
constructor(opts) {
|
|
115
|
+
super({
|
|
116
|
+
name: "RetryableConflictException",
|
|
117
|
+
$fault: "client",
|
|
118
|
+
...opts,
|
|
119
|
+
});
|
|
120
|
+
Object.setPrototypeOf(this, RetryableConflictException.prototype);
|
|
121
|
+
this.Message = opts.Message;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
exports.RetryableConflictException = RetryableConflictException;
|
|
125
|
+
class ValidationException extends CloudDirectoryServiceException_1.CloudDirectoryServiceException {
|
|
126
|
+
name = "ValidationException";
|
|
127
|
+
$fault = "client";
|
|
128
|
+
Message;
|
|
129
|
+
constructor(opts) {
|
|
130
|
+
super({
|
|
131
|
+
name: "ValidationException",
|
|
132
|
+
$fault: "client",
|
|
133
|
+
...opts,
|
|
134
|
+
});
|
|
135
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
136
|
+
this.Message = opts.Message;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
exports.ValidationException = ValidationException;
|
|
140
|
+
class InvalidAttachmentException extends CloudDirectoryServiceException_1.CloudDirectoryServiceException {
|
|
141
|
+
name = "InvalidAttachmentException";
|
|
142
|
+
$fault = "client";
|
|
143
|
+
Message;
|
|
144
|
+
constructor(opts) {
|
|
145
|
+
super({
|
|
146
|
+
name: "InvalidAttachmentException",
|
|
147
|
+
$fault: "client",
|
|
148
|
+
...opts,
|
|
149
|
+
});
|
|
150
|
+
Object.setPrototypeOf(this, InvalidAttachmentException.prototype);
|
|
151
|
+
this.Message = opts.Message;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
exports.InvalidAttachmentException = InvalidAttachmentException;
|
|
155
|
+
class SchemaAlreadyExistsException extends CloudDirectoryServiceException_1.CloudDirectoryServiceException {
|
|
156
|
+
name = "SchemaAlreadyExistsException";
|
|
157
|
+
$fault = "client";
|
|
158
|
+
Message;
|
|
159
|
+
constructor(opts) {
|
|
160
|
+
super({
|
|
161
|
+
name: "SchemaAlreadyExistsException",
|
|
162
|
+
$fault: "client",
|
|
163
|
+
...opts,
|
|
164
|
+
});
|
|
165
|
+
Object.setPrototypeOf(this, SchemaAlreadyExistsException.prototype);
|
|
166
|
+
this.Message = opts.Message;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
exports.SchemaAlreadyExistsException = SchemaAlreadyExistsException;
|
|
170
|
+
class LinkNameAlreadyInUseException extends CloudDirectoryServiceException_1.CloudDirectoryServiceException {
|
|
171
|
+
name = "LinkNameAlreadyInUseException";
|
|
172
|
+
$fault = "client";
|
|
173
|
+
Message;
|
|
174
|
+
constructor(opts) {
|
|
175
|
+
super({
|
|
176
|
+
name: "LinkNameAlreadyInUseException",
|
|
177
|
+
$fault: "client",
|
|
178
|
+
...opts,
|
|
179
|
+
});
|
|
180
|
+
Object.setPrototypeOf(this, LinkNameAlreadyInUseException.prototype);
|
|
181
|
+
this.Message = opts.Message;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
exports.LinkNameAlreadyInUseException = LinkNameAlreadyInUseException;
|
|
185
|
+
class NotPolicyException extends CloudDirectoryServiceException_1.CloudDirectoryServiceException {
|
|
186
|
+
name = "NotPolicyException";
|
|
187
|
+
$fault = "client";
|
|
188
|
+
Message;
|
|
189
|
+
constructor(opts) {
|
|
190
|
+
super({
|
|
191
|
+
name: "NotPolicyException",
|
|
192
|
+
$fault: "client",
|
|
193
|
+
...opts,
|
|
194
|
+
});
|
|
195
|
+
Object.setPrototypeOf(this, NotPolicyException.prototype);
|
|
196
|
+
this.Message = opts.Message;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
exports.NotPolicyException = NotPolicyException;
|
|
200
|
+
class IndexedAttributeMissingException extends CloudDirectoryServiceException_1.CloudDirectoryServiceException {
|
|
201
|
+
name = "IndexedAttributeMissingException";
|
|
202
|
+
$fault = "client";
|
|
203
|
+
Message;
|
|
204
|
+
constructor(opts) {
|
|
205
|
+
super({
|
|
206
|
+
name: "IndexedAttributeMissingException",
|
|
207
|
+
$fault: "client",
|
|
208
|
+
...opts,
|
|
209
|
+
});
|
|
210
|
+
Object.setPrototypeOf(this, IndexedAttributeMissingException.prototype);
|
|
211
|
+
this.Message = opts.Message;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
exports.IndexedAttributeMissingException = IndexedAttributeMissingException;
|
|
215
|
+
class NotIndexException extends CloudDirectoryServiceException_1.CloudDirectoryServiceException {
|
|
216
|
+
name = "NotIndexException";
|
|
217
|
+
$fault = "client";
|
|
218
|
+
Message;
|
|
219
|
+
constructor(opts) {
|
|
220
|
+
super({
|
|
221
|
+
name: "NotIndexException",
|
|
222
|
+
$fault: "client",
|
|
223
|
+
...opts,
|
|
224
|
+
});
|
|
225
|
+
Object.setPrototypeOf(this, NotIndexException.prototype);
|
|
226
|
+
this.Message = opts.Message;
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
exports.NotIndexException = NotIndexException;
|
|
230
|
+
class BatchWriteException extends CloudDirectoryServiceException_1.CloudDirectoryServiceException {
|
|
231
|
+
name = "BatchWriteException";
|
|
232
|
+
$fault = "client";
|
|
233
|
+
Index;
|
|
234
|
+
Type;
|
|
235
|
+
Message;
|
|
236
|
+
constructor(opts) {
|
|
237
|
+
super({
|
|
238
|
+
name: "BatchWriteException",
|
|
239
|
+
$fault: "client",
|
|
240
|
+
...opts,
|
|
241
|
+
});
|
|
242
|
+
Object.setPrototypeOf(this, BatchWriteException.prototype);
|
|
243
|
+
this.Index = opts.Index;
|
|
244
|
+
this.Type = opts.Type;
|
|
245
|
+
this.Message = opts.Message;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
exports.BatchWriteException = BatchWriteException;
|
|
249
|
+
class DirectoryAlreadyExistsException extends CloudDirectoryServiceException_1.CloudDirectoryServiceException {
|
|
250
|
+
name = "DirectoryAlreadyExistsException";
|
|
251
|
+
$fault = "client";
|
|
252
|
+
Message;
|
|
253
|
+
constructor(opts) {
|
|
254
|
+
super({
|
|
255
|
+
name: "DirectoryAlreadyExistsException",
|
|
256
|
+
$fault: "client",
|
|
257
|
+
...opts,
|
|
258
|
+
});
|
|
259
|
+
Object.setPrototypeOf(this, DirectoryAlreadyExistsException.prototype);
|
|
260
|
+
this.Message = opts.Message;
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
exports.DirectoryAlreadyExistsException = DirectoryAlreadyExistsException;
|
|
264
|
+
class FacetAlreadyExistsException extends CloudDirectoryServiceException_1.CloudDirectoryServiceException {
|
|
265
|
+
name = "FacetAlreadyExistsException";
|
|
266
|
+
$fault = "client";
|
|
267
|
+
Message;
|
|
268
|
+
constructor(opts) {
|
|
269
|
+
super({
|
|
270
|
+
name: "FacetAlreadyExistsException",
|
|
271
|
+
$fault: "client",
|
|
272
|
+
...opts,
|
|
273
|
+
});
|
|
274
|
+
Object.setPrototypeOf(this, FacetAlreadyExistsException.prototype);
|
|
275
|
+
this.Message = opts.Message;
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
exports.FacetAlreadyExistsException = FacetAlreadyExistsException;
|
|
279
|
+
class InvalidRuleException extends CloudDirectoryServiceException_1.CloudDirectoryServiceException {
|
|
280
|
+
name = "InvalidRuleException";
|
|
281
|
+
$fault = "client";
|
|
282
|
+
Message;
|
|
283
|
+
constructor(opts) {
|
|
284
|
+
super({
|
|
285
|
+
name: "InvalidRuleException",
|
|
286
|
+
$fault: "client",
|
|
287
|
+
...opts,
|
|
288
|
+
});
|
|
289
|
+
Object.setPrototypeOf(this, InvalidRuleException.prototype);
|
|
290
|
+
this.Message = opts.Message;
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
exports.InvalidRuleException = InvalidRuleException;
|
|
294
|
+
class UnsupportedIndexTypeException extends CloudDirectoryServiceException_1.CloudDirectoryServiceException {
|
|
295
|
+
name = "UnsupportedIndexTypeException";
|
|
296
|
+
$fault = "client";
|
|
297
|
+
Message;
|
|
298
|
+
constructor(opts) {
|
|
299
|
+
super({
|
|
300
|
+
name: "UnsupportedIndexTypeException",
|
|
301
|
+
$fault: "client",
|
|
302
|
+
...opts,
|
|
303
|
+
});
|
|
304
|
+
Object.setPrototypeOf(this, UnsupportedIndexTypeException.prototype);
|
|
305
|
+
this.Message = opts.Message;
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
exports.UnsupportedIndexTypeException = UnsupportedIndexTypeException;
|
|
309
|
+
class DirectoryDeletedException extends CloudDirectoryServiceException_1.CloudDirectoryServiceException {
|
|
310
|
+
name = "DirectoryDeletedException";
|
|
311
|
+
$fault = "client";
|
|
312
|
+
Message;
|
|
313
|
+
constructor(opts) {
|
|
314
|
+
super({
|
|
315
|
+
name: "DirectoryDeletedException",
|
|
316
|
+
$fault: "client",
|
|
317
|
+
...opts,
|
|
318
|
+
});
|
|
319
|
+
Object.setPrototypeOf(this, DirectoryDeletedException.prototype);
|
|
320
|
+
this.Message = opts.Message;
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
exports.DirectoryDeletedException = DirectoryDeletedException;
|
|
324
|
+
class DirectoryNotDisabledException extends CloudDirectoryServiceException_1.CloudDirectoryServiceException {
|
|
325
|
+
name = "DirectoryNotDisabledException";
|
|
326
|
+
$fault = "client";
|
|
327
|
+
Message;
|
|
328
|
+
constructor(opts) {
|
|
329
|
+
super({
|
|
330
|
+
name: "DirectoryNotDisabledException",
|
|
331
|
+
$fault: "client",
|
|
332
|
+
...opts,
|
|
333
|
+
});
|
|
334
|
+
Object.setPrototypeOf(this, DirectoryNotDisabledException.prototype);
|
|
335
|
+
this.Message = opts.Message;
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
exports.DirectoryNotDisabledException = DirectoryNotDisabledException;
|
|
339
|
+
class FacetInUseException extends CloudDirectoryServiceException_1.CloudDirectoryServiceException {
|
|
340
|
+
name = "FacetInUseException";
|
|
341
|
+
$fault = "client";
|
|
342
|
+
Message;
|
|
343
|
+
constructor(opts) {
|
|
344
|
+
super({
|
|
345
|
+
name: "FacetInUseException",
|
|
346
|
+
$fault: "client",
|
|
347
|
+
...opts,
|
|
348
|
+
});
|
|
349
|
+
Object.setPrototypeOf(this, FacetInUseException.prototype);
|
|
350
|
+
this.Message = opts.Message;
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
exports.FacetInUseException = FacetInUseException;
|
|
354
|
+
class FacetNotFoundException extends CloudDirectoryServiceException_1.CloudDirectoryServiceException {
|
|
355
|
+
name = "FacetNotFoundException";
|
|
356
|
+
$fault = "client";
|
|
357
|
+
Message;
|
|
358
|
+
constructor(opts) {
|
|
359
|
+
super({
|
|
360
|
+
name: "FacetNotFoundException",
|
|
361
|
+
$fault: "client",
|
|
362
|
+
...opts,
|
|
363
|
+
});
|
|
364
|
+
Object.setPrototypeOf(this, FacetNotFoundException.prototype);
|
|
365
|
+
this.Message = opts.Message;
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
exports.FacetNotFoundException = FacetNotFoundException;
|
|
369
|
+
class ObjectNotDetachedException extends CloudDirectoryServiceException_1.CloudDirectoryServiceException {
|
|
370
|
+
name = "ObjectNotDetachedException";
|
|
371
|
+
$fault = "client";
|
|
372
|
+
Message;
|
|
373
|
+
constructor(opts) {
|
|
374
|
+
super({
|
|
375
|
+
name: "ObjectNotDetachedException",
|
|
376
|
+
$fault: "client",
|
|
377
|
+
...opts,
|
|
378
|
+
});
|
|
379
|
+
Object.setPrototypeOf(this, ObjectNotDetachedException.prototype);
|
|
380
|
+
this.Message = opts.Message;
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
exports.ObjectNotDetachedException = ObjectNotDetachedException;
|
|
384
|
+
class StillContainsLinksException extends CloudDirectoryServiceException_1.CloudDirectoryServiceException {
|
|
385
|
+
name = "StillContainsLinksException";
|
|
386
|
+
$fault = "client";
|
|
387
|
+
Message;
|
|
388
|
+
constructor(opts) {
|
|
389
|
+
super({
|
|
390
|
+
name: "StillContainsLinksException",
|
|
391
|
+
$fault: "client",
|
|
392
|
+
...opts,
|
|
393
|
+
});
|
|
394
|
+
Object.setPrototypeOf(this, StillContainsLinksException.prototype);
|
|
395
|
+
this.Message = opts.Message;
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
exports.StillContainsLinksException = StillContainsLinksException;
|
|
399
|
+
class ObjectAlreadyDetachedException extends CloudDirectoryServiceException_1.CloudDirectoryServiceException {
|
|
400
|
+
name = "ObjectAlreadyDetachedException";
|
|
401
|
+
$fault = "client";
|
|
402
|
+
Message;
|
|
403
|
+
constructor(opts) {
|
|
404
|
+
super({
|
|
405
|
+
name: "ObjectAlreadyDetachedException",
|
|
406
|
+
$fault: "client",
|
|
407
|
+
...opts,
|
|
408
|
+
});
|
|
409
|
+
Object.setPrototypeOf(this, ObjectAlreadyDetachedException.prototype);
|
|
410
|
+
this.Message = opts.Message;
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
exports.ObjectAlreadyDetachedException = ObjectAlreadyDetachedException;
|
|
414
|
+
class NotNodeException extends CloudDirectoryServiceException_1.CloudDirectoryServiceException {
|
|
415
|
+
name = "NotNodeException";
|
|
416
|
+
$fault = "client";
|
|
417
|
+
Message;
|
|
418
|
+
constructor(opts) {
|
|
419
|
+
super({
|
|
420
|
+
name: "NotNodeException",
|
|
421
|
+
$fault: "client",
|
|
422
|
+
...opts,
|
|
423
|
+
});
|
|
424
|
+
Object.setPrototypeOf(this, NotNodeException.prototype);
|
|
425
|
+
this.Message = opts.Message;
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
exports.NotNodeException = NotNodeException;
|
|
429
|
+
class InvalidNextTokenException extends CloudDirectoryServiceException_1.CloudDirectoryServiceException {
|
|
430
|
+
name = "InvalidNextTokenException";
|
|
431
|
+
$fault = "client";
|
|
432
|
+
Message;
|
|
433
|
+
constructor(opts) {
|
|
434
|
+
super({
|
|
435
|
+
name: "InvalidNextTokenException",
|
|
436
|
+
$fault: "client",
|
|
437
|
+
...opts,
|
|
438
|
+
});
|
|
439
|
+
Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
|
|
440
|
+
this.Message = opts.Message;
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
exports.InvalidNextTokenException = InvalidNextTokenException;
|
|
444
|
+
class CannotListParentOfRootException extends CloudDirectoryServiceException_1.CloudDirectoryServiceException {
|
|
445
|
+
name = "CannotListParentOfRootException";
|
|
446
|
+
$fault = "client";
|
|
447
|
+
Message;
|
|
448
|
+
constructor(opts) {
|
|
449
|
+
super({
|
|
450
|
+
name: "CannotListParentOfRootException",
|
|
451
|
+
$fault: "client",
|
|
452
|
+
...opts,
|
|
453
|
+
});
|
|
454
|
+
Object.setPrototypeOf(this, CannotListParentOfRootException.prototype);
|
|
455
|
+
this.Message = opts.Message;
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
exports.CannotListParentOfRootException = CannotListParentOfRootException;
|
|
459
|
+
class InvalidTaggingRequestException extends CloudDirectoryServiceException_1.CloudDirectoryServiceException {
|
|
460
|
+
name = "InvalidTaggingRequestException";
|
|
461
|
+
$fault = "client";
|
|
462
|
+
Message;
|
|
463
|
+
constructor(opts) {
|
|
464
|
+
super({
|
|
465
|
+
name: "InvalidTaggingRequestException",
|
|
466
|
+
$fault: "client",
|
|
467
|
+
...opts,
|
|
468
|
+
});
|
|
469
|
+
Object.setPrototypeOf(this, InvalidTaggingRequestException.prototype);
|
|
470
|
+
this.Message = opts.Message;
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
exports.InvalidTaggingRequestException = InvalidTaggingRequestException;
|
|
474
|
+
class SchemaAlreadyPublishedException extends CloudDirectoryServiceException_1.CloudDirectoryServiceException {
|
|
475
|
+
name = "SchemaAlreadyPublishedException";
|
|
476
|
+
$fault = "client";
|
|
477
|
+
Message;
|
|
478
|
+
constructor(opts) {
|
|
479
|
+
super({
|
|
480
|
+
name: "SchemaAlreadyPublishedException",
|
|
481
|
+
$fault: "client",
|
|
482
|
+
...opts,
|
|
483
|
+
});
|
|
484
|
+
Object.setPrototypeOf(this, SchemaAlreadyPublishedException.prototype);
|
|
485
|
+
this.Message = opts.Message;
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
exports.SchemaAlreadyPublishedException = SchemaAlreadyPublishedException;
|
|
489
|
+
class InvalidSchemaDocException extends CloudDirectoryServiceException_1.CloudDirectoryServiceException {
|
|
490
|
+
name = "InvalidSchemaDocException";
|
|
491
|
+
$fault = "client";
|
|
492
|
+
Message;
|
|
493
|
+
constructor(opts) {
|
|
494
|
+
super({
|
|
495
|
+
name: "InvalidSchemaDocException",
|
|
496
|
+
$fault: "client",
|
|
497
|
+
...opts,
|
|
498
|
+
});
|
|
499
|
+
Object.setPrototypeOf(this, InvalidSchemaDocException.prototype);
|
|
500
|
+
this.Message = opts.Message;
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
exports.InvalidSchemaDocException = InvalidSchemaDocException;
|
|
504
|
+
class InvalidFacetUpdateException extends CloudDirectoryServiceException_1.CloudDirectoryServiceException {
|
|
505
|
+
name = "InvalidFacetUpdateException";
|
|
506
|
+
$fault = "client";
|
|
507
|
+
Message;
|
|
508
|
+
constructor(opts) {
|
|
509
|
+
super({
|
|
510
|
+
name: "InvalidFacetUpdateException",
|
|
511
|
+
$fault: "client",
|
|
512
|
+
...opts,
|
|
513
|
+
});
|
|
514
|
+
Object.setPrototypeOf(this, InvalidFacetUpdateException.prototype);
|
|
515
|
+
this.Message = opts.Message;
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
exports.InvalidFacetUpdateException = InvalidFacetUpdateException;
|
|
519
|
+
class IncompatibleSchemaException extends CloudDirectoryServiceException_1.CloudDirectoryServiceException {
|
|
520
|
+
name = "IncompatibleSchemaException";
|
|
521
|
+
$fault = "client";
|
|
522
|
+
Message;
|
|
523
|
+
constructor(opts) {
|
|
524
|
+
super({
|
|
525
|
+
name: "IncompatibleSchemaException",
|
|
526
|
+
$fault: "client",
|
|
527
|
+
...opts,
|
|
528
|
+
});
|
|
529
|
+
Object.setPrototypeOf(this, IncompatibleSchemaException.prototype);
|
|
530
|
+
this.Message = opts.Message;
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
exports.IncompatibleSchemaException = IncompatibleSchemaException;
|
|
@@ -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: "2017-01-11",
|
|
@@ -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.clouddirectory",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
version: "2017-01-11",
|
|
33
35
|
serviceTarget: "AmazonCloudDirectory_20170111",
|
|
34
36
|
},
|