@aws-sdk/client-clouddirectory 3.687.0 → 3.691.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.
@@ -3,7 +3,7 @@ import { CloudDirectoryServiceException as __BaseException } from "./CloudDirect
3
3
  export declare class AccessDeniedException extends __BaseException {
4
4
  readonly name: "AccessDeniedException";
5
5
  readonly $fault: "client";
6
- Message?: string;
6
+ Message?: string | undefined;
7
7
  constructor(
8
8
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
9
  );
@@ -84,23 +84,23 @@ export interface AttributeKeyAndValue {
84
84
  Value: TypedAttributeValue | undefined;
85
85
  }
86
86
  export interface ObjectReference {
87
- Selector?: string;
87
+ Selector?: string | undefined;
88
88
  }
89
89
  export interface SchemaFacet {
90
- SchemaArn?: string;
91
- FacetName?: string;
90
+ SchemaArn?: string | undefined;
91
+ FacetName?: string | undefined;
92
92
  }
93
93
  export interface AddFacetToObjectRequest {
94
94
  DirectoryArn: string | undefined;
95
95
  SchemaFacet: SchemaFacet | undefined;
96
- ObjectAttributeList?: AttributeKeyAndValue[];
96
+ ObjectAttributeList?: AttributeKeyAndValue[] | undefined;
97
97
  ObjectReference: ObjectReference | undefined;
98
98
  }
99
99
  export interface AddFacetToObjectResponse {}
100
100
  export declare class DirectoryNotEnabledException extends __BaseException {
101
101
  readonly name: "DirectoryNotEnabledException";
102
102
  readonly $fault: "client";
103
- Message?: string;
103
+ Message?: string | undefined;
104
104
  constructor(
105
105
  opts: __ExceptionOptionType<DirectoryNotEnabledException, __BaseException>
106
106
  );
@@ -108,7 +108,7 @@ export declare class DirectoryNotEnabledException extends __BaseException {
108
108
  export declare class FacetValidationException extends __BaseException {
109
109
  readonly name: "FacetValidationException";
110
110
  readonly $fault: "client";
111
- Message?: string;
111
+ Message?: string | undefined;
112
112
  constructor(
113
113
  opts: __ExceptionOptionType<FacetValidationException, __BaseException>
114
114
  );
@@ -116,7 +116,7 @@ export declare class FacetValidationException extends __BaseException {
116
116
  export declare class InternalServiceException extends __BaseException {
117
117
  readonly name: "InternalServiceException";
118
118
  readonly $fault: "server";
119
- Message?: string;
119
+ Message?: string | undefined;
120
120
  constructor(
121
121
  opts: __ExceptionOptionType<InternalServiceException, __BaseException>
122
122
  );
@@ -124,7 +124,7 @@ export declare class InternalServiceException extends __BaseException {
124
124
  export declare class InvalidArnException extends __BaseException {
125
125
  readonly name: "InvalidArnException";
126
126
  readonly $fault: "client";
127
- Message?: string;
127
+ Message?: string | undefined;
128
128
  constructor(
129
129
  opts: __ExceptionOptionType<InvalidArnException, __BaseException>
130
130
  );
@@ -132,7 +132,7 @@ export declare class InvalidArnException extends __BaseException {
132
132
  export declare class LimitExceededException extends __BaseException {
133
133
  readonly name: "LimitExceededException";
134
134
  readonly $fault: "client";
135
- Message?: string;
135
+ Message?: string | undefined;
136
136
  constructor(
137
137
  opts: __ExceptionOptionType<LimitExceededException, __BaseException>
138
138
  );
@@ -140,7 +140,7 @@ export declare class LimitExceededException extends __BaseException {
140
140
  export declare class ResourceNotFoundException extends __BaseException {
141
141
  readonly name: "ResourceNotFoundException";
142
142
  readonly $fault: "client";
143
- Message?: string;
143
+ Message?: string | undefined;
144
144
  constructor(
145
145
  opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
146
146
  );
@@ -148,7 +148,7 @@ export declare class ResourceNotFoundException extends __BaseException {
148
148
  export declare class RetryableConflictException extends __BaseException {
149
149
  readonly name: "RetryableConflictException";
150
150
  readonly $fault: "client";
151
- Message?: string;
151
+ Message?: string | undefined;
152
152
  constructor(
153
153
  opts: __ExceptionOptionType<RetryableConflictException, __BaseException>
154
154
  );
@@ -156,7 +156,7 @@ export declare class RetryableConflictException extends __BaseException {
156
156
  export declare class ValidationException extends __BaseException {
157
157
  readonly name: "ValidationException";
158
158
  readonly $fault: "client";
159
- Message?: string;
159
+ Message?: string | undefined;
160
160
  constructor(
161
161
  opts: __ExceptionOptionType<ValidationException, __BaseException>
162
162
  );
@@ -166,13 +166,13 @@ export interface ApplySchemaRequest {
166
166
  DirectoryArn: string | undefined;
167
167
  }
168
168
  export interface ApplySchemaResponse {
169
- AppliedSchemaArn?: string;
170
- DirectoryArn?: string;
169
+ AppliedSchemaArn?: string | undefined;
170
+ DirectoryArn?: string | undefined;
171
171
  }
172
172
  export declare class InvalidAttachmentException extends __BaseException {
173
173
  readonly name: "InvalidAttachmentException";
174
174
  readonly $fault: "client";
175
- Message?: string;
175
+ Message?: string | undefined;
176
176
  constructor(
177
177
  opts: __ExceptionOptionType<InvalidAttachmentException, __BaseException>
178
178
  );
@@ -180,7 +180,7 @@ export declare class InvalidAttachmentException extends __BaseException {
180
180
  export declare class SchemaAlreadyExistsException extends __BaseException {
181
181
  readonly name: "SchemaAlreadyExistsException";
182
182
  readonly $fault: "client";
183
- Message?: string;
183
+ Message?: string | undefined;
184
184
  constructor(
185
185
  opts: __ExceptionOptionType<SchemaAlreadyExistsException, __BaseException>
186
186
  );
@@ -192,12 +192,12 @@ export interface AttachObjectRequest {
192
192
  LinkName: string | undefined;
193
193
  }
194
194
  export interface AttachObjectResponse {
195
- AttachedObjectIdentifier?: string;
195
+ AttachedObjectIdentifier?: string | undefined;
196
196
  }
197
197
  export declare class LinkNameAlreadyInUseException extends __BaseException {
198
198
  readonly name: "LinkNameAlreadyInUseException";
199
199
  readonly $fault: "client";
200
- Message?: string;
200
+ Message?: string | undefined;
201
201
  constructor(
202
202
  opts: __ExceptionOptionType<LinkNameAlreadyInUseException, __BaseException>
203
203
  );
@@ -211,7 +211,7 @@ export interface AttachPolicyResponse {}
211
211
  export declare class NotPolicyException extends __BaseException {
212
212
  readonly name: "NotPolicyException";
213
213
  readonly $fault: "client";
214
- Message?: string;
214
+ Message?: string | undefined;
215
215
  constructor(opts: __ExceptionOptionType<NotPolicyException, __BaseException>);
216
216
  }
217
217
  export interface AttachToIndexRequest {
@@ -220,12 +220,12 @@ export interface AttachToIndexRequest {
220
220
  TargetReference: ObjectReference | undefined;
221
221
  }
222
222
  export interface AttachToIndexResponse {
223
- AttachedObjectIdentifier?: string;
223
+ AttachedObjectIdentifier?: string | undefined;
224
224
  }
225
225
  export declare class IndexedAttributeMissingException extends __BaseException {
226
226
  readonly name: "IndexedAttributeMissingException";
227
227
  readonly $fault: "client";
228
- Message?: string;
228
+ Message?: string | undefined;
229
229
  constructor(
230
230
  opts: __ExceptionOptionType<
231
231
  IndexedAttributeMissingException,
@@ -236,7 +236,7 @@ export declare class IndexedAttributeMissingException extends __BaseException {
236
236
  export declare class NotIndexException extends __BaseException {
237
237
  readonly name: "NotIndexException";
238
238
  readonly $fault: "client";
239
- Message?: string;
239
+ Message?: string | undefined;
240
240
  constructor(opts: __ExceptionOptionType<NotIndexException, __BaseException>);
241
241
  }
242
242
  export interface AttributeNameAndValue {
@@ -261,7 +261,7 @@ export interface TypedLinkSpecifier {
261
261
  IdentityAttributeValues: AttributeNameAndValue[] | undefined;
262
262
  }
263
263
  export interface AttachTypedLinkResponse {
264
- TypedLinkSpecifier?: TypedLinkSpecifier;
264
+ TypedLinkSpecifier?: TypedLinkSpecifier | undefined;
265
265
  }
266
266
  export declare const ConsistencyLevel: {
267
267
  readonly EVENTUAL: "EVENTUAL";
@@ -283,8 +283,8 @@ export interface BatchGetObjectInformation {
283
283
  }
284
284
  export interface BatchListAttachedIndices {
285
285
  TargetReference: ObjectReference | undefined;
286
- NextToken?: string;
287
- MaxResults?: number;
286
+ NextToken?: string | undefined;
287
+ MaxResults?: number | undefined;
288
288
  }
289
289
  export declare const RangeMode: {
290
290
  readonly EXCLUSIVE: "EXCLUSIVE";
@@ -296,94 +296,94 @@ export declare const RangeMode: {
296
296
  export type RangeMode = (typeof RangeMode)[keyof typeof RangeMode];
297
297
  export interface TypedAttributeValueRange {
298
298
  StartMode: RangeMode | undefined;
299
- StartValue?: TypedAttributeValue;
299
+ StartValue?: TypedAttributeValue | undefined;
300
300
  EndMode: RangeMode | undefined;
301
- EndValue?: TypedAttributeValue;
301
+ EndValue?: TypedAttributeValue | undefined;
302
302
  }
303
303
  export interface TypedLinkAttributeRange {
304
- AttributeName?: string;
304
+ AttributeName?: string | undefined;
305
305
  Range: TypedAttributeValueRange | undefined;
306
306
  }
307
307
  export interface BatchListIncomingTypedLinks {
308
308
  ObjectReference: ObjectReference | undefined;
309
- FilterAttributeRanges?: TypedLinkAttributeRange[];
310
- FilterTypedLink?: TypedLinkSchemaAndFacetName;
311
- NextToken?: string;
312
- MaxResults?: number;
309
+ FilterAttributeRanges?: TypedLinkAttributeRange[] | undefined;
310
+ FilterTypedLink?: TypedLinkSchemaAndFacetName | undefined;
311
+ NextToken?: string | undefined;
312
+ MaxResults?: number | undefined;
313
313
  }
314
314
  export interface ObjectAttributeRange {
315
- AttributeKey?: AttributeKey;
316
- Range?: TypedAttributeValueRange;
315
+ AttributeKey?: AttributeKey | undefined;
316
+ Range?: TypedAttributeValueRange | undefined;
317
317
  }
318
318
  export interface BatchListIndex {
319
- RangesOnIndexedValues?: ObjectAttributeRange[];
319
+ RangesOnIndexedValues?: ObjectAttributeRange[] | undefined;
320
320
  IndexReference: ObjectReference | undefined;
321
- MaxResults?: number;
322
- NextToken?: string;
321
+ MaxResults?: number | undefined;
322
+ NextToken?: string | undefined;
323
323
  }
324
324
  export interface BatchListObjectAttributes {
325
325
  ObjectReference: ObjectReference | undefined;
326
- NextToken?: string;
327
- MaxResults?: number;
328
- FacetFilter?: SchemaFacet;
326
+ NextToken?: string | undefined;
327
+ MaxResults?: number | undefined;
328
+ FacetFilter?: SchemaFacet | undefined;
329
329
  }
330
330
  export interface BatchListObjectChildren {
331
331
  ObjectReference: ObjectReference | undefined;
332
- NextToken?: string;
333
- MaxResults?: number;
332
+ NextToken?: string | undefined;
333
+ MaxResults?: number | undefined;
334
334
  }
335
335
  export interface BatchListObjectParentPaths {
336
336
  ObjectReference: ObjectReference | undefined;
337
- NextToken?: string;
338
- MaxResults?: number;
337
+ NextToken?: string | undefined;
338
+ MaxResults?: number | undefined;
339
339
  }
340
340
  export interface BatchListObjectParents {
341
341
  ObjectReference: ObjectReference | undefined;
342
- NextToken?: string;
343
- MaxResults?: number;
342
+ NextToken?: string | undefined;
343
+ MaxResults?: number | undefined;
344
344
  }
345
345
  export interface BatchListObjectPolicies {
346
346
  ObjectReference: ObjectReference | undefined;
347
- NextToken?: string;
348
- MaxResults?: number;
347
+ NextToken?: string | undefined;
348
+ MaxResults?: number | undefined;
349
349
  }
350
350
  export interface BatchListOutgoingTypedLinks {
351
351
  ObjectReference: ObjectReference | undefined;
352
- FilterAttributeRanges?: TypedLinkAttributeRange[];
353
- FilterTypedLink?: TypedLinkSchemaAndFacetName;
354
- NextToken?: string;
355
- MaxResults?: number;
352
+ FilterAttributeRanges?: TypedLinkAttributeRange[] | undefined;
353
+ FilterTypedLink?: TypedLinkSchemaAndFacetName | undefined;
354
+ NextToken?: string | undefined;
355
+ MaxResults?: number | undefined;
356
356
  }
357
357
  export interface BatchListPolicyAttachments {
358
358
  PolicyReference: ObjectReference | undefined;
359
- NextToken?: string;
360
- MaxResults?: number;
359
+ NextToken?: string | undefined;
360
+ MaxResults?: number | undefined;
361
361
  }
362
362
  export interface BatchLookupPolicy {
363
363
  ObjectReference: ObjectReference | undefined;
364
- NextToken?: string;
365
- MaxResults?: number;
364
+ NextToken?: string | undefined;
365
+ MaxResults?: number | undefined;
366
366
  }
367
367
  export interface BatchReadOperation {
368
- ListObjectAttributes?: BatchListObjectAttributes;
369
- ListObjectChildren?: BatchListObjectChildren;
370
- ListAttachedIndices?: BatchListAttachedIndices;
371
- ListObjectParentPaths?: BatchListObjectParentPaths;
372
- GetObjectInformation?: BatchGetObjectInformation;
373
- GetObjectAttributes?: BatchGetObjectAttributes;
374
- ListObjectParents?: BatchListObjectParents;
375
- ListObjectPolicies?: BatchListObjectPolicies;
376
- ListPolicyAttachments?: BatchListPolicyAttachments;
377
- LookupPolicy?: BatchLookupPolicy;
378
- ListIndex?: BatchListIndex;
379
- ListOutgoingTypedLinks?: BatchListOutgoingTypedLinks;
380
- ListIncomingTypedLinks?: BatchListIncomingTypedLinks;
381
- GetLinkAttributes?: BatchGetLinkAttributes;
368
+ ListObjectAttributes?: BatchListObjectAttributes | undefined;
369
+ ListObjectChildren?: BatchListObjectChildren | undefined;
370
+ ListAttachedIndices?: BatchListAttachedIndices | undefined;
371
+ ListObjectParentPaths?: BatchListObjectParentPaths | undefined;
372
+ GetObjectInformation?: BatchGetObjectInformation | undefined;
373
+ GetObjectAttributes?: BatchGetObjectAttributes | undefined;
374
+ ListObjectParents?: BatchListObjectParents | undefined;
375
+ ListObjectPolicies?: BatchListObjectPolicies | undefined;
376
+ ListPolicyAttachments?: BatchListPolicyAttachments | undefined;
377
+ LookupPolicy?: BatchLookupPolicy | undefined;
378
+ ListIndex?: BatchListIndex | undefined;
379
+ ListOutgoingTypedLinks?: BatchListOutgoingTypedLinks | undefined;
380
+ ListIncomingTypedLinks?: BatchListIncomingTypedLinks | undefined;
381
+ GetLinkAttributes?: BatchGetLinkAttributes | undefined;
382
382
  }
383
383
  export interface BatchReadRequest {
384
384
  DirectoryArn: string | undefined;
385
385
  Operations: BatchReadOperation[] | undefined;
386
- ConsistencyLevel?: ConsistencyLevel;
386
+ ConsistencyLevel?: ConsistencyLevel | undefined;
387
387
  }
388
388
  export declare const BatchReadExceptionType: {
389
389
  readonly AccessDeniedException: "AccessDeniedException";
@@ -403,106 +403,106 @@ export declare const BatchReadExceptionType: {
403
403
  export type BatchReadExceptionType =
404
404
  (typeof BatchReadExceptionType)[keyof typeof BatchReadExceptionType];
405
405
  export interface BatchReadException {
406
- Type?: BatchReadExceptionType;
407
- Message?: string;
406
+ Type?: BatchReadExceptionType | undefined;
407
+ Message?: string | undefined;
408
408
  }
409
409
  export interface BatchGetLinkAttributesResponse {
410
- Attributes?: AttributeKeyAndValue[];
410
+ Attributes?: AttributeKeyAndValue[] | undefined;
411
411
  }
412
412
  export interface BatchGetObjectAttributesResponse {
413
- Attributes?: AttributeKeyAndValue[];
413
+ Attributes?: AttributeKeyAndValue[] | undefined;
414
414
  }
415
415
  export interface BatchGetObjectInformationResponse {
416
- SchemaFacets?: SchemaFacet[];
417
- ObjectIdentifier?: string;
416
+ SchemaFacets?: SchemaFacet[] | undefined;
417
+ ObjectIdentifier?: string | undefined;
418
418
  }
419
419
  export interface IndexAttachment {
420
- IndexedAttributes?: AttributeKeyAndValue[];
421
- ObjectIdentifier?: string;
420
+ IndexedAttributes?: AttributeKeyAndValue[] | undefined;
421
+ ObjectIdentifier?: string | undefined;
422
422
  }
423
423
  export interface BatchListAttachedIndicesResponse {
424
- IndexAttachments?: IndexAttachment[];
425
- NextToken?: string;
424
+ IndexAttachments?: IndexAttachment[] | undefined;
425
+ NextToken?: string | undefined;
426
426
  }
427
427
  export interface BatchListIncomingTypedLinksResponse {
428
- LinkSpecifiers?: TypedLinkSpecifier[];
429
- NextToken?: string;
428
+ LinkSpecifiers?: TypedLinkSpecifier[] | undefined;
429
+ NextToken?: string | undefined;
430
430
  }
431
431
  export interface BatchListIndexResponse {
432
- IndexAttachments?: IndexAttachment[];
433
- NextToken?: string;
432
+ IndexAttachments?: IndexAttachment[] | undefined;
433
+ NextToken?: string | undefined;
434
434
  }
435
435
  export interface BatchListObjectAttributesResponse {
436
- Attributes?: AttributeKeyAndValue[];
437
- NextToken?: string;
436
+ Attributes?: AttributeKeyAndValue[] | undefined;
437
+ NextToken?: string | undefined;
438
438
  }
439
439
  export interface BatchListObjectChildrenResponse {
440
- Children?: Record<string, string>;
441
- NextToken?: string;
440
+ Children?: Record<string, string> | undefined;
441
+ NextToken?: string | undefined;
442
442
  }
443
443
  export interface PathToObjectIdentifiers {
444
- Path?: string;
445
- ObjectIdentifiers?: string[];
444
+ Path?: string | undefined;
445
+ ObjectIdentifiers?: string[] | undefined;
446
446
  }
447
447
  export interface BatchListObjectParentPathsResponse {
448
- PathToObjectIdentifiersList?: PathToObjectIdentifiers[];
449
- NextToken?: string;
448
+ PathToObjectIdentifiersList?: PathToObjectIdentifiers[] | undefined;
449
+ NextToken?: string | undefined;
450
450
  }
451
451
  export interface ObjectIdentifierAndLinkNameTuple {
452
- ObjectIdentifier?: string;
453
- LinkName?: string;
452
+ ObjectIdentifier?: string | undefined;
453
+ LinkName?: string | undefined;
454
454
  }
455
455
  export interface BatchListObjectParentsResponse {
456
- ParentLinks?: ObjectIdentifierAndLinkNameTuple[];
457
- NextToken?: string;
456
+ ParentLinks?: ObjectIdentifierAndLinkNameTuple[] | undefined;
457
+ NextToken?: string | undefined;
458
458
  }
459
459
  export interface BatchListObjectPoliciesResponse {
460
- AttachedPolicyIds?: string[];
461
- NextToken?: string;
460
+ AttachedPolicyIds?: string[] | undefined;
461
+ NextToken?: string | undefined;
462
462
  }
463
463
  export interface BatchListOutgoingTypedLinksResponse {
464
- TypedLinkSpecifiers?: TypedLinkSpecifier[];
465
- NextToken?: string;
464
+ TypedLinkSpecifiers?: TypedLinkSpecifier[] | undefined;
465
+ NextToken?: string | undefined;
466
466
  }
467
467
  export interface BatchListPolicyAttachmentsResponse {
468
- ObjectIdentifiers?: string[];
469
- NextToken?: string;
468
+ ObjectIdentifiers?: string[] | undefined;
469
+ NextToken?: string | undefined;
470
470
  }
471
471
  export interface PolicyAttachment {
472
- PolicyId?: string;
473
- ObjectIdentifier?: string;
474
- PolicyType?: string;
472
+ PolicyId?: string | undefined;
473
+ ObjectIdentifier?: string | undefined;
474
+ PolicyType?: string | undefined;
475
475
  }
476
476
  export interface PolicyToPath {
477
- Path?: string;
478
- Policies?: PolicyAttachment[];
477
+ Path?: string | undefined;
478
+ Policies?: PolicyAttachment[] | undefined;
479
479
  }
480
480
  export interface BatchLookupPolicyResponse {
481
- PolicyToPathList?: PolicyToPath[];
482
- NextToken?: string;
481
+ PolicyToPathList?: PolicyToPath[] | undefined;
482
+ NextToken?: string | undefined;
483
483
  }
484
484
  export interface BatchReadSuccessfulResponse {
485
- ListObjectAttributes?: BatchListObjectAttributesResponse;
486
- ListObjectChildren?: BatchListObjectChildrenResponse;
487
- GetObjectInformation?: BatchGetObjectInformationResponse;
488
- GetObjectAttributes?: BatchGetObjectAttributesResponse;
489
- ListAttachedIndices?: BatchListAttachedIndicesResponse;
490
- ListObjectParentPaths?: BatchListObjectParentPathsResponse;
491
- ListObjectPolicies?: BatchListObjectPoliciesResponse;
492
- ListPolicyAttachments?: BatchListPolicyAttachmentsResponse;
493
- LookupPolicy?: BatchLookupPolicyResponse;
494
- ListIndex?: BatchListIndexResponse;
495
- ListOutgoingTypedLinks?: BatchListOutgoingTypedLinksResponse;
496
- ListIncomingTypedLinks?: BatchListIncomingTypedLinksResponse;
497
- GetLinkAttributes?: BatchGetLinkAttributesResponse;
498
- ListObjectParents?: BatchListObjectParentsResponse;
485
+ ListObjectAttributes?: BatchListObjectAttributesResponse | undefined;
486
+ ListObjectChildren?: BatchListObjectChildrenResponse | undefined;
487
+ GetObjectInformation?: BatchGetObjectInformationResponse | undefined;
488
+ GetObjectAttributes?: BatchGetObjectAttributesResponse | undefined;
489
+ ListAttachedIndices?: BatchListAttachedIndicesResponse | undefined;
490
+ ListObjectParentPaths?: BatchListObjectParentPathsResponse | undefined;
491
+ ListObjectPolicies?: BatchListObjectPoliciesResponse | undefined;
492
+ ListPolicyAttachments?: BatchListPolicyAttachmentsResponse | undefined;
493
+ LookupPolicy?: BatchLookupPolicyResponse | undefined;
494
+ ListIndex?: BatchListIndexResponse | undefined;
495
+ ListOutgoingTypedLinks?: BatchListOutgoingTypedLinksResponse | undefined;
496
+ ListIncomingTypedLinks?: BatchListIncomingTypedLinksResponse | undefined;
497
+ GetLinkAttributes?: BatchGetLinkAttributesResponse | undefined;
498
+ ListObjectParents?: BatchListObjectParentsResponse | undefined;
499
499
  }
500
500
  export interface BatchReadOperationResponse {
501
- SuccessfulResponse?: BatchReadSuccessfulResponse;
502
- ExceptionResponse?: BatchReadException;
501
+ SuccessfulResponse?: BatchReadSuccessfulResponse | undefined;
502
+ ExceptionResponse?: BatchReadException | undefined;
503
503
  }
504
504
  export interface BatchReadResponse {
505
- Responses?: BatchReadOperationResponse[];
505
+ Responses?: BatchReadOperationResponse[] | undefined;
506
506
  }
507
507
  export declare const BatchWriteExceptionType: {
508
508
  readonly AccessDeniedException: "AccessDeniedException";
@@ -529,9 +529,9 @@ export type BatchWriteExceptionType =
529
529
  export declare class BatchWriteException extends __BaseException {
530
530
  readonly name: "BatchWriteException";
531
531
  readonly $fault: "client";
532
- Index?: number;
533
- Type?: BatchWriteExceptionType;
534
- Message?: string;
532
+ Index?: number | undefined;
533
+ Type?: BatchWriteExceptionType | undefined;
534
+ Message?: string | undefined;
535
535
  constructor(
536
536
  opts: __ExceptionOptionType<BatchWriteException, __BaseException>
537
537
  );
@@ -563,16 +563,16 @@ export interface BatchAttachTypedLink {
563
563
  export interface BatchCreateIndex {
564
564
  OrderedIndexedAttributeList: AttributeKey[] | undefined;
565
565
  IsUnique: boolean | undefined;
566
- ParentReference?: ObjectReference;
567
- LinkName?: string;
568
- BatchReferenceName?: string;
566
+ ParentReference?: ObjectReference | undefined;
567
+ LinkName?: string | undefined;
568
+ BatchReferenceName?: string | undefined;
569
569
  }
570
570
  export interface BatchCreateObject {
571
571
  SchemaFacet: SchemaFacet[] | undefined;
572
572
  ObjectAttributeList: AttributeKeyAndValue[] | undefined;
573
- ParentReference?: ObjectReference;
574
- LinkName?: string;
575
- BatchReferenceName?: string;
573
+ ParentReference?: ObjectReference | undefined;
574
+ LinkName?: string | undefined;
575
+ BatchReferenceName?: string | undefined;
576
576
  }
577
577
  export interface BatchDeleteObject {
578
578
  ObjectReference: ObjectReference | undefined;
@@ -584,7 +584,7 @@ export interface BatchDetachFromIndex {
584
584
  export interface BatchDetachObject {
585
585
  ParentReference: ObjectReference | undefined;
586
586
  LinkName: string | undefined;
587
- BatchReferenceName?: string;
587
+ BatchReferenceName?: string | undefined;
588
588
  }
589
589
  export interface BatchDetachPolicy {
590
590
  PolicyReference: ObjectReference | undefined;
@@ -604,45 +604,45 @@ export declare const UpdateActionType: {
604
604
  export type UpdateActionType =
605
605
  (typeof UpdateActionType)[keyof typeof UpdateActionType];
606
606
  export interface LinkAttributeAction {
607
- AttributeActionType?: UpdateActionType;
608
- AttributeUpdateValue?: TypedAttributeValue;
607
+ AttributeActionType?: UpdateActionType | undefined;
608
+ AttributeUpdateValue?: TypedAttributeValue | undefined;
609
609
  }
610
610
  export interface LinkAttributeUpdate {
611
- AttributeKey?: AttributeKey;
612
- AttributeAction?: LinkAttributeAction;
611
+ AttributeKey?: AttributeKey | undefined;
612
+ AttributeAction?: LinkAttributeAction | undefined;
613
613
  }
614
614
  export interface BatchUpdateLinkAttributes {
615
615
  TypedLinkSpecifier: TypedLinkSpecifier | undefined;
616
616
  AttributeUpdates: LinkAttributeUpdate[] | undefined;
617
617
  }
618
618
  export interface ObjectAttributeAction {
619
- ObjectAttributeActionType?: UpdateActionType;
620
- ObjectAttributeUpdateValue?: TypedAttributeValue;
619
+ ObjectAttributeActionType?: UpdateActionType | undefined;
620
+ ObjectAttributeUpdateValue?: TypedAttributeValue | undefined;
621
621
  }
622
622
  export interface ObjectAttributeUpdate {
623
- ObjectAttributeKey?: AttributeKey;
624
- ObjectAttributeAction?: ObjectAttributeAction;
623
+ ObjectAttributeKey?: AttributeKey | undefined;
624
+ ObjectAttributeAction?: ObjectAttributeAction | undefined;
625
625
  }
626
626
  export interface BatchUpdateObjectAttributes {
627
627
  ObjectReference: ObjectReference | undefined;
628
628
  AttributeUpdates: ObjectAttributeUpdate[] | undefined;
629
629
  }
630
630
  export interface BatchWriteOperation {
631
- CreateObject?: BatchCreateObject;
632
- AttachObject?: BatchAttachObject;
633
- DetachObject?: BatchDetachObject;
634
- UpdateObjectAttributes?: BatchUpdateObjectAttributes;
635
- DeleteObject?: BatchDeleteObject;
636
- AddFacetToObject?: BatchAddFacetToObject;
637
- RemoveFacetFromObject?: BatchRemoveFacetFromObject;
638
- AttachPolicy?: BatchAttachPolicy;
639
- DetachPolicy?: BatchDetachPolicy;
640
- CreateIndex?: BatchCreateIndex;
641
- AttachToIndex?: BatchAttachToIndex;
642
- DetachFromIndex?: BatchDetachFromIndex;
643
- AttachTypedLink?: BatchAttachTypedLink;
644
- DetachTypedLink?: BatchDetachTypedLink;
645
- UpdateLinkAttributes?: BatchUpdateLinkAttributes;
631
+ CreateObject?: BatchCreateObject | undefined;
632
+ AttachObject?: BatchAttachObject | undefined;
633
+ DetachObject?: BatchDetachObject | undefined;
634
+ UpdateObjectAttributes?: BatchUpdateObjectAttributes | undefined;
635
+ DeleteObject?: BatchDeleteObject | undefined;
636
+ AddFacetToObject?: BatchAddFacetToObject | undefined;
637
+ RemoveFacetFromObject?: BatchRemoveFacetFromObject | undefined;
638
+ AttachPolicy?: BatchAttachPolicy | undefined;
639
+ DetachPolicy?: BatchDetachPolicy | undefined;
640
+ CreateIndex?: BatchCreateIndex | undefined;
641
+ AttachToIndex?: BatchAttachToIndex | undefined;
642
+ DetachFromIndex?: BatchDetachFromIndex | undefined;
643
+ AttachTypedLink?: BatchAttachTypedLink | undefined;
644
+ DetachTypedLink?: BatchDetachTypedLink | undefined;
645
+ UpdateLinkAttributes?: BatchUpdateLinkAttributes | undefined;
646
646
  }
647
647
  export interface BatchWriteRequest {
648
648
  DirectoryArn: string | undefined;
@@ -650,54 +650,54 @@ export interface BatchWriteRequest {
650
650
  }
651
651
  export interface BatchAddFacetToObjectResponse {}
652
652
  export interface BatchAttachObjectResponse {
653
- attachedObjectIdentifier?: string;
653
+ attachedObjectIdentifier?: string | undefined;
654
654
  }
655
655
  export interface BatchAttachPolicyResponse {}
656
656
  export interface BatchAttachToIndexResponse {
657
- AttachedObjectIdentifier?: string;
657
+ AttachedObjectIdentifier?: string | undefined;
658
658
  }
659
659
  export interface BatchAttachTypedLinkResponse {
660
- TypedLinkSpecifier?: TypedLinkSpecifier;
660
+ TypedLinkSpecifier?: TypedLinkSpecifier | undefined;
661
661
  }
662
662
  export interface BatchCreateIndexResponse {
663
- ObjectIdentifier?: string;
663
+ ObjectIdentifier?: string | undefined;
664
664
  }
665
665
  export interface BatchCreateObjectResponse {
666
- ObjectIdentifier?: string;
666
+ ObjectIdentifier?: string | undefined;
667
667
  }
668
668
  export interface BatchDeleteObjectResponse {}
669
669
  export interface BatchDetachFromIndexResponse {
670
- DetachedObjectIdentifier?: string;
670
+ DetachedObjectIdentifier?: string | undefined;
671
671
  }
672
672
  export interface BatchDetachObjectResponse {
673
- detachedObjectIdentifier?: string;
673
+ detachedObjectIdentifier?: string | undefined;
674
674
  }
675
675
  export interface BatchDetachPolicyResponse {}
676
676
  export interface BatchDetachTypedLinkResponse {}
677
677
  export interface BatchRemoveFacetFromObjectResponse {}
678
678
  export interface BatchUpdateLinkAttributesResponse {}
679
679
  export interface BatchUpdateObjectAttributesResponse {
680
- ObjectIdentifier?: string;
680
+ ObjectIdentifier?: string | undefined;
681
681
  }
682
682
  export interface BatchWriteOperationResponse {
683
- CreateObject?: BatchCreateObjectResponse;
684
- AttachObject?: BatchAttachObjectResponse;
685
- DetachObject?: BatchDetachObjectResponse;
686
- UpdateObjectAttributes?: BatchUpdateObjectAttributesResponse;
687
- DeleteObject?: BatchDeleteObjectResponse;
688
- AddFacetToObject?: BatchAddFacetToObjectResponse;
689
- RemoveFacetFromObject?: BatchRemoveFacetFromObjectResponse;
690
- AttachPolicy?: BatchAttachPolicyResponse;
691
- DetachPolicy?: BatchDetachPolicyResponse;
692
- CreateIndex?: BatchCreateIndexResponse;
693
- AttachToIndex?: BatchAttachToIndexResponse;
694
- DetachFromIndex?: BatchDetachFromIndexResponse;
695
- AttachTypedLink?: BatchAttachTypedLinkResponse;
696
- DetachTypedLink?: BatchDetachTypedLinkResponse;
697
- UpdateLinkAttributes?: BatchUpdateLinkAttributesResponse;
683
+ CreateObject?: BatchCreateObjectResponse | undefined;
684
+ AttachObject?: BatchAttachObjectResponse | undefined;
685
+ DetachObject?: BatchDetachObjectResponse | undefined;
686
+ UpdateObjectAttributes?: BatchUpdateObjectAttributesResponse | undefined;
687
+ DeleteObject?: BatchDeleteObjectResponse | undefined;
688
+ AddFacetToObject?: BatchAddFacetToObjectResponse | undefined;
689
+ RemoveFacetFromObject?: BatchRemoveFacetFromObjectResponse | undefined;
690
+ AttachPolicy?: BatchAttachPolicyResponse | undefined;
691
+ DetachPolicy?: BatchDetachPolicyResponse | undefined;
692
+ CreateIndex?: BatchCreateIndexResponse | undefined;
693
+ AttachToIndex?: BatchAttachToIndexResponse | undefined;
694
+ DetachFromIndex?: BatchDetachFromIndexResponse | undefined;
695
+ AttachTypedLink?: BatchAttachTypedLinkResponse | undefined;
696
+ DetachTypedLink?: BatchDetachTypedLinkResponse | undefined;
697
+ UpdateLinkAttributes?: BatchUpdateLinkAttributesResponse | undefined;
698
698
  }
699
699
  export interface BatchWriteResponse {
700
- Responses?: BatchWriteOperationResponse[];
700
+ Responses?: BatchWriteOperationResponse[] | undefined;
701
701
  }
702
702
  export interface CreateDirectoryRequest {
703
703
  Name: string | undefined;
@@ -712,7 +712,7 @@ export interface CreateDirectoryResponse {
712
712
  export declare class DirectoryAlreadyExistsException extends __BaseException {
713
713
  readonly name: "DirectoryAlreadyExistsException";
714
714
  readonly $fault: "client";
715
- Message?: string;
715
+ Message?: string | undefined;
716
716
  constructor(
717
717
  opts: __ExceptionOptionType<
718
718
  DirectoryAlreadyExistsException,
@@ -728,8 +728,8 @@ export declare const RuleType: {
728
728
  };
729
729
  export type RuleType = (typeof RuleType)[keyof typeof RuleType];
730
730
  export interface Rule {
731
- Type?: RuleType;
732
- Parameters?: Record<string, string>;
731
+ Type?: RuleType | undefined;
732
+ Parameters?: Record<string, string> | undefined;
733
733
  }
734
734
  export declare const FacetAttributeType: {
735
735
  readonly BINARY: "BINARY";
@@ -743,9 +743,9 @@ export type FacetAttributeType =
743
743
  (typeof FacetAttributeType)[keyof typeof FacetAttributeType];
744
744
  export interface FacetAttributeDefinition {
745
745
  Type: FacetAttributeType | undefined;
746
- DefaultValue?: TypedAttributeValue;
747
- IsImmutable?: boolean;
748
- Rules?: Record<string, Rule>;
746
+ DefaultValue?: TypedAttributeValue | undefined;
747
+ IsImmutable?: boolean | undefined;
748
+ Rules?: Record<string, Rule> | undefined;
749
749
  }
750
750
  export interface FacetAttributeReference {
751
751
  TargetFacetName: string | undefined;
@@ -759,9 +759,9 @@ export type RequiredAttributeBehavior =
759
759
  (typeof RequiredAttributeBehavior)[keyof typeof RequiredAttributeBehavior];
760
760
  export interface FacetAttribute {
761
761
  Name: string | undefined;
762
- AttributeDefinition?: FacetAttributeDefinition;
763
- AttributeReference?: FacetAttributeReference;
764
- RequiredBehavior?: RequiredAttributeBehavior;
762
+ AttributeDefinition?: FacetAttributeDefinition | undefined;
763
+ AttributeReference?: FacetAttributeReference | undefined;
764
+ RequiredBehavior?: RequiredAttributeBehavior | undefined;
765
765
  }
766
766
  export declare const FacetStyle: {
767
767
  readonly DYNAMIC: "DYNAMIC";
@@ -778,15 +778,15 @@ export type ObjectType = (typeof ObjectType)[keyof typeof ObjectType];
778
778
  export interface CreateFacetRequest {
779
779
  SchemaArn: string | undefined;
780
780
  Name: string | undefined;
781
- Attributes?: FacetAttribute[];
782
- ObjectType?: ObjectType;
783
- FacetStyle?: FacetStyle;
781
+ Attributes?: FacetAttribute[] | undefined;
782
+ ObjectType?: ObjectType | undefined;
783
+ FacetStyle?: FacetStyle | undefined;
784
784
  }
785
785
  export interface CreateFacetResponse {}
786
786
  export declare class FacetAlreadyExistsException extends __BaseException {
787
787
  readonly name: "FacetAlreadyExistsException";
788
788
  readonly $fault: "client";
789
- Message?: string;
789
+ Message?: string | undefined;
790
790
  constructor(
791
791
  opts: __ExceptionOptionType<FacetAlreadyExistsException, __BaseException>
792
792
  );
@@ -794,7 +794,7 @@ export declare class FacetAlreadyExistsException extends __BaseException {
794
794
  export declare class InvalidRuleException extends __BaseException {
795
795
  readonly name: "InvalidRuleException";
796
796
  readonly $fault: "client";
797
- Message?: string;
797
+ Message?: string | undefined;
798
798
  constructor(
799
799
  opts: __ExceptionOptionType<InvalidRuleException, __BaseException>
800
800
  );
@@ -803,16 +803,16 @@ export interface CreateIndexRequest {
803
803
  DirectoryArn: string | undefined;
804
804
  OrderedIndexedAttributeList: AttributeKey[] | undefined;
805
805
  IsUnique: boolean | undefined;
806
- ParentReference?: ObjectReference;
807
- LinkName?: string;
806
+ ParentReference?: ObjectReference | undefined;
807
+ LinkName?: string | undefined;
808
808
  }
809
809
  export interface CreateIndexResponse {
810
- ObjectIdentifier?: string;
810
+ ObjectIdentifier?: string | undefined;
811
811
  }
812
812
  export declare class UnsupportedIndexTypeException extends __BaseException {
813
813
  readonly name: "UnsupportedIndexTypeException";
814
814
  readonly $fault: "client";
815
- Message?: string;
815
+ Message?: string | undefined;
816
816
  constructor(
817
817
  opts: __ExceptionOptionType<UnsupportedIndexTypeException, __BaseException>
818
818
  );
@@ -820,25 +820,25 @@ export declare class UnsupportedIndexTypeException extends __BaseException {
820
820
  export interface CreateObjectRequest {
821
821
  DirectoryArn: string | undefined;
822
822
  SchemaFacets: SchemaFacet[] | undefined;
823
- ObjectAttributeList?: AttributeKeyAndValue[];
824
- ParentReference?: ObjectReference;
825
- LinkName?: string;
823
+ ObjectAttributeList?: AttributeKeyAndValue[] | undefined;
824
+ ParentReference?: ObjectReference | undefined;
825
+ LinkName?: string | undefined;
826
826
  }
827
827
  export interface CreateObjectResponse {
828
- ObjectIdentifier?: string;
828
+ ObjectIdentifier?: string | undefined;
829
829
  }
830
830
  export interface CreateSchemaRequest {
831
831
  Name: string | undefined;
832
832
  }
833
833
  export interface CreateSchemaResponse {
834
- SchemaArn?: string;
834
+ SchemaArn?: string | undefined;
835
835
  }
836
836
  export interface TypedLinkAttributeDefinition {
837
837
  Name: string | undefined;
838
838
  Type: FacetAttributeType | undefined;
839
- DefaultValue?: TypedAttributeValue;
840
- IsImmutable?: boolean;
841
- Rules?: Record<string, Rule>;
839
+ DefaultValue?: TypedAttributeValue | undefined;
840
+ IsImmutable?: boolean | undefined;
841
+ Rules?: Record<string, Rule> | undefined;
842
842
  RequiredBehavior: RequiredAttributeBehavior | undefined;
843
843
  }
844
844
  export interface TypedLinkFacet {
@@ -860,7 +860,7 @@ export interface DeleteDirectoryResponse {
860
860
  export declare class DirectoryDeletedException extends __BaseException {
861
861
  readonly name: "DirectoryDeletedException";
862
862
  readonly $fault: "client";
863
- Message?: string;
863
+ Message?: string | undefined;
864
864
  constructor(
865
865
  opts: __ExceptionOptionType<DirectoryDeletedException, __BaseException>
866
866
  );
@@ -868,7 +868,7 @@ export declare class DirectoryDeletedException extends __BaseException {
868
868
  export declare class DirectoryNotDisabledException extends __BaseException {
869
869
  readonly name: "DirectoryNotDisabledException";
870
870
  readonly $fault: "client";
871
- Message?: string;
871
+ Message?: string | undefined;
872
872
  constructor(
873
873
  opts: __ExceptionOptionType<DirectoryNotDisabledException, __BaseException>
874
874
  );
@@ -881,7 +881,7 @@ export interface DeleteFacetResponse {}
881
881
  export declare class FacetInUseException extends __BaseException {
882
882
  readonly name: "FacetInUseException";
883
883
  readonly $fault: "client";
884
- Message?: string;
884
+ Message?: string | undefined;
885
885
  constructor(
886
886
  opts: __ExceptionOptionType<FacetInUseException, __BaseException>
887
887
  );
@@ -889,7 +889,7 @@ export declare class FacetInUseException extends __BaseException {
889
889
  export declare class FacetNotFoundException extends __BaseException {
890
890
  readonly name: "FacetNotFoundException";
891
891
  readonly $fault: "client";
892
- Message?: string;
892
+ Message?: string | undefined;
893
893
  constructor(
894
894
  opts: __ExceptionOptionType<FacetNotFoundException, __BaseException>
895
895
  );
@@ -902,7 +902,7 @@ export interface DeleteObjectResponse {}
902
902
  export declare class ObjectNotDetachedException extends __BaseException {
903
903
  readonly name: "ObjectNotDetachedException";
904
904
  readonly $fault: "client";
905
- Message?: string;
905
+ Message?: string | undefined;
906
906
  constructor(
907
907
  opts: __ExceptionOptionType<ObjectNotDetachedException, __BaseException>
908
908
  );
@@ -911,12 +911,12 @@ export interface DeleteSchemaRequest {
911
911
  SchemaArn: string | undefined;
912
912
  }
913
913
  export interface DeleteSchemaResponse {
914
- SchemaArn?: string;
914
+ SchemaArn?: string | undefined;
915
915
  }
916
916
  export declare class StillContainsLinksException extends __BaseException {
917
917
  readonly name: "StillContainsLinksException";
918
918
  readonly $fault: "client";
919
- Message?: string;
919
+ Message?: string | undefined;
920
920
  constructor(
921
921
  opts: __ExceptionOptionType<StillContainsLinksException, __BaseException>
922
922
  );
@@ -932,12 +932,12 @@ export interface DetachFromIndexRequest {
932
932
  TargetReference: ObjectReference | undefined;
933
933
  }
934
934
  export interface DetachFromIndexResponse {
935
- DetachedObjectIdentifier?: string;
935
+ DetachedObjectIdentifier?: string | undefined;
936
936
  }
937
937
  export declare class ObjectAlreadyDetachedException extends __BaseException {
938
938
  readonly name: "ObjectAlreadyDetachedException";
939
939
  readonly $fault: "client";
940
- Message?: string;
940
+ Message?: string | undefined;
941
941
  constructor(
942
942
  opts: __ExceptionOptionType<ObjectAlreadyDetachedException, __BaseException>
943
943
  );
@@ -948,12 +948,12 @@ export interface DetachObjectRequest {
948
948
  LinkName: string | undefined;
949
949
  }
950
950
  export interface DetachObjectResponse {
951
- DetachedObjectIdentifier?: string;
951
+ DetachedObjectIdentifier?: string | undefined;
952
952
  }
953
953
  export declare class NotNodeException extends __BaseException {
954
954
  readonly name: "NotNodeException";
955
955
  readonly $fault: "client";
956
- Message?: string;
956
+ Message?: string | undefined;
957
957
  constructor(opts: __ExceptionOptionType<NotNodeException, __BaseException>);
958
958
  }
959
959
  export interface DetachPolicyRequest {
@@ -982,7 +982,7 @@ export interface GetAppliedSchemaVersionRequest {
982
982
  SchemaArn: string | undefined;
983
983
  }
984
984
  export interface GetAppliedSchemaVersionResponse {
985
- AppliedSchemaArn?: string;
985
+ AppliedSchemaArn?: string | undefined;
986
986
  }
987
987
  export interface GetDirectoryRequest {
988
988
  DirectoryArn: string | undefined;
@@ -995,10 +995,10 @@ export declare const DirectoryState: {
995
995
  export type DirectoryState =
996
996
  (typeof DirectoryState)[keyof typeof DirectoryState];
997
997
  export interface Directory {
998
- Name?: string;
999
- DirectoryArn?: string;
1000
- State?: DirectoryState;
1001
- CreationDateTime?: Date;
998
+ Name?: string | undefined;
999
+ DirectoryArn?: string | undefined;
1000
+ State?: DirectoryState | undefined;
1001
+ CreationDateTime?: Date | undefined;
1002
1002
  }
1003
1003
  export interface GetDirectoryResponse {
1004
1004
  Directory: Directory | undefined;
@@ -1008,191 +1008,191 @@ export interface GetFacetRequest {
1008
1008
  Name: string | undefined;
1009
1009
  }
1010
1010
  export interface Facet {
1011
- Name?: string;
1012
- ObjectType?: ObjectType;
1013
- FacetStyle?: FacetStyle;
1011
+ Name?: string | undefined;
1012
+ ObjectType?: ObjectType | undefined;
1013
+ FacetStyle?: FacetStyle | undefined;
1014
1014
  }
1015
1015
  export interface GetFacetResponse {
1016
- Facet?: Facet;
1016
+ Facet?: Facet | undefined;
1017
1017
  }
1018
1018
  export interface GetLinkAttributesRequest {
1019
1019
  DirectoryArn: string | undefined;
1020
1020
  TypedLinkSpecifier: TypedLinkSpecifier | undefined;
1021
1021
  AttributeNames: string[] | undefined;
1022
- ConsistencyLevel?: ConsistencyLevel;
1022
+ ConsistencyLevel?: ConsistencyLevel | undefined;
1023
1023
  }
1024
1024
  export interface GetLinkAttributesResponse {
1025
- Attributes?: AttributeKeyAndValue[];
1025
+ Attributes?: AttributeKeyAndValue[] | undefined;
1026
1026
  }
1027
1027
  export interface GetObjectAttributesRequest {
1028
1028
  DirectoryArn: string | undefined;
1029
1029
  ObjectReference: ObjectReference | undefined;
1030
- ConsistencyLevel?: ConsistencyLevel;
1030
+ ConsistencyLevel?: ConsistencyLevel | undefined;
1031
1031
  SchemaFacet: SchemaFacet | undefined;
1032
1032
  AttributeNames: string[] | undefined;
1033
1033
  }
1034
1034
  export interface GetObjectAttributesResponse {
1035
- Attributes?: AttributeKeyAndValue[];
1035
+ Attributes?: AttributeKeyAndValue[] | undefined;
1036
1036
  }
1037
1037
  export interface GetObjectInformationRequest {
1038
1038
  DirectoryArn: string | undefined;
1039
1039
  ObjectReference: ObjectReference | undefined;
1040
- ConsistencyLevel?: ConsistencyLevel;
1040
+ ConsistencyLevel?: ConsistencyLevel | undefined;
1041
1041
  }
1042
1042
  export interface GetObjectInformationResponse {
1043
- SchemaFacets?: SchemaFacet[];
1044
- ObjectIdentifier?: string;
1043
+ SchemaFacets?: SchemaFacet[] | undefined;
1044
+ ObjectIdentifier?: string | undefined;
1045
1045
  }
1046
1046
  export interface GetSchemaAsJsonRequest {
1047
1047
  SchemaArn: string | undefined;
1048
1048
  }
1049
1049
  export interface GetSchemaAsJsonResponse {
1050
- Name?: string;
1051
- Document?: string;
1050
+ Name?: string | undefined;
1051
+ Document?: string | undefined;
1052
1052
  }
1053
1053
  export interface GetTypedLinkFacetInformationRequest {
1054
1054
  SchemaArn: string | undefined;
1055
1055
  Name: string | undefined;
1056
1056
  }
1057
1057
  export interface GetTypedLinkFacetInformationResponse {
1058
- IdentityAttributeOrder?: string[];
1058
+ IdentityAttributeOrder?: string[] | undefined;
1059
1059
  }
1060
1060
  export declare class InvalidNextTokenException extends __BaseException {
1061
1061
  readonly name: "InvalidNextTokenException";
1062
1062
  readonly $fault: "client";
1063
- Message?: string;
1063
+ Message?: string | undefined;
1064
1064
  constructor(
1065
1065
  opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>
1066
1066
  );
1067
1067
  }
1068
1068
  export interface ListAppliedSchemaArnsRequest {
1069
1069
  DirectoryArn: string | undefined;
1070
- SchemaArn?: string;
1071
- NextToken?: string;
1072
- MaxResults?: number;
1070
+ SchemaArn?: string | undefined;
1071
+ NextToken?: string | undefined;
1072
+ MaxResults?: number | undefined;
1073
1073
  }
1074
1074
  export interface ListAppliedSchemaArnsResponse {
1075
- SchemaArns?: string[];
1076
- NextToken?: string;
1075
+ SchemaArns?: string[] | undefined;
1076
+ NextToken?: string | undefined;
1077
1077
  }
1078
1078
  export interface ListAttachedIndicesRequest {
1079
1079
  DirectoryArn: string | undefined;
1080
1080
  TargetReference: ObjectReference | undefined;
1081
- NextToken?: string;
1082
- MaxResults?: number;
1083
- ConsistencyLevel?: ConsistencyLevel;
1081
+ NextToken?: string | undefined;
1082
+ MaxResults?: number | undefined;
1083
+ ConsistencyLevel?: ConsistencyLevel | undefined;
1084
1084
  }
1085
1085
  export interface ListAttachedIndicesResponse {
1086
- IndexAttachments?: IndexAttachment[];
1087
- NextToken?: string;
1086
+ IndexAttachments?: IndexAttachment[] | undefined;
1087
+ NextToken?: string | undefined;
1088
1088
  }
1089
1089
  export interface ListDevelopmentSchemaArnsRequest {
1090
- NextToken?: string;
1091
- MaxResults?: number;
1090
+ NextToken?: string | undefined;
1091
+ MaxResults?: number | undefined;
1092
1092
  }
1093
1093
  export interface ListDevelopmentSchemaArnsResponse {
1094
- SchemaArns?: string[];
1095
- NextToken?: string;
1094
+ SchemaArns?: string[] | undefined;
1095
+ NextToken?: string | undefined;
1096
1096
  }
1097
1097
  export interface ListDirectoriesRequest {
1098
- NextToken?: string;
1099
- MaxResults?: number;
1100
- state?: DirectoryState;
1098
+ NextToken?: string | undefined;
1099
+ MaxResults?: number | undefined;
1100
+ state?: DirectoryState | undefined;
1101
1101
  }
1102
1102
  export interface ListDirectoriesResponse {
1103
1103
  Directories: Directory[] | undefined;
1104
- NextToken?: string;
1104
+ NextToken?: string | undefined;
1105
1105
  }
1106
1106
  export interface ListFacetAttributesRequest {
1107
1107
  SchemaArn: string | undefined;
1108
1108
  Name: string | undefined;
1109
- NextToken?: string;
1110
- MaxResults?: number;
1109
+ NextToken?: string | undefined;
1110
+ MaxResults?: number | undefined;
1111
1111
  }
1112
1112
  export interface ListFacetAttributesResponse {
1113
- Attributes?: FacetAttribute[];
1114
- NextToken?: string;
1113
+ Attributes?: FacetAttribute[] | undefined;
1114
+ NextToken?: string | undefined;
1115
1115
  }
1116
1116
  export interface ListFacetNamesRequest {
1117
1117
  SchemaArn: string | undefined;
1118
- NextToken?: string;
1119
- MaxResults?: number;
1118
+ NextToken?: string | undefined;
1119
+ MaxResults?: number | undefined;
1120
1120
  }
1121
1121
  export interface ListFacetNamesResponse {
1122
- FacetNames?: string[];
1123
- NextToken?: string;
1122
+ FacetNames?: string[] | undefined;
1123
+ NextToken?: string | undefined;
1124
1124
  }
1125
1125
  export interface ListIncomingTypedLinksRequest {
1126
1126
  DirectoryArn: string | undefined;
1127
1127
  ObjectReference: ObjectReference | undefined;
1128
- FilterAttributeRanges?: TypedLinkAttributeRange[];
1129
- FilterTypedLink?: TypedLinkSchemaAndFacetName;
1130
- NextToken?: string;
1131
- MaxResults?: number;
1132
- ConsistencyLevel?: ConsistencyLevel;
1128
+ FilterAttributeRanges?: TypedLinkAttributeRange[] | undefined;
1129
+ FilterTypedLink?: TypedLinkSchemaAndFacetName | undefined;
1130
+ NextToken?: string | undefined;
1131
+ MaxResults?: number | undefined;
1132
+ ConsistencyLevel?: ConsistencyLevel | undefined;
1133
1133
  }
1134
1134
  export interface ListIncomingTypedLinksResponse {
1135
- LinkSpecifiers?: TypedLinkSpecifier[];
1136
- NextToken?: string;
1135
+ LinkSpecifiers?: TypedLinkSpecifier[] | undefined;
1136
+ NextToken?: string | undefined;
1137
1137
  }
1138
1138
  export interface ListIndexRequest {
1139
1139
  DirectoryArn: string | undefined;
1140
- RangesOnIndexedValues?: ObjectAttributeRange[];
1140
+ RangesOnIndexedValues?: ObjectAttributeRange[] | undefined;
1141
1141
  IndexReference: ObjectReference | undefined;
1142
- MaxResults?: number;
1143
- NextToken?: string;
1144
- ConsistencyLevel?: ConsistencyLevel;
1142
+ MaxResults?: number | undefined;
1143
+ NextToken?: string | undefined;
1144
+ ConsistencyLevel?: ConsistencyLevel | undefined;
1145
1145
  }
1146
1146
  export interface ListIndexResponse {
1147
- IndexAttachments?: IndexAttachment[];
1148
- NextToken?: string;
1147
+ IndexAttachments?: IndexAttachment[] | undefined;
1148
+ NextToken?: string | undefined;
1149
1149
  }
1150
1150
  export interface ListManagedSchemaArnsRequest {
1151
- SchemaArn?: string;
1152
- NextToken?: string;
1153
- MaxResults?: number;
1151
+ SchemaArn?: string | undefined;
1152
+ NextToken?: string | undefined;
1153
+ MaxResults?: number | undefined;
1154
1154
  }
1155
1155
  export interface ListManagedSchemaArnsResponse {
1156
- SchemaArns?: string[];
1157
- NextToken?: string;
1156
+ SchemaArns?: string[] | undefined;
1157
+ NextToken?: string | undefined;
1158
1158
  }
1159
1159
  export interface ListObjectAttributesRequest {
1160
1160
  DirectoryArn: string | undefined;
1161
1161
  ObjectReference: ObjectReference | undefined;
1162
- NextToken?: string;
1163
- MaxResults?: number;
1164
- ConsistencyLevel?: ConsistencyLevel;
1165
- FacetFilter?: SchemaFacet;
1162
+ NextToken?: string | undefined;
1163
+ MaxResults?: number | undefined;
1164
+ ConsistencyLevel?: ConsistencyLevel | undefined;
1165
+ FacetFilter?: SchemaFacet | undefined;
1166
1166
  }
1167
1167
  export interface ListObjectAttributesResponse {
1168
- Attributes?: AttributeKeyAndValue[];
1169
- NextToken?: string;
1168
+ Attributes?: AttributeKeyAndValue[] | undefined;
1169
+ NextToken?: string | undefined;
1170
1170
  }
1171
1171
  export interface ListObjectChildrenRequest {
1172
1172
  DirectoryArn: string | undefined;
1173
1173
  ObjectReference: ObjectReference | undefined;
1174
- NextToken?: string;
1175
- MaxResults?: number;
1176
- ConsistencyLevel?: ConsistencyLevel;
1174
+ NextToken?: string | undefined;
1175
+ MaxResults?: number | undefined;
1176
+ ConsistencyLevel?: ConsistencyLevel | undefined;
1177
1177
  }
1178
1178
  export interface ListObjectChildrenResponse {
1179
- Children?: Record<string, string>;
1180
- NextToken?: string;
1179
+ Children?: Record<string, string> | undefined;
1180
+ NextToken?: string | undefined;
1181
1181
  }
1182
1182
  export interface ListObjectParentPathsRequest {
1183
1183
  DirectoryArn: string | undefined;
1184
1184
  ObjectReference: ObjectReference | undefined;
1185
- NextToken?: string;
1186
- MaxResults?: number;
1185
+ NextToken?: string | undefined;
1186
+ MaxResults?: number | undefined;
1187
1187
  }
1188
1188
  export interface ListObjectParentPathsResponse {
1189
- PathToObjectIdentifiersList?: PathToObjectIdentifiers[];
1190
- NextToken?: string;
1189
+ PathToObjectIdentifiersList?: PathToObjectIdentifiers[] | undefined;
1190
+ NextToken?: string | undefined;
1191
1191
  }
1192
1192
  export declare class CannotListParentOfRootException extends __BaseException {
1193
1193
  readonly name: "CannotListParentOfRootException";
1194
1194
  readonly $fault: "client";
1195
- Message?: string;
1195
+ Message?: string | undefined;
1196
1196
  constructor(
1197
1197
  opts: __ExceptionOptionType<
1198
1198
  CannotListParentOfRootException,
@@ -1203,123 +1203,123 @@ export declare class CannotListParentOfRootException extends __BaseException {
1203
1203
  export interface ListObjectParentsRequest {
1204
1204
  DirectoryArn: string | undefined;
1205
1205
  ObjectReference: ObjectReference | undefined;
1206
- NextToken?: string;
1207
- MaxResults?: number;
1208
- ConsistencyLevel?: ConsistencyLevel;
1209
- IncludeAllLinksToEachParent?: boolean;
1206
+ NextToken?: string | undefined;
1207
+ MaxResults?: number | undefined;
1208
+ ConsistencyLevel?: ConsistencyLevel | undefined;
1209
+ IncludeAllLinksToEachParent?: boolean | undefined;
1210
1210
  }
1211
1211
  export interface ListObjectParentsResponse {
1212
- Parents?: Record<string, string>;
1213
- NextToken?: string;
1214
- ParentLinks?: ObjectIdentifierAndLinkNameTuple[];
1212
+ Parents?: Record<string, string> | undefined;
1213
+ NextToken?: string | undefined;
1214
+ ParentLinks?: ObjectIdentifierAndLinkNameTuple[] | undefined;
1215
1215
  }
1216
1216
  export interface ListObjectPoliciesRequest {
1217
1217
  DirectoryArn: string | undefined;
1218
1218
  ObjectReference: ObjectReference | undefined;
1219
- NextToken?: string;
1220
- MaxResults?: number;
1221
- ConsistencyLevel?: ConsistencyLevel;
1219
+ NextToken?: string | undefined;
1220
+ MaxResults?: number | undefined;
1221
+ ConsistencyLevel?: ConsistencyLevel | undefined;
1222
1222
  }
1223
1223
  export interface ListObjectPoliciesResponse {
1224
- AttachedPolicyIds?: string[];
1225
- NextToken?: string;
1224
+ AttachedPolicyIds?: string[] | undefined;
1225
+ NextToken?: string | undefined;
1226
1226
  }
1227
1227
  export interface ListOutgoingTypedLinksRequest {
1228
1228
  DirectoryArn: string | undefined;
1229
1229
  ObjectReference: ObjectReference | undefined;
1230
- FilterAttributeRanges?: TypedLinkAttributeRange[];
1231
- FilterTypedLink?: TypedLinkSchemaAndFacetName;
1232
- NextToken?: string;
1233
- MaxResults?: number;
1234
- ConsistencyLevel?: ConsistencyLevel;
1230
+ FilterAttributeRanges?: TypedLinkAttributeRange[] | undefined;
1231
+ FilterTypedLink?: TypedLinkSchemaAndFacetName | undefined;
1232
+ NextToken?: string | undefined;
1233
+ MaxResults?: number | undefined;
1234
+ ConsistencyLevel?: ConsistencyLevel | undefined;
1235
1235
  }
1236
1236
  export interface ListOutgoingTypedLinksResponse {
1237
- TypedLinkSpecifiers?: TypedLinkSpecifier[];
1238
- NextToken?: string;
1237
+ TypedLinkSpecifiers?: TypedLinkSpecifier[] | undefined;
1238
+ NextToken?: string | undefined;
1239
1239
  }
1240
1240
  export interface ListPolicyAttachmentsRequest {
1241
1241
  DirectoryArn: string | undefined;
1242
1242
  PolicyReference: ObjectReference | undefined;
1243
- NextToken?: string;
1244
- MaxResults?: number;
1245
- ConsistencyLevel?: ConsistencyLevel;
1243
+ NextToken?: string | undefined;
1244
+ MaxResults?: number | undefined;
1245
+ ConsistencyLevel?: ConsistencyLevel | undefined;
1246
1246
  }
1247
1247
  export interface ListPolicyAttachmentsResponse {
1248
- ObjectIdentifiers?: string[];
1249
- NextToken?: string;
1248
+ ObjectIdentifiers?: string[] | undefined;
1249
+ NextToken?: string | undefined;
1250
1250
  }
1251
1251
  export interface ListPublishedSchemaArnsRequest {
1252
- SchemaArn?: string;
1253
- NextToken?: string;
1254
- MaxResults?: number;
1252
+ SchemaArn?: string | undefined;
1253
+ NextToken?: string | undefined;
1254
+ MaxResults?: number | undefined;
1255
1255
  }
1256
1256
  export interface ListPublishedSchemaArnsResponse {
1257
- SchemaArns?: string[];
1258
- NextToken?: string;
1257
+ SchemaArns?: string[] | undefined;
1258
+ NextToken?: string | undefined;
1259
1259
  }
1260
1260
  export declare class InvalidTaggingRequestException extends __BaseException {
1261
1261
  readonly name: "InvalidTaggingRequestException";
1262
1262
  readonly $fault: "client";
1263
- Message?: string;
1263
+ Message?: string | undefined;
1264
1264
  constructor(
1265
1265
  opts: __ExceptionOptionType<InvalidTaggingRequestException, __BaseException>
1266
1266
  );
1267
1267
  }
1268
1268
  export interface ListTagsForResourceRequest {
1269
1269
  ResourceArn: string | undefined;
1270
- NextToken?: string;
1271
- MaxResults?: number;
1270
+ NextToken?: string | undefined;
1271
+ MaxResults?: number | undefined;
1272
1272
  }
1273
1273
  export interface Tag {
1274
- Key?: string;
1275
- Value?: string;
1274
+ Key?: string | undefined;
1275
+ Value?: string | undefined;
1276
1276
  }
1277
1277
  export interface ListTagsForResourceResponse {
1278
- Tags?: Tag[];
1279
- NextToken?: string;
1278
+ Tags?: Tag[] | undefined;
1279
+ NextToken?: string | undefined;
1280
1280
  }
1281
1281
  export interface ListTypedLinkFacetAttributesRequest {
1282
1282
  SchemaArn: string | undefined;
1283
1283
  Name: string | undefined;
1284
- NextToken?: string;
1285
- MaxResults?: number;
1284
+ NextToken?: string | undefined;
1285
+ MaxResults?: number | undefined;
1286
1286
  }
1287
1287
  export interface ListTypedLinkFacetAttributesResponse {
1288
- Attributes?: TypedLinkAttributeDefinition[];
1289
- NextToken?: string;
1288
+ Attributes?: TypedLinkAttributeDefinition[] | undefined;
1289
+ NextToken?: string | undefined;
1290
1290
  }
1291
1291
  export interface ListTypedLinkFacetNamesRequest {
1292
1292
  SchemaArn: string | undefined;
1293
- NextToken?: string;
1294
- MaxResults?: number;
1293
+ NextToken?: string | undefined;
1294
+ MaxResults?: number | undefined;
1295
1295
  }
1296
1296
  export interface ListTypedLinkFacetNamesResponse {
1297
- FacetNames?: string[];
1298
- NextToken?: string;
1297
+ FacetNames?: string[] | undefined;
1298
+ NextToken?: string | undefined;
1299
1299
  }
1300
1300
  export interface LookupPolicyRequest {
1301
1301
  DirectoryArn: string | undefined;
1302
1302
  ObjectReference: ObjectReference | undefined;
1303
- NextToken?: string;
1304
- MaxResults?: number;
1303
+ NextToken?: string | undefined;
1304
+ MaxResults?: number | undefined;
1305
1305
  }
1306
1306
  export interface LookupPolicyResponse {
1307
- PolicyToPathList?: PolicyToPath[];
1308
- NextToken?: string;
1307
+ PolicyToPathList?: PolicyToPath[] | undefined;
1308
+ NextToken?: string | undefined;
1309
1309
  }
1310
1310
  export interface PublishSchemaRequest {
1311
1311
  DevelopmentSchemaArn: string | undefined;
1312
1312
  Version: string | undefined;
1313
- MinorVersion?: string;
1314
- Name?: string;
1313
+ MinorVersion?: string | undefined;
1314
+ Name?: string | undefined;
1315
1315
  }
1316
1316
  export interface PublishSchemaResponse {
1317
- PublishedSchemaArn?: string;
1317
+ PublishedSchemaArn?: string | undefined;
1318
1318
  }
1319
1319
  export declare class SchemaAlreadyPublishedException extends __BaseException {
1320
1320
  readonly name: "SchemaAlreadyPublishedException";
1321
1321
  readonly $fault: "client";
1322
- Message?: string;
1322
+ Message?: string | undefined;
1323
1323
  constructor(
1324
1324
  opts: __ExceptionOptionType<
1325
1325
  SchemaAlreadyPublishedException,
@@ -1330,7 +1330,7 @@ export declare class SchemaAlreadyPublishedException extends __BaseException {
1330
1330
  export declare class InvalidSchemaDocException extends __BaseException {
1331
1331
  readonly name: "InvalidSchemaDocException";
1332
1332
  readonly $fault: "client";
1333
- Message?: string;
1333
+ Message?: string | undefined;
1334
1334
  constructor(
1335
1335
  opts: __ExceptionOptionType<InvalidSchemaDocException, __BaseException>
1336
1336
  );
@@ -1340,7 +1340,7 @@ export interface PutSchemaFromJsonRequest {
1340
1340
  Document: string | undefined;
1341
1341
  }
1342
1342
  export interface PutSchemaFromJsonResponse {
1343
- Arn?: string;
1343
+ Arn?: string | undefined;
1344
1344
  }
1345
1345
  export interface RemoveFacetFromObjectRequest {
1346
1346
  DirectoryArn: string | undefined;
@@ -1361,20 +1361,20 @@ export interface UntagResourceResponse {}
1361
1361
  export declare class InvalidFacetUpdateException extends __BaseException {
1362
1362
  readonly name: "InvalidFacetUpdateException";
1363
1363
  readonly $fault: "client";
1364
- Message?: string;
1364
+ Message?: string | undefined;
1365
1365
  constructor(
1366
1366
  opts: __ExceptionOptionType<InvalidFacetUpdateException, __BaseException>
1367
1367
  );
1368
1368
  }
1369
1369
  export interface FacetAttributeUpdate {
1370
- Attribute?: FacetAttribute;
1371
- Action?: UpdateActionType;
1370
+ Attribute?: FacetAttribute | undefined;
1371
+ Action?: UpdateActionType | undefined;
1372
1372
  }
1373
1373
  export interface UpdateFacetRequest {
1374
1374
  SchemaArn: string | undefined;
1375
1375
  Name: string | undefined;
1376
- AttributeUpdates?: FacetAttributeUpdate[];
1377
- ObjectType?: ObjectType;
1376
+ AttributeUpdates?: FacetAttributeUpdate[] | undefined;
1377
+ ObjectType?: ObjectType | undefined;
1378
1378
  }
1379
1379
  export interface UpdateFacetResponse {}
1380
1380
  export interface UpdateLinkAttributesRequest {
@@ -1389,14 +1389,14 @@ export interface UpdateObjectAttributesRequest {
1389
1389
  AttributeUpdates: ObjectAttributeUpdate[] | undefined;
1390
1390
  }
1391
1391
  export interface UpdateObjectAttributesResponse {
1392
- ObjectIdentifier?: string;
1392
+ ObjectIdentifier?: string | undefined;
1393
1393
  }
1394
1394
  export interface UpdateSchemaRequest {
1395
1395
  SchemaArn: string | undefined;
1396
1396
  Name: string | undefined;
1397
1397
  }
1398
1398
  export interface UpdateSchemaResponse {
1399
- SchemaArn?: string;
1399
+ SchemaArn?: string | undefined;
1400
1400
  }
1401
1401
  export interface TypedLinkFacetAttributeUpdate {
1402
1402
  Attribute: TypedLinkAttributeDefinition | undefined;
@@ -1412,7 +1412,7 @@ export interface UpdateTypedLinkFacetResponse {}
1412
1412
  export declare class IncompatibleSchemaException extends __BaseException {
1413
1413
  readonly name: "IncompatibleSchemaException";
1414
1414
  readonly $fault: "client";
1415
- Message?: string;
1415
+ Message?: string | undefined;
1416
1416
  constructor(
1417
1417
  opts: __ExceptionOptionType<IncompatibleSchemaException, __BaseException>
1418
1418
  );
@@ -1420,18 +1420,18 @@ export declare class IncompatibleSchemaException extends __BaseException {
1420
1420
  export interface UpgradeAppliedSchemaRequest {
1421
1421
  PublishedSchemaArn: string | undefined;
1422
1422
  DirectoryArn: string | undefined;
1423
- DryRun?: boolean;
1423
+ DryRun?: boolean | undefined;
1424
1424
  }
1425
1425
  export interface UpgradeAppliedSchemaResponse {
1426
- UpgradedSchemaArn?: string;
1427
- DirectoryArn?: string;
1426
+ UpgradedSchemaArn?: string | undefined;
1427
+ DirectoryArn?: string | undefined;
1428
1428
  }
1429
1429
  export interface UpgradePublishedSchemaRequest {
1430
1430
  DevelopmentSchemaArn: string | undefined;
1431
1431
  PublishedSchemaArn: string | undefined;
1432
1432
  MinorVersion: string | undefined;
1433
- DryRun?: boolean;
1433
+ DryRun?: boolean | undefined;
1434
1434
  }
1435
1435
  export interface UpgradePublishedSchemaResponse {
1436
- UpgradedSchemaArn?: string;
1436
+ UpgradedSchemaArn?: string | undefined;
1437
1437
  }