@aws-sdk/client-clouddirectory 3.300.0 → 3.303.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.
Files changed (71) hide show
  1. package/dist-cjs/models/models_0.js +83 -94
  2. package/dist-es/models/models_0.js +83 -94
  3. package/dist-types/commands/AddFacetToObjectCommand.d.ts +7 -7
  4. package/dist-types/commands/ApplySchemaCommand.d.ts +1 -1
  5. package/dist-types/commands/AttachObjectCommand.d.ts +2 -2
  6. package/dist-types/commands/AttachPolicyCommand.d.ts +2 -2
  7. package/dist-types/commands/AttachToIndexCommand.d.ts +2 -2
  8. package/dist-types/commands/AttachTypedLinkCommand.d.ts +6 -6
  9. package/dist-types/commands/BatchReadCommand.d.ts +47 -79
  10. package/dist-types/commands/BatchWriteCommand.d.ts +60 -108
  11. package/dist-types/commands/CreateDirectoryCommand.d.ts +1 -1
  12. package/dist-types/commands/CreateFacetCommand.d.ts +9 -9
  13. package/dist-types/commands/CreateIndexCommand.d.ts +4 -4
  14. package/dist-types/commands/CreateObjectCommand.d.ts +8 -8
  15. package/dist-types/commands/CreateSchemaCommand.d.ts +1 -1
  16. package/dist-types/commands/CreateTypedLinkFacetCommand.d.ts +9 -9
  17. package/dist-types/commands/DeleteDirectoryCommand.d.ts +1 -1
  18. package/dist-types/commands/DeleteFacetCommand.d.ts +1 -1
  19. package/dist-types/commands/DeleteObjectCommand.d.ts +2 -2
  20. package/dist-types/commands/DeleteSchemaCommand.d.ts +1 -1
  21. package/dist-types/commands/DeleteTypedLinkFacetCommand.d.ts +1 -1
  22. package/dist-types/commands/DetachFromIndexCommand.d.ts +2 -2
  23. package/dist-types/commands/DetachObjectCommand.d.ts +2 -2
  24. package/dist-types/commands/DetachPolicyCommand.d.ts +2 -2
  25. package/dist-types/commands/DetachTypedLinkCommand.d.ts +7 -7
  26. package/dist-types/commands/DisableDirectoryCommand.d.ts +1 -1
  27. package/dist-types/commands/EnableDirectoryCommand.d.ts +1 -1
  28. package/dist-types/commands/GetAppliedSchemaVersionCommand.d.ts +1 -1
  29. package/dist-types/commands/GetDirectoryCommand.d.ts +1 -1
  30. package/dist-types/commands/GetFacetCommand.d.ts +1 -1
  31. package/dist-types/commands/GetLinkAttributesCommand.d.ts +8 -8
  32. package/dist-types/commands/GetObjectAttributesCommand.d.ts +4 -4
  33. package/dist-types/commands/GetObjectInformationCommand.d.ts +2 -2
  34. package/dist-types/commands/GetSchemaAsJsonCommand.d.ts +1 -1
  35. package/dist-types/commands/GetTypedLinkFacetInformationCommand.d.ts +1 -1
  36. package/dist-types/commands/ListAppliedSchemaArnsCommand.d.ts +1 -1
  37. package/dist-types/commands/ListAttachedIndicesCommand.d.ts +2 -2
  38. package/dist-types/commands/ListDevelopmentSchemaArnsCommand.d.ts +1 -1
  39. package/dist-types/commands/ListDirectoriesCommand.d.ts +1 -1
  40. package/dist-types/commands/ListFacetAttributesCommand.d.ts +1 -1
  41. package/dist-types/commands/ListFacetNamesCommand.d.ts +1 -1
  42. package/dist-types/commands/ListIncomingTypedLinksCommand.d.ts +8 -8
  43. package/dist-types/commands/ListIndexCommand.d.ts +8 -8
  44. package/dist-types/commands/ListManagedSchemaArnsCommand.d.ts +1 -1
  45. package/dist-types/commands/ListObjectAttributesCommand.d.ts +3 -3
  46. package/dist-types/commands/ListObjectChildrenCommand.d.ts +2 -2
  47. package/dist-types/commands/ListObjectParentPathsCommand.d.ts +2 -2
  48. package/dist-types/commands/ListObjectParentsCommand.d.ts +2 -2
  49. package/dist-types/commands/ListObjectPoliciesCommand.d.ts +2 -2
  50. package/dist-types/commands/ListOutgoingTypedLinksCommand.d.ts +8 -8
  51. package/dist-types/commands/ListPolicyAttachmentsCommand.d.ts +2 -2
  52. package/dist-types/commands/ListPublishedSchemaArnsCommand.d.ts +1 -1
  53. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  54. package/dist-types/commands/ListTypedLinkFacetAttributesCommand.d.ts +1 -1
  55. package/dist-types/commands/ListTypedLinkFacetNamesCommand.d.ts +1 -1
  56. package/dist-types/commands/LookupPolicyCommand.d.ts +2 -2
  57. package/dist-types/commands/PublishSchemaCommand.d.ts +1 -1
  58. package/dist-types/commands/PutSchemaFromJsonCommand.d.ts +1 -1
  59. package/dist-types/commands/RemoveFacetFromObjectCommand.d.ts +3 -3
  60. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  61. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  62. package/dist-types/commands/UpdateFacetCommand.d.ts +10 -10
  63. package/dist-types/commands/UpdateLinkAttributesCommand.d.ts +12 -12
  64. package/dist-types/commands/UpdateObjectAttributesCommand.d.ts +7 -7
  65. package/dist-types/commands/UpdateSchemaCommand.d.ts +1 -1
  66. package/dist-types/commands/UpdateTypedLinkFacetCommand.d.ts +9 -9
  67. package/dist-types/commands/UpgradeAppliedSchemaCommand.d.ts +1 -1
  68. package/dist-types/commands/UpgradePublishedSchemaCommand.d.ts +1 -1
  69. package/dist-types/models/models_0.d.ts +138 -83
  70. package/dist-types/ts3.4/models/models_0.d.ts +101 -83
  71. package/package.json +34 -34
