@aws-sdk/client-directory-service-data 3.654.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 (179) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +391 -0
  3. package/dist-cjs/DirectoryServiceData.js +45 -0
  4. package/dist-cjs/DirectoryServiceDataClient.js +50 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/AddGroupMemberCommand.js +26 -0
  8. package/dist-cjs/commands/CreateGroupCommand.js +27 -0
  9. package/dist-cjs/commands/CreateUserCommand.js +27 -0
  10. package/dist-cjs/commands/DeleteGroupCommand.js +26 -0
  11. package/dist-cjs/commands/DeleteUserCommand.js +26 -0
  12. package/dist-cjs/commands/DescribeGroupCommand.js +27 -0
  13. package/dist-cjs/commands/DescribeUserCommand.js +27 -0
  14. package/dist-cjs/commands/DisableUserCommand.js +26 -0
  15. package/dist-cjs/commands/ListGroupMembersCommand.js +27 -0
  16. package/dist-cjs/commands/ListGroupsCommand.js +27 -0
  17. package/dist-cjs/commands/ListGroupsForMemberCommand.js +27 -0
  18. package/dist-cjs/commands/ListUsersCommand.js +27 -0
  19. package/dist-cjs/commands/RemoveGroupMemberCommand.js +26 -0
  20. package/dist-cjs/commands/SearchGroupsCommand.js +27 -0
  21. package/dist-cjs/commands/SearchUsersCommand.js +27 -0
  22. package/dist-cjs/commands/UpdateGroupCommand.js +27 -0
  23. package/dist-cjs/commands/UpdateUserCommand.js +27 -0
  24. package/dist-cjs/commands/index.js +20 -0
  25. package/dist-cjs/endpoint/EndpointParameters.js +18 -0
  26. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  27. package/dist-cjs/endpoint/ruleset.js +7 -0
  28. package/dist-cjs/extensionConfiguration.js +2 -0
  29. package/dist-cjs/index.js +11 -0
  30. package/dist-cjs/models/DirectoryServiceDataServiceException.js +12 -0
  31. package/dist-cjs/models/index.js +4 -0
  32. package/dist-cjs/models/models_0.js +333 -0
  33. package/dist-cjs/pagination/Interfaces.js +2 -0
  34. package/dist-cjs/pagination/ListGroupMembersPaginator.js +7 -0
  35. package/dist-cjs/pagination/ListGroupsForMemberPaginator.js +7 -0
  36. package/dist-cjs/pagination/ListGroupsPaginator.js +7 -0
  37. package/dist-cjs/pagination/ListUsersPaginator.js +7 -0
  38. package/dist-cjs/pagination/SearchGroupsPaginator.js +7 -0
  39. package/dist-cjs/pagination/SearchUsersPaginator.js +7 -0
  40. package/dist-cjs/pagination/index.js +10 -0
  41. package/dist-cjs/protocols/Aws_restJson1.js +768 -0
  42. package/dist-cjs/runtimeConfig.browser.js +39 -0
  43. package/dist-cjs/runtimeConfig.js +49 -0
  44. package/dist-cjs/runtimeConfig.native.js +15 -0
  45. package/dist-cjs/runtimeConfig.shared.js +34 -0
  46. package/dist-cjs/runtimeExtensions.js +25 -0
  47. package/dist-es/DirectoryServiceData.js +41 -0
  48. package/dist-es/DirectoryServiceDataClient.js +46 -0
  49. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  50. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  51. package/dist-es/commands/AddGroupMemberCommand.js +22 -0
  52. package/dist-es/commands/CreateGroupCommand.js +23 -0
  53. package/dist-es/commands/CreateUserCommand.js +23 -0
  54. package/dist-es/commands/DeleteGroupCommand.js +22 -0
  55. package/dist-es/commands/DeleteUserCommand.js +22 -0
  56. package/dist-es/commands/DescribeGroupCommand.js +23 -0
  57. package/dist-es/commands/DescribeUserCommand.js +23 -0
  58. package/dist-es/commands/DisableUserCommand.js +22 -0
  59. package/dist-es/commands/ListGroupMembersCommand.js +23 -0
  60. package/dist-es/commands/ListGroupsCommand.js +23 -0
  61. package/dist-es/commands/ListGroupsForMemberCommand.js +23 -0
  62. package/dist-es/commands/ListUsersCommand.js +23 -0
  63. package/dist-es/commands/RemoveGroupMemberCommand.js +22 -0
  64. package/dist-es/commands/SearchGroupsCommand.js +23 -0
  65. package/dist-es/commands/SearchUsersCommand.js +23 -0
  66. package/dist-es/commands/UpdateGroupCommand.js +23 -0
  67. package/dist-es/commands/UpdateUserCommand.js +23 -0
  68. package/dist-es/commands/index.js +17 -0
  69. package/dist-es/endpoint/EndpointParameters.js +14 -0
  70. package/dist-es/endpoint/endpointResolver.js +14 -0
  71. package/dist-es/endpoint/ruleset.js +4 -0
  72. package/dist-es/extensionConfiguration.js +1 -0
  73. package/dist-es/index.js +6 -0
  74. package/dist-es/models/DirectoryServiceDataServiceException.js +8 -0
  75. package/dist-es/models/index.js +1 -0
  76. package/dist-es/models/models_0.js +301 -0
  77. package/dist-es/pagination/Interfaces.js +1 -0
  78. package/dist-es/pagination/ListGroupMembersPaginator.js +4 -0
  79. package/dist-es/pagination/ListGroupsForMemberPaginator.js +4 -0
  80. package/dist-es/pagination/ListGroupsPaginator.js +4 -0
  81. package/dist-es/pagination/ListUsersPaginator.js +4 -0
  82. package/dist-es/pagination/SearchGroupsPaginator.js +4 -0
  83. package/dist-es/pagination/SearchUsersPaginator.js +4 -0
  84. package/dist-es/pagination/index.js +7 -0
  85. package/dist-es/protocols/Aws_restJson1.js +731 -0
  86. package/dist-es/runtimeConfig.browser.js +34 -0
  87. package/dist-es/runtimeConfig.js +44 -0
  88. package/dist-es/runtimeConfig.native.js +11 -0
  89. package/dist-es/runtimeConfig.shared.js +30 -0
  90. package/dist-es/runtimeExtensions.js +21 -0
  91. package/dist-types/DirectoryServiceData.d.ts +179 -0
  92. package/dist-types/DirectoryServiceDataClient.d.ts +236 -0
  93. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  94. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  95. package/dist-types/commands/AddGroupMemberCommand.d.ts +107 -0
  96. package/dist-types/commands/CreateGroupCommand.d.ts +118 -0
  97. package/dist-types/commands/CreateUserCommand.d.ts +119 -0
  98. package/dist-types/commands/DeleteGroupCommand.d.ts +105 -0
  99. package/dist-types/commands/DeleteUserCommand.d.ts +105 -0
  100. package/dist-types/commands/DescribeGroupCommand.d.ts +117 -0
  101. package/dist-types/commands/DescribeUserCommand.d.ts +120 -0
  102. package/dist-types/commands/DisableUserCommand.d.ts +107 -0
  103. package/dist-types/commands/ListGroupMembersCommand.d.ts +117 -0
  104. package/dist-types/commands/ListGroupsCommand.d.ts +112 -0
  105. package/dist-types/commands/ListGroupsForMemberCommand.d.ts +118 -0
  106. package/dist-types/commands/ListUsersCommand.d.ts +113 -0
  107. package/dist-types/commands/RemoveGroupMemberCommand.d.ts +107 -0
  108. package/dist-types/commands/SearchGroupsCommand.d.ts +129 -0
  109. package/dist-types/commands/SearchUsersCommand.d.ts +132 -0
  110. package/dist-types/commands/UpdateGroupCommand.d.ts +118 -0
  111. package/dist-types/commands/UpdateUserCommand.d.ts +119 -0
  112. package/dist-types/commands/index.d.ts +17 -0
  113. package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
  114. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  115. package/dist-types/endpoint/ruleset.d.ts +2 -0
  116. package/dist-types/extensionConfiguration.d.ts +9 -0
  117. package/dist-types/index.d.ts +64 -0
  118. package/dist-types/models/DirectoryServiceDataServiceException.d.ts +14 -0
  119. package/dist-types/models/index.d.ts +1 -0
  120. package/dist-types/models/models_0.d.ts +1639 -0
  121. package/dist-types/pagination/Interfaces.d.ts +8 -0
  122. package/dist-types/pagination/ListGroupMembersPaginator.d.ts +7 -0
  123. package/dist-types/pagination/ListGroupsForMemberPaginator.d.ts +7 -0
  124. package/dist-types/pagination/ListGroupsPaginator.d.ts +7 -0
  125. package/dist-types/pagination/ListUsersPaginator.d.ts +7 -0
  126. package/dist-types/pagination/SearchGroupsPaginator.d.ts +7 -0
  127. package/dist-types/pagination/SearchUsersPaginator.d.ts +7 -0
  128. package/dist-types/pagination/index.d.ts +7 -0
  129. package/dist-types/protocols/Aws_restJson1.d.ts +155 -0
  130. package/dist-types/runtimeConfig.browser.d.ts +47 -0
  131. package/dist-types/runtimeConfig.d.ts +47 -0
  132. package/dist-types/runtimeConfig.native.d.ts +46 -0
  133. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  134. package/dist-types/runtimeExtensions.d.ts +17 -0
  135. package/dist-types/ts3.4/DirectoryServiceData.d.ts +296 -0
  136. package/dist-types/ts3.4/DirectoryServiceDataClient.d.ts +223 -0
  137. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  138. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  139. package/dist-types/ts3.4/commands/AddGroupMemberCommand.d.ts +50 -0
  140. package/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +47 -0
  141. package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +47 -0
  142. package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +47 -0
  143. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +47 -0
  144. package/dist-types/ts3.4/commands/DescribeGroupCommand.d.ts +47 -0
  145. package/dist-types/ts3.4/commands/DescribeUserCommand.d.ts +47 -0
  146. package/dist-types/ts3.4/commands/DisableUserCommand.d.ts +47 -0
  147. package/dist-types/ts3.4/commands/ListGroupMembersCommand.d.ts +50 -0
  148. package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +47 -0
  149. package/dist-types/ts3.4/commands/ListGroupsForMemberCommand.d.ts +51 -0
  150. package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +47 -0
  151. package/dist-types/ts3.4/commands/RemoveGroupMemberCommand.d.ts +51 -0
  152. package/dist-types/ts3.4/commands/SearchGroupsCommand.d.ts +47 -0
  153. package/dist-types/ts3.4/commands/SearchUsersCommand.d.ts +47 -0
  154. package/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +47 -0
  155. package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +47 -0
  156. package/dist-types/ts3.4/commands/index.d.ts +17 -0
  157. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  158. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  159. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  160. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  161. package/dist-types/ts3.4/index.d.ts +9 -0
  162. package/dist-types/ts3.4/models/DirectoryServiceDataServiceException.d.ts +9 -0
  163. package/dist-types/ts3.4/models/index.d.ts +1 -0
  164. package/dist-types/ts3.4/models/models_0.d.ts +471 -0
  165. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  166. package/dist-types/ts3.4/pagination/ListGroupMembersPaginator.d.ts +11 -0
  167. package/dist-types/ts3.4/pagination/ListGroupsForMemberPaginator.d.ts +11 -0
  168. package/dist-types/ts3.4/pagination/ListGroupsPaginator.d.ts +11 -0
  169. package/dist-types/ts3.4/pagination/ListUsersPaginator.d.ts +11 -0
  170. package/dist-types/ts3.4/pagination/SearchGroupsPaginator.d.ts +11 -0
  171. package/dist-types/ts3.4/pagination/SearchUsersPaginator.d.ts +11 -0
  172. package/dist-types/ts3.4/pagination/index.d.ts +7 -0
  173. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +209 -0
  174. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +89 -0
  175. package/dist-types/ts3.4/runtimeConfig.d.ts +93 -0
  176. package/dist-types/ts3.4/runtimeConfig.native.d.ts +83 -0
  177. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
  178. package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
  179. package/package.json +103 -0
