@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,118 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DirectoryServiceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DirectoryServiceDataClient";
4
+ import { UpdateGroupRequest, UpdateGroupResult } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateGroupCommand}.
14
+ */
15
+ export interface UpdateGroupCommandInput extends UpdateGroupRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateGroupCommand}.
21
+ */
22
+ export interface UpdateGroupCommandOutput extends UpdateGroupResult, __MetadataBearer {
23
+ }
24
+ declare const UpdateGroupCommand_base: {
25
+ new (input: UpdateGroupCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateGroupCommandInput, UpdateGroupCommandOutput, DirectoryServiceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateGroupCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateGroupCommandInput, UpdateGroupCommandOutput, DirectoryServiceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p> Updates group information. </p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { DirectoryServiceDataClient, UpdateGroupCommand } from "@aws-sdk/client-directory-service-data"; // ES Modules import
35
+ * // const { DirectoryServiceDataClient, UpdateGroupCommand } = require("@aws-sdk/client-directory-service-data"); // CommonJS import
36
+ * const client = new DirectoryServiceDataClient(config);
37
+ * const input = { // UpdateGroupRequest
38
+ * DirectoryId: "STRING_VALUE", // required
39
+ * SAMAccountName: "STRING_VALUE", // required
40
+ * GroupType: "Distribution" || "Security",
41
+ * GroupScope: "DomainLocal" || "Global" || "Universal" || "BuiltinLocal",
42
+ * OtherAttributes: { // Attributes
43
+ * "<keys>": { // AttributeValue Union: only one key present
44
+ * S: "STRING_VALUE",
45
+ * N: Number("long"),
46
+ * BOOL: true || false,
47
+ * SS: [ // StringSetAttributeValue
48
+ * "STRING_VALUE",
49
+ * ],
50
+ * },
51
+ * },
52
+ * UpdateType: "ADD" || "REPLACE" || "REMOVE",
53
+ * ClientToken: "STRING_VALUE",
54
+ * };
55
+ * const command = new UpdateGroupCommand(input);
56
+ * const response = await client.send(command);
57
+ * // {};
58
+ *
59
+ * ```
60
+ *
61
+ * @param UpdateGroupCommandInput - {@link UpdateGroupCommandInput}
62
+ * @returns {@link UpdateGroupCommandOutput}
63
+ * @see {@link UpdateGroupCommandInput} for command's `input` shape.
64
+ * @see {@link UpdateGroupCommandOutput} for command's `response` shape.
65
+ * @see {@link DirectoryServiceDataClientResolvedConfig | config} for DirectoryServiceDataClient's `config` shape.
66
+ *
67
+ * @throws {@link AccessDeniedException} (client fault)
68
+ * <p> You don't have permission to perform the request or access the directory. It can also
69
+ * occur when the <code>DirectoryId</code> doesn't exist or the user, member, or group might be
70
+ * outside of your organizational unit (OU). </p>
71
+ * <p> Make sure that you have the authentication and authorization to perform the action.
72
+ * Review the directory information in the request, and make sure that the object isn't outside
73
+ * of your OU. </p>
74
+ *
75
+ * @throws {@link ConflictException} (client fault)
76
+ * <p> This error will occur when you try to create a resource that conflicts with an existing
77
+ * object. It can also occur when adding a member to a group that the member is already
78
+ * in.</p>
79
+ * <p> This error can be caused by a request sent within the 8-hour idempotency window with the
80
+ * same client token but different input parameters. Client tokens should not be re-used across
81
+ * different requests. After 8 hours, any request with the same client token is treated as a new
82
+ * request. </p>
83
+ *
84
+ * @throws {@link DirectoryUnavailableException} (client fault)
85
+ * <p> The request could not be completed due to a problem in the configuration or current state
86
+ * of the specified directory. </p>
87
+ *
88
+ * @throws {@link InternalServerException} (server fault)
89
+ * <p> The operation didn't succeed because an internal error occurred. Try again later. </p>
90
+ *
91
+ * @throws {@link ResourceNotFoundException} (client fault)
92
+ * <p> The resource couldn't be found. </p>
93
+ *
94
+ * @throws {@link ThrottlingException} (client fault)
95
+ * <p> The limit on the number of requests per second has been exceeded. </p>
96
+ *
97
+ * @throws {@link ValidationException} (client fault)
98
+ * <p> The request isn't valid. Review the details in the error message to update the invalid
99
+ * parameters or values in your request. </p>
100
+ *
101
+ * @throws {@link DirectoryServiceDataServiceException}
102
+ * <p>Base exception class for all service exceptions from DirectoryServiceData service.</p>
103
+ *
104
+ * @public
105
+ */
106
+ export declare class UpdateGroupCommand extends UpdateGroupCommand_base {
107
+ /** @internal type navigation helper, not in runtime. */
108
+ protected static __types: {
109
+ api: {
110
+ input: UpdateGroupRequest;
111
+ output: {};
112
+ };
113
+ sdk: {
114
+ input: UpdateGroupCommandInput;
115
+ output: UpdateGroupCommandOutput;
116
+ };
117
+ };
118
+ }
@@ -0,0 +1,119 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DirectoryServiceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DirectoryServiceDataClient";
4
+ import { UpdateUserRequest, UpdateUserResult } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateUserCommand}.
14
+ */
15
+ export interface UpdateUserCommandInput extends UpdateUserRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateUserCommand}.
21
+ */
22
+ export interface UpdateUserCommandOutput extends UpdateUserResult, __MetadataBearer {
23
+ }
24
+ declare const UpdateUserCommand_base: {
25
+ new (input: UpdateUserCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateUserCommandInput, UpdateUserCommandOutput, DirectoryServiceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateUserCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateUserCommandInput, UpdateUserCommandOutput, DirectoryServiceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p> Updates user information. </p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { DirectoryServiceDataClient, UpdateUserCommand } from "@aws-sdk/client-directory-service-data"; // ES Modules import
35
+ * // const { DirectoryServiceDataClient, UpdateUserCommand } = require("@aws-sdk/client-directory-service-data"); // CommonJS import
36
+ * const client = new DirectoryServiceDataClient(config);
37
+ * const input = { // UpdateUserRequest
38
+ * DirectoryId: "STRING_VALUE", // required
39
+ * SAMAccountName: "STRING_VALUE", // required
40
+ * EmailAddress: "STRING_VALUE",
41
+ * GivenName: "STRING_VALUE",
42
+ * Surname: "STRING_VALUE",
43
+ * OtherAttributes: { // Attributes
44
+ * "<keys>": { // AttributeValue Union: only one key present
45
+ * S: "STRING_VALUE",
46
+ * N: Number("long"),
47
+ * BOOL: true || false,
48
+ * SS: [ // StringSetAttributeValue
49
+ * "STRING_VALUE",
50
+ * ],
51
+ * },
52
+ * },
53
+ * UpdateType: "ADD" || "REPLACE" || "REMOVE",
54
+ * ClientToken: "STRING_VALUE",
55
+ * };
56
+ * const command = new UpdateUserCommand(input);
57
+ * const response = await client.send(command);
58
+ * // {};
59
+ *
60
+ * ```
61
+ *
62
+ * @param UpdateUserCommandInput - {@link UpdateUserCommandInput}
63
+ * @returns {@link UpdateUserCommandOutput}
64
+ * @see {@link UpdateUserCommandInput} for command's `input` shape.
65
+ * @see {@link UpdateUserCommandOutput} for command's `response` shape.
66
+ * @see {@link DirectoryServiceDataClientResolvedConfig | config} for DirectoryServiceDataClient's `config` shape.
67
+ *
68
+ * @throws {@link AccessDeniedException} (client fault)
69
+ * <p> You don't have permission to perform the request or access the directory. It can also
70
+ * occur when the <code>DirectoryId</code> doesn't exist or the user, member, or group might be
71
+ * outside of your organizational unit (OU). </p>
72
+ * <p> Make sure that you have the authentication and authorization to perform the action.
73
+ * Review the directory information in the request, and make sure that the object isn't outside
74
+ * of your OU. </p>
75
+ *
76
+ * @throws {@link ConflictException} (client fault)
77
+ * <p> This error will occur when you try to create a resource that conflicts with an existing
78
+ * object. It can also occur when adding a member to a group that the member is already
79
+ * in.</p>
80
+ * <p> This error can be caused by a request sent within the 8-hour idempotency window with the
81
+ * same client token but different input parameters. Client tokens should not be re-used across
82
+ * different requests. After 8 hours, any request with the same client token is treated as a new
83
+ * request. </p>
84
+ *
85
+ * @throws {@link DirectoryUnavailableException} (client fault)
86
+ * <p> The request could not be completed due to a problem in the configuration or current state
87
+ * of the specified directory. </p>
88
+ *
89
+ * @throws {@link InternalServerException} (server fault)
90
+ * <p> The operation didn't succeed because an internal error occurred. Try again later. </p>
91
+ *
92
+ * @throws {@link ResourceNotFoundException} (client fault)
93
+ * <p> The resource couldn't be found. </p>
94
+ *
95
+ * @throws {@link ThrottlingException} (client fault)
96
+ * <p> The limit on the number of requests per second has been exceeded. </p>
97
+ *
98
+ * @throws {@link ValidationException} (client fault)
99
+ * <p> The request isn't valid. Review the details in the error message to update the invalid
100
+ * parameters or values in your request. </p>
101
+ *
102
+ * @throws {@link DirectoryServiceDataServiceException}
103
+ * <p>Base exception class for all service exceptions from DirectoryServiceData service.</p>
104
+ *
105
+ * @public
106
+ */
107
+ export declare class UpdateUserCommand extends UpdateUserCommand_base {
108
+ /** @internal type navigation helper, not in runtime. */
109
+ protected static __types: {
110
+ api: {
111
+ input: UpdateUserRequest;
112
+ output: {};
113
+ };
114
+ sdk: {
115
+ input: UpdateUserCommandInput;
116
+ output: UpdateUserCommandOutput;
117
+ };
118
+ };
119
+ }
@@ -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,40 @@
1
+ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface ClientInputEndpointParameters {
6
+ region?: string | Provider<string>;
7
+ useDualstackEndpoint?: boolean | Provider<boolean>;
8
+ useFipsEndpoint?: boolean | Provider<boolean>;
9
+ endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
10
+ }
11
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
12
+ defaultSigningName: string;
13
+ };
14
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
15
+ defaultSigningName: string;
16
+ };
17
+ export declare const commonParams: {
18
+ readonly UseFIPS: {
19
+ readonly type: "builtInParams";
20
+ readonly name: "useFipsEndpoint";
21
+ };
22
+ readonly Endpoint: {
23
+ readonly type: "builtInParams";
24
+ readonly name: "endpoint";
25
+ };
26
+ readonly Region: {
27
+ readonly type: "builtInParams";
28
+ readonly name: "region";
29
+ };
30
+ readonly UseDualStack: {
31
+ readonly type: "builtInParams";
32
+ readonly name: "useDualstackEndpoint";
33
+ };
34
+ };
35
+ export interface EndpointParameters extends __EndpointParameters {
36
+ Region?: string;
37
+ UseDualStack?: boolean;
38
+ UseFIPS?: boolean;
39
+ Endpoint?: string;
40
+ }
@@ -0,0 +1,5 @@
1
+ import { EndpointV2, Logger } from "@smithy/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
4
+ logger?: Logger;
5
+ }) => 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
+ /**
6
+ * @internal
7
+ */
8
+ export interface DirectoryServiceDataExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
9
+ }
@@ -0,0 +1,64 @@
1
+ /**
2
+ * <p> Amazon Web Services Directory Service Data is an extension of Directory Service. This API reference provides detailed information
3
+ * about Directory Service Data operations and object types. </p>
4
+ * <p> With Directory Service Data, you can create, read, update, and delete users, groups, and memberships from
5
+ * your Managed Microsoft AD without additional costs and without deploying dedicated management
6
+ * instances. You can also perform built-in object management tasks across directories without
7
+ * direct network connectivity, which simplifies provisioning and access management to achieve
8
+ * fully automated deployments. Directory Service Data supports user and group write operations, such as
9
+ * <code>CreateUser</code> and <code>CreateGroup</code>, within the organizational unit (OU) of
10
+ * your Managed Microsoft AD. Directory Service Data supports read operations, such as <code>ListUsers</code> and
11
+ * <code>ListGroups</code>, on all users, groups, and group memberships within your
12
+ * Managed Microsoft AD and across trusted realms. Directory Service Data supports adding and removing group members in
13
+ * your OU and the Amazon Web Services Delegated Groups OU, so you can grant and deny access to specific roles
14
+ * and permissions. For more information, see <a href="https://docs.aws.amazon.com/directoryservice/latest/admin-guide/ms_ad_manage_users_groups.html">Manage users and
15
+ * groups</a> in the <i>Directory Service Administration Guide</i>. </p>
16
+ * <note>
17
+ * <p> Directory management operations and configuration changes made against the Directory Service
18
+ * API will also reflect in Directory Service Data API with eventual consistency. You can expect a short delay
19
+ * between management changes, such as adding a new directory trust and calling the Directory Service Data API
20
+ * for the newly created trusted realm. </p>
21
+ * </note>
22
+ * <p> Directory Service Data connects to your Managed Microsoft AD domain controllers and performs operations on
23
+ * underlying directory objects. When you create your Managed Microsoft AD, you choose subnets for domain
24
+ * controllers that Directory Service creates on your behalf. If a domain controller is unavailable, Directory Service Data
25
+ * uses an available domain controller. As a result, you might notice eventual consistency while
26
+ * objects replicate from one domain controller to another domain controller. For more
27
+ * information, see <a href="https://docs.aws.amazon.com/directoryservice/latest/admin-guide/ms_ad_getting_started_what_gets_created.html">What
28
+ * gets created</a> in the <i>Directory Service Administration Guide</i>.
29
+ * Directory limits vary by Managed Microsoft AD edition: </p>
30
+ * <ul>
31
+ * <li>
32
+ * <p>
33
+ * <b>Standard edition</b> – Supports 8 transactions per
34
+ * second (TPS) for read operations and 4 TPS for write operations per directory. There's a
35
+ * concurrency limit of 10 concurrent requests. </p>
36
+ * </li>
37
+ * <li>
38
+ * <p>
39
+ * <b>Enterprise edition</b> – Supports 16 transactions per
40
+ * second (TPS) for read operations and 8 TPS for write operations per directory. There's a
41
+ * concurrency limit of 10 concurrent requests.</p>
42
+ * </li>
43
+ * <li>
44
+ * <p>
45
+ * <b>Amazon Web Services Account</b> - Supports a total of 100 TPS for
46
+ * Directory Service Data operations across all directories.</p>
47
+ * </li>
48
+ * </ul>
49
+ * <p> Directory Service Data only supports the Managed Microsoft AD directory type and is only available in the primary
50
+ * Amazon Web Services Region. For more information, see <a href="https://docs.aws.amazon.com/directoryservice/latest/admin-guide/directory_microsoft_ad.html">Managed Microsoft AD</a>
51
+ * and <a href="https://docs.aws.amazon.com/directoryservice/latest/admin-guide/multi-region-global-primary-additional.html">Primary vs additional Regions</a> in the <i>Directory Service Administration
52
+ * Guide</i>. </p>
53
+ *
54
+ * @packageDocumentation
55
+ */
56
+ export * from "./DirectoryServiceDataClient";
57
+ export * from "./DirectoryServiceData";
58
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
59
+ export type { RuntimeExtension } from "./runtimeExtensions";
60
+ export type { DirectoryServiceDataExtensionConfiguration } from "./extensionConfiguration";
61
+ export * from "./commands";
62
+ export * from "./pagination";
63
+ export * from "./models";
64
+ export { DirectoryServiceDataServiceException } from "./models/DirectoryServiceDataServiceException";
@@ -0,0 +1,14 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
2
+ export type { __ServiceExceptionOptions };
3
+ export { __ServiceException };
4
+ /**
5
+ * @public
6
+ *
7
+ * Base exception class for all service exceptions from DirectoryServiceData service.
8
+ */
9
+ export declare class DirectoryServiceDataServiceException extends __ServiceException {
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(options: __ServiceExceptionOptions);
14
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";