@aws-sdk/client-workdocs 3.50.0 → 3.53.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/WorkDocsServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +357 -3
  5. package/dist-cjs/protocols/Aws_restJson1.js +597 -2109
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/WorkDocsServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +330 -1
  9. package/dist-es/protocols/Aws_restJson1.js +1127 -2299
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/WorkDocsServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +177 -76
  13. package/dist-types/ts3.4/WorkDocs.d.ts +210 -0
  14. package/dist-types/ts3.4/WorkDocsClient.d.ts +114 -0
  15. package/dist-types/ts3.4/commands/AbortDocumentVersionUploadCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/ActivateUserCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/AddResourcePermissionsCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/CreateCommentCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/CreateCustomMetadataCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/CreateFolderCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/CreateLabelsCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/CreateNotificationSubscriptionCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/DeactivateUserCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/DeleteCommentCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/DeleteCustomMetadataCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/DeleteDocumentCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/DeleteFolderCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/DeleteFolderContentsCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/DeleteLabelsCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/DeleteNotificationSubscriptionCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/DescribeActivitiesCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/DescribeCommentsCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/DescribeDocumentVersionsCommand.d.ts +17 -0
  36. package/dist-types/ts3.4/commands/DescribeFolderContentsCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/DescribeGroupsCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/DescribeNotificationSubscriptionsCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/DescribeResourcePermissionsCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/DescribeRootFoldersCommand.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/DescribeUsersCommand.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/GetCurrentUserCommand.d.ts +17 -0
  43. package/dist-types/ts3.4/commands/GetDocumentCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/GetDocumentPathCommand.d.ts +17 -0
  45. package/dist-types/ts3.4/commands/GetDocumentVersionCommand.d.ts +17 -0
  46. package/dist-types/ts3.4/commands/GetFolderCommand.d.ts +17 -0
  47. package/dist-types/ts3.4/commands/GetFolderPathCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/GetResourcesCommand.d.ts +17 -0
  49. package/dist-types/ts3.4/commands/InitiateDocumentVersionUploadCommand.d.ts +17 -0
  50. package/dist-types/ts3.4/commands/RemoveAllResourcePermissionsCommand.d.ts +17 -0
  51. package/dist-types/ts3.4/commands/RemoveResourcePermissionCommand.d.ts +17 -0
  52. package/dist-types/ts3.4/commands/UpdateDocumentCommand.d.ts +17 -0
  53. package/dist-types/ts3.4/commands/UpdateDocumentVersionCommand.d.ts +17 -0
  54. package/dist-types/ts3.4/commands/UpdateFolderCommand.d.ts +17 -0
  55. package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +17 -0
  56. package/dist-types/ts3.4/commands/index.d.ts +41 -0
  57. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  58. package/dist-types/ts3.4/index.d.ts +6 -0
  59. package/dist-types/ts3.4/models/WorkDocsServiceException.d.ts +6 -0
  60. package/dist-types/ts3.4/models/index.d.ts +1 -0
  61. package/dist-types/ts3.4/models/models_0.d.ts +1622 -0
  62. package/dist-types/ts3.4/pagination/DescribeDocumentVersionsPaginator.d.ts +4 -0
  63. package/dist-types/ts3.4/pagination/DescribeFolderContentsPaginator.d.ts +4 -0
  64. package/dist-types/ts3.4/pagination/DescribeUsersPaginator.d.ts +4 -0
  65. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  66. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  67. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +125 -0
  68. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  69. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  70. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  71. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  72. package/package.json +33 -33