@@ -0,0 +1,47 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ DirectoryServiceDataClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../DirectoryServiceDataClient";
8
+ import { UpdateUserRequest, UpdateUserResult } from "../models/models_0";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface UpdateUserCommandInput extends UpdateUserRequest {}
12
+ export interface UpdateUserCommandOutput
13
+ extends UpdateUserResult,
14
+ __MetadataBearer {}
15
+ declare const UpdateUserCommand_base: {
16
+ new (
17
+ input: UpdateUserCommandInput
18
+ ): import("@smithy/smithy-client").CommandImpl<
19
+ UpdateUserCommandInput,
20
+ UpdateUserCommandOutput,
21
+ DirectoryServiceDataClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ __0_0: UpdateUserCommandInput
27
+ ): import("@smithy/smithy-client").CommandImpl<
28
+ UpdateUserCommandInput,
29
+ UpdateUserCommandOutput,
30
+ DirectoryServiceDataClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ export declare class UpdateUserCommand extends UpdateUserCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: UpdateUserRequest;
40
+ output: {};
41
+ };
42
+ sdk: {
43
+ input: UpdateUserCommandInput;
44
+ output: UpdateUserCommandOutput;
45
+ };
46
+ };
47
+ }
@@ -0,0 +1,17 @@
1
+ export * from "./AddGroupMemberCommand";
2
+ export * from "./CreateGroupCommand";
3
+ export * from "./CreateUserCommand";
4
+ export * from "./DeleteGroupCommand";
5
+ export * from "./DeleteUserCommand";
6
+ export * from "./DescribeGroupCommand";
7
+ export * from "./DescribeUserCommand";
8
+ export * from "./DisableUserCommand";
9
+ export * from "./ListGroupMembersCommand";
10
+ export * from "./ListGroupsCommand";
11
+ export * from "./ListGroupsForMemberCommand";
12
+ export * from "./ListUsersCommand";
13
+ export * from "./RemoveGroupMemberCommand";
14
+ export * from "./SearchGroupsCommand";
15
+ export * from "./SearchUsersCommand";
16
+ export * from "./UpdateGroupCommand";
17
+ export * from "./UpdateUserCommand";
@@ -0,0 +1,51 @@
1
+ import {
2
+ Endpoint,
3
+ EndpointParameters as __EndpointParameters,
4
+ EndpointV2,
5
+ Provider,
6
+ } from "@smithy/types";
7
+ export interface ClientInputEndpointParameters {
8
+ region?: string | Provider<string>;
9
+ useDualstackEndpoint?: boolean | Provider<boolean>;
10
+ useFipsEndpoint?: boolean | Provider<boolean>;
11
+ endpoint?:
12
+ | string
13
+ | Provider<string>
14
+ | Endpoint
15
+ | Provider<Endpoint>
16
+ | EndpointV2
17
+ | Provider<EndpointV2>;
18
+ }
19
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
20
+ defaultSigningName: string;
21
+ };
22
+ export declare const resolveClientEndpointParameters: <T>(
23
+ options: T & ClientInputEndpointParameters
24
+ ) => T &
25
+ ClientInputEndpointParameters & {
26
+ defaultSigningName: string;
27
+ };
28
+ export declare const commonParams: {
29
+ readonly UseFIPS: {
30
+ readonly type: "builtInParams";
31
+ readonly name: "useFipsEndpoint";
32
+ };
33
+ readonly Endpoint: {
34
+ readonly type: "builtInParams";
35
+ readonly name: "endpoint";
36
+ };
37
+ readonly Region: {
38
+ readonly type: "builtInParams";
39
+ readonly name: "region";
40
+ };
41
+ readonly UseDualStack: {
42
+ readonly type: "builtInParams";
43
+ readonly name: "useDualstackEndpoint";
44
+ };
45
+ };
46
+ export interface EndpointParameters extends __EndpointParameters {
47
+ Region?: string;
48
+ UseDualStack?: boolean;
49
+ UseFIPS?: boolean;
50
+ Endpoint?: string;
51
+ }
@@ -0,0 +1,8 @@
1
+ import { EndpointV2, Logger } from "@smithy/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (
4
+ endpointParams: EndpointParameters,
5
+ context?: {
6
+ logger?: Logger;
7
+ }
8
+ ) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@smithy/types";
2
+ export declare const ruleSet: RuleSetObject;
@@ -0,0 +1,9 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
+ import { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
+ export interface DirectoryServiceDataExtensionConfiguration
6
+ extends HttpHandlerExtensionConfiguration,
7
+ DefaultExtensionConfiguration,
8
+ AwsRegionExtensionConfiguration,
9
+ HttpAuthExtensionConfiguration {}
@@ -0,0 +1,9 @@
1
+ export * from "./DirectoryServiceDataClient";
2
+ export * from "./DirectoryServiceData";
3
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
+ export { RuntimeExtension } from "./runtimeExtensions";
5
+ export { DirectoryServiceDataExtensionConfiguration } from "./extensionConfiguration";
6
+ export * from "./commands";
7
+ export * from "./pagination";
8
+ export * from "./models";
9
+ export { DirectoryServiceDataServiceException } from "./models/DirectoryServiceDataServiceException";
@@ -0,0 +1,9 @@
1
+ import {
2
+ ServiceException as __ServiceException,
3
+ ServiceExceptionOptions as __ServiceExceptionOptions,
4
+ } from "@smithy/smithy-client";
5
+ export { __ServiceExceptionOptions };
6
+ export { __ServiceException };
7
+ export declare class DirectoryServiceDataServiceException extends __ServiceException {
8
+ constructor(options: __ServiceExceptionOptions);
9
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";
@@ -0,0 +1,471 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { DirectoryServiceDataServiceException as __BaseException } from "./DirectoryServiceDataServiceException";
3
+ export declare const AccessDeniedReason: {
4
+ readonly DATA_DISABLED: "DATA_DISABLED";
5
+ readonly DIRECTORY_AUTH: "DIRECTORY_AUTH";
6
+ readonly IAM_AUTH: "IAM_AUTH";
7
+ };
8
+ export type AccessDeniedReason =
9
+ (typeof AccessDeniedReason)[keyof typeof AccessDeniedReason];
10
+ export declare class AccessDeniedException extends __BaseException {
11
+ readonly name: "AccessDeniedException";
12
+ readonly $fault: "client";
13
+ Message?: string;
14
+ Reason?: AccessDeniedReason;
15
+ constructor(
16
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
17
+ );
18
+ }
19
+ export interface AddGroupMemberRequest {
20
+ DirectoryId: string | undefined;
21
+ GroupName: string | undefined;
22
+ MemberName: string | undefined;
23
+ MemberRealm?: string;
24
+ ClientToken?: string;
25
+ }
26
+ export interface AddGroupMemberResult {}
27
+ export declare class ConflictException extends __BaseException {
28
+ readonly name: "ConflictException";
29
+ readonly $fault: "client";
30
+ Message?: string;
31
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
32
+ }
33
+ export declare const DirectoryUnavailableReason: {
34
+ readonly DIRECTORY_RESOURCES_EXCEEDED: "DIRECTORY_RESOURCES_EXCEEDED";
35
+ readonly DIRECTORY_TIMEOUT: "DIRECTORY_TIMEOUT";
36
+ readonly INVALID_DIRECTORY_STATE: "INVALID_DIRECTORY_STATE";
37
+ readonly NO_DISK_SPACE: "NO_DISK_SPACE";
38
+ readonly TRUST_AUTH_FAILURE: "TRUST_AUTH_FAILURE";
39
+ };
40
+ export type DirectoryUnavailableReason =
41
+ (typeof DirectoryUnavailableReason)[keyof typeof DirectoryUnavailableReason];
42
+ export declare class DirectoryUnavailableException extends __BaseException {
43
+ readonly name: "DirectoryUnavailableException";
44
+ readonly $fault: "client";
45
+ $retryable: {};
46
+ Message?: string;
47
+ Reason?: DirectoryUnavailableReason;
48
+ constructor(
49
+ opts: __ExceptionOptionType<DirectoryUnavailableException, __BaseException>
50
+ );
51
+ }
52
+ export declare class InternalServerException extends __BaseException {
53
+ readonly name: "InternalServerException";
54
+ readonly $fault: "server";
55
+ $retryable: {};
56
+ Message?: string;
57
+ constructor(
58
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
59
+ );
60
+ }
61
+ export declare class ResourceNotFoundException extends __BaseException {
62
+ readonly name: "ResourceNotFoundException";
63
+ readonly $fault: "client";
64
+ Message?: string;
65
+ constructor(
66
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
67
+ );
68
+ }
69
+ export declare class ThrottlingException extends __BaseException {
70
+ readonly name: "ThrottlingException";
71
+ readonly $fault: "client";
72
+ $retryable: {
73
+ throttling: boolean;
74
+ };
75
+ Message: string | undefined;
76
+ RetryAfterSeconds?: number;
77
+ constructor(
78
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
79
+ );
80
+ }
81
+ export declare const ValidationExceptionReason: {
82
+ readonly ATTRIBUTE_EXISTS: "ATTRIBUTE_EXISTS";
83
+ readonly DUPLICATE_ATTRIBUTE: "DUPLICATE_ATTRIBUTE";
84
+ readonly INVALID_ATTRIBUTE_FOR_GROUP: "INVALID_ATTRIBUTE_FOR_GROUP";
85
+ readonly INVALID_ATTRIBUTE_FOR_MODIFY: "INVALID_ATTRIBUTE_FOR_MODIFY";
86
+ readonly INVALID_ATTRIBUTE_FOR_SEARCH: "INVALID_ATTRIBUTE_FOR_SEARCH";
87
+ readonly INVALID_ATTRIBUTE_FOR_USER: "INVALID_ATTRIBUTE_FOR_USER";
88
+ readonly INVALID_ATTRIBUTE_NAME: "INVALID_ATTRIBUTE_NAME";
89
+ readonly INVALID_ATTRIBUTE_VALUE: "INVALID_ATTRIBUTE_VALUE";
90
+ readonly INVALID_DIRECTORY_TYPE: "INVALID_DIRECTORY_TYPE";
91
+ readonly INVALID_NEXT_TOKEN: "INVALID_NEXT_TOKEN";
92
+ readonly INVALID_REALM: "INVALID_REALM";
93
+ readonly INVALID_SECONDARY_REGION: "INVALID_SECONDARY_REGION";
94
+ readonly LDAP_SIZE_LIMIT_EXCEEDED: "LDAP_SIZE_LIMIT_EXCEEDED";
95
+ readonly LDAP_UNSUPPORTED_OPERATION: "LDAP_UNSUPPORTED_OPERATION";
96
+ readonly MISSING_ATTRIBUTE: "MISSING_ATTRIBUTE";
97
+ };
98
+ export type ValidationExceptionReason =
99
+ (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
100
+ export declare class ValidationException extends __BaseException {
101
+ readonly name: "ValidationException";
102
+ readonly $fault: "client";
103
+ Message?: string;
104
+ Reason?: ValidationExceptionReason;
105
+ constructor(
106
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
107
+ );
108
+ }
109
+ export type AttributeValue =
110
+ | AttributeValue.BOOLMember
111
+ | AttributeValue.NMember
112
+ | AttributeValue.SMember
113
+ | AttributeValue.SSMember
114
+ | AttributeValue.$UnknownMember;
115
+ export declare namespace AttributeValue {
116
+ interface SMember {
117
+ S: string;
118
+ N?: never;
119
+ BOOL?: never;
120
+ SS?: never;
121
+ $unknown?: never;
122
+ }
123
+ interface NMember {
124
+ S?: never;
125
+ N: number;
126
+ BOOL?: never;
127
+ SS?: never;
128
+ $unknown?: never;
129
+ }
130
+ interface BOOLMember {
131
+ S?: never;
132
+ N?: never;
133
+ BOOL: boolean;
134
+ SS?: never;
135
+ $unknown?: never;
136
+ }
137
+ interface SSMember {
138
+ S?: never;
139
+ N?: never;
140
+ BOOL?: never;
141
+ SS: string[];
142
+ $unknown?: never;
143
+ }
144
+ interface $UnknownMember {
145
+ S?: never;
146
+ N?: never;
147
+ BOOL?: never;
148
+ SS?: never;
149
+ $unknown: [string, any];
150
+ }
151
+ interface Visitor<T> {
152
+ S: (value: string) => T;
153
+ N: (value: number) => T;
154
+ BOOL: (value: boolean) => T;
155
+ SS: (value: string[]) => T;
156
+ _: (name: string, value: any) => T;
157
+ }
158
+ const visit: <T>(value: AttributeValue, visitor: Visitor<T>) => T;
159
+ }
160
+ export declare const GroupScope: {
161
+ readonly BUILTIN_LOCAL: "BuiltinLocal";
162
+ readonly DOMAIN_LOCAL: "DomainLocal";
163
+ readonly GLOBAL: "Global";
164
+ readonly UNIVERSAL: "Universal";
165
+ };
166
+ export type GroupScope = (typeof GroupScope)[keyof typeof GroupScope];
167
+ export declare const GroupType: {
168
+ readonly DISTRIBUTION: "Distribution";
169
+ readonly SECURITY: "Security";
170
+ };
171
+ export type GroupType = (typeof GroupType)[keyof typeof GroupType];
172
+ export interface CreateGroupRequest {
173
+ DirectoryId: string | undefined;
174
+ SAMAccountName: string | undefined;
175
+ GroupType?: GroupType;
176
+ GroupScope?: GroupScope;
177
+ OtherAttributes?: Record<string, AttributeValue>;
178
+ ClientToken?: string;
179
+ }
180
+ export interface CreateGroupResult {
181
+ DirectoryId?: string;
182
+ SAMAccountName?: string;
183
+ SID?: string;
184
+ }
185
+ export interface CreateUserRequest {
186
+ DirectoryId: string | undefined;
187
+ SAMAccountName: string | undefined;
188
+ EmailAddress?: string;
189
+ GivenName?: string;
190
+ Surname?: string;
191
+ OtherAttributes?: Record<string, AttributeValue>;
192
+ ClientToken?: string;
193
+ }
194
+ export interface CreateUserResult {
195
+ DirectoryId?: string;
196
+ SID?: string;
197
+ SAMAccountName?: string;
198
+ }
199
+ export interface DeleteGroupRequest {
200
+ DirectoryId: string | undefined;
201
+ SAMAccountName: string | undefined;
202
+ ClientToken?: string;
203
+ }
204
+ export interface DeleteGroupResult {}
205
+ export interface DeleteUserRequest {
206
+ DirectoryId: string | undefined;
207
+ SAMAccountName: string | undefined;
208
+ ClientToken?: string;
209
+ }
210
+ export interface DeleteUserResult {}
211
+ export interface DescribeGroupRequest {
212
+ DirectoryId: string | undefined;
213
+ Realm?: string;
214
+ SAMAccountName: string | undefined;
215
+ OtherAttributes?: string[];
216
+ }
217
+ export interface DescribeGroupResult {
218
+ DirectoryId?: string;
219
+ Realm?: string;
220
+ SID?: string;
221
+ SAMAccountName?: string;
222
+ DistinguishedName?: string;
223
+ GroupType?: GroupType;
224
+ GroupScope?: GroupScope;
225
+ OtherAttributes?: Record<string, AttributeValue>;
226
+ }
227
+ export interface DescribeUserRequest {
228
+ DirectoryId: string | undefined;
229
+ SAMAccountName: string | undefined;
230
+ OtherAttributes?: string[];
231
+ Realm?: string;
232
+ }
233
+ export interface DescribeUserResult {
234
+ DirectoryId?: string;
235
+ Realm?: string;
236
+ SID?: string;
237
+ SAMAccountName?: string;
238
+ DistinguishedName?: string;
239
+ UserPrincipalName?: string;
240
+ EmailAddress?: string;
241
+ GivenName?: string;
242
+ Surname?: string;
243
+ Enabled?: boolean;
244
+ OtherAttributes?: Record<string, AttributeValue>;
245
+ }
246
+ export interface DisableUserRequest {
247
+ DirectoryId: string | undefined;
248
+ SAMAccountName: string | undefined;
249
+ ClientToken?: string;
250
+ }
251
+ export interface DisableUserResult {}
252
+ export interface ListGroupMembersRequest {
253
+ DirectoryId: string | undefined;
254
+ Realm?: string;
255
+ MemberRealm?: string;
256
+ SAMAccountName: string | undefined;
257
+ NextToken?: string;
258
+ MaxResults?: number;
259
+ }
260
+ export declare const MemberType: {
261
+ readonly COMPUTER: "COMPUTER";
262
+ readonly GROUP: "GROUP";
263
+ readonly USER: "USER";
264
+ };
265
+ export type MemberType = (typeof MemberType)[keyof typeof MemberType];
266
+ export interface Member {
267
+ SID: string | undefined;
268
+ SAMAccountName: string | undefined;
269
+ MemberType: MemberType | undefined;
270
+ }
271
+ export interface ListGroupMembersResult {
272
+ DirectoryId?: string;
273
+ Realm?: string;
274
+ MemberRealm?: string;
275
+ Members?: Member[];
276
+ NextToken?: string;
277
+ }
278
+ export interface ListGroupsRequest {
279
+ DirectoryId: string | undefined;
280
+ Realm?: string;
281
+ NextToken?: string;
282
+ MaxResults?: number;
283
+ }
284
+ export interface GroupSummary {
285
+ SID: string | undefined;
286
+ SAMAccountName: string | undefined;
287
+ GroupType: GroupType | undefined;
288
+ GroupScope: GroupScope | undefined;
289
+ }
290
+ export interface ListGroupsResult {
291
+ DirectoryId?: string;
292
+ Realm?: string;
293
+ Groups?: GroupSummary[];
294
+ NextToken?: string;
295
+ }
296
+ export interface ListGroupsForMemberRequest {
297
+ DirectoryId: string | undefined;
298
+ Realm?: string;
299
+ MemberRealm?: string;
300
+ SAMAccountName: string | undefined;
301
+ NextToken?: string;
302
+ MaxResults?: number;
303
+ }
304
+ export interface ListGroupsForMemberResult {
305
+ DirectoryId?: string;
306
+ Realm?: string;
307
+ MemberRealm?: string;
308
+ Groups?: GroupSummary[];
309
+ NextToken?: string;
310
+ }
311
+ export interface ListUsersRequest {
312
+ DirectoryId: string | undefined;
313
+ Realm?: string;
314
+ NextToken?: string;
315
+ MaxResults?: number;
316
+ }
317
+ export interface UserSummary {
318
+ SID: string | undefined;
319
+ SAMAccountName: string | undefined;
320
+ GivenName?: string;
321
+ Surname?: string;
322
+ Enabled: boolean | undefined;
323
+ }
324
+ export interface ListUsersResult {
325
+ DirectoryId?: string;
326
+ Realm?: string;
327
+ Users?: UserSummary[];
328
+ NextToken?: string;
329
+ }
330
+ export interface RemoveGroupMemberRequest {
331
+ DirectoryId: string | undefined;
332
+ GroupName: string | undefined;
333
+ MemberName: string | undefined;
334
+ MemberRealm?: string;
335
+ ClientToken?: string;
336
+ }
337
+ export interface RemoveGroupMemberResult {}
338
+ export interface SearchGroupsRequest {
339
+ DirectoryId: string | undefined;
340
+ SearchString: string | undefined;
341
+ SearchAttributes: string[] | undefined;
342
+ Realm?: string;
343
+ NextToken?: string;
344
+ MaxResults?: number;
345
+ }
346
+ export interface Group {
347
+ SID?: string;
348
+ SAMAccountName: string | undefined;
349
+ DistinguishedName?: string;
350
+ GroupType?: GroupType;
351
+ GroupScope?: GroupScope;
352
+ OtherAttributes?: Record<string, AttributeValue>;
353
+ }
354
+ export interface SearchGroupsResult {
355
+ DirectoryId?: string;
356
+ Realm?: string;
357
+ Groups?: Group[];
358
+ NextToken?: string;
359
+ }
360
+ export interface SearchUsersRequest {
361
+ DirectoryId: string | undefined;
362
+ Realm?: string;
363
+ SearchString: string | undefined;
364
+ SearchAttributes: string[] | undefined;
365
+ NextToken?: string;
366
+ MaxResults?: number;
367
+ }
368
+ export interface User {
369
+ SID?: string;
370
+ SAMAccountName: string | undefined;
371
+ DistinguishedName?: string;
372
+ UserPrincipalName?: string;
373
+ EmailAddress?: string;
374
+ GivenName?: string;
375
+ Surname?: string;
376
+ Enabled?: boolean;
377
+ OtherAttributes?: Record<string, AttributeValue>;
378
+ }
379
+ export interface SearchUsersResult {
380
+ DirectoryId?: string;
381
+ Realm?: string;
382
+ Users?: User[];
383
+ NextToken?: string;
384
+ }
385
+ export declare const UpdateType: {
386
+ readonly ADD: "ADD";
387
+ readonly REMOVE: "REMOVE";
388
+ readonly REPLACE: "REPLACE";
389
+ };
390
+ export type UpdateType = (typeof UpdateType)[keyof typeof UpdateType];
391
+ export interface UpdateGroupRequest {
392
+ DirectoryId: string | undefined;
393
+ SAMAccountName: string | undefined;
394
+ GroupType?: GroupType;
395
+ GroupScope?: GroupScope;
396
+ OtherAttributes?: Record<string, AttributeValue>;
397
+ UpdateType?: UpdateType;
398
+ ClientToken?: string;
399
+ }
400
+ export interface UpdateGroupResult {}
401
+ export interface UpdateUserRequest {
402
+ DirectoryId: string | undefined;
403
+ SAMAccountName: string | undefined;
404
+ EmailAddress?: string;
405
+ GivenName?: string;
406
+ Surname?: string;
407
+ OtherAttributes?: Record<string, AttributeValue>;
408
+ UpdateType?: UpdateType;
409
+ ClientToken?: string;
410
+ }
411
+ export interface UpdateUserResult {}
412
+ export declare const AttributeValueFilterSensitiveLog: (
413
+ obj: AttributeValue
414
+ ) => any;
415
+ export declare const CreateGroupRequestFilterSensitiveLog: (
416
+ obj: CreateGroupRequest
417
+ ) => any;
418
+ export declare const CreateUserRequestFilterSensitiveLog: (
419
+ obj: CreateUserRequest
420
+ ) => any;
421
+ export declare const DescribeGroupResultFilterSensitiveLog: (
422
+ obj: DescribeGroupResult
423
+ ) => any;
424
+ export declare const DescribeUserResultFilterSensitiveLog: (
425
+ obj: DescribeUserResult
426
+ ) => any;
427
+ export declare const ListGroupMembersRequestFilterSensitiveLog: (
428
+ obj: ListGroupMembersRequest
429
+ ) => any;
430
+ export declare const ListGroupMembersResultFilterSensitiveLog: (
431
+ obj: ListGroupMembersResult
432
+ ) => any;
433
+ export declare const ListGroupsRequestFilterSensitiveLog: (
434
+ obj: ListGroupsRequest
435
+ ) => any;
436
+ export declare const ListGroupsResultFilterSensitiveLog: (
437
+ obj: ListGroupsResult
438
+ ) => any;
439
+ export declare const ListGroupsForMemberRequestFilterSensitiveLog: (
440
+ obj: ListGroupsForMemberRequest
441
+ ) => any;
442
+ export declare const ListGroupsForMemberResultFilterSensitiveLog: (
443
+ obj: ListGroupsForMemberResult
444
+ ) => any;
445
+ export declare const ListUsersRequestFilterSensitiveLog: (
446
+ obj: ListUsersRequest
447
+ ) => any;
448
+ export declare const UserSummaryFilterSensitiveLog: (obj: UserSummary) => any;
449
+ export declare const ListUsersResultFilterSensitiveLog: (
450
+ obj: ListUsersResult
451
+ ) => any;
452
+ export declare const SearchGroupsRequestFilterSensitiveLog: (
453
+ obj: SearchGroupsRequest
454
+ ) => any;
455
+ export declare const GroupFilterSensitiveLog: (obj: Group) => any;
456
+ export declare const SearchGroupsResultFilterSensitiveLog: (
457
+ obj: SearchGroupsResult
458
+ ) => any;
459
+ export declare const SearchUsersRequestFilterSensitiveLog: (
460
+ obj: SearchUsersRequest
461
+ ) => any;
462
+ export declare const UserFilterSensitiveLog: (obj: User) => any;
463
+ export declare const SearchUsersResultFilterSensitiveLog: (
464
+ obj: SearchUsersResult
465
+ ) => any;
466
+ export declare const UpdateGroupRequestFilterSensitiveLog: (
467
+ obj: UpdateGroupRequest
468
+ ) => any;
469
+ export declare const UpdateUserRequestFilterSensitiveLog: (
470
+ obj: UpdateUserRequest
471
+ ) => any;
@@ -0,0 +1,6 @@
1
+ import { PaginationConfiguration } from "@smithy/types";
2
+ import { DirectoryServiceDataClient } from "../DirectoryServiceDataClient";
3
+ export interface DirectoryServiceDataPaginationConfiguration
4
+ extends PaginationConfiguration {
5
+ client: DirectoryServiceDataClient;
6
+ }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListGroupMembersCommandInput,
4
+ ListGroupMembersCommandOutput,
5
+ } from "../commands/ListGroupMembersCommand";
6
+ import { DirectoryServiceDataPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListGroupMembers: (
8
+ config: DirectoryServiceDataPaginationConfiguration,
9
+ input: ListGroupMembersCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListGroupMembersCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListGroupsForMemberCommandInput,
4
+ ListGroupsForMemberCommandOutput,
5
+ } from "../commands/ListGroupsForMemberCommand";
6
+ import { DirectoryServiceDataPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListGroupsForMember: (
8
+ config: DirectoryServiceDataPaginationConfiguration,
9
+ input: ListGroupsForMemberCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListGroupsForMemberCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListGroupsCommandInput,
4
+ ListGroupsCommandOutput,
5
+ } from "../commands/ListGroupsCommand";
6
+ import { DirectoryServiceDataPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListGroups: (
8
+ config: DirectoryServiceDataPaginationConfiguration,
9
+ input: ListGroupsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListGroupsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListUsersCommandInput,
4
+ ListUsersCommandOutput,
5
+ } from "../commands/ListUsersCommand";
6
+ import { DirectoryServiceDataPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListUsers: (
8
+ config: DirectoryServiceDataPaginationConfiguration,
9
+ input: ListUsersCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListUsersCommandOutput>;