@aws-sdk/client-clouddirectory 3.301.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.
@@ -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({
@@ -589,11 +589,16 @@ export interface AttachTypedLinkResponse {
589
589
  }
590
590
  /**
591
591
  * @public
592
+ * @enum
592
593
  */
593
- export declare enum ConsistencyLevel {
594
- EVENTUAL = "EVENTUAL",
595
- SERIALIZABLE = "SERIALIZABLE"
596
- }
594
+ export declare const ConsistencyLevel: {
595
+ readonly EVENTUAL: "EVENTUAL";
596
+ readonly SERIALIZABLE: "SERIALIZABLE";
597
+ };
598
+ /**
599
+ * @public
600
+ */
601
+ export type ConsistencyLevel = (typeof ConsistencyLevel)[keyof typeof ConsistencyLevel];
597
602
  /**
598
603
  * @public
599
604
  * <p>Retrieves attributes that are associated with a typed link inside a <a>BatchRead</a> operation. For more information, see <a>GetLinkAttributes</a> and <a>BatchReadRequest$Operations</a>.</p>
@@ -656,14 +661,19 @@ export interface BatchListAttachedIndices {
656
661
  }
657
662
  /**
658
663
  * @public
664
+ * @enum
659
665
  */
660
- export declare enum RangeMode {
661
- EXCLUSIVE = "EXCLUSIVE",
662
- FIRST = "FIRST",
663
- INCLUSIVE = "INCLUSIVE",
664
- LAST = "LAST",
665
- LAST_BEFORE_MISSING_VALUES = "LAST_BEFORE_MISSING_VALUES"
666
- }
666
+ export declare const RangeMode: {
667
+ readonly EXCLUSIVE: "EXCLUSIVE";
668
+ readonly FIRST: "FIRST";
669
+ readonly INCLUSIVE: "INCLUSIVE";
670
+ readonly LAST: "LAST";
671
+ readonly LAST_BEFORE_MISSING_VALUES: "LAST_BEFORE_MISSING_VALUES";
672
+ };
673
+ /**
674
+ * @public
675
+ */
676
+ export type RangeMode = (typeof RangeMode)[keyof typeof RangeMode];
667
677
  /**
668
678
  * @public
669
679
  * <p>A range of attribute values. For more information, see <a href="https://docs.aws.amazon.com/clouddirectory/latest/developerguide/directory_objects_range_filters.html">Range Filters</a>.</p>
@@ -1024,22 +1034,27 @@ export interface BatchReadRequest {
1024
1034
  }
1025
1035
  /**
1026
1036
  * @public
1037
+ * @enum
1027
1038
  */
1028
- export declare enum BatchReadExceptionType {
1029
- AccessDeniedException = "AccessDeniedException",
1030
- CannotListParentOfRootException = "CannotListParentOfRootException",
1031
- DirectoryNotEnabledException = "DirectoryNotEnabledException",
1032
- FacetValidationException = "FacetValidationException",
1033
- InternalServiceException = "InternalServiceException",
1034
- InvalidArnException = "InvalidArnException",
1035
- InvalidNextTokenException = "InvalidNextTokenException",
1036
- LimitExceededException = "LimitExceededException",
1037
- NotIndexException = "NotIndexException",
1038
- NotNodeException = "NotNodeException",
1039
- NotPolicyException = "NotPolicyException",
1040
- ResourceNotFoundException = "ResourceNotFoundException",
1041
- ValidationException = "ValidationException"
1042
- }
1039
+ export declare const BatchReadExceptionType: {
1040
+ readonly AccessDeniedException: "AccessDeniedException";
1041
+ readonly CannotListParentOfRootException: "CannotListParentOfRootException";
1042
+ readonly DirectoryNotEnabledException: "DirectoryNotEnabledException";
1043
+ readonly FacetValidationException: "FacetValidationException";
1044
+ readonly InternalServiceException: "InternalServiceException";
1045
+ readonly InvalidArnException: "InvalidArnException";
1046
+ readonly InvalidNextTokenException: "InvalidNextTokenException";
1047
+ readonly LimitExceededException: "LimitExceededException";
1048
+ readonly NotIndexException: "NotIndexException";
1049
+ readonly NotNodeException: "NotNodeException";
1050
+ readonly NotPolicyException: "NotPolicyException";
1051
+ readonly ResourceNotFoundException: "ResourceNotFoundException";
1052
+ readonly ValidationException: "ValidationException";
1053
+ };
1054
+ /**
1055
+ * @public
1056
+ */
1057
+ export type BatchReadExceptionType = (typeof BatchReadExceptionType)[keyof typeof BatchReadExceptionType];
1043
1058
  /**
1044
1059
  * @public
1045
1060
  * <p>The batch read exception structure, which contains the exception type and
@@ -1428,27 +1443,32 @@ export interface BatchReadResponse {
1428
1443
  }
1429
1444
  /**
1430
1445
  * @public
1446
+ * @enum
1431
1447
  */
1432
- export declare enum BatchWriteExceptionType {
1433
- AccessDeniedException = "AccessDeniedException",
1434
- DirectoryNotEnabledException = "DirectoryNotEnabledException",
1435
- FacetValidationException = "FacetValidationException",
1436
- IndexedAttributeMissingException = "IndexedAttributeMissingException",
1437
- InternalServiceException = "InternalServiceException",
1438
- InvalidArnException = "InvalidArnException",
1439
- InvalidAttachmentException = "InvalidAttachmentException",
1440
- LimitExceededException = "LimitExceededException",
1441
- LinkNameAlreadyInUseException = "LinkNameAlreadyInUseException",
1442
- NotIndexException = "NotIndexException",
1443
- NotNodeException = "NotNodeException",
1444
- NotPolicyException = "NotPolicyException",
1445
- ObjectAlreadyDetachedException = "ObjectAlreadyDetachedException",
1446
- ObjectNotDetachedException = "ObjectNotDetachedException",
1447
- ResourceNotFoundException = "ResourceNotFoundException",
1448
- StillContainsLinksException = "StillContainsLinksException",
1449
- UnsupportedIndexTypeException = "UnsupportedIndexTypeException",
1450
- ValidationException = "ValidationException"
1451
- }
1448
+ export declare const BatchWriteExceptionType: {
1449
+ readonly AccessDeniedException: "AccessDeniedException";
1450
+ readonly DirectoryNotEnabledException: "DirectoryNotEnabledException";
1451
+ readonly FacetValidationException: "FacetValidationException";
1452
+ readonly IndexedAttributeMissingException: "IndexedAttributeMissingException";
1453
+ readonly InternalServiceException: "InternalServiceException";
1454
+ readonly InvalidArnException: "InvalidArnException";
1455
+ readonly InvalidAttachmentException: "InvalidAttachmentException";
1456
+ readonly LimitExceededException: "LimitExceededException";
1457
+ readonly LinkNameAlreadyInUseException: "LinkNameAlreadyInUseException";
1458
+ readonly NotIndexException: "NotIndexException";
1459
+ readonly NotNodeException: "NotNodeException";
1460
+ readonly NotPolicyException: "NotPolicyException";
1461
+ readonly ObjectAlreadyDetachedException: "ObjectAlreadyDetachedException";
1462
+ readonly ObjectNotDetachedException: "ObjectNotDetachedException";
1463
+ readonly ResourceNotFoundException: "ResourceNotFoundException";
1464
+ readonly StillContainsLinksException: "StillContainsLinksException";
1465
+ readonly UnsupportedIndexTypeException: "UnsupportedIndexTypeException";
1466
+ readonly ValidationException: "ValidationException";
1467
+ };
1468
+ /**
1469
+ * @public
1470
+ */
1471
+ export type BatchWriteExceptionType = (typeof BatchWriteExceptionType)[keyof typeof BatchWriteExceptionType];
1452
1472
  /**
1453
1473
  * @public
1454
1474
  * <p>A <code>BatchWrite</code> exception has occurred.</p>
@@ -1690,11 +1710,16 @@ export interface BatchRemoveFacetFromObject {
1690
1710
  }
1691
1711
  /**
1692
1712
  * @public
1713
+ * @enum
1693
1714
  */
1694
- export declare enum UpdateActionType {
1695
- CREATE_OR_UPDATE = "CREATE_OR_UPDATE",
1696
- DELETE = "DELETE"
1697
- }
1715
+ export declare const UpdateActionType: {
1716
+ readonly CREATE_OR_UPDATE: "CREATE_OR_UPDATE";
1717
+ readonly DELETE: "DELETE";
1718
+ };
1719
+ /**
1720
+ * @public
1721
+ */
1722
+ export type UpdateActionType = (typeof UpdateActionType)[keyof typeof UpdateActionType];
1698
1723
  /**
1699
1724
  * @public
1700
1725
  * <p>The action to take on a typed link attribute value. Updates are only supported for attributes which don’t contribute to link identity.</p>
@@ -2114,13 +2139,18 @@ export declare class DirectoryAlreadyExistsException extends __BaseException {
2114
2139
  }
2115
2140
  /**
2116
2141
  * @public
2142
+ * @enum
2117
2143
  */
2118
- export declare enum RuleType {
2119
- BINARY_LENGTH = "BINARY_LENGTH",
2120
- NUMBER_COMPARISON = "NUMBER_COMPARISON",
2121
- STRING_FROM_SET = "STRING_FROM_SET",
2122
- STRING_LENGTH = "STRING_LENGTH"
2123
- }
2144
+ export declare const RuleType: {
2145
+ readonly BINARY_LENGTH: "BINARY_LENGTH";
2146
+ readonly NUMBER_COMPARISON: "NUMBER_COMPARISON";
2147
+ readonly STRING_FROM_SET: "STRING_FROM_SET";
2148
+ readonly STRING_LENGTH: "STRING_LENGTH";
2149
+ };
2150
+ /**
2151
+ * @public
2152
+ */
2153
+ export type RuleType = (typeof RuleType)[keyof typeof RuleType];
2124
2154
  /**
2125
2155
  * @public
2126
2156
  * <p>Contains an Amazon Resource Name (ARN) and parameters that are associated with the
@@ -2138,15 +2168,20 @@ export interface Rule {
2138
2168
  }
2139
2169
  /**
2140
2170
  * @public
2171
+ * @enum
2141
2172
  */
2142
- export declare enum FacetAttributeType {
2143
- BINARY = "BINARY",
2144
- BOOLEAN = "BOOLEAN",
2145
- DATETIME = "DATETIME",
2146
- NUMBER = "NUMBER",
2147
- STRING = "STRING",
2148
- VARIANT = "VARIANT"
2149
- }
2173
+ export declare const FacetAttributeType: {
2174
+ readonly BINARY: "BINARY";
2175
+ readonly BOOLEAN: "BOOLEAN";
2176
+ readonly DATETIME: "DATETIME";
2177
+ readonly NUMBER: "NUMBER";
2178
+ readonly STRING: "STRING";
2179
+ readonly VARIANT: "VARIANT";
2180
+ };
2181
+ /**
2182
+ * @public
2183
+ */
2184
+ export type FacetAttributeType = (typeof FacetAttributeType)[keyof typeof FacetAttributeType];
2150
2185
  /**
2151
2186
  * @public
2152
2187
  * <p>A facet attribute definition. See <a href="https://docs.aws.amazon.com/clouddirectory/latest/developerguide/schemas_attributereferences.html">Attribute References</a> for more information.</p>
@@ -2186,11 +2221,16 @@ export interface FacetAttributeReference {
2186
2221
  }
2187
2222
  /**
2188
2223
  * @public
2224
+ * @enum
2189
2225
  */
2190
- export declare enum RequiredAttributeBehavior {
2191
- NOT_REQUIRED = "NOT_REQUIRED",
2192
- REQUIRED_ALWAYS = "REQUIRED_ALWAYS"
2193
- }
2226
+ export declare const RequiredAttributeBehavior: {
2227
+ readonly NOT_REQUIRED: "NOT_REQUIRED";
2228
+ readonly REQUIRED_ALWAYS: "REQUIRED_ALWAYS";
2229
+ };
2230
+ /**
2231
+ * @public
2232
+ */
2233
+ export type RequiredAttributeBehavior = (typeof RequiredAttributeBehavior)[keyof typeof RequiredAttributeBehavior];
2194
2234
  /**
2195
2235
  * @public
2196
2236
  * <p>An attribute that is associated with the <a>Facet</a>.</p>
@@ -2216,20 +2256,30 @@ export interface FacetAttribute {
2216
2256
  }
2217
2257
  /**
2218
2258
  * @public
2259
+ * @enum
2219
2260
  */
2220
- export declare enum FacetStyle {
2221
- DYNAMIC = "DYNAMIC",
2222
- STATIC = "STATIC"
2223
- }
2261
+ export declare const FacetStyle: {
2262
+ readonly DYNAMIC: "DYNAMIC";
2263
+ readonly STATIC: "STATIC";
2264
+ };
2224
2265
  /**
2225
2266
  * @public
2226
2267
  */
2227
- export declare enum ObjectType {
2228
- INDEX = "INDEX",
2229
- LEAF_NODE = "LEAF_NODE",
2230
- NODE = "NODE",
2231
- POLICY = "POLICY"
2232
- }
2268
+ export type FacetStyle = (typeof FacetStyle)[keyof typeof FacetStyle];
2269
+ /**
2270
+ * @public
2271
+ * @enum
2272
+ */
2273
+ export declare const ObjectType: {
2274
+ readonly INDEX: "INDEX";
2275
+ readonly LEAF_NODE: "LEAF_NODE";
2276
+ readonly NODE: "NODE";
2277
+ readonly POLICY: "POLICY";
2278
+ };
2279
+ /**
2280
+ * @public
2281
+ */
2282
+ export type ObjectType = (typeof ObjectType)[keyof typeof ObjectType];
2233
2283
  /**
2234
2284
  * @public
2235
2285
  */
@@ -2845,12 +2895,17 @@ export interface GetDirectoryRequest {
2845
2895
  }
2846
2896
  /**
2847
2897
  * @public
2898
+ * @enum
2848
2899
  */
2849
- export declare enum DirectoryState {
2850
- DELETED = "DELETED",
2851
- DISABLED = "DISABLED",
2852
- ENABLED = "ENABLED"
2853
- }
2900
+ export declare const DirectoryState: {
2901
+ readonly DELETED: "DELETED";
2902
+ readonly DISABLED: "DISABLED";
2903
+ readonly ENABLED: "ENABLED";
2904
+ };
2905
+ /**
2906
+ * @public
2907
+ */
2908
+ export type DirectoryState = (typeof DirectoryState)[keyof typeof DirectoryState];
2854
2909
  /**
2855
2910
  * @public
2856
2911
  * <p>Directory structure that includes the directory name and directory ARN.</p>
@@ -263,10 +263,12 @@ export interface TypedLinkSpecifier {
263
263
  export interface AttachTypedLinkResponse {
264
264
  TypedLinkSpecifier?: TypedLinkSpecifier;
265
265
  }
266
- export declare enum ConsistencyLevel {
267
- EVENTUAL = "EVENTUAL",
268
- SERIALIZABLE = "SERIALIZABLE",
269
- }
266
+ export declare const ConsistencyLevel: {
267
+ readonly EVENTUAL: "EVENTUAL";
268
+ readonly SERIALIZABLE: "SERIALIZABLE";
269
+ };
270
+ export type ConsistencyLevel =
271
+ (typeof ConsistencyLevel)[keyof typeof ConsistencyLevel];
270
272
  export interface BatchGetLinkAttributes {
271
273
  TypedLinkSpecifier: TypedLinkSpecifier | undefined;
272
274
  AttributeNames: string[] | undefined;
@@ -284,13 +286,14 @@ export interface BatchListAttachedIndices {
284
286
  NextToken?: string;
285
287
  MaxResults?: number;
286
288
  }
287
- export declare enum RangeMode {
288
- EXCLUSIVE = "EXCLUSIVE",
289
- FIRST = "FIRST",
290
- INCLUSIVE = "INCLUSIVE",
291
- LAST = "LAST",
292
- LAST_BEFORE_MISSING_VALUES = "LAST_BEFORE_MISSING_VALUES",
293
- }
289
+ export declare const RangeMode: {
290
+ readonly EXCLUSIVE: "EXCLUSIVE";
291
+ readonly FIRST: "FIRST";
292
+ readonly INCLUSIVE: "INCLUSIVE";
293
+ readonly LAST: "LAST";
294
+ readonly LAST_BEFORE_MISSING_VALUES: "LAST_BEFORE_MISSING_VALUES";
295
+ };
296
+ export type RangeMode = (typeof RangeMode)[keyof typeof RangeMode];
294
297
  export interface TypedAttributeValueRange {
295
298
  StartMode: RangeMode | string | undefined;
296
299
  StartValue?: TypedAttributeValue;
@@ -382,21 +385,23 @@ export interface BatchReadRequest {
382
385
  Operations: BatchReadOperation[] | undefined;
383
386
  ConsistencyLevel?: ConsistencyLevel | string;
384
387
  }
385
- export declare enum BatchReadExceptionType {
386
- AccessDeniedException = "AccessDeniedException",
387
- CannotListParentOfRootException = "CannotListParentOfRootException",
388
- DirectoryNotEnabledException = "DirectoryNotEnabledException",
389
- FacetValidationException = "FacetValidationException",
390
- InternalServiceException = "InternalServiceException",
391
- InvalidArnException = "InvalidArnException",
392
- InvalidNextTokenException = "InvalidNextTokenException",
393
- LimitExceededException = "LimitExceededException",
394
- NotIndexException = "NotIndexException",
395
- NotNodeException = "NotNodeException",
396
- NotPolicyException = "NotPolicyException",
397
- ResourceNotFoundException = "ResourceNotFoundException",
398
- ValidationException = "ValidationException",
399
- }
388
+ export declare const BatchReadExceptionType: {
389
+ readonly AccessDeniedException: "AccessDeniedException";
390
+ readonly CannotListParentOfRootException: "CannotListParentOfRootException";
391
+ readonly DirectoryNotEnabledException: "DirectoryNotEnabledException";
392
+ readonly FacetValidationException: "FacetValidationException";
393
+ readonly InternalServiceException: "InternalServiceException";
394
+ readonly InvalidArnException: "InvalidArnException";
395
+ readonly InvalidNextTokenException: "InvalidNextTokenException";
396
+ readonly LimitExceededException: "LimitExceededException";
397
+ readonly NotIndexException: "NotIndexException";
398
+ readonly NotNodeException: "NotNodeException";
399
+ readonly NotPolicyException: "NotPolicyException";
400
+ readonly ResourceNotFoundException: "ResourceNotFoundException";
401
+ readonly ValidationException: "ValidationException";
402
+ };
403
+ export type BatchReadExceptionType =
404
+ (typeof BatchReadExceptionType)[keyof typeof BatchReadExceptionType];
400
405
  export interface BatchReadException {
401
406
  Type?: BatchReadExceptionType | string;
402
407
  Message?: string;
@@ -499,26 +504,28 @@ export interface BatchReadOperationResponse {
499
504
  export interface BatchReadResponse {
500
505
  Responses?: BatchReadOperationResponse[];
501
506
  }
502
- export declare enum BatchWriteExceptionType {
503
- AccessDeniedException = "AccessDeniedException",
504
- DirectoryNotEnabledException = "DirectoryNotEnabledException",
505
- FacetValidationException = "FacetValidationException",
506
- IndexedAttributeMissingException = "IndexedAttributeMissingException",
507
- InternalServiceException = "InternalServiceException",
508
- InvalidArnException = "InvalidArnException",
509
- InvalidAttachmentException = "InvalidAttachmentException",
510
- LimitExceededException = "LimitExceededException",
511
- LinkNameAlreadyInUseException = "LinkNameAlreadyInUseException",
512
- NotIndexException = "NotIndexException",
513
- NotNodeException = "NotNodeException",
514
- NotPolicyException = "NotPolicyException",
515
- ObjectAlreadyDetachedException = "ObjectAlreadyDetachedException",
516
- ObjectNotDetachedException = "ObjectNotDetachedException",
517
- ResourceNotFoundException = "ResourceNotFoundException",
518
- StillContainsLinksException = "StillContainsLinksException",
519
- UnsupportedIndexTypeException = "UnsupportedIndexTypeException",
520
- ValidationException = "ValidationException",
521
- }
507
+ export declare const BatchWriteExceptionType: {
508
+ readonly AccessDeniedException: "AccessDeniedException";
509
+ readonly DirectoryNotEnabledException: "DirectoryNotEnabledException";
510
+ readonly FacetValidationException: "FacetValidationException";
511
+ readonly IndexedAttributeMissingException: "IndexedAttributeMissingException";
512
+ readonly InternalServiceException: "InternalServiceException";
513
+ readonly InvalidArnException: "InvalidArnException";
514
+ readonly InvalidAttachmentException: "InvalidAttachmentException";
515
+ readonly LimitExceededException: "LimitExceededException";
516
+ readonly LinkNameAlreadyInUseException: "LinkNameAlreadyInUseException";
517
+ readonly NotIndexException: "NotIndexException";
518
+ readonly NotNodeException: "NotNodeException";
519
+ readonly NotPolicyException: "NotPolicyException";
520
+ readonly ObjectAlreadyDetachedException: "ObjectAlreadyDetachedException";
521
+ readonly ObjectNotDetachedException: "ObjectNotDetachedException";
522
+ readonly ResourceNotFoundException: "ResourceNotFoundException";
523
+ readonly StillContainsLinksException: "StillContainsLinksException";
524
+ readonly UnsupportedIndexTypeException: "UnsupportedIndexTypeException";
525
+ readonly ValidationException: "ValidationException";
526
+ };
527
+ export type BatchWriteExceptionType =
528
+ (typeof BatchWriteExceptionType)[keyof typeof BatchWriteExceptionType];
522
529
  export declare class BatchWriteException extends __BaseException {
523
530
  readonly name: "BatchWriteException";
524
531
  readonly $fault: "client";
@@ -590,10 +597,12 @@ export interface BatchRemoveFacetFromObject {
590
597
  SchemaFacet: SchemaFacet | undefined;
591
598
  ObjectReference: ObjectReference | undefined;
592
599
  }
593
- export declare enum UpdateActionType {
594
- CREATE_OR_UPDATE = "CREATE_OR_UPDATE",
595
- DELETE = "DELETE",
596
- }
600
+ export declare const UpdateActionType: {
601
+ readonly CREATE_OR_UPDATE: "CREATE_OR_UPDATE";
602
+ readonly DELETE: "DELETE";
603
+ };
604
+ export type UpdateActionType =
605
+ (typeof UpdateActionType)[keyof typeof UpdateActionType];
597
606
  export interface LinkAttributeAction {
598
607
  AttributeActionType?: UpdateActionType | string;
599
608
  AttributeUpdateValue?: TypedAttributeValue;
@@ -711,24 +720,27 @@ export declare class DirectoryAlreadyExistsException extends __BaseException {
711
720
  >
712
721
  );
713
722
  }
714
- export declare enum RuleType {
715
- BINARY_LENGTH = "BINARY_LENGTH",
716
- NUMBER_COMPARISON = "NUMBER_COMPARISON",
717
- STRING_FROM_SET = "STRING_FROM_SET",
718
- STRING_LENGTH = "STRING_LENGTH",
719
- }
723
+ export declare const RuleType: {
724
+ readonly BINARY_LENGTH: "BINARY_LENGTH";
725
+ readonly NUMBER_COMPARISON: "NUMBER_COMPARISON";
726
+ readonly STRING_FROM_SET: "STRING_FROM_SET";
727
+ readonly STRING_LENGTH: "STRING_LENGTH";
728
+ };
729
+ export type RuleType = (typeof RuleType)[keyof typeof RuleType];
720
730
  export interface Rule {
721
731
  Type?: RuleType | string;
722
732
  Parameters?: Record<string, string>;
723
733
  }
724
- export declare enum FacetAttributeType {
725
- BINARY = "BINARY",
726
- BOOLEAN = "BOOLEAN",
727
- DATETIME = "DATETIME",
728
- NUMBER = "NUMBER",
729
- STRING = "STRING",
730
- VARIANT = "VARIANT",
731
- }
734
+ export declare const FacetAttributeType: {
735
+ readonly BINARY: "BINARY";
736
+ readonly BOOLEAN: "BOOLEAN";
737
+ readonly DATETIME: "DATETIME";
738
+ readonly NUMBER: "NUMBER";
739
+ readonly STRING: "STRING";
740
+ readonly VARIANT: "VARIANT";
741
+ };
742
+ export type FacetAttributeType =
743
+ (typeof FacetAttributeType)[keyof typeof FacetAttributeType];
732
744
  export interface FacetAttributeDefinition {
733
745
  Type: FacetAttributeType | string | undefined;
734
746
  DefaultValue?: TypedAttributeValue;
@@ -739,26 +751,30 @@ export interface FacetAttributeReference {
739
751
  TargetFacetName: string | undefined;
740
752
  TargetAttributeName: string | undefined;
741
753
  }
742
- export declare enum RequiredAttributeBehavior {
743
- NOT_REQUIRED = "NOT_REQUIRED",
744
- REQUIRED_ALWAYS = "REQUIRED_ALWAYS",
745
- }
754
+ export declare const RequiredAttributeBehavior: {
755
+ readonly NOT_REQUIRED: "NOT_REQUIRED";
756
+ readonly REQUIRED_ALWAYS: "REQUIRED_ALWAYS";
757
+ };
758
+ export type RequiredAttributeBehavior =
759
+ (typeof RequiredAttributeBehavior)[keyof typeof RequiredAttributeBehavior];
746
760
  export interface FacetAttribute {
747
761
  Name: string | undefined;
748
762
  AttributeDefinition?: FacetAttributeDefinition;
749
763
  AttributeReference?: FacetAttributeReference;
750
764
  RequiredBehavior?: RequiredAttributeBehavior | string;
751
765
  }
752
- export declare enum FacetStyle {
753
- DYNAMIC = "DYNAMIC",
754
- STATIC = "STATIC",
755
- }
756
- export declare enum ObjectType {
757
- INDEX = "INDEX",
758
- LEAF_NODE = "LEAF_NODE",
759
- NODE = "NODE",
760
- POLICY = "POLICY",
761
- }
766
+ export declare const FacetStyle: {
767
+ readonly DYNAMIC: "DYNAMIC";
768
+ readonly STATIC: "STATIC";
769
+ };
770
+ export type FacetStyle = (typeof FacetStyle)[keyof typeof FacetStyle];
771
+ export declare const ObjectType: {
772
+ readonly INDEX: "INDEX";
773
+ readonly LEAF_NODE: "LEAF_NODE";
774
+ readonly NODE: "NODE";
775
+ readonly POLICY: "POLICY";
776
+ };
777
+ export type ObjectType = (typeof ObjectType)[keyof typeof ObjectType];
762
778
  export interface CreateFacetRequest {
763
779
  SchemaArn: string | undefined;
764
780
  Name: string | undefined;
@@ -971,11 +987,13 @@ export interface GetAppliedSchemaVersionResponse {
971
987
  export interface GetDirectoryRequest {
972
988
  DirectoryArn: string | undefined;
973
989
  }
974
- export declare enum DirectoryState {
975
- DELETED = "DELETED",
976
- DISABLED = "DISABLED",
977
- ENABLED = "ENABLED",
978
- }
990
+ export declare const DirectoryState: {
991
+ readonly DELETED: "DELETED";
992
+ readonly DISABLED: "DISABLED";
993
+ readonly ENABLED: "ENABLED";
994
+ };
995
+ export type DirectoryState =
996
+ (typeof DirectoryState)[keyof typeof DirectoryState];
979
997
  export interface Directory {
980
998
  Name?: string;
981
999
  DirectoryArn?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-clouddirectory",
3
3
  "description": "AWS SDK for JavaScript Clouddirectory Client for Node.js, Browser and React Native",
4
- "version": "3.301.0",
4
+ "version": "3.303.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,42 +21,42 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.301.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.301.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
60
60
  "@tsconfig/node14": "1.0.3",
61
61
  "@types/node": "^14.14.31",
62
62
  "concurrently": "7.0.0",