@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.
- package/LICENSE +201 -0
- package/README.md +391 -0
- package/dist-cjs/DirectoryServiceData.js +45 -0
- package/dist-cjs/DirectoryServiceDataClient.js +50 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/AddGroupMemberCommand.js +26 -0
- package/dist-cjs/commands/CreateGroupCommand.js +27 -0
- package/dist-cjs/commands/CreateUserCommand.js +27 -0
- package/dist-cjs/commands/DeleteGroupCommand.js +26 -0
- package/dist-cjs/commands/DeleteUserCommand.js +26 -0
- package/dist-cjs/commands/DescribeGroupCommand.js +27 -0
- package/dist-cjs/commands/DescribeUserCommand.js +27 -0
- package/dist-cjs/commands/DisableUserCommand.js +26 -0
- package/dist-cjs/commands/ListGroupMembersCommand.js +27 -0
- package/dist-cjs/commands/ListGroupsCommand.js +27 -0
- package/dist-cjs/commands/ListGroupsForMemberCommand.js +27 -0
- package/dist-cjs/commands/ListUsersCommand.js +27 -0
- package/dist-cjs/commands/RemoveGroupMemberCommand.js +26 -0
- package/dist-cjs/commands/SearchGroupsCommand.js +27 -0
- package/dist-cjs/commands/SearchUsersCommand.js +27 -0
- package/dist-cjs/commands/UpdateGroupCommand.js +27 -0
- package/dist-cjs/commands/UpdateUserCommand.js +27 -0
- package/dist-cjs/commands/index.js +20 -0
- package/dist-cjs/endpoint/EndpointParameters.js +18 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/DirectoryServiceDataServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +333 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListGroupMembersPaginator.js +7 -0
- package/dist-cjs/pagination/ListGroupsForMemberPaginator.js +7 -0
- package/dist-cjs/pagination/ListGroupsPaginator.js +7 -0
- package/dist-cjs/pagination/ListUsersPaginator.js +7 -0
- package/dist-cjs/pagination/SearchGroupsPaginator.js +7 -0
- package/dist-cjs/pagination/SearchUsersPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +10 -0
- package/dist-cjs/protocols/Aws_restJson1.js +768 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +49 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +25 -0
- package/dist-es/DirectoryServiceData.js +41 -0
- package/dist-es/DirectoryServiceDataClient.js +46 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/AddGroupMemberCommand.js +22 -0
- package/dist-es/commands/CreateGroupCommand.js +23 -0
- package/dist-es/commands/CreateUserCommand.js +23 -0
- package/dist-es/commands/DeleteGroupCommand.js +22 -0
- package/dist-es/commands/DeleteUserCommand.js +22 -0
- package/dist-es/commands/DescribeGroupCommand.js +23 -0
- package/dist-es/commands/DescribeUserCommand.js +23 -0
- package/dist-es/commands/DisableUserCommand.js +22 -0
- package/dist-es/commands/ListGroupMembersCommand.js +23 -0
- package/dist-es/commands/ListGroupsCommand.js +23 -0
- package/dist-es/commands/ListGroupsForMemberCommand.js +23 -0
- package/dist-es/commands/ListUsersCommand.js +23 -0
- package/dist-es/commands/RemoveGroupMemberCommand.js +22 -0
- package/dist-es/commands/SearchGroupsCommand.js +23 -0
- package/dist-es/commands/SearchUsersCommand.js +23 -0
- package/dist-es/commands/UpdateGroupCommand.js +23 -0
- package/dist-es/commands/UpdateUserCommand.js +23 -0
- package/dist-es/commands/index.js +17 -0
- package/dist-es/endpoint/EndpointParameters.js +14 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/DirectoryServiceDataServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +301 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListGroupMembersPaginator.js +4 -0
- package/dist-es/pagination/ListGroupsForMemberPaginator.js +4 -0
- package/dist-es/pagination/ListGroupsPaginator.js +4 -0
- package/dist-es/pagination/ListUsersPaginator.js +4 -0
- package/dist-es/pagination/SearchGroupsPaginator.js +4 -0
- package/dist-es/pagination/SearchUsersPaginator.js +4 -0
- package/dist-es/pagination/index.js +7 -0
- package/dist-es/protocols/Aws_restJson1.js +731 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +44 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +21 -0
- package/dist-types/DirectoryServiceData.d.ts +179 -0
- package/dist-types/DirectoryServiceDataClient.d.ts +236 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/AddGroupMemberCommand.d.ts +107 -0
- package/dist-types/commands/CreateGroupCommand.d.ts +118 -0
- package/dist-types/commands/CreateUserCommand.d.ts +119 -0
- package/dist-types/commands/DeleteGroupCommand.d.ts +105 -0
- package/dist-types/commands/DeleteUserCommand.d.ts +105 -0
- package/dist-types/commands/DescribeGroupCommand.d.ts +117 -0
- package/dist-types/commands/DescribeUserCommand.d.ts +120 -0
- package/dist-types/commands/DisableUserCommand.d.ts +107 -0
- package/dist-types/commands/ListGroupMembersCommand.d.ts +117 -0
- package/dist-types/commands/ListGroupsCommand.d.ts +112 -0
- package/dist-types/commands/ListGroupsForMemberCommand.d.ts +118 -0
- package/dist-types/commands/ListUsersCommand.d.ts +113 -0
- package/dist-types/commands/RemoveGroupMemberCommand.d.ts +107 -0
- package/dist-types/commands/SearchGroupsCommand.d.ts +129 -0
- package/dist-types/commands/SearchUsersCommand.d.ts +132 -0
- package/dist-types/commands/UpdateGroupCommand.d.ts +118 -0
- package/dist-types/commands/UpdateUserCommand.d.ts +119 -0
- package/dist-types/commands/index.d.ts +17 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +64 -0
- package/dist-types/models/DirectoryServiceDataServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1639 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListGroupMembersPaginator.d.ts +7 -0
- package/dist-types/pagination/ListGroupsForMemberPaginator.d.ts +7 -0
- package/dist-types/pagination/ListGroupsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListUsersPaginator.d.ts +7 -0
- package/dist-types/pagination/SearchGroupsPaginator.d.ts +7 -0
- package/dist-types/pagination/SearchUsersPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +7 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +155 -0
- package/dist-types/runtimeConfig.browser.d.ts +47 -0
- package/dist-types/runtimeConfig.d.ts +47 -0
- package/dist-types/runtimeConfig.native.d.ts +46 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/DirectoryServiceData.d.ts +296 -0
- package/dist-types/ts3.4/DirectoryServiceDataClient.d.ts +223 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/commands/AddGroupMemberCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DescribeGroupCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DescribeUserCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DisableUserCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListGroupMembersCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListGroupsForMemberCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/RemoveGroupMemberCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SearchGroupsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/SearchUsersCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +17 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/DirectoryServiceDataServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +471 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListGroupMembersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListGroupsForMemberPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListGroupsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListUsersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/SearchGroupsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/SearchUsersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +7 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +209 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +89 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +83 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
- 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 { ListGroupsForMemberRequest, ListGroupsForMemberResult } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListGroupsForMemberCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListGroupsForMemberCommandInput extends ListGroupsForMemberRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListGroupsForMemberCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListGroupsForMemberCommandOutput extends ListGroupsForMemberResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListGroupsForMemberCommand_base: {
|
|
25
|
+
new (input: ListGroupsForMemberCommandInput): import("@smithy/smithy-client").CommandImpl<ListGroupsForMemberCommandInput, ListGroupsForMemberCommandOutput, DirectoryServiceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ListGroupsForMemberCommandInput): import("@smithy/smithy-client").CommandImpl<ListGroupsForMemberCommandInput, ListGroupsForMemberCommandOutput, DirectoryServiceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p> Returns group information for the specified member. </p>
|
|
31
|
+
* <p> This operation supports pagination with the use of the <code>NextToken</code> request and
|
|
32
|
+
* response parameters. If more results are available, the
|
|
33
|
+
* <code>ListGroupsForMember.NextToken</code> member contains a token that you pass in the next
|
|
34
|
+
* call to <code>ListGroupsForMember</code>. This retrieves the next set of items. </p>
|
|
35
|
+
* <p> You can also specify a maximum number of return results with the <code>MaxResults</code>
|
|
36
|
+
* parameter. </p>
|
|
37
|
+
* @example
|
|
38
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
39
|
+
* ```javascript
|
|
40
|
+
* import { DirectoryServiceDataClient, ListGroupsForMemberCommand } from "@aws-sdk/client-directory-service-data"; // ES Modules import
|
|
41
|
+
* // const { DirectoryServiceDataClient, ListGroupsForMemberCommand } = require("@aws-sdk/client-directory-service-data"); // CommonJS import
|
|
42
|
+
* const client = new DirectoryServiceDataClient(config);
|
|
43
|
+
* const input = { // ListGroupsForMemberRequest
|
|
44
|
+
* DirectoryId: "STRING_VALUE", // required
|
|
45
|
+
* Realm: "STRING_VALUE",
|
|
46
|
+
* MemberRealm: "STRING_VALUE",
|
|
47
|
+
* SAMAccountName: "STRING_VALUE", // required
|
|
48
|
+
* NextToken: "STRING_VALUE",
|
|
49
|
+
* MaxResults: Number("int"),
|
|
50
|
+
* };
|
|
51
|
+
* const command = new ListGroupsForMemberCommand(input);
|
|
52
|
+
* const response = await client.send(command);
|
|
53
|
+
* // { // ListGroupsForMemberResult
|
|
54
|
+
* // DirectoryId: "STRING_VALUE",
|
|
55
|
+
* // Realm: "STRING_VALUE",
|
|
56
|
+
* // MemberRealm: "STRING_VALUE",
|
|
57
|
+
* // Groups: [ // GroupSummaryList
|
|
58
|
+
* // { // GroupSummary
|
|
59
|
+
* // SID: "STRING_VALUE", // required
|
|
60
|
+
* // SAMAccountName: "STRING_VALUE", // required
|
|
61
|
+
* // GroupType: "Distribution" || "Security", // required
|
|
62
|
+
* // GroupScope: "DomainLocal" || "Global" || "Universal" || "BuiltinLocal", // required
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
65
|
+
* // NextToken: "STRING_VALUE",
|
|
66
|
+
* // };
|
|
67
|
+
*
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
70
|
+
* @param ListGroupsForMemberCommandInput - {@link ListGroupsForMemberCommandInput}
|
|
71
|
+
* @returns {@link ListGroupsForMemberCommandOutput}
|
|
72
|
+
* @see {@link ListGroupsForMemberCommandInput} for command's `input` shape.
|
|
73
|
+
* @see {@link ListGroupsForMemberCommandOutput} for command's `response` shape.
|
|
74
|
+
* @see {@link DirectoryServiceDataClientResolvedConfig | config} for DirectoryServiceDataClient's `config` shape.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
77
|
+
* <p> You don't have permission to perform the request or access the directory. It can also
|
|
78
|
+
* occur when the <code>DirectoryId</code> doesn't exist or the user, member, or group might be
|
|
79
|
+
* outside of your organizational unit (OU). </p>
|
|
80
|
+
* <p> Make sure that you have the authentication and authorization to perform the action.
|
|
81
|
+
* Review the directory information in the request, and make sure that the object isn't outside
|
|
82
|
+
* of your OU. </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 ListGroupsForMemberCommand extends ListGroupsForMemberCommand_base {
|
|
107
|
+
/** @internal type navigation helper, not in runtime. */
|
|
108
|
+
protected static __types: {
|
|
109
|
+
api: {
|
|
110
|
+
input: ListGroupsForMemberRequest;
|
|
111
|
+
output: ListGroupsForMemberResult;
|
|
112
|
+
};
|
|
113
|
+
sdk: {
|
|
114
|
+
input: ListGroupsForMemberCommandInput;
|
|
115
|
+
output: ListGroupsForMemberCommandOutput;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
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 { ListUsersRequest, ListUsersResult } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListUsersCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListUsersCommandInput extends ListUsersRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListUsersCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListUsersCommandOutput extends ListUsersResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListUsersCommand_base: {
|
|
25
|
+
new (input: ListUsersCommandInput): import("@smithy/smithy-client").CommandImpl<ListUsersCommandInput, ListUsersCommandOutput, DirectoryServiceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ListUsersCommandInput): import("@smithy/smithy-client").CommandImpl<ListUsersCommandInput, ListUsersCommandOutput, DirectoryServiceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p> Returns user information for the specified directory. </p>
|
|
31
|
+
* <p> This operation supports pagination with the use of the <code>NextToken</code> request and
|
|
32
|
+
* response parameters. If more results are available, the <code>ListUsers.NextToken</code>
|
|
33
|
+
* member contains a token that you pass in the next call to <code>ListUsers</code>. This
|
|
34
|
+
* retrieves the next set of items. </p>
|
|
35
|
+
* <p> You can also specify a maximum number of return results with the <code>MaxResults</code>
|
|
36
|
+
* parameter. </p>
|
|
37
|
+
* @example
|
|
38
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
39
|
+
* ```javascript
|
|
40
|
+
* import { DirectoryServiceDataClient, ListUsersCommand } from "@aws-sdk/client-directory-service-data"; // ES Modules import
|
|
41
|
+
* // const { DirectoryServiceDataClient, ListUsersCommand } = require("@aws-sdk/client-directory-service-data"); // CommonJS import
|
|
42
|
+
* const client = new DirectoryServiceDataClient(config);
|
|
43
|
+
* const input = { // ListUsersRequest
|
|
44
|
+
* DirectoryId: "STRING_VALUE", // required
|
|
45
|
+
* Realm: "STRING_VALUE",
|
|
46
|
+
* NextToken: "STRING_VALUE",
|
|
47
|
+
* MaxResults: Number("int"),
|
|
48
|
+
* };
|
|
49
|
+
* const command = new ListUsersCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* // { // ListUsersResult
|
|
52
|
+
* // DirectoryId: "STRING_VALUE",
|
|
53
|
+
* // Realm: "STRING_VALUE",
|
|
54
|
+
* // Users: [ // UserSummaryList
|
|
55
|
+
* // { // UserSummary
|
|
56
|
+
* // SID: "STRING_VALUE", // required
|
|
57
|
+
* // SAMAccountName: "STRING_VALUE", // required
|
|
58
|
+
* // GivenName: "STRING_VALUE",
|
|
59
|
+
* // Surname: "STRING_VALUE",
|
|
60
|
+
* // Enabled: true || false, // required
|
|
61
|
+
* // },
|
|
62
|
+
* // ],
|
|
63
|
+
* // NextToken: "STRING_VALUE",
|
|
64
|
+
* // };
|
|
65
|
+
*
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* @param ListUsersCommandInput - {@link ListUsersCommandInput}
|
|
69
|
+
* @returns {@link ListUsersCommandOutput}
|
|
70
|
+
* @see {@link ListUsersCommandInput} for command's `input` shape.
|
|
71
|
+
* @see {@link ListUsersCommandOutput} for command's `response` shape.
|
|
72
|
+
* @see {@link DirectoryServiceDataClientResolvedConfig | config} for DirectoryServiceDataClient's `config` shape.
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
75
|
+
* <p> You don't have permission to perform the request or access the directory. It can also
|
|
76
|
+
* occur when the <code>DirectoryId</code> doesn't exist or the user, member, or group might be
|
|
77
|
+
* outside of your organizational unit (OU). </p>
|
|
78
|
+
* <p> Make sure that you have the authentication and authorization to perform the action.
|
|
79
|
+
* Review the directory information in the request, and make sure that the object isn't outside
|
|
80
|
+
* of your OU. </p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link DirectoryUnavailableException} (client fault)
|
|
83
|
+
* <p> The request could not be completed due to a problem in the configuration or current state
|
|
84
|
+
* of the specified directory. </p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link InternalServerException} (server fault)
|
|
87
|
+
* <p> The operation didn't succeed because an internal error occurred. Try again later. </p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
90
|
+
* <p> The limit on the number of requests per second has been exceeded. </p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ValidationException} (client fault)
|
|
93
|
+
* <p> The request isn't valid. Review the details in the error message to update the invalid
|
|
94
|
+
* parameters or values in your request. </p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link DirectoryServiceDataServiceException}
|
|
97
|
+
* <p>Base exception class for all service exceptions from DirectoryServiceData service.</p>
|
|
98
|
+
*
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
export declare class ListUsersCommand extends ListUsersCommand_base {
|
|
102
|
+
/** @internal type navigation helper, not in runtime. */
|
|
103
|
+
protected static __types: {
|
|
104
|
+
api: {
|
|
105
|
+
input: ListUsersRequest;
|
|
106
|
+
output: ListUsersResult;
|
|
107
|
+
};
|
|
108
|
+
sdk: {
|
|
109
|
+
input: ListUsersCommandInput;
|
|
110
|
+
output: ListUsersCommandOutput;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
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 { RemoveGroupMemberRequest, RemoveGroupMemberResult } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link RemoveGroupMemberCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface RemoveGroupMemberCommandInput extends RemoveGroupMemberRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link RemoveGroupMemberCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface RemoveGroupMemberCommandOutput extends RemoveGroupMemberResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const RemoveGroupMemberCommand_base: {
|
|
25
|
+
new (input: RemoveGroupMemberCommandInput): import("@smithy/smithy-client").CommandImpl<RemoveGroupMemberCommandInput, RemoveGroupMemberCommandOutput, DirectoryServiceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: RemoveGroupMemberCommandInput): import("@smithy/smithy-client").CommandImpl<RemoveGroupMemberCommandInput, RemoveGroupMemberCommandOutput, DirectoryServiceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p> Removes a member from a group. </p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { DirectoryServiceDataClient, RemoveGroupMemberCommand } from "@aws-sdk/client-directory-service-data"; // ES Modules import
|
|
35
|
+
* // const { DirectoryServiceDataClient, RemoveGroupMemberCommand } = require("@aws-sdk/client-directory-service-data"); // CommonJS import
|
|
36
|
+
* const client = new DirectoryServiceDataClient(config);
|
|
37
|
+
* const input = { // RemoveGroupMemberRequest
|
|
38
|
+
* DirectoryId: "STRING_VALUE", // required
|
|
39
|
+
* GroupName: "STRING_VALUE", // required
|
|
40
|
+
* MemberName: "STRING_VALUE", // required
|
|
41
|
+
* MemberRealm: "STRING_VALUE",
|
|
42
|
+
* ClientToken: "STRING_VALUE",
|
|
43
|
+
* };
|
|
44
|
+
* const command = new RemoveGroupMemberCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // {};
|
|
47
|
+
*
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param RemoveGroupMemberCommandInput - {@link RemoveGroupMemberCommandInput}
|
|
51
|
+
* @returns {@link RemoveGroupMemberCommandOutput}
|
|
52
|
+
* @see {@link RemoveGroupMemberCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link RemoveGroupMemberCommandOutput} for command's `response` shape.
|
|
54
|
+
* @see {@link DirectoryServiceDataClientResolvedConfig | config} for DirectoryServiceDataClient's `config` shape.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
57
|
+
* <p> You don't have permission to perform the request or access the directory. It can also
|
|
58
|
+
* occur when the <code>DirectoryId</code> doesn't exist or the user, member, or group might be
|
|
59
|
+
* outside of your organizational unit (OU). </p>
|
|
60
|
+
* <p> Make sure that you have the authentication and authorization to perform the action.
|
|
61
|
+
* Review the directory information in the request, and make sure that the object isn't outside
|
|
62
|
+
* of your OU. </p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ConflictException} (client fault)
|
|
65
|
+
* <p> This error will occur when you try to create a resource that conflicts with an existing
|
|
66
|
+
* object. It can also occur when adding a member to a group that the member is already
|
|
67
|
+
* in.</p>
|
|
68
|
+
* <p> This error can be caused by a request sent within the 8-hour idempotency window with the
|
|
69
|
+
* same client token but different input parameters. Client tokens should not be re-used across
|
|
70
|
+
* different requests. After 8 hours, any request with the same client token is treated as a new
|
|
71
|
+
* request. </p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link DirectoryUnavailableException} (client fault)
|
|
74
|
+
* <p> The request could not be completed due to a problem in the configuration or current state
|
|
75
|
+
* of the specified directory. </p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link InternalServerException} (server fault)
|
|
78
|
+
* <p> The operation didn't succeed because an internal error occurred. Try again later. </p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
81
|
+
* <p> The resource couldn't be found. </p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
84
|
+
* <p> The limit on the number of requests per second has been exceeded. </p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ValidationException} (client fault)
|
|
87
|
+
* <p> The request isn't valid. Review the details in the error message to update the invalid
|
|
88
|
+
* parameters or values in your request. </p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link DirectoryServiceDataServiceException}
|
|
91
|
+
* <p>Base exception class for all service exceptions from DirectoryServiceData service.</p>
|
|
92
|
+
*
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
export declare class RemoveGroupMemberCommand extends RemoveGroupMemberCommand_base {
|
|
96
|
+
/** @internal type navigation helper, not in runtime. */
|
|
97
|
+
protected static __types: {
|
|
98
|
+
api: {
|
|
99
|
+
input: RemoveGroupMemberRequest;
|
|
100
|
+
output: {};
|
|
101
|
+
};
|
|
102
|
+
sdk: {
|
|
103
|
+
input: RemoveGroupMemberCommandInput;
|
|
104
|
+
output: RemoveGroupMemberCommandOutput;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
}
|
|
@@ -0,0 +1,129 @@
|
|
|
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 { SearchGroupsRequest, SearchGroupsResult } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link SearchGroupsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface SearchGroupsCommandInput extends SearchGroupsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link SearchGroupsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface SearchGroupsCommandOutput extends SearchGroupsResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const SearchGroupsCommand_base: {
|
|
25
|
+
new (input: SearchGroupsCommandInput): import("@smithy/smithy-client").CommandImpl<SearchGroupsCommandInput, SearchGroupsCommandOutput, DirectoryServiceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: SearchGroupsCommandInput): import("@smithy/smithy-client").CommandImpl<SearchGroupsCommandInput, SearchGroupsCommandOutput, DirectoryServiceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p> Searches the specified directory for a group. You can find groups that match the
|
|
31
|
+
* <code>SearchString</code> parameter with the value of their attributes included in the
|
|
32
|
+
* <code>SearchString</code> parameter. </p>
|
|
33
|
+
* <p> This operation supports pagination with the use of the <code>NextToken</code> request and
|
|
34
|
+
* response parameters. If more results are available, the <code>SearchGroups.NextToken</code>
|
|
35
|
+
* member contains a token that you pass in the next call to <code>SearchGroups</code>. This
|
|
36
|
+
* retrieves the next set of items. </p>
|
|
37
|
+
* <p> You can also specify a maximum number of return results with the <code>MaxResults</code>
|
|
38
|
+
* parameter. </p>
|
|
39
|
+
* @example
|
|
40
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
41
|
+
* ```javascript
|
|
42
|
+
* import { DirectoryServiceDataClient, SearchGroupsCommand } from "@aws-sdk/client-directory-service-data"; // ES Modules import
|
|
43
|
+
* // const { DirectoryServiceDataClient, SearchGroupsCommand } = require("@aws-sdk/client-directory-service-data"); // CommonJS import
|
|
44
|
+
* const client = new DirectoryServiceDataClient(config);
|
|
45
|
+
* const input = { // SearchGroupsRequest
|
|
46
|
+
* DirectoryId: "STRING_VALUE", // required
|
|
47
|
+
* SearchString: "STRING_VALUE", // required
|
|
48
|
+
* SearchAttributes: [ // LdapDisplayNameList // required
|
|
49
|
+
* "STRING_VALUE",
|
|
50
|
+
* ],
|
|
51
|
+
* Realm: "STRING_VALUE",
|
|
52
|
+
* NextToken: "STRING_VALUE",
|
|
53
|
+
* MaxResults: Number("int"),
|
|
54
|
+
* };
|
|
55
|
+
* const command = new SearchGroupsCommand(input);
|
|
56
|
+
* const response = await client.send(command);
|
|
57
|
+
* // { // SearchGroupsResult
|
|
58
|
+
* // DirectoryId: "STRING_VALUE",
|
|
59
|
+
* // Realm: "STRING_VALUE",
|
|
60
|
+
* // Groups: [ // GroupList
|
|
61
|
+
* // { // Group
|
|
62
|
+
* // SID: "STRING_VALUE",
|
|
63
|
+
* // SAMAccountName: "STRING_VALUE", // required
|
|
64
|
+
* // DistinguishedName: "STRING_VALUE",
|
|
65
|
+
* // GroupType: "Distribution" || "Security",
|
|
66
|
+
* // GroupScope: "DomainLocal" || "Global" || "Universal" || "BuiltinLocal",
|
|
67
|
+
* // OtherAttributes: { // Attributes
|
|
68
|
+
* // "<keys>": { // AttributeValue Union: only one key present
|
|
69
|
+
* // S: "STRING_VALUE",
|
|
70
|
+
* // N: Number("long"),
|
|
71
|
+
* // BOOL: true || false,
|
|
72
|
+
* // SS: [ // StringSetAttributeValue
|
|
73
|
+
* // "STRING_VALUE",
|
|
74
|
+
* // ],
|
|
75
|
+
* // },
|
|
76
|
+
* // },
|
|
77
|
+
* // },
|
|
78
|
+
* // ],
|
|
79
|
+
* // NextToken: "STRING_VALUE",
|
|
80
|
+
* // };
|
|
81
|
+
*
|
|
82
|
+
* ```
|
|
83
|
+
*
|
|
84
|
+
* @param SearchGroupsCommandInput - {@link SearchGroupsCommandInput}
|
|
85
|
+
* @returns {@link SearchGroupsCommandOutput}
|
|
86
|
+
* @see {@link SearchGroupsCommandInput} for command's `input` shape.
|
|
87
|
+
* @see {@link SearchGroupsCommandOutput} for command's `response` shape.
|
|
88
|
+
* @see {@link DirectoryServiceDataClientResolvedConfig | config} for DirectoryServiceDataClient's `config` shape.
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
91
|
+
* <p> You don't have permission to perform the request or access the directory. It can also
|
|
92
|
+
* occur when the <code>DirectoryId</code> doesn't exist or the user, member, or group might be
|
|
93
|
+
* outside of your organizational unit (OU). </p>
|
|
94
|
+
* <p> Make sure that you have the authentication and authorization to perform the action.
|
|
95
|
+
* Review the directory information in the request, and make sure that the object isn't outside
|
|
96
|
+
* of your OU. </p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link DirectoryUnavailableException} (client fault)
|
|
99
|
+
* <p> The request could not be completed due to a problem in the configuration or current state
|
|
100
|
+
* of the specified directory. </p>
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link InternalServerException} (server fault)
|
|
103
|
+
* <p> The operation didn't succeed because an internal error occurred. Try again later. </p>
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
106
|
+
* <p> The limit on the number of requests per second has been exceeded. </p>
|
|
107
|
+
*
|
|
108
|
+
* @throws {@link ValidationException} (client fault)
|
|
109
|
+
* <p> The request isn't valid. Review the details in the error message to update the invalid
|
|
110
|
+
* parameters or values in your request. </p>
|
|
111
|
+
*
|
|
112
|
+
* @throws {@link DirectoryServiceDataServiceException}
|
|
113
|
+
* <p>Base exception class for all service exceptions from DirectoryServiceData service.</p>
|
|
114
|
+
*
|
|
115
|
+
* @public
|
|
116
|
+
*/
|
|
117
|
+
export declare class SearchGroupsCommand extends SearchGroupsCommand_base {
|
|
118
|
+
/** @internal type navigation helper, not in runtime. */
|
|
119
|
+
protected static __types: {
|
|
120
|
+
api: {
|
|
121
|
+
input: SearchGroupsRequest;
|
|
122
|
+
output: SearchGroupsResult;
|
|
123
|
+
};
|
|
124
|
+
sdk: {
|
|
125
|
+
input: SearchGroupsCommandInput;
|
|
126
|
+
output: SearchGroupsCommandOutput;
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
}
|
|
@@ -0,0 +1,132 @@
|
|
|
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 { SearchUsersRequest, SearchUsersResult } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link SearchUsersCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface SearchUsersCommandInput extends SearchUsersRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link SearchUsersCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface SearchUsersCommandOutput extends SearchUsersResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const SearchUsersCommand_base: {
|
|
25
|
+
new (input: SearchUsersCommandInput): import("@smithy/smithy-client").CommandImpl<SearchUsersCommandInput, SearchUsersCommandOutput, DirectoryServiceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: SearchUsersCommandInput): import("@smithy/smithy-client").CommandImpl<SearchUsersCommandInput, SearchUsersCommandOutput, DirectoryServiceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p> Searches the specified directory for a user. You can find users that match the
|
|
31
|
+
* <code>SearchString</code> parameter with the value of their attributes included in the
|
|
32
|
+
* <code>SearchString</code> parameter.</p>
|
|
33
|
+
* <p> This operation supports pagination with the use of the <code>NextToken</code> request and
|
|
34
|
+
* response parameters. If more results are available, the <code>SearchUsers.NextToken</code>
|
|
35
|
+
* member contains a token that you pass in the next call to <code>SearchUsers</code>. This
|
|
36
|
+
* retrieves the next set of items. </p>
|
|
37
|
+
* <p> You can also specify a maximum number of return results with the <code>MaxResults</code>
|
|
38
|
+
* parameter. </p>
|
|
39
|
+
* @example
|
|
40
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
41
|
+
* ```javascript
|
|
42
|
+
* import { DirectoryServiceDataClient, SearchUsersCommand } from "@aws-sdk/client-directory-service-data"; // ES Modules import
|
|
43
|
+
* // const { DirectoryServiceDataClient, SearchUsersCommand } = require("@aws-sdk/client-directory-service-data"); // CommonJS import
|
|
44
|
+
* const client = new DirectoryServiceDataClient(config);
|
|
45
|
+
* const input = { // SearchUsersRequest
|
|
46
|
+
* DirectoryId: "STRING_VALUE", // required
|
|
47
|
+
* Realm: "STRING_VALUE",
|
|
48
|
+
* SearchString: "STRING_VALUE", // required
|
|
49
|
+
* SearchAttributes: [ // LdapDisplayNameList // required
|
|
50
|
+
* "STRING_VALUE",
|
|
51
|
+
* ],
|
|
52
|
+
* NextToken: "STRING_VALUE",
|
|
53
|
+
* MaxResults: Number("int"),
|
|
54
|
+
* };
|
|
55
|
+
* const command = new SearchUsersCommand(input);
|
|
56
|
+
* const response = await client.send(command);
|
|
57
|
+
* // { // SearchUsersResult
|
|
58
|
+
* // DirectoryId: "STRING_VALUE",
|
|
59
|
+
* // Realm: "STRING_VALUE",
|
|
60
|
+
* // Users: [ // UserList
|
|
61
|
+
* // { // User
|
|
62
|
+
* // SID: "STRING_VALUE",
|
|
63
|
+
* // SAMAccountName: "STRING_VALUE", // required
|
|
64
|
+
* // DistinguishedName: "STRING_VALUE",
|
|
65
|
+
* // UserPrincipalName: "STRING_VALUE",
|
|
66
|
+
* // EmailAddress: "STRING_VALUE",
|
|
67
|
+
* // GivenName: "STRING_VALUE",
|
|
68
|
+
* // Surname: "STRING_VALUE",
|
|
69
|
+
* // Enabled: true || false,
|
|
70
|
+
* // OtherAttributes: { // Attributes
|
|
71
|
+
* // "<keys>": { // AttributeValue Union: only one key present
|
|
72
|
+
* // S: "STRING_VALUE",
|
|
73
|
+
* // N: Number("long"),
|
|
74
|
+
* // BOOL: true || false,
|
|
75
|
+
* // SS: [ // StringSetAttributeValue
|
|
76
|
+
* // "STRING_VALUE",
|
|
77
|
+
* // ],
|
|
78
|
+
* // },
|
|
79
|
+
* // },
|
|
80
|
+
* // },
|
|
81
|
+
* // ],
|
|
82
|
+
* // NextToken: "STRING_VALUE",
|
|
83
|
+
* // };
|
|
84
|
+
*
|
|
85
|
+
* ```
|
|
86
|
+
*
|
|
87
|
+
* @param SearchUsersCommandInput - {@link SearchUsersCommandInput}
|
|
88
|
+
* @returns {@link SearchUsersCommandOutput}
|
|
89
|
+
* @see {@link SearchUsersCommandInput} for command's `input` shape.
|
|
90
|
+
* @see {@link SearchUsersCommandOutput} for command's `response` shape.
|
|
91
|
+
* @see {@link DirectoryServiceDataClientResolvedConfig | config} for DirectoryServiceDataClient's `config` shape.
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
94
|
+
* <p> You don't have permission to perform the request or access the directory. It can also
|
|
95
|
+
* occur when the <code>DirectoryId</code> doesn't exist or the user, member, or group might be
|
|
96
|
+
* outside of your organizational unit (OU). </p>
|
|
97
|
+
* <p> Make sure that you have the authentication and authorization to perform the action.
|
|
98
|
+
* Review the directory information in the request, and make sure that the object isn't outside
|
|
99
|
+
* of your OU. </p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link DirectoryUnavailableException} (client fault)
|
|
102
|
+
* <p> The request could not be completed due to a problem in the configuration or current state
|
|
103
|
+
* of the specified directory. </p>
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link InternalServerException} (server fault)
|
|
106
|
+
* <p> The operation didn't succeed because an internal error occurred. Try again later. </p>
|
|
107
|
+
*
|
|
108
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
109
|
+
* <p> The limit on the number of requests per second has been exceeded. </p>
|
|
110
|
+
*
|
|
111
|
+
* @throws {@link ValidationException} (client fault)
|
|
112
|
+
* <p> The request isn't valid. Review the details in the error message to update the invalid
|
|
113
|
+
* parameters or values in your request. </p>
|
|
114
|
+
*
|
|
115
|
+
* @throws {@link DirectoryServiceDataServiceException}
|
|
116
|
+
* <p>Base exception class for all service exceptions from DirectoryServiceData service.</p>
|
|
117
|
+
*
|
|
118
|
+
* @public
|
|
119
|
+
*/
|
|
120
|
+
export declare class SearchUsersCommand extends SearchUsersCommand_base {
|
|
121
|
+
/** @internal type navigation helper, not in runtime. */
|
|
122
|
+
protected static __types: {
|
|
123
|
+
api: {
|
|
124
|
+
input: SearchUsersRequest;
|
|
125
|
+
output: SearchUsersResult;
|
|
126
|
+
};
|
|
127
|
+
sdk: {
|
|
128
|
+
input: SearchUsersCommandInput;
|
|
129
|
+
output: SearchUsersCommandOutput;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
}
|