@aws-sdk/client-clouddirectory 3.51.0 → 3.54.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.
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AddFacetToObjectCommandInput, AddFacetToObjectCommandOutput } from "./commands/AddFacetToObjectCommand";
10
10
  import { ApplySchemaCommandInput, ApplySchemaCommandOutput } from "./commands/ApplySchemaCommand";
11
11
  import { AttachObjectCommandInput, AttachObjectCommandOutput } from "./commands/AttachObjectCommand";
@@ -94,7 +94,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
94
94
  * A function that can calculate the length of a request body.
95
95
  * @internal
96
96
  */
97
- bodyLengthChecker?: (body: any) => number | undefined;
97
+ bodyLengthChecker?: __BodyLengthCalculator;
98
98
  /**
99
99
  * A function that converts a stream into an array of bytes.
100
100
  * @internal
@@ -3,3 +3,4 @@ export * from "./CloudDirectoryClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { CloudDirectoryServiceException } from "./models/CloudDirectoryServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from CloudDirectory service.
4
+ */
5
+ export declare class CloudDirectoryServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,11 +1,16 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { CloudDirectoryServiceException as __BaseException } from "./CloudDirectoryServiceException";
2
3
  /**
3
4
  * <p>Access denied or directory not found. Either you don't have permissions for this directory or the directory does not exist. Try calling <a>ListDirectories</a> and check your permissions.</p>
4
5
  */
5
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
6
- name: "AccessDeniedException";
7
- $fault: "client";
6
+ export declare class AccessDeniedException extends __BaseException {
7
+ readonly name: "AccessDeniedException";
8
+ readonly $fault: "client";
8
9
  Message?: string;
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
9
14
  }
10
15
  /**
11
16
  * <p>A unique identifier for an attribute.</p>
@@ -219,68 +224,100 @@ export declare namespace AddFacetToObjectResponse {
219
224
  /**
220
225
  * <p>Operations are only permitted on enabled directories.</p>
221
226
  */