@@ -228,56 +228,52 @@ class NotIndexException extends CloudDirectoryServiceException_1.CloudDirectoryS
228
228
  }
229
229
  }
230
230
  exports.NotIndexException = NotIndexException;
231
- var ConsistencyLevel;
232
- (function (ConsistencyLevel) {
233
- ConsistencyLevel["EVENTUAL"] = "EVENTUAL";
234
- ConsistencyLevel["SERIALIZABLE"] = "SERIALIZABLE";
235
- })(ConsistencyLevel = exports.ConsistencyLevel || (exports.ConsistencyLevel = {}));
236
- var RangeMode;
237
- (function (RangeMode) {
238
- RangeMode["EXCLUSIVE"] = "EXCLUSIVE";
239
- RangeMode["FIRST"] = "FIRST";
240
- RangeMode["INCLUSIVE"] = "INCLUSIVE";
241
- RangeMode["LAST"] = "LAST";
242
- RangeMode["LAST_BEFORE_MISSING_VALUES"] = "LAST_BEFORE_MISSING_VALUES";
243
- })(RangeMode = exports.RangeMode || (exports.RangeMode = {}));
244
- var BatchReadExceptionType;
245
- (function (BatchReadExceptionType) {
246
- BatchReadExceptionType["AccessDeniedException"] = "AccessDeniedException";
247
- BatchReadExceptionType["CannotListParentOfRootException"] = "CannotListParentOfRootException";
248
- BatchReadExceptionType["DirectoryNotEnabledException"] = "DirectoryNotEnabledException";
249
- BatchReadExceptionType["FacetValidationException"] = "FacetValidationException";
250
- BatchReadExceptionType["InternalServiceException"] = "InternalServiceException";
251
- BatchReadExceptionType["InvalidArnException"] = "InvalidArnException";
252
- BatchReadExceptionType["InvalidNextTokenException"] = "InvalidNextTokenException";
253
- BatchReadExceptionType["LimitExceededException"] = "LimitExceededException";
254
- BatchReadExceptionType["NotIndexException"] = "NotIndexException";
255
- BatchReadExceptionType["NotNodeException"] = "NotNodeException";
256
- BatchReadExceptionType["NotPolicyException"] = "NotPolicyException";
257
- BatchReadExceptionType["ResourceNotFoundException"] = "ResourceNotFoundException";
258
- BatchReadExceptionType["ValidationException"] = "ValidationException";
259
- })(BatchReadExceptionType = exports.BatchReadExceptionType || (exports.BatchReadExceptionType = {}));
260
- var BatchWriteExceptionType;
261
- (function (BatchWriteExceptionType) {
262
- BatchWriteExceptionType["AccessDeniedException"] = "AccessDeniedException";
263
- BatchWriteExceptionType["DirectoryNotEnabledException"] = "DirectoryNotEnabledException";
264
- BatchWriteExceptionType["FacetValidationException"] = "FacetValidationException";
265
- BatchWriteExceptionType["IndexedAttributeMissingException"] = "IndexedAttributeMissingException";
266
- BatchWriteExceptionType["InternalServiceException"] = "InternalServiceException";
267
- BatchWriteExceptionType["InvalidArnException"] = "InvalidArnException";
268
- BatchWriteExceptionType["InvalidAttachmentException"] = "InvalidAttachmentException";
269
- BatchWriteExceptionType["LimitExceededException"] = "LimitExceededException";
270
- BatchWriteExceptionType["LinkNameAlreadyInUseException"] = "LinkNameAlreadyInUseException";
271
- BatchWriteExceptionType["NotIndexException"] = "NotIndexException";
272
- BatchWriteExceptionType["NotNodeException"] = "NotNodeException";
273
- BatchWriteExceptionType["NotPolicyException"] = "NotPolicyException";
274
- BatchWriteExceptionType["ObjectAlreadyDetachedException"] = "ObjectAlreadyDetachedException";
275
- BatchWriteExceptionType["ObjectNotDetachedException"] = "ObjectNotDetachedException";
276
- BatchWriteExceptionType["ResourceNotFoundException"] = "ResourceNotFoundException";
277
- BatchWriteExceptionType["StillContainsLinksException"] = "StillContainsLinksException";
278
- BatchWriteExceptionType["UnsupportedIndexTypeException"] = "UnsupportedIndexTypeException";
279
- BatchWriteExceptionType["ValidationException"] = "ValidationException";
280
- })(BatchWriteExceptionType = exports.BatchWriteExceptionType || (exports.BatchWriteExceptionType = {}));
231
+ exports.ConsistencyLevel = {
232
+ EVENTUAL: "EVENTUAL",
233
+ SERIALIZABLE: "SERIALIZABLE",
234
+ };
235
+ exports.RangeMode = {
236
+ EXCLUSIVE: "EXCLUSIVE",
237
+ FIRST: "FIRST",
238
+ INCLUSIVE: "INCLUSIVE",
239
+ LAST: "LAST",
240
+ LAST_BEFORE_MISSING_VALUES: "LAST_BEFORE_MISSING_VALUES",
241
+ };
242
+ exports.BatchReadExceptionType = {
243
+ AccessDeniedException: "AccessDeniedException",
244
+ CannotListParentOfRootException: "CannotListParentOfRootException",
245
+ DirectoryNotEnabledException: "DirectoryNotEnabledException",
246
+ FacetValidationException: "FacetValidationException",
247
+ InternalServiceException: "InternalServiceException",
248
+ InvalidArnException: "InvalidArnException",
249
+ InvalidNextTokenException: "InvalidNextTokenException",
250
+ LimitExceededException: "LimitExceededException",
251
+ NotIndexException: "NotIndexException",
252
+ NotNodeException: "NotNodeException",
253
+ NotPolicyException: "NotPolicyException",
254
+ ResourceNotFoundException: "ResourceNotFoundException",
255
+ ValidationException: "ValidationException",
256
+ };
257
+ exports.BatchWriteExceptionType = {
258
+ AccessDeniedException: "AccessDeniedException",
259
+ DirectoryNotEnabledException: "DirectoryNotEnabledException",
260
+ FacetValidationException: "FacetValidationException",
261
+ IndexedAttributeMissingException: "IndexedAttributeMissingException",
262
+ InternalServiceException: "InternalServiceException",
263
+ InvalidArnException: "InvalidArnException",
264
+ InvalidAttachmentException: "InvalidAttachmentException",
265
+ LimitExceededException: "LimitExceededException",
266
+ LinkNameAlreadyInUseException: "LinkNameAlreadyInUseException",
267
+ NotIndexException: "NotIndexException",
268
+ NotNodeException: "NotNodeException",
269
+ NotPolicyException: "NotPolicyException",
270
+ ObjectAlreadyDetachedException: "ObjectAlreadyDetachedException",
271
+ ObjectNotDetachedException: "ObjectNotDetachedException",
272
+ ResourceNotFoundException: "ResourceNotFoundException",
273
+ StillContainsLinksException: "StillContainsLinksException",
274
+ UnsupportedIndexTypeException: "UnsupportedIndexTypeException",
275
+ ValidationException: "ValidationException",
276
+ };
281
277
  class BatchWriteException extends CloudDirectoryServiceException_1.CloudDirectoryServiceException {
282
278
  constructor(opts) {
283
279
  super({
@@ -294,11 +290,10 @@ class BatchWriteException extends CloudDirectoryServiceException_1.CloudDirector
294
290
  }
295
291
  }
296
292
  exports.BatchWriteException = BatchWriteException;
297
- var UpdateActionType;
298
- (function (UpdateActionType) {
299
- UpdateActionType["CREATE_OR_UPDATE"] = "CREATE_OR_UPDATE";
300
- UpdateActionType["DELETE"] = "DELETE";
301
- })(UpdateActionType = exports.UpdateActionType || (exports.UpdateActionType = {}));
293
+ exports.UpdateActionType = {
294
+ CREATE_OR_UPDATE: "CREATE_OR_UPDATE",
295
+ DELETE: "DELETE",
296
+ };
302
297
  class DirectoryAlreadyExistsException extends CloudDirectoryServiceException_1.CloudDirectoryServiceException {
303
298
  constructor(opts) {
304
299
  super({
@@ -313,39 +308,34 @@ class DirectoryAlreadyExistsException extends CloudDirectoryServiceException_1.C
313
308
  }
314
309
  }
315
310
  exports.DirectoryAlreadyExistsException = DirectoryAlreadyExistsException;
316
- var RuleType;
317
- (function (RuleType) {
318
- RuleType["BINARY_LENGTH"] = "BINARY_LENGTH";
319
- RuleType["NUMBER_COMPARISON"] = "NUMBER_COMPARISON";
320
- RuleType["STRING_FROM_SET"] = "STRING_FROM_SET";
321
- RuleType["STRING_LENGTH"] = "STRING_LENGTH";
322
- })(RuleType = exports.RuleType || (exports.RuleType = {}));
323
- var FacetAttributeType;
324
- (function (FacetAttributeType) {
325
- FacetAttributeType["BINARY"] = "BINARY";
326
- FacetAttributeType["BOOLEAN"] = "BOOLEAN";
327
- FacetAttributeType["DATETIME"] = "DATETIME";
328
- FacetAttributeType["NUMBER"] = "NUMBER";
329
- FacetAttributeType["STRING"] = "STRING";
330
- FacetAttributeType["VARIANT"] = "VARIANT";
331
- })(FacetAttributeType = exports.FacetAttributeType || (exports.FacetAttributeType = {}));
332
- var RequiredAttributeBehavior;
333
- (function (RequiredAttributeBehavior) {
334
- RequiredAttributeBehavior["NOT_REQUIRED"] = "NOT_REQUIRED";
335
- RequiredAttributeBehavior["REQUIRED_ALWAYS"] = "REQUIRED_ALWAYS";
336
- })(RequiredAttributeBehavior = exports.RequiredAttributeBehavior || (exports.RequiredAttributeBehavior = {}));
337
- var FacetStyle;
338
- (function (FacetStyle) {
339
- FacetStyle["DYNAMIC"] = "DYNAMIC";
340
- FacetStyle["STATIC"] = "STATIC";
341
- })(FacetStyle = exports.FacetStyle || (exports.FacetStyle = {}));
342
- var ObjectType;
343
- (function (ObjectType) {
344
- ObjectType["INDEX"] = "INDEX";
345
- ObjectType["LEAF_NODE"] = "LEAF_NODE";
346
- ObjectType["NODE"] = "NODE";
347
- ObjectType["POLICY"] = "POLICY";
348
- })(ObjectType = exports.ObjectType || (exports.ObjectType = {}));
311
+ exports.RuleType = {
312
+ BINARY_LENGTH: "BINARY_LENGTH",
313
+ NUMBER_COMPARISON: "NUMBER_COMPARISON",
314
+ STRING_FROM_SET: "STRING_FROM_SET",
315
+ STRING_LENGTH: "STRING_LENGTH",
316
+ };
317
+ exports.FacetAttributeType = {
318
+ BINARY: "BINARY",
319
+ BOOLEAN: "BOOLEAN",
320
+ DATETIME: "DATETIME",
321
+ NUMBER: "NUMBER",
322
+ STRING: "STRING",
323
+ VARIANT: "VARIANT",
324
+ };
325
+ exports.RequiredAttributeBehavior = {
326
+ NOT_REQUIRED: "NOT_REQUIRED",
327
+ REQUIRED_ALWAYS: "REQUIRED_ALWAYS",
328
+ };
329
+ exports.FacetStyle = {
330
+ DYNAMIC: "DYNAMIC",
331
+ STATIC: "STATIC",
332
+ };
333
+ exports.ObjectType = {
334
+ INDEX: "INDEX",
335
+ LEAF_NODE: "LEAF_NODE",
336
+ NODE: "NODE",
337
+ POLICY: "POLICY",
338
+ };
349
339
  class FacetAlreadyExistsException extends CloudDirectoryServiceException_1.CloudDirectoryServiceException {
350
340
  constructor(opts) {
351
341
  super({
@@ -500,12 +490,11 @@ class NotNodeException extends CloudDirectoryServiceException_1.CloudDirectorySe
500
490
  }
501
491
  }
502
492
  exports.NotNodeException = NotNodeException;
503
- var DirectoryState;
504
- (function (DirectoryState) {
505
- DirectoryState["DELETED"] = "DELETED";
506
- DirectoryState["DISABLED"] = "DISABLED";
507
- DirectoryState["ENABLED"] = "ENABLED";
508
- })(DirectoryState = exports.DirectoryState || (exports.DirectoryState = {}));
493
+ exports.DirectoryState = {
494
+ DELETED: "DELETED",
495
+ DISABLED: "DISABLED",
496
+ ENABLED: "ENABLED",
497
+ };
509
498
  class InvalidNextTokenException extends CloudDirectoryServiceException_1.CloudDirectoryServiceException {
510
499
  constructor(opts) {
511
500
  super({
@@ -210,56 +210,52 @@ export class NotIndexException extends __BaseException {
210
210
  this.Message = opts.Message;
211
211
  }
212
212
  }
213
- export var ConsistencyLevel;
214
- (function (ConsistencyLevel) {
215
- ConsistencyLevel["EVENTUAL"] = "EVENTUAL";
216
- ConsistencyLevel["SERIALIZABLE"] = "SERIALIZABLE";
217
- })(ConsistencyLevel || (ConsistencyLevel = {}));
218
- export var RangeMode;
219
- (function (RangeMode) {
220
- RangeMode["EXCLUSIVE"] = "EXCLUSIVE";
221
- RangeMode["FIRST"] = "FIRST";
222
- RangeMode["INCLUSIVE"] = "INCLUSIVE";
223
- RangeMode["LAST"] = "LAST";
224
- RangeMode["LAST_BEFORE_MISSING_VALUES"] = "LAST_BEFORE_MISSING_VALUES";
225
- })(RangeMode || (RangeMode = {}));
226
- export var BatchReadExceptionType;
227
- (function (BatchReadExceptionType) {
228
- BatchReadExceptionType["AccessDeniedException"] = "AccessDeniedException";
229
- BatchReadExceptionType["CannotListParentOfRootException"] = "CannotListParentOfRootException";
230
- BatchReadExceptionType["DirectoryNotEnabledException"] = "DirectoryNotEnabledException";
231
- BatchReadExceptionType["FacetValidationException"] = "FacetValidationException";
232
- BatchReadExceptionType["InternalServiceException"] = "InternalServiceException";
233
- BatchReadExceptionType["InvalidArnException"] = "InvalidArnException";
234
- BatchReadExceptionType["InvalidNextTokenException"] = "InvalidNextTokenException";
235
- BatchReadExceptionType["LimitExceededException"] = "LimitExceededException";
236
- BatchReadExceptionType["NotIndexException"] = "NotIndexException";
237
- BatchReadExceptionType["NotNodeException"] = "NotNodeException";
238
- BatchReadExceptionType["NotPolicyException"] = "NotPolicyException";
239
- BatchReadExceptionType["ResourceNotFoundException"] = "ResourceNotFoundException";
240
- BatchReadExceptionType["ValidationException"] = "ValidationException";
241
- })(BatchReadExceptionType || (BatchReadExceptionType = {}));
242
- export var BatchWriteExceptionType;
243
- (function (BatchWriteExceptionType) {
244
- BatchWriteExceptionType["AccessDeniedException"] = "AccessDeniedException";
245
- BatchWriteExceptionType["DirectoryNotEnabledException"] = "DirectoryNotEnabledException";
246
- BatchWriteExceptionType["FacetValidationException"] = "FacetValidationException";
247
- BatchWriteExceptionType["IndexedAttributeMissingException"] = "IndexedAttributeMissingException";
248
- BatchWriteExceptionType["InternalServiceException"] = "InternalServiceException";
249
- BatchWriteExceptionType["InvalidArnException"] = "InvalidArnException";
250
- BatchWriteExceptionType["InvalidAttachmentException"] = "InvalidAttachmentException";
251
- BatchWriteExceptionType["LimitExceededException"] = "LimitExceededException";
252
- BatchWriteExceptionType["LinkNameAlreadyInUseException"] = "LinkNameAlreadyInUseException";
253
- BatchWriteExceptionType["NotIndexException"] = "NotIndexException";
254
- BatchWriteExceptionType["NotNodeException"] = "NotNodeException";
255
- BatchWriteExceptionType["NotPolicyException"] = "NotPolicyException";
256
- BatchWriteExceptionType["ObjectAlreadyDetachedException"] = "ObjectAlreadyDetachedException";
257
- BatchWriteExceptionType["ObjectNotDetachedException"] = "ObjectNotDetachedException";
258
- BatchWriteExceptionType["ResourceNotFoundException"] = "ResourceNotFoundException";
259
- BatchWriteExceptionType["StillContainsLinksException"] = "StillContainsLinksException";
260
- BatchWriteExceptionType["UnsupportedIndexTypeException"] = "UnsupportedIndexTypeException";
261
- BatchWriteExceptionType["ValidationException"] = "ValidationException";
262
- })(BatchWriteExceptionType || (BatchWriteExceptionType = {}));
213
+ export const ConsistencyLevel = {
214
+ EVENTUAL: "EVENTUAL",
215
+ SERIALIZABLE: "SERIALIZABLE",
216
+ };
217
+ export const RangeMode = {
218
+ EXCLUSIVE: "EXCLUSIVE",
219
+ FIRST: "FIRST",
220
+ INCLUSIVE: "INCLUSIVE",
221
+ LAST: "LAST",
222
+ LAST_BEFORE_MISSING_VALUES: "LAST_BEFORE_MISSING_VALUES",
223
+ };
224
+ export const BatchReadExceptionType = {
225
+ AccessDeniedException: "AccessDeniedException",
226
+ CannotListParentOfRootException: "CannotListParentOfRootException",
227
+ DirectoryNotEnabledException: "DirectoryNotEnabledException",
228
+ FacetValidationException: "FacetValidationException",
229
+ InternalServiceException: "InternalServiceException",
230
+ InvalidArnException: "InvalidArnException",
231
+ InvalidNextTokenException: "InvalidNextTokenException",
232
+ LimitExceededException: "LimitExceededException",
233
+ NotIndexException: "NotIndexException",
234
+ NotNodeException: "NotNodeException",
235
+ NotPolicyException: "NotPolicyException",
236
+ ResourceNotFoundException: "ResourceNotFoundException",
237
+ ValidationException: "ValidationException",
238
+ };
239
+ export const BatchWriteExceptionType = {
240
+ AccessDeniedException: "AccessDeniedException",
241
+ DirectoryNotEnabledException: "DirectoryNotEnabledException",
242
+ FacetValidationException: "FacetValidationException",
243
+ IndexedAttributeMissingException: "IndexedAttributeMissingException",
244
+ InternalServiceException: "InternalServiceException",
245
+ InvalidArnException: "InvalidArnException",
246
+ InvalidAttachmentException: "InvalidAttachmentException",
247
+ LimitExceededException: "LimitExceededException",
248
+ LinkNameAlreadyInUseException: "LinkNameAlreadyInUseException",
249
+ NotIndexException: "NotIndexException",
250
+ NotNodeException: "NotNodeException",
251
+ NotPolicyException: "NotPolicyException",
252
+ ObjectAlreadyDetachedException: "ObjectAlreadyDetachedException",
253
+ ObjectNotDetachedException: "ObjectNotDetachedException",
254
+ ResourceNotFoundException: "ResourceNotFoundException",
255
+ StillContainsLinksException: "StillContainsLinksException",
256
+ UnsupportedIndexTypeException: "UnsupportedIndexTypeException",
257
+ ValidationException: "ValidationException",
258
+ };
263
259
  export class BatchWriteException extends __BaseException {
264
260
  constructor(opts) {
265
261
  super({
@@ -275,11 +271,10 @@ export class BatchWriteException extends __BaseException {
275
271
  this.Message = opts.Message;
276
272
  }
277
273
  }
278
- export var UpdateActionType;
279
- (function (UpdateActionType) {
280
- UpdateActionType["CREATE_OR_UPDATE"] = "CREATE_OR_UPDATE";
281
- UpdateActionType["DELETE"] = "DELETE";
282
- })(UpdateActionType || (UpdateActionType = {}));
274
+ export const UpdateActionType = {
275
+ CREATE_OR_UPDATE: "CREATE_OR_UPDATE",
276
+ DELETE: "DELETE",
277
+ };
283
278
  export class DirectoryAlreadyExistsException extends __BaseException {
284
279
  constructor(opts) {
285
280
  super({
@@ -293,39 +288,34 @@ export class DirectoryAlreadyExistsException extends __BaseException {
293
288
  this.Message = opts.Message;
294
289
  }
295
290
  }
296
- export var RuleType;
297
- (function (RuleType) {
298
- RuleType["BINARY_LENGTH"] = "BINARY_LENGTH";
299
- RuleType["NUMBER_COMPARISON"] = "NUMBER_COMPARISON";
300
- RuleType["STRING_FROM_SET"] = "STRING_FROM_SET";
301
- RuleType["STRING_LENGTH"] = "STRING_LENGTH";
302
- })(RuleType || (RuleType = {}));
303
- export var FacetAttributeType;
304
- (function (FacetAttributeType) {
305
- FacetAttributeType["BINARY"] = "BINARY";
306
- FacetAttributeType["BOOLEAN"] = "BOOLEAN";
307
- FacetAttributeType["DATETIME"] = "DATETIME";
308
- FacetAttributeType["NUMBER"] = "NUMBER";
309
- FacetAttributeType["STRING"] = "STRING";
310
- FacetAttributeType["VARIANT"] = "VARIANT";
311
- })(FacetAttributeType || (FacetAttributeType = {}));
312
- export var RequiredAttributeBehavior;
313
- (function (RequiredAttributeBehavior) {
314
- RequiredAttributeBehavior["NOT_REQUIRED"] = "NOT_REQUIRED";
315
- RequiredAttributeBehavior["REQUIRED_ALWAYS"] = "REQUIRED_ALWAYS";
316
- })(RequiredAttributeBehavior || (RequiredAttributeBehavior = {}));
317
- export var FacetStyle;
318
- (function (FacetStyle) {
319
- FacetStyle["DYNAMIC"] = "DYNAMIC";
320
- FacetStyle["STATIC"] = "STATIC";
321
- })(FacetStyle || (FacetStyle = {}));
322
- export var ObjectType;
323
- (function (ObjectType) {
324
- ObjectType["INDEX"] = "INDEX";
325
- ObjectType["LEAF_NODE"] = "LEAF_NODE";
326
- ObjectType["NODE"] = "NODE";
327
- ObjectType["POLICY"] = "POLICY";
328
- })(ObjectType || (ObjectType = {}));
291
+ export const RuleType = {
292
+ BINARY_LENGTH: "BINARY_LENGTH",
293
+ NUMBER_COMPARISON: "NUMBER_COMPARISON",
294
+ STRING_FROM_SET: "STRING_FROM_SET",
295
+ STRING_LENGTH: "STRING_LENGTH",
296
+ };
297
+ export const FacetAttributeType = {
298
+ BINARY: "BINARY",
299
+ BOOLEAN: "BOOLEAN",
300
+ DATETIME: "DATETIME",
301
+ NUMBER: "NUMBER",
302
+ STRING: "STRING",
303
+ VARIANT: "VARIANT",
304
+ };
305
+ export const RequiredAttributeBehavior = {
306
+ NOT_REQUIRED: "NOT_REQUIRED",
307
+ REQUIRED_ALWAYS: "REQUIRED_ALWAYS",
308
+ };
309
+ export const FacetStyle = {
310
+ DYNAMIC: "DYNAMIC",
311
+ STATIC: "STATIC",
312
+ };
313
+ export const ObjectType = {
314
+ INDEX: "INDEX",
315
+ LEAF_NODE: "LEAF_NODE",
316
+ NODE: "NODE",
317
+ POLICY: "POLICY",
318
+ };
329
319
  export class FacetAlreadyExistsException extends __BaseException {
330
320
  constructor(opts) {
331
321
  super({
@@ -469,12 +459,11 @@ export class NotNodeException extends __BaseException {
469
459
  this.Message = opts.Message;
470
460
  }
471
461
  }
472
- export var DirectoryState;
473
- (function (DirectoryState) {
474
- DirectoryState["DELETED"] = "DELETED";
475
- DirectoryState["DISABLED"] = "DISABLED";
476
- DirectoryState["ENABLED"] = "ENABLED";
477
- })(DirectoryState || (DirectoryState = {}));
462
+ export const DirectoryState = {
463
+ DELETED: "DELETED",
464
+ DISABLED: "DISABLED",
465
+ ENABLED: "ENABLED",
466
+ };
478
467
  export class InvalidNextTokenException extends __BaseException {
479
468
  constructor(opts) {
480
469
  super({
@@ -26,20 +26,20 @@ export interface AddFacetToObjectCommandOutput extends AddFacetToObjectResponse,
26
26
  * import { CloudDirectoryClient, AddFacetToObjectCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
27
27
  * // const { CloudDirectoryClient, AddFacetToObjectCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
28
28
  * const client = new CloudDirectoryClient(config);
29
- * const input = {
29
+ * const input = { // AddFacetToObjectRequest
30
30
  * DirectoryArn: "STRING_VALUE", // required
31
- * SchemaFacet: {
31
+ * SchemaFacet: { // SchemaFacet
32
32
  * SchemaArn: "STRING_VALUE",
33
33
  * FacetName: "STRING_VALUE",
34
34
  * },
35
- * ObjectAttributeList: [
36
- * {
37
- * Key: {
35
+ * ObjectAttributeList: [ // AttributeKeyAndValueList
36
+ * { // AttributeKeyAndValue
37
+ * Key: { // AttributeKey
38
38
  * SchemaArn: "STRING_VALUE", // required
39
39
  * FacetName: "STRING_VALUE", // required
40
40
  * Name: "STRING_VALUE", // required
41
41
  * },
42
- * Value: { // Union: only one key present
42
+ * Value: { // TypedAttributeValue Union: only one key present
43
43
  * StringValue: "STRING_VALUE",
44
44
  * BinaryValue: "BLOB_VALUE",
45
45
  * BooleanValue: true || false,
@@ -48,7 +48,7 @@ export interface AddFacetToObjectCommandOutput extends AddFacetToObjectResponse,
48
48
  * },
49
49
  * },
50
50
  * ],
51
- * ObjectReference: {
51
+ * ObjectReference: { // ObjectReference
52
52
  * Selector: "STRING_VALUE",
53
53
  * },
54
54
  * };
@@ -27,7 +27,7 @@ export interface ApplySchemaCommandOutput extends ApplySchemaResponse, __Metadat
27
27
  * import { CloudDirectoryClient, ApplySchemaCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
28
28
  * // const { CloudDirectoryClient, ApplySchemaCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
29
29
  * const client = new CloudDirectoryClient(config);
30
- * const input = {
30
+ * const input = { // ApplySchemaRequest
31
31
  * PublishedSchemaArn: "STRING_VALUE", // required
32
32
  * DirectoryArn: "STRING_VALUE", // required
33
33
  * };
@@ -36,9 +36,9 @@ export interface AttachObjectCommandOutput extends AttachObjectResponse, __Metad
36
36
  * import { CloudDirectoryClient, AttachObjectCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
37
37
  * // const { CloudDirectoryClient, AttachObjectCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
38
38
  * const client = new CloudDirectoryClient(config);
39
- * const input = {
39
+ * const input = { // AttachObjectRequest
40
40
  * DirectoryArn: "STRING_VALUE", // required
41
- * ParentReference: {
41
+ * ParentReference: { // ObjectReference
42
42
  * Selector: "STRING_VALUE",
43
43
  * },
44
44
  * ChildReference: {
@@ -27,9 +27,9 @@ export interface AttachPolicyCommandOutput extends AttachPolicyResponse, __Metad
27
27
  * import { CloudDirectoryClient, AttachPolicyCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
28
28
  * // const { CloudDirectoryClient, AttachPolicyCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
29
29
  * const client = new CloudDirectoryClient(config);
30
- * const input = {
30
+ * const input = { // AttachPolicyRequest
31
31
  * DirectoryArn: "STRING_VALUE", // required
32
- * PolicyReference: {
32
+ * PolicyReference: { // ObjectReference
33
33
  * Selector: "STRING_VALUE",
34
34
  * },
35
35
  * ObjectReference: {
@@ -26,9 +26,9 @@ export interface AttachToIndexCommandOutput extends AttachToIndexResponse, __Met
26
26
  * import { CloudDirectoryClient, AttachToIndexCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
27
27
  * // const { CloudDirectoryClient, AttachToIndexCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
28
28
  * const client = new CloudDirectoryClient(config);
29
- * const input = {
29
+ * const input = { // AttachToIndexRequest
30
30
  * DirectoryArn: "STRING_VALUE", // required
31
- * IndexReference: {
31
+ * IndexReference: { // ObjectReference
32
32
  * Selector: "STRING_VALUE",
33
33
  * },
34
34
  * TargetReference: {
@@ -26,22 +26,22 @@ export interface AttachTypedLinkCommandOutput extends AttachTypedLinkResponse, _
26
26
  * import { CloudDirectoryClient, AttachTypedLinkCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
27
27
  * // const { CloudDirectoryClient, AttachTypedLinkCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
28
28
  * const client = new CloudDirectoryClient(config);
29
- * const input = {
29
+ * const input = { // AttachTypedLinkRequest
30
30
  * DirectoryArn: "STRING_VALUE", // required
31
- * SourceObjectReference: {
31
+ * SourceObjectReference: { // ObjectReference
32
32
  * Selector: "STRING_VALUE",
33
33
  * },
34
34
  * TargetObjectReference: {
35
35
  * Selector: "STRING_VALUE",
36
36
  * },
37
- * TypedLinkFacet: {
37
+ * TypedLinkFacet: { // TypedLinkSchemaAndFacetName
38
38
  * SchemaArn: "STRING_VALUE", // required
39
39
  * TypedLinkName: "STRING_VALUE", // required
40
40
  * },
41
- * Attributes: [ // required
42
- * {
41
+ * Attributes: [ // AttributeNameAndValueList // required
42
+ * { // AttributeNameAndValue
43
43
  * AttributeName: "STRING_VALUE", // required
44
- * Value: { // Union: only one key present
44
+ * Value: { // TypedAttributeValue Union: only one key present
45
45
  * StringValue: "STRING_VALUE",
46
46
  * BinaryValue: "BLOB_VALUE",
47
47
  * BooleanValue: true || false,