@@ -3,3 +3,4 @@ export * from "./WorkDocsClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { WorkDocsServiceException } from "./models/WorkDocsServiceException";
@@ -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 WorkDocs service.
4
+ */
5
+ export declare class WorkDocsServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { WorkDocsServiceException as __BaseException } from "./WorkDocsServiceException";
2
3
  export interface AbortDocumentVersionUploadRequest {
3
4
  /**
4
5
  * <p>Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.</p>
@@ -22,54 +23,78 @@ export declare namespace AbortDocumentVersionUploadRequest {
22
23
  /**
23
24
  * <p>The resource does not exist.</p>
24
25
  */
25
- export interface EntityNotExistsException extends __SmithyException, $MetadataBearer {
26
- name: "EntityNotExistsException";
27
- $fault: "client";
26
+ export declare class EntityNotExistsException extends __BaseException {
27
+ readonly name: "EntityNotExistsException";
28
+ readonly $fault: "client";
28
29
  Message?: string;
29
30
  EntityIds?: string[];
31
+ /**
32
+ * @internal
33
+ */
34
+ constructor(opts: __ExceptionOptionType<EntityNotExistsException, __BaseException>);
30
35
  }
31
36
  /**
32
37
  * <p>The AWS Directory Service cannot reach an on-premises instance. Or a dependency
33
38
  * under the control of the organization is failing, such as a connected Active
34
39
  * Directory.</p>
35
40
  */
36
- export interface FailedDependencyException extends __SmithyException, $MetadataBearer {
37
- name: "FailedDependencyException";
38
- $fault: "client";
41
+ export declare class FailedDependencyException extends __BaseException {
42
+ readonly name: "FailedDependencyException";
43
+ readonly $fault: "client";
39
44
  Message?: string;
45
+ /**
46
+ * @internal
47
+ */
48
+ constructor(opts: __ExceptionOptionType<FailedDependencyException, __BaseException>);
40
49
  }
41
50
  /**
42
51
  * <p>The specified document version is not in the INITIALIZED state.</p>
43
52
  */
44
- export interface ProhibitedStateException extends __SmithyException, $MetadataBearer {
45
- name: "ProhibitedStateException";
46
- $fault: "client";
53
+ export declare class ProhibitedStateException extends __BaseException {
54
+ readonly name: "ProhibitedStateException";
55
+ readonly $fault: "client";
47
56
  Message?: string;
57
+ /**
58
+ * @internal
59
+ */
60
+ constructor(opts: __ExceptionOptionType<ProhibitedStateException, __BaseException>);
48
61
  }
49
62
  /**
50
63
  * <p>One or more of the dependencies is unavailable.</p>
51
64
  */
52
- export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
53
- name: "ServiceUnavailableException";
54
- $fault: "server";
65
+ export declare class ServiceUnavailableException extends __BaseException {
66
+ readonly name: "ServiceUnavailableException";
67
+ readonly $fault: "server";
55
68
  Message?: string;
69
+ /**
70
+ * @internal
71
+ */
72
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
56
73
  }
57
74
  /**
58
75
  * <p>The operation is not permitted.</p>
59
76
  */
60
- export interface UnauthorizedOperationException extends __SmithyException, $MetadataBearer {
61
- name: "UnauthorizedOperationException";
62
- $fault: "client";
77
+ export declare class UnauthorizedOperationException extends __BaseException {
78
+ readonly name: "UnauthorizedOperationException";
79
+ readonly $fault: "client";
63
80
  Message?: string;
64
81
  Code?: string;
82
+ /**
83
+ * @internal
84
+ */
85
+ constructor(opts: __ExceptionOptionType<UnauthorizedOperationException, __BaseException>);
65
86
  }
66
87
  /**
67
88
  * <p>The caller does not have access to perform the action on the resource.</p>
68
89
  */
69
- export interface UnauthorizedResourceAccessException extends __SmithyException, $MetadataBearer {
70
- name: "UnauthorizedResourceAccessException";
71
- $fault: "client";
90
+ export declare class UnauthorizedResourceAccessException extends __BaseException {
91
+ readonly name: "UnauthorizedResourceAccessException";
92
+ readonly $fault: "client";
72
93
  Message?: string;
94
+ /**
95
+ * @internal
96
+ */
97
+ constructor(opts: __ExceptionOptionType<UnauthorizedResourceAccessException, __BaseException>);
73
98
  }
74
99
  export interface ActivateUserRequest {
75
100
  /**
@@ -719,18 +744,26 @@ export declare namespace CreateCommentResponse {
719
744
  * <p>This exception is thrown when the document is locked for comments and user tries to
720
745
  * create or delete a comment on that document.</p>
721
746
  */
722
- export interface DocumentLockedForCommentsException extends __SmithyException, $MetadataBearer {
723
- name: "DocumentLockedForCommentsException";
724
- $fault: "client";
747
+ export declare class DocumentLockedForCommentsException extends __BaseException {
748
+ readonly name: "DocumentLockedForCommentsException";
749
+ readonly $fault: "client";
725
750
  Message?: string;
751
+ /**
752
+ * @internal
753
+ */
754
+ constructor(opts: __ExceptionOptionType<DocumentLockedForCommentsException, __BaseException>);
726
755
  }
727
756
  /**
728
757
  * <p>The requested operation is not allowed on the specified comment object.</p>
729
758
  */
730
- export interface InvalidCommentOperationException extends __SmithyException, $MetadataBearer {
731
- name: "InvalidCommentOperationException";
732
- $fault: "client";
759
+ export declare class InvalidCommentOperationException extends __BaseException {
760
+ readonly name: "InvalidCommentOperationException";
761
+ readonly $fault: "client";
733
762
  Message?: string;
763
+ /**
764
+ * @internal
765
+ */
766
+ constructor(opts: __ExceptionOptionType<InvalidCommentOperationException, __BaseException>);
734
767
  }
735
768
  export interface CreateCustomMetadataRequest {
736
769
  /**
@@ -771,18 +804,26 @@ export declare namespace CreateCustomMetadataResponse {
771
804
  * <p>The limit has been reached on the number of custom properties for the specified
772
805
  * resource.</p>
773
806
  */
774
- export interface CustomMetadataLimitExceededException extends __SmithyException, $MetadataBearer {
775
- name: "CustomMetadataLimitExceededException";
776
- $fault: "client";
807
+ export declare class CustomMetadataLimitExceededException extends __BaseException {
808
+ readonly name: "CustomMetadataLimitExceededException";
809
+ readonly $fault: "client";
777
810
  Message?: string;
811
+ /**
812
+ * @internal
813
+ */
814
+ constructor(opts: __ExceptionOptionType<CustomMetadataLimitExceededException, __BaseException>);
778
815
  }
779
816
  /**
780
817
  * <p>Another operation is in progress on the resource that conflicts with the current operation.</p>
781
818
  */
782
- export interface ConflictingOperationException extends __SmithyException, $MetadataBearer {
783
- name: "ConflictingOperationException";
784
- $fault: "client";
819
+ export declare class ConflictingOperationException extends __BaseException {
820
+ readonly name: "ConflictingOperationException";
821
+ readonly $fault: "client";
785
822
  Message?: string;
823
+ /**
824
+ * @internal
825
+ */
826
+ constructor(opts: __ExceptionOptionType<ConflictingOperationException, __BaseException>);
786
827
  }
787
828
  export interface CreateFolderRequest {
788
829
  /**
@@ -881,18 +922,26 @@ export declare namespace CreateFolderResponse {
881
922
  /**
882
923
  * <p>The resource already exists.</p>
883
924
  */
884
- export interface EntityAlreadyExistsException extends __SmithyException, $MetadataBearer {
885
- name: "EntityAlreadyExistsException";
886
- $fault: "client";
925
+ export declare class EntityAlreadyExistsException extends __BaseException {
926
+ readonly name: "EntityAlreadyExistsException";
927
+ readonly $fault: "client";
887
928
  Message?: string;
929
+ /**
930
+ * @internal
931
+ */
932
+ constructor(opts: __ExceptionOptionType<EntityAlreadyExistsException, __BaseException>);
888
933
  }
889
934
  /**
890
935
  * <p>The maximum of 100,000 folders under the parent folder has been exceeded.</p>
891
936
  */
892
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
893
- name: "LimitExceededException";
894
- $fault: "client";
937
+ export declare class LimitExceededException extends __BaseException {
938
+ readonly name: "LimitExceededException";
939
+ readonly $fault: "client";
895
940
  Message?: string;
941
+ /**
942
+ * @internal
943
+ */
944
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
896
945
  }
897
946
  export interface CreateLabelsRequest {
898
947
  /**
@@ -926,10 +975,14 @@ export declare namespace CreateLabelsResponse {
926
975
  * <p>The limit has been reached on the number of labels for the specified
927
976
  * resource.</p>
928
977
  */
929
- export interface TooManyLabelsException extends __SmithyException, $MetadataBearer {
930
- name: "TooManyLabelsException";
931
- $fault: "client";
978
+ export declare class TooManyLabelsException extends __BaseException {
979
+ readonly name: "TooManyLabelsException";
980
+ readonly $fault: "client";
932
981
  Message?: string;
982
+ /**
983
+ * @internal
984
+ */
985
+ constructor(opts: __ExceptionOptionType<TooManyLabelsException, __BaseException>);
933
986
  }
934
987
  export declare enum SubscriptionProtocolType {
935
988
  HTTPS = "HTTPS"
@@ -1002,10 +1055,14 @@ export declare namespace CreateNotificationSubscriptionResponse {
1002
1055
  * <p>You've reached the limit on the number of subscriptions for the WorkDocs
1003
1056
  * instance.</p>
1004
1057
  */
1005
- export interface TooManySubscriptionsException extends __SmithyException, $MetadataBearer {
1006
- name: "TooManySubscriptionsException";
1007
- $fault: "client";
1058
+ export declare class TooManySubscriptionsException extends __BaseException {
1059
+ readonly name: "TooManySubscriptionsException";
1060
+ readonly $fault: "client";
1008
1061
  Message?: string;
1062
+ /**
1063
+ * @internal
1064
+ */
1065
+ constructor(opts: __ExceptionOptionType<TooManySubscriptionsException, __BaseException>);
1009
1066
  }
1010
1067
  export interface CreateUserRequest {
1011
1068
  /**
@@ -1144,10 +1201,14 @@ export declare namespace DeleteCustomMetadataResponse {
1144
1201
  /**
1145
1202
  * <p>The resource hierarchy is changing.</p>
1146
1203
  */
1147
- export interface ConcurrentModificationException extends __SmithyException, $MetadataBearer {
1148
- name: "ConcurrentModificationException";
1149
- $fault: "client";
1204
+ export declare class ConcurrentModificationException extends __BaseException {
1205
+ readonly name: "ConcurrentModificationException";
1206
+ readonly $fault: "client";
1150
1207
  Message?: string;
1208
+ /**
1209
+ * @internal
1210
+ */
1211
+ constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
1151
1212
  }
1152
1213
  export interface DeleteDocumentRequest {
1153
1214
  /**
@@ -1338,10 +1399,14 @@ export declare namespace DescribeActivitiesResponse {
1338
1399
  /**
1339
1400
  * <p>The pagination marker or limit fields are not valid.</p>
1340
1401
  */
1341
- export interface InvalidArgumentException extends __SmithyException, $MetadataBearer {
1342
- name: "InvalidArgumentException";
1343
- $fault: "client";
1402
+ export declare class InvalidArgumentException extends __BaseException {
1403
+ readonly name: "InvalidArgumentException";
1404
+ readonly $fault: "client";
1344
1405
  Message?: string;
1406
+ /**
1407
+ * @internal
1408
+ */
1409
+ constructor(opts: __ExceptionOptionType<InvalidArgumentException, __BaseException>);
1345
1410
  }
1346
1411
  export interface DescribeCommentsRequest {
1347
1412
  /**
@@ -1940,10 +2005,14 @@ export declare namespace DescribeUsersResponse {
1940
2005
  /**
1941
2006
  * <p>The response is too large to return. The request must include a filter to reduce the size of the response.</p>
1942
2007
  */
1943
- export interface RequestedEntityTooLargeException extends __SmithyException, $MetadataBearer {
1944
- name: "RequestedEntityTooLargeException";
1945
- $fault: "client";
2008
+ export declare class RequestedEntityTooLargeException extends __BaseException {
2009
+ readonly name: "RequestedEntityTooLargeException";
2010
+ readonly $fault: "client";
1946
2011
  Message?: string;
2012
+ /**
2013
+ * @internal
2014
+ */
2015
+ constructor(opts: __ExceptionOptionType<RequestedEntityTooLargeException, __BaseException>);
1947
2016
  }
1948
2017
  export interface GetCurrentUserRequest {
1949
2018
  /**
@@ -2010,10 +2079,14 @@ export declare namespace GetDocumentResponse {
2010
2079
  /**
2011
2080
  * <p>The password is invalid.</p>
2012
2081
  */
2013
- export interface InvalidPasswordException extends __SmithyException, $MetadataBearer {
2014
- name: "InvalidPasswordException";
2015
- $fault: "client";
2082
+ export declare class InvalidPasswordException extends __BaseException {
2083
+ readonly name: "InvalidPasswordException";
2084
+ readonly $fault: "client";
2016
2085
  Message?: string;
2086
+ /**
2087
+ * @internal
2088
+ */
2089
+ constructor(opts: __ExceptionOptionType<InvalidPasswordException, __BaseException>);
2017
2090
  }
2018
2091
  export interface GetDocumentPathRequest {
2019
2092
  /**
@@ -2272,10 +2345,14 @@ export declare namespace GetResourcesResponse {
2272
2345
  * <p>This exception is thrown when a valid checkout ID is not presented on document
2273
2346
  * version upload calls for a document that has been checked out from Web client.</p>
2274
2347
  */
2275
- export interface DraftUploadOutOfSyncException extends __SmithyException, $MetadataBearer {
2276
- name: "DraftUploadOutOfSyncException";
2277
- $fault: "client";
2348
+ export declare class DraftUploadOutOfSyncException extends __BaseException {
2349
+ readonly name: "DraftUploadOutOfSyncException";
2350
+ readonly $fault: "client";
2278
2351
  Message?: string;
2352
+ /**
2353
+ * @internal
2354
+ */
2355
+ constructor(opts: __ExceptionOptionType<DraftUploadOutOfSyncException, __BaseException>);
2279
2356
  }
2280
2357
  export interface InitiateDocumentVersionUploadRequest {
2281
2358
  /**
@@ -2357,26 +2434,38 @@ export declare namespace InitiateDocumentVersionUploadResponse {
2357
2434
  /**
2358
2435
  * <p>The resource is already checked out.</p>
2359
2436
  */
2360
- export interface ResourceAlreadyCheckedOutException extends __SmithyException, $MetadataBearer {
2361
- name: "ResourceAlreadyCheckedOutException";
2362
- $fault: "client";
2437
+ export declare class ResourceAlreadyCheckedOutException extends __BaseException {
2438
+ readonly name: "ResourceAlreadyCheckedOutException";
2439
+ readonly $fault: "client";
2363
2440
  Message?: string;
2441
+ /**
2442
+ * @internal
2443
+ */
2444
+ constructor(opts: __ExceptionOptionType<ResourceAlreadyCheckedOutException, __BaseException>);
2364
2445
  }
2365
2446
  /**
2366
2447
  * <p>The storage limit has been exceeded.</p>
2367
2448
  */
2368
- export interface StorageLimitExceededException extends __SmithyException, $MetadataBearer {
2369
- name: "StorageLimitExceededException";
2370
- $fault: "client";
2449
+ export declare class StorageLimitExceededException extends __BaseException {
2450
+ readonly name: "StorageLimitExceededException";
2451
+ readonly $fault: "client";
2371
2452
  Message?: string;
2453
+ /**
2454
+ * @internal
2455
+ */
2456
+ constructor(opts: __ExceptionOptionType<StorageLimitExceededException, __BaseException>);
2372
2457
  }
2373
2458
  /**
2374
2459
  * <p>The storage limit will be exceeded.</p>
2375
2460
  */
2376
- export interface StorageLimitWillExceedException extends __SmithyException, $MetadataBearer {
2377
- name: "StorageLimitWillExceedException";
2378
- $fault: "client";
2461
+ export declare class StorageLimitWillExceedException extends __BaseException {
2462
+ readonly name: "StorageLimitWillExceedException";
2463
+ readonly $fault: "client";
2379
2464
  Message?: string;
2465
+ /**
2466
+ * @internal
2467
+ */
2468
+ constructor(opts: __ExceptionOptionType<StorageLimitWillExceedException, __BaseException>);
2380
2469
  }
2381
2470
  export interface RemoveAllResourcePermissionsRequest {
2382
2471
  /**
@@ -2450,10 +2539,14 @@ export declare namespace UpdateDocumentRequest {
2450
2539
  /**
2451
2540
  * <p>The operation is invalid.</p>
2452
2541
  */
2453
- export interface InvalidOperationException extends __SmithyException, $MetadataBearer {
2454
- name: "InvalidOperationException";
2455
- $fault: "client";
2542
+ export declare class InvalidOperationException extends __BaseException {
2543
+ readonly name: "InvalidOperationException";
2544
+ readonly $fault: "client";
2456
2545
  Message?: string;
2546
+ /**
2547
+ * @internal
2548
+ */
2549
+ constructor(opts: __ExceptionOptionType<InvalidOperationException, __BaseException>);
2457
2550
  }
2458
2551
  export declare enum DocumentVersionStatus {
2459
2552
  ACTIVE = "ACTIVE"
@@ -2514,19 +2607,27 @@ export declare namespace UpdateFolderRequest {
2514
2607
  /**
2515
2608
  * <p>The last user in the organization is being deactivated.</p>
2516
2609
  */
2517
- export interface DeactivatingLastSystemUserException extends __SmithyException, $MetadataBearer {
2518
- name: "DeactivatingLastSystemUserException";
2519
- $fault: "client";
2610
+ export declare class DeactivatingLastSystemUserException extends __BaseException {
2611
+ readonly name: "DeactivatingLastSystemUserException";
2612
+ readonly $fault: "client";
2520
2613
  Message?: string;
2521
2614
  Code?: string;
2615
+ /**
2616
+ * @internal
2617
+ */
2618
+ constructor(opts: __ExceptionOptionType<DeactivatingLastSystemUserException, __BaseException>);
2522
2619
  }
2523
2620
  /**
2524
2621
  * <p>The user is undergoing transfer of ownership.</p>
2525
2622
  */
2526
- export interface IllegalUserStateException extends __SmithyException, $MetadataBearer {
2527
- name: "IllegalUserStateException";
2528
- $fault: "client";
2623
+ export declare class IllegalUserStateException extends __BaseException {
2624
+ readonly name: "IllegalUserStateException";
2625
+ readonly $fault: "client";
2529
2626
  Message?: string;
2627
+ /**
2628
+ * @internal
2629
+ */
2630
+ constructor(opts: __ExceptionOptionType<IllegalUserStateException, __BaseException>);
2530
2631
  }
2531
2632
  export declare enum BooleanEnumType {
2532
2633
  FALSE = "FALSE",