222
- export interface DirectoryNotEnabledException extends __SmithyException, $MetadataBearer {
223
- name: "DirectoryNotEnabledException";
224
- $fault: "client";
227
+ export declare class DirectoryNotEnabledException extends __BaseException {
228
+ readonly name: "DirectoryNotEnabledException";
229
+ readonly $fault: "client";
225
230
  Message?: string;
231
+ /**
232
+ * @internal
233
+ */
234
+ constructor(opts: __ExceptionOptionType<DirectoryNotEnabledException, __BaseException>);
226
235
  }
227
236
  /**
228
237
  * <p>The <a>Facet</a> that you provided was not well formed or could not be
229
238
  * validated with the schema.</p>
230
239
  */
231
- export interface FacetValidationException extends __SmithyException, $MetadataBearer {
232
- name: "FacetValidationException";
233
- $fault: "client";
240
+ export declare class FacetValidationException extends __BaseException {
241
+ readonly name: "FacetValidationException";
242
+ readonly $fault: "client";
234
243
  Message?: string;
244
+ /**
245
+ * @internal
246
+ */
247
+ constructor(opts: __ExceptionOptionType<FacetValidationException, __BaseException>);
235
248
  }
236
249
  /**
237
250
  * <p>Indicates a problem that must be resolved by Amazon Web Services. This might be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the <a href="http://status.aws.amazon.com/">AWS Service Health Dashboard</a> site to see if there are any operational issues with the service.</p>
238
251
  */
239
- export interface InternalServiceException extends __SmithyException, $MetadataBearer {
240
- name: "InternalServiceException";
241
- $fault: "server";
252
+ export declare class InternalServiceException extends __BaseException {
253
+ readonly name: "InternalServiceException";
254
+ readonly $fault: "server";
242
255
  Message?: string;
256
+ /**
257
+ * @internal
258
+ */
259
+ constructor(opts: __ExceptionOptionType<InternalServiceException, __BaseException>);
243
260
  }
244
261
  /**
245
262
  * <p>Indicates that the provided ARN value is not valid.</p>
246
263
  */
247
- export interface InvalidArnException extends __SmithyException, $MetadataBearer {
248
- name: "InvalidArnException";
249
- $fault: "client";
264
+ export declare class InvalidArnException extends __BaseException {
265
+ readonly name: "InvalidArnException";
266
+ readonly $fault: "client";
250
267
  Message?: string;
268
+ /**
269
+ * @internal
270
+ */
271
+ constructor(opts: __ExceptionOptionType<InvalidArnException, __BaseException>);
251
272
  }
252
273
  /**
253
274
  * <p>Indicates that limits are exceeded. See <a href="https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html">Limits</a> for more information.</p>
254
275
  */
255
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
256
- name: "LimitExceededException";
257
- $fault: "client";
276
+ export declare class LimitExceededException extends __BaseException {
277
+ readonly name: "LimitExceededException";
278
+ readonly $fault: "client";
258
279
  Message?: string;
280
+ /**
281
+ * @internal
282
+ */
283
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
259
284
  }
260
285
  /**
261
286
  * <p>The specified resource could not be found.</p>
262
287
  */
263
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
264
- name: "ResourceNotFoundException";
265
- $fault: "client";
288
+ export declare class ResourceNotFoundException extends __BaseException {
289
+ readonly name: "ResourceNotFoundException";
290
+ readonly $fault: "client";
266
291
  Message?: string;
292
+ /**
293
+ * @internal
294
+ */
295
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
267
296
  }
268
297
  /**
269
298
  * <p>Occurs when a conflict with a previous successful write is detected. For example, if a write operation occurs on an object and then an attempt is made to read the object using “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.</p>
270
299
  */
271
- export interface RetryableConflictException extends __SmithyException, $MetadataBearer {
272
- name: "RetryableConflictException";
273
- $fault: "client";
300
+ export declare class RetryableConflictException extends __BaseException {
301
+ readonly name: "RetryableConflictException";
302
+ readonly $fault: "client";
274
303
  Message?: string;
304
+ /**
305
+ * @internal
306
+ */
307
+ constructor(opts: __ExceptionOptionType<RetryableConflictException, __BaseException>);
275
308
  }
276
309
  /**
277
310
  * <p>Indicates that your request is malformed in some manner. See the exception
278
311
  * message.</p>
279
312
  */
280
- export interface ValidationException extends __SmithyException, $MetadataBearer {
281
- name: "ValidationException";
282
- $fault: "client";
313
+ export declare class ValidationException extends __BaseException {
314
+ readonly name: "ValidationException";
315
+ readonly $fault: "client";
283
316
  Message?: string;
317
+ /**
318
+ * @internal
319
+ */
320
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
284
321
  }
285
322
  export interface ApplySchemaRequest {
286
323
  /**
@@ -322,19 +359,27 @@ export declare namespace ApplySchemaResponse {
322
359
  * <p>Indicates that an attempt to make an attachment was invalid. For example, attaching two nodes
323
360
  * with a link type that is not applicable to the nodes or attempting to apply a schema to a directory a second time.</p>
324
361
  */
325
- export interface InvalidAttachmentException extends __SmithyException, $MetadataBearer {
326
- name: "InvalidAttachmentException";
327
- $fault: "client";
362
+ export declare class InvalidAttachmentException extends __BaseException {
363
+ readonly name: "InvalidAttachmentException";
364
+ readonly $fault: "client";
328
365
  Message?: string;
366
+ /**
367
+ * @internal
368
+ */
369
+ constructor(opts: __ExceptionOptionType<InvalidAttachmentException, __BaseException>);
329
370
  }
330
371
  /**
331
372
  * <p>Indicates that a schema could not be created due to a naming conflict. Please select a
332
373
  * different name and then try again.</p>
333
374
  */
334
- export interface SchemaAlreadyExistsException extends __SmithyException, $MetadataBearer {
335
- name: "SchemaAlreadyExistsException";
336
- $fault: "client";
375
+ export declare class SchemaAlreadyExistsException extends __BaseException {
376
+ readonly name: "SchemaAlreadyExistsException";
377
+ readonly $fault: "client";
337
378
  Message?: string;
379
+ /**
380
+ * @internal
381
+ */
382
+ constructor(opts: __ExceptionOptionType<SchemaAlreadyExistsException, __BaseException>);
338
383
  }
339
384
  export interface AttachObjectRequest {
340
385
  /**
@@ -378,10 +423,14 @@ export declare namespace AttachObjectResponse {
378
423
  * <p>Indicates that a link could not be created due to a naming conflict. Choose a different
379
424
  * name and then try again.</p>
380
425
  */
381
- export interface LinkNameAlreadyInUseException extends __SmithyException, $MetadataBearer {
382
- name: "LinkNameAlreadyInUseException";
383
- $fault: "client";
426
+ export declare class LinkNameAlreadyInUseException extends __BaseException {
427
+ readonly name: "LinkNameAlreadyInUseException";
428
+ readonly $fault: "client";
384
429
  Message?: string;
430
+ /**
431
+ * @internal
432
+ */
433
+ constructor(opts: __ExceptionOptionType<LinkNameAlreadyInUseException, __BaseException>);
385
434
  }
386
435
  export interface AttachPolicyRequest {
387
436
  /**
@@ -416,10 +465,14 @@ export declare namespace AttachPolicyResponse {
416
465
  /**
417
466
  * <p>Indicates that the requested operation can only operate on policy objects.</p>
418
467
  */
419
- export interface NotPolicyException extends __SmithyException, $MetadataBearer {
420
- name: "NotPolicyException";
421
- $fault: "client";
468
+ export declare class NotPolicyException extends __BaseException {
469
+ readonly name: "NotPolicyException";
470
+ readonly $fault: "client";
422
471
  Message?: string;
472
+ /**
473
+ * @internal
474
+ */
475
+ constructor(opts: __ExceptionOptionType<NotPolicyException, __BaseException>);
423
476
  }
424
477
  export interface AttachToIndexRequest {
425
478
  /**
@@ -457,18 +510,26 @@ export declare namespace AttachToIndexResponse {
457
510
  /**
458
511
  * <p>An object has been attempted to be attached to an object that does not have the appropriate attribute value.</p>
459
512
  */
460
- export interface IndexedAttributeMissingException extends __SmithyException, $MetadataBearer {
461
- name: "IndexedAttributeMissingException";
462
- $fault: "client";
513
+ export declare class IndexedAttributeMissingException extends __BaseException {
514
+ readonly name: "IndexedAttributeMissingException";
515
+ readonly $fault: "client";
463
516
  Message?: string;
517
+ /**
518
+ * @internal
519
+ */
520
+ constructor(opts: __ExceptionOptionType<IndexedAttributeMissingException, __BaseException>);
464
521
  }
465
522
  /**
466
523
  * <p>Indicates that the requested operation can only operate on index objects.</p>
467
524
  */
468
- export interface NotIndexException extends __SmithyException, $MetadataBearer {
469
- name: "NotIndexException";
470
- $fault: "client";
525
+ export declare class NotIndexException extends __BaseException {
526
+ readonly name: "NotIndexException";
527
+ readonly $fault: "client";
471
528
  Message?: string;
529
+ /**
530
+ * @internal
531
+ */
532
+ constructor(opts: __ExceptionOptionType<NotIndexException, __BaseException>);
472
533
  }
473
534
  /**
474
535
  * <p>Identifies the attribute name and value for a typed link.</p>
@@ -1643,12 +1704,16 @@ export declare enum BatchWriteExceptionType {
1643
1704
  /**
1644
1705
  * <p>A <code>BatchWrite</code> exception has occurred.</p>
1645
1706
  */
1646
- export interface BatchWriteException extends __SmithyException, $MetadataBearer {
1647
- name: "BatchWriteException";
1648
- $fault: "client";
1707
+ export declare class BatchWriteException extends __BaseException {
1708
+ readonly name: "BatchWriteException";
1709
+ readonly $fault: "client";
1649
1710
  Index?: number;
1650
1711
  Type?: BatchWriteExceptionType | string;
1651
1712
  Message?: string;
1713
+ /**
1714
+ * @internal
1715
+ */
1716
+ constructor(opts: __ExceptionOptionType<BatchWriteException, __BaseException>);
1652
1717
  }
1653
1718
  /**
1654
1719
  * <p>Represents the output of a batch add facet to object operation.</p>
@@ -2477,10 +2542,14 @@ export declare namespace CreateDirectoryResponse {
2477
2542
  * <p>Indicates that a <a>Directory</a> could not be created due to a naming
2478
2543
  * conflict. Choose a different name and try again.</p>
2479
2544
  */
2480
- export interface DirectoryAlreadyExistsException extends __SmithyException, $MetadataBearer {
2481
- name: "DirectoryAlreadyExistsException";
2482
- $fault: "client";
2545
+ export declare class DirectoryAlreadyExistsException extends __BaseException {
2546
+ readonly name: "DirectoryAlreadyExistsException";
2547
+ readonly $fault: "client";
2483
2548
  Message?: string;
2549
+ /**
2550
+ * @internal
2551
+ */
2552
+ constructor(opts: __ExceptionOptionType<DirectoryAlreadyExistsException, __BaseException>);
2484
2553
  }
2485
2554
  export declare enum RuleType {
2486
2555
  BINARY_LENGTH = "BINARY_LENGTH",
@@ -2671,18 +2740,26 @@ export declare namespace CreateFacetResponse {
2671
2740
  /**
2672
2741
  * <p>A facet with the same name already exists.</p>
2673
2742
  */
2674
- export interface FacetAlreadyExistsException extends __SmithyException, $MetadataBearer {
2675
- name: "FacetAlreadyExistsException";
2676
- $fault: "client";
2743
+ export declare class FacetAlreadyExistsException extends __BaseException {
2744
+ readonly name: "FacetAlreadyExistsException";
2745
+ readonly $fault: "client";
2677
2746
  Message?: string;
2747
+ /**
2748
+ * @internal
2749
+ */
2750
+ constructor(opts: __ExceptionOptionType<FacetAlreadyExistsException, __BaseException>);
2678
2751
  }
2679
2752
  /**
2680
2753
  * <p>Occurs when any of the rule parameter keys or values are invalid.</p>
2681
2754
  */
2682
- export interface InvalidRuleException extends __SmithyException, $MetadataBearer {
2683
- name: "InvalidRuleException";
2684
- $fault: "client";
2755
+ export declare class InvalidRuleException extends __BaseException {
2756
+ readonly name: "InvalidRuleException";
2757
+ readonly $fault: "client";
2685
2758
  Message?: string;
2759
+ /**
2760
+ * @internal
2761
+ */
2762
+ constructor(opts: __ExceptionOptionType<InvalidRuleException, __BaseException>);
2686
2763
  }
2687
2764
  export interface CreateIndexRequest {
2688
2765
  /**
@@ -2729,10 +2806,14 @@ export declare namespace CreateIndexResponse {
2729
2806
  /**
2730
2807
  * <p>Indicates that the requested index type is not supported.</p>
2731
2808
  */
2732
- export interface UnsupportedIndexTypeException extends __SmithyException, $MetadataBearer {
2733
- name: "UnsupportedIndexTypeException";
2734
- $fault: "client";
2809
+ export declare class UnsupportedIndexTypeException extends __BaseException {
2810
+ readonly name: "UnsupportedIndexTypeException";
2811
+ readonly $fault: "client";
2735
2812
  Message?: string;
2813
+ /**
2814
+ * @internal
2815
+ */
2816
+ constructor(opts: __ExceptionOptionType<UnsupportedIndexTypeException, __BaseException>);
2736
2817
  }
2737
2818
  export interface CreateObjectRequest {
2738
2819
  /**
@@ -2918,18 +2999,26 @@ export declare namespace DeleteDirectoryResponse {
2918
2999
  * <p>A directory that has been deleted and to which access has been attempted. Note: The
2919
3000
  * requested resource will eventually cease to exist.</p>
2920
3001
  */
2921
- export interface DirectoryDeletedException extends __SmithyException, $MetadataBearer {
2922
- name: "DirectoryDeletedException";
2923
- $fault: "client";
3002
+ export declare class DirectoryDeletedException extends __BaseException {
3003
+ readonly name: "DirectoryDeletedException";
3004
+ readonly $fault: "client";
2924
3005
  Message?: string;
3006
+ /**
3007
+ * @internal
3008
+ */
3009
+ constructor(opts: __ExceptionOptionType<DirectoryDeletedException, __BaseException>);
2925
3010
  }
2926
3011
  /**
2927
3012
  * <p>An operation can only operate on a disabled directory.</p>
2928
3013
  */
2929
- export interface DirectoryNotDisabledException extends __SmithyException, $MetadataBearer {
2930
- name: "DirectoryNotDisabledException";
2931
- $fault: "client";
3014
+ export declare class DirectoryNotDisabledException extends __BaseException {
3015
+ readonly name: "DirectoryNotDisabledException";
3016
+ readonly $fault: "client";
2932
3017
  Message?: string;
3018
+ /**
3019
+ * @internal
3020
+ */
3021
+ constructor(opts: __ExceptionOptionType<DirectoryNotDisabledException, __BaseException>);
2933
3022
  }
2934
3023
  export interface DeleteFacetRequest {
2935
3024
  /**
@@ -2960,18 +3049,26 @@ export declare namespace DeleteFacetResponse {
2960
3049
  * <p>Occurs when deleting a facet that contains an attribute that is a target to an
2961
3050
  * attribute reference in a different facet.</p>
2962
3051
  */
2963
- export interface FacetInUseException extends __SmithyException, $MetadataBearer {
2964
- name: "FacetInUseException";
2965
- $fault: "client";
3052
+ export declare class FacetInUseException extends __BaseException {
3053
+ readonly name: "FacetInUseException";
3054
+ readonly $fault: "client";
2966
3055
  Message?: string;
3056
+ /**
3057
+ * @internal
3058
+ */
3059
+ constructor(opts: __ExceptionOptionType<FacetInUseException, __BaseException>);
2967
3060
  }
2968
3061
  /**
2969
3062
  * <p>The specified <a>Facet</a> could not be found.</p>
2970
3063
  */
2971
- export interface FacetNotFoundException extends __SmithyException, $MetadataBearer {
2972
- name: "FacetNotFoundException";
2973
- $fault: "client";
3064
+ export declare class FacetNotFoundException extends __BaseException {
3065
+ readonly name: "FacetNotFoundException";
3066
+ readonly $fault: "client";
2974
3067
  Message?: string;
3068
+ /**
3069
+ * @internal
3070
+ */
3071
+ constructor(opts: __ExceptionOptionType<FacetNotFoundException, __BaseException>);
2975
3072
  }
2976
3073
  export interface DeleteObjectRequest {
2977
3074
  /**
@@ -3002,10 +3099,14 @@ export declare namespace DeleteObjectResponse {
3002
3099
  * <p>Indicates that the requested operation cannot be completed because the object has not
3003
3100
  * been detached from the tree.</p>
3004
3101
  */
3005
- export interface ObjectNotDetachedException extends __SmithyException, $MetadataBearer {
3006
- name: "ObjectNotDetachedException";
3007
- $fault: "client";
3102
+ export declare class ObjectNotDetachedException extends __BaseException {
3103
+ readonly name: "ObjectNotDetachedException";
3104
+ readonly $fault: "client";
3008
3105
  Message?: string;
3106
+ /**
3107
+ * @internal
3108
+ */
3109
+ constructor(opts: __ExceptionOptionType<ObjectNotDetachedException, __BaseException>);
3009
3110
  }
3010
3111
  export interface DeleteSchemaRequest {
3011
3112
  /**
@@ -3037,10 +3138,14 @@ export declare namespace DeleteSchemaResponse {
3037
3138
  * <p>The object could not be deleted because links still exist. Remove the links and then
3038
3139
  * try the operation again.</p>
3039
3140
  */
3040
- export interface StillContainsLinksException extends __SmithyException, $MetadataBearer {
3041
- name: "StillContainsLinksException";
3042
- $fault: "client";
3141
+ export declare class StillContainsLinksException extends __BaseException {
3142
+ readonly name: "StillContainsLinksException";
3143
+ readonly $fault: "client";
3043
3144
  Message?: string;
3145
+ /**
3146
+ * @internal
3147
+ */
3148
+ constructor(opts: __ExceptionOptionType<StillContainsLinksException, __BaseException>);
3044
3149
  }
3045
3150
  export interface DeleteTypedLinkFacetRequest {
3046
3151
  /**
@@ -3103,10 +3208,14 @@ export declare namespace DetachFromIndexResponse {
3103
3208
  /**
3104
3209
  * <p>Indicates that the object is not attached to the index.</p>
3105
3210
  */
3106
- export interface ObjectAlreadyDetachedException extends __SmithyException, $MetadataBearer {
3107
- name: "ObjectAlreadyDetachedException";
3108
- $fault: "client";
3211
+ export declare class ObjectAlreadyDetachedException extends __BaseException {
3212
+ readonly name: "ObjectAlreadyDetachedException";
3213
+ readonly $fault: "client";
3109
3214
  Message?: string;
3215
+ /**
3216
+ * @internal
3217
+ */
3218
+ constructor(opts: __ExceptionOptionType<ObjectAlreadyDetachedException, __BaseException>);
3110
3219
  }
3111
3220
  export interface DetachObjectRequest {
3112
3221
  /**
@@ -3146,10 +3255,14 @@ export declare namespace DetachObjectResponse {
3146
3255
  * <p>Occurs when any invalid operations are performed on an object that is not a node, such
3147
3256
  * as calling <code>ListObjectChildren</code> for a leaf node object.</p>
3148
3257
  */
3149
- export interface NotNodeException extends __SmithyException, $MetadataBearer {
3150
- name: "NotNodeException";
3151
- $fault: "client";
3258
+ export declare class NotNodeException extends __BaseException {
3259
+ readonly name: "NotNodeException";
3260
+ readonly $fault: "client";
3152
3261
  Message?: string;
3262
+ /**
3263
+ * @internal
3264
+ */
3265
+ constructor(opts: __ExceptionOptionType<NotNodeException, __BaseException>);
3153
3266
  }
3154
3267
  export interface DetachPolicyRequest {
3155
3268
  /**
@@ -3557,10 +3670,14 @@ export declare namespace GetTypedLinkFacetInformationResponse {
3557
3670
  /**
3558
3671
  * <p>Indicates that the <code>NextToken</code> value is not valid.</p>
3559
3672
  */
3560
- export interface InvalidNextTokenException extends __SmithyException, $MetadataBearer {
3561
- name: "InvalidNextTokenException";
3562
- $fault: "client";
3673
+ export declare class InvalidNextTokenException extends __BaseException {
3674
+ readonly name: "InvalidNextTokenException";
3675
+ readonly $fault: "client";
3563
3676
  Message?: string;
3677
+ /**
3678
+ * @internal
3679
+ */
3680
+ constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
3564
3681
  }
3565
3682
  export interface ListAppliedSchemaArnsRequest {
3566
3683
  /**
@@ -4081,10 +4198,14 @@ export declare namespace ListObjectParentPathsResponse {
4081
4198
  /**
4082
4199
  * <p>Cannot list the parents of a <a>Directory</a> root.</p>
4083
4200
  */
4084
- export interface CannotListParentOfRootException extends __SmithyException, $MetadataBearer {
4085
- name: "CannotListParentOfRootException";
4086
- $fault: "client";
4201
+ export declare class CannotListParentOfRootException extends __BaseException {
4202
+ readonly name: "CannotListParentOfRootException";
4203
+ readonly $fault: "client";
4087
4204
  Message?: string;
4205
+ /**
4206
+ * @internal
4207
+ */
4208
+ constructor(opts: __ExceptionOptionType<CannotListParentOfRootException, __BaseException>);
4088
4209
  }
4089
4210
  export interface ListObjectParentsRequest {
4090
4211
  /**
@@ -4335,10 +4456,14 @@ export declare namespace ListPublishedSchemaArnsResponse {
4335
4456
  /**
4336
4457
  * <p>Can occur for multiple reasons such as when you tag a resource that doesn’t exist or if you specify a higher number of tags for a resource than the allowed limit. Allowed limit is 50 tags per resource.</p>
4337
4458
  */
4338
- export interface InvalidTaggingRequestException extends __SmithyException, $MetadataBearer {
4339
- name: "InvalidTaggingRequestException";
4340
- $fault: "client";
4459
+ export declare class InvalidTaggingRequestException extends __BaseException {
4460
+ readonly name: "InvalidTaggingRequestException";
4461
+ readonly $fault: "client";
4341
4462
  Message?: string;
4463
+ /**
4464
+ * @internal
4465
+ */
4466
+ constructor(opts: __ExceptionOptionType<InvalidTaggingRequestException, __BaseException>);
4342
4467
  }
4343
4468
  export interface ListTagsForResourceRequest {
4344
4469
  /**
@@ -4561,18 +4686,26 @@ export declare namespace PublishSchemaResponse {
4561
4686
  /**
4562
4687
  * <p>Indicates that a schema is already published.</p>
4563
4688
  */
4564
- export interface SchemaAlreadyPublishedException extends __SmithyException, $MetadataBearer {
4565
- name: "SchemaAlreadyPublishedException";
4566
- $fault: "client";
4689
+ export declare class SchemaAlreadyPublishedException extends __BaseException {
4690
+ readonly name: "SchemaAlreadyPublishedException";
4691
+ readonly $fault: "client";
4567
4692
  Message?: string;
4693
+ /**
4694
+ * @internal
4695
+ */
4696
+ constructor(opts: __ExceptionOptionType<SchemaAlreadyPublishedException, __BaseException>);
4568
4697
  }
4569
4698
  /**
4570
4699
  * <p>Indicates that the provided <code>SchemaDoc</code> value is not valid.</p>
4571
4700
  */
4572
- export interface InvalidSchemaDocException extends __SmithyException, $MetadataBearer {
4573
- name: "InvalidSchemaDocException";
4574
- $fault: "client";
4701
+ export declare class InvalidSchemaDocException extends __BaseException {
4702
+ readonly name: "InvalidSchemaDocException";
4703
+ readonly $fault: "client";
4575
4704
  Message?: string;
4705
+ /**
4706
+ * @internal
4707
+ */
4708
+ constructor(opts: __ExceptionOptionType<InvalidSchemaDocException, __BaseException>);
4576
4709
  }
4577
4710
  export interface PutSchemaFromJsonRequest {
4578
4711
  /**
@@ -4684,10 +4817,14 @@ export declare namespace UntagResourceResponse {
4684
4817
  * <p>An attempt to modify a <a>Facet</a> resulted in an invalid schema
4685
4818
  * exception.</p>
4686
4819
  */
4687
- export interface InvalidFacetUpdateException extends __SmithyException, $MetadataBearer {
4688
- name: "InvalidFacetUpdateException";
4689
- $fault: "client";
4820
+ export declare class InvalidFacetUpdateException extends __BaseException {
4821
+ readonly name: "InvalidFacetUpdateException";
4822
+ readonly $fault: "client";
4690
4823
  Message?: string;
4824
+ /**
4825
+ * @internal
4826
+ */
4827
+ constructor(opts: __ExceptionOptionType<InvalidFacetUpdateException, __BaseException>);
4691
4828
  }
4692
4829
  /**
4693
4830
  * <p>A structure that contains information used to update an attribute.</p>
@@ -4893,10 +5030,14 @@ export declare namespace UpdateTypedLinkFacetResponse {
4893
5030
  /**
4894
5031
  * <p>Indicates a failure occurred while performing a check for backward compatibility between the specified schema and the schema that is currently applied to the directory.</p>
4895
5032
  */
4896
- export interface IncompatibleSchemaException extends __SmithyException, $MetadataBearer {
4897
- name: "IncompatibleSchemaException";
4898
- $fault: "client";
5033
+ export declare class IncompatibleSchemaException extends __BaseException {
5034
+ readonly name: "IncompatibleSchemaException";
5035
+ readonly $fault: "client";
4899
5036
  Message?: string;
5037
+ /**
5038
+ * @internal
5039
+ */
5040
+ constructor(opts: __ExceptionOptionType<IncompatibleSchemaException, __BaseException>);
4900
5041
  }
4901
5042
  export interface UpgradeAppliedSchemaRequest {
4902
5043
  /**
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: CloudDirectoryClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: CloudDirectoryClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: CloudDirectoryClientConfig) => {
8
8
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
9
9
  apiVersion: string;
10
10
  urlParser: import("@aws-sdk/types").UrlParser;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  streamCollector: import("@aws-sdk/types").StreamCollector;
13
13
  base64Decoder: import("@aws-sdk/types").Decoder;
14
14
  base64Encoder: import("@aws-sdk/types").Encoder;