@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,117 @@
|
|
|
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 { DescribeGroupRequest, DescribeGroupResult } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DescribeGroupCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeGroupCommandInput extends DescribeGroupRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeGroupCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeGroupCommandOutput extends DescribeGroupResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DescribeGroupCommand_base: {
|
|
25
|
+
new (input: DescribeGroupCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeGroupCommandInput, DescribeGroupCommandOutput, DirectoryServiceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DescribeGroupCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeGroupCommandInput, DescribeGroupCommandOutput, DirectoryServiceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns information about a specific 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, DescribeGroupCommand } from "@aws-sdk/client-directory-service-data"; // ES Modules import
|
|
35
|
+
* // const { DirectoryServiceDataClient, DescribeGroupCommand } = require("@aws-sdk/client-directory-service-data"); // CommonJS import
|
|
36
|
+
* const client = new DirectoryServiceDataClient(config);
|
|
37
|
+
* const input = { // DescribeGroupRequest
|
|
38
|
+
* DirectoryId: "STRING_VALUE", // required
|
|
39
|
+
* Realm: "STRING_VALUE",
|
|
40
|
+
* SAMAccountName: "STRING_VALUE", // required
|
|
41
|
+
* OtherAttributes: [ // LdapDisplayNameList
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* };
|
|
45
|
+
* const command = new DescribeGroupCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // DescribeGroupResult
|
|
48
|
+
* // DirectoryId: "STRING_VALUE",
|
|
49
|
+
* // Realm: "STRING_VALUE",
|
|
50
|
+
* // SID: "STRING_VALUE",
|
|
51
|
+
* // SAMAccountName: "STRING_VALUE",
|
|
52
|
+
* // DistinguishedName: "STRING_VALUE",
|
|
53
|
+
* // GroupType: "Distribution" || "Security",
|
|
54
|
+
* // GroupScope: "DomainLocal" || "Global" || "Universal" || "BuiltinLocal",
|
|
55
|
+
* // OtherAttributes: { // Attributes
|
|
56
|
+
* // "<keys>": { // AttributeValue Union: only one key present
|
|
57
|
+
* // S: "STRING_VALUE",
|
|
58
|
+
* // N: Number("long"),
|
|
59
|
+
* // BOOL: true || false,
|
|
60
|
+
* // SS: [ // StringSetAttributeValue
|
|
61
|
+
* // "STRING_VALUE",
|
|
62
|
+
* // ],
|
|
63
|
+
* // },
|
|
64
|
+
* // },
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* @param DescribeGroupCommandInput - {@link DescribeGroupCommandInput}
|
|
70
|
+
* @returns {@link DescribeGroupCommandOutput}
|
|
71
|
+
* @see {@link DescribeGroupCommandInput} for command's `input` shape.
|
|
72
|
+
* @see {@link DescribeGroupCommandOutput} for command's `response` shape.
|
|
73
|
+
* @see {@link DirectoryServiceDataClientResolvedConfig | config} for DirectoryServiceDataClient's `config` shape.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
76
|
+
* <p> You don't have permission to perform the request or access the directory. It can also
|
|
77
|
+
* occur when the <code>DirectoryId</code> doesn't exist or the user, member, or group might be
|
|
78
|
+
* outside of your organizational unit (OU). </p>
|
|
79
|
+
* <p> Make sure that you have the authentication and authorization to perform the action.
|
|
80
|
+
* Review the directory information in the request, and make sure that the object isn't outside
|
|
81
|
+
* of your OU. </p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link DirectoryUnavailableException} (client fault)
|
|
84
|
+
* <p> The request could not be completed due to a problem in the configuration or current state
|
|
85
|
+
* of the specified directory. </p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link InternalServerException} (server fault)
|
|
88
|
+
* <p> The operation didn't succeed because an internal error occurred. Try again later. </p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
91
|
+
* <p> The resource couldn't be found. </p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
94
|
+
* <p> The limit on the number of requests per second has been exceeded. </p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link ValidationException} (client fault)
|
|
97
|
+
* <p> The request isn't valid. Review the details in the error message to update the invalid
|
|
98
|
+
* parameters or values in your request. </p>
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link DirectoryServiceDataServiceException}
|
|
101
|
+
* <p>Base exception class for all service exceptions from DirectoryServiceData service.</p>
|
|
102
|
+
*
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
105
|
+
export declare class DescribeGroupCommand extends DescribeGroupCommand_base {
|
|
106
|
+
/** @internal type navigation helper, not in runtime. */
|
|
107
|
+
protected static __types: {
|
|
108
|
+
api: {
|
|
109
|
+
input: DescribeGroupRequest;
|
|
110
|
+
output: DescribeGroupResult;
|
|
111
|
+
};
|
|
112
|
+
sdk: {
|
|
113
|
+
input: DescribeGroupCommandInput;
|
|
114
|
+
output: DescribeGroupCommandOutput;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
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 { DescribeUserRequest, DescribeUserResult } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DescribeUserCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeUserCommandInput extends DescribeUserRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeUserCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeUserCommandOutput extends DescribeUserResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DescribeUserCommand_base: {
|
|
25
|
+
new (input: DescribeUserCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeUserCommandInput, DescribeUserCommandOutput, DirectoryServiceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DescribeUserCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeUserCommandInput, DescribeUserCommandOutput, DirectoryServiceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns information about a specific user.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { DirectoryServiceDataClient, DescribeUserCommand } from "@aws-sdk/client-directory-service-data"; // ES Modules import
|
|
35
|
+
* // const { DirectoryServiceDataClient, DescribeUserCommand } = require("@aws-sdk/client-directory-service-data"); // CommonJS import
|
|
36
|
+
* const client = new DirectoryServiceDataClient(config);
|
|
37
|
+
* const input = { // DescribeUserRequest
|
|
38
|
+
* DirectoryId: "STRING_VALUE", // required
|
|
39
|
+
* SAMAccountName: "STRING_VALUE", // required
|
|
40
|
+
* OtherAttributes: [ // LdapDisplayNameList
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* Realm: "STRING_VALUE",
|
|
44
|
+
* };
|
|
45
|
+
* const command = new DescribeUserCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // DescribeUserResult
|
|
48
|
+
* // DirectoryId: "STRING_VALUE",
|
|
49
|
+
* // Realm: "STRING_VALUE",
|
|
50
|
+
* // SID: "STRING_VALUE",
|
|
51
|
+
* // SAMAccountName: "STRING_VALUE",
|
|
52
|
+
* // DistinguishedName: "STRING_VALUE",
|
|
53
|
+
* // UserPrincipalName: "STRING_VALUE",
|
|
54
|
+
* // EmailAddress: "STRING_VALUE",
|
|
55
|
+
* // GivenName: "STRING_VALUE",
|
|
56
|
+
* // Surname: "STRING_VALUE",
|
|
57
|
+
* // Enabled: true || false,
|
|
58
|
+
* // OtherAttributes: { // Attributes
|
|
59
|
+
* // "<keys>": { // AttributeValue Union: only one key present
|
|
60
|
+
* // S: "STRING_VALUE",
|
|
61
|
+
* // N: Number("long"),
|
|
62
|
+
* // BOOL: true || false,
|
|
63
|
+
* // SS: [ // StringSetAttributeValue
|
|
64
|
+
* // "STRING_VALUE",
|
|
65
|
+
* // ],
|
|
66
|
+
* // },
|
|
67
|
+
* // },
|
|
68
|
+
* // };
|
|
69
|
+
*
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
72
|
+
* @param DescribeUserCommandInput - {@link DescribeUserCommandInput}
|
|
73
|
+
* @returns {@link DescribeUserCommandOutput}
|
|
74
|
+
* @see {@link DescribeUserCommandInput} for command's `input` shape.
|
|
75
|
+
* @see {@link DescribeUserCommandOutput} for command's `response` shape.
|
|
76
|
+
* @see {@link DirectoryServiceDataClientResolvedConfig | config} for DirectoryServiceDataClient's `config` shape.
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
79
|
+
* <p> You don't have permission to perform the request or access the directory. It can also
|
|
80
|
+
* occur when the <code>DirectoryId</code> doesn't exist or the user, member, or group might be
|
|
81
|
+
* outside of your organizational unit (OU). </p>
|
|
82
|
+
* <p> Make sure that you have the authentication and authorization to perform the action.
|
|
83
|
+
* Review the directory information in the request, and make sure that the object isn't outside
|
|
84
|
+
* of your OU. </p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link DirectoryUnavailableException} (client fault)
|
|
87
|
+
* <p> The request could not be completed due to a problem in the configuration or current state
|
|
88
|
+
* of the specified directory. </p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link InternalServerException} (server fault)
|
|
91
|
+
* <p> The operation didn't succeed because an internal error occurred. Try again later. </p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
94
|
+
* <p> The resource couldn't be found. </p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
97
|
+
* <p> The limit on the number of requests per second has been exceeded. </p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link ValidationException} (client fault)
|
|
100
|
+
* <p> The request isn't valid. Review the details in the error message to update the invalid
|
|
101
|
+
* parameters or values in your request. </p>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link DirectoryServiceDataServiceException}
|
|
104
|
+
* <p>Base exception class for all service exceptions from DirectoryServiceData service.</p>
|
|
105
|
+
*
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
export declare class DescribeUserCommand extends DescribeUserCommand_base {
|
|
109
|
+
/** @internal type navigation helper, not in runtime. */
|
|
110
|
+
protected static __types: {
|
|
111
|
+
api: {
|
|
112
|
+
input: DescribeUserRequest;
|
|
113
|
+
output: DescribeUserResult;
|
|
114
|
+
};
|
|
115
|
+
sdk: {
|
|
116
|
+
input: DescribeUserCommandInput;
|
|
117
|
+
output: DescribeUserCommandOutput;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
}
|
|
@@ -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 { DisableUserRequest, DisableUserResult } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DisableUserCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DisableUserCommandInput extends DisableUserRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DisableUserCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DisableUserCommandOutput extends DisableUserResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DisableUserCommand_base: {
|
|
25
|
+
new (input: DisableUserCommandInput): import("@smithy/smithy-client").CommandImpl<DisableUserCommandInput, DisableUserCommandOutput, DirectoryServiceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DisableUserCommandInput): import("@smithy/smithy-client").CommandImpl<DisableUserCommandInput, DisableUserCommandOutput, DirectoryServiceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p> Deactivates an active user account. For information about how to enable an inactive user
|
|
31
|
+
* account, see <a href="https://docs.aws.amazon.com/directoryservice/latest/devguide/API_ResetUserPassword.html">ResetUserPassword</a>
|
|
32
|
+
* in the <i>Directory Service API Reference</i>.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { DirectoryServiceDataClient, DisableUserCommand } from "@aws-sdk/client-directory-service-data"; // ES Modules import
|
|
37
|
+
* // const { DirectoryServiceDataClient, DisableUserCommand } = require("@aws-sdk/client-directory-service-data"); // CommonJS import
|
|
38
|
+
* const client = new DirectoryServiceDataClient(config);
|
|
39
|
+
* const input = { // DisableUserRequest
|
|
40
|
+
* DirectoryId: "STRING_VALUE", // required
|
|
41
|
+
* SAMAccountName: "STRING_VALUE", // required
|
|
42
|
+
* ClientToken: "STRING_VALUE",
|
|
43
|
+
* };
|
|
44
|
+
* const command = new DisableUserCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // {};
|
|
47
|
+
*
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param DisableUserCommandInput - {@link DisableUserCommandInput}
|
|
51
|
+
* @returns {@link DisableUserCommandOutput}
|
|
52
|
+
* @see {@link DisableUserCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link DisableUserCommandOutput} 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 DisableUserCommand extends DisableUserCommand_base {
|
|
96
|
+
/** @internal type navigation helper, not in runtime. */
|
|
97
|
+
protected static __types: {
|
|
98
|
+
api: {
|
|
99
|
+
input: DisableUserRequest;
|
|
100
|
+
output: {};
|
|
101
|
+
};
|
|
102
|
+
sdk: {
|
|
103
|
+
input: DisableUserCommandInput;
|
|
104
|
+
output: DisableUserCommandOutput;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
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 { ListGroupMembersRequest, ListGroupMembersResult } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListGroupMembersCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListGroupMembersCommandInput extends ListGroupMembersRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListGroupMembersCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListGroupMembersCommandOutput extends ListGroupMembersResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListGroupMembersCommand_base: {
|
|
25
|
+
new (input: ListGroupMembersCommandInput): import("@smithy/smithy-client").CommandImpl<ListGroupMembersCommandInput, ListGroupMembersCommandOutput, DirectoryServiceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ListGroupMembersCommandInput): import("@smithy/smithy-client").CommandImpl<ListGroupMembersCommandInput, ListGroupMembersCommandOutput, DirectoryServiceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p> Returns member information for the specified group. </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>ListGroupMembers.NextToken</code> member contains a token that you pass in the next
|
|
34
|
+
* call to <code>ListGroupMembers</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, ListGroupMembersCommand } from "@aws-sdk/client-directory-service-data"; // ES Modules import
|
|
41
|
+
* // const { DirectoryServiceDataClient, ListGroupMembersCommand } = require("@aws-sdk/client-directory-service-data"); // CommonJS import
|
|
42
|
+
* const client = new DirectoryServiceDataClient(config);
|
|
43
|
+
* const input = { // ListGroupMembersRequest
|
|
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 ListGroupMembersCommand(input);
|
|
52
|
+
* const response = await client.send(command);
|
|
53
|
+
* // { // ListGroupMembersResult
|
|
54
|
+
* // DirectoryId: "STRING_VALUE",
|
|
55
|
+
* // Realm: "STRING_VALUE",
|
|
56
|
+
* // MemberRealm: "STRING_VALUE",
|
|
57
|
+
* // Members: [ // MemberList
|
|
58
|
+
* // { // Member
|
|
59
|
+
* // SID: "STRING_VALUE", // required
|
|
60
|
+
* // SAMAccountName: "STRING_VALUE", // required
|
|
61
|
+
* // MemberType: "USER" || "GROUP" || "COMPUTER", // required
|
|
62
|
+
* // },
|
|
63
|
+
* // ],
|
|
64
|
+
* // NextToken: "STRING_VALUE",
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* @param ListGroupMembersCommandInput - {@link ListGroupMembersCommandInput}
|
|
70
|
+
* @returns {@link ListGroupMembersCommandOutput}
|
|
71
|
+
* @see {@link ListGroupMembersCommandInput} for command's `input` shape.
|
|
72
|
+
* @see {@link ListGroupMembersCommandOutput} for command's `response` shape.
|
|
73
|
+
* @see {@link DirectoryServiceDataClientResolvedConfig | config} for DirectoryServiceDataClient's `config` shape.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
76
|
+
* <p> You don't have permission to perform the request or access the directory. It can also
|
|
77
|
+
* occur when the <code>DirectoryId</code> doesn't exist or the user, member, or group might be
|
|
78
|
+
* outside of your organizational unit (OU). </p>
|
|
79
|
+
* <p> Make sure that you have the authentication and authorization to perform the action.
|
|
80
|
+
* Review the directory information in the request, and make sure that the object isn't outside
|
|
81
|
+
* of your OU. </p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link DirectoryUnavailableException} (client fault)
|
|
84
|
+
* <p> The request could not be completed due to a problem in the configuration or current state
|
|
85
|
+
* of the specified directory. </p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link InternalServerException} (server fault)
|
|
88
|
+
* <p> The operation didn't succeed because an internal error occurred. Try again later. </p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
91
|
+
* <p> The resource couldn't be found. </p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
94
|
+
* <p> The limit on the number of requests per second has been exceeded. </p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link ValidationException} (client fault)
|
|
97
|
+
* <p> The request isn't valid. Review the details in the error message to update the invalid
|
|
98
|
+
* parameters or values in your request. </p>
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link DirectoryServiceDataServiceException}
|
|
101
|
+
* <p>Base exception class for all service exceptions from DirectoryServiceData service.</p>
|
|
102
|
+
*
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
105
|
+
export declare class ListGroupMembersCommand extends ListGroupMembersCommand_base {
|
|
106
|
+
/** @internal type navigation helper, not in runtime. */
|
|
107
|
+
protected static __types: {
|
|
108
|
+
api: {
|
|
109
|
+
input: ListGroupMembersRequest;
|
|
110
|
+
output: ListGroupMembersResult;
|
|
111
|
+
};
|
|
112
|
+
sdk: {
|
|
113
|
+
input: ListGroupMembersCommandInput;
|
|
114
|
+
output: ListGroupMembersCommandOutput;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
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 { ListGroupsRequest, ListGroupsResult } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListGroupsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListGroupsCommandInput extends ListGroupsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListGroupsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListGroupsCommandOutput extends ListGroupsResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListGroupsCommand_base: {
|
|
25
|
+
new (input: ListGroupsCommandInput): import("@smithy/smithy-client").CommandImpl<ListGroupsCommandInput, ListGroupsCommandOutput, DirectoryServiceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ListGroupsCommandInput): import("@smithy/smithy-client").CommandImpl<ListGroupsCommandInput, ListGroupsCommandOutput, DirectoryServiceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p> Returns group 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>ListGroups.NextToken</code>
|
|
33
|
+
* member contains a token that you pass in the next call to <code>ListGroups</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, ListGroupsCommand } from "@aws-sdk/client-directory-service-data"; // ES Modules import
|
|
41
|
+
* // const { DirectoryServiceDataClient, ListGroupsCommand } = require("@aws-sdk/client-directory-service-data"); // CommonJS import
|
|
42
|
+
* const client = new DirectoryServiceDataClient(config);
|
|
43
|
+
* const input = { // ListGroupsRequest
|
|
44
|
+
* DirectoryId: "STRING_VALUE", // required
|
|
45
|
+
* Realm: "STRING_VALUE",
|
|
46
|
+
* NextToken: "STRING_VALUE",
|
|
47
|
+
* MaxResults: Number("int"),
|
|
48
|
+
* };
|
|
49
|
+
* const command = new ListGroupsCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* // { // ListGroupsResult
|
|
52
|
+
* // DirectoryId: "STRING_VALUE",
|
|
53
|
+
* // Realm: "STRING_VALUE",
|
|
54
|
+
* // Groups: [ // GroupSummaryList
|
|
55
|
+
* // { // GroupSummary
|
|
56
|
+
* // SID: "STRING_VALUE", // required
|
|
57
|
+
* // SAMAccountName: "STRING_VALUE", // required
|
|
58
|
+
* // GroupType: "Distribution" || "Security", // required
|
|
59
|
+
* // GroupScope: "DomainLocal" || "Global" || "Universal" || "BuiltinLocal", // required
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // NextToken: "STRING_VALUE",
|
|
63
|
+
* // };
|
|
64
|
+
*
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
67
|
+
* @param ListGroupsCommandInput - {@link ListGroupsCommandInput}
|
|
68
|
+
* @returns {@link ListGroupsCommandOutput}
|
|
69
|
+
* @see {@link ListGroupsCommandInput} for command's `input` shape.
|
|
70
|
+
* @see {@link ListGroupsCommandOutput} for command's `response` shape.
|
|
71
|
+
* @see {@link DirectoryServiceDataClientResolvedConfig | config} for DirectoryServiceDataClient's `config` shape.
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
74
|
+
* <p> You don't have permission to perform the request or access the directory. It can also
|
|
75
|
+
* occur when the <code>DirectoryId</code> doesn't exist or the user, member, or group might be
|
|
76
|
+
* outside of your organizational unit (OU). </p>
|
|
77
|
+
* <p> Make sure that you have the authentication and authorization to perform the action.
|
|
78
|
+
* Review the directory information in the request, and make sure that the object isn't outside
|
|
79
|
+
* of your OU. </p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link DirectoryUnavailableException} (client fault)
|
|
82
|
+
* <p> The request could not be completed due to a problem in the configuration or current state
|
|
83
|
+
* of the specified directory. </p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link InternalServerException} (server fault)
|
|
86
|
+
* <p> The operation didn't succeed because an internal error occurred. Try again later. </p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
89
|
+
* <p> The limit on the number of requests per second has been exceeded. </p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ValidationException} (client fault)
|
|
92
|
+
* <p> The request isn't valid. Review the details in the error message to update the invalid
|
|
93
|
+
* parameters or values in your request. </p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link DirectoryServiceDataServiceException}
|
|
96
|
+
* <p>Base exception class for all service exceptions from DirectoryServiceData service.</p>
|
|
97
|
+
*
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
export declare class ListGroupsCommand extends ListGroupsCommand_base {
|
|
101
|
+
/** @internal type navigation helper, not in runtime. */
|
|
102
|
+
protected static __types: {
|
|
103
|
+
api: {
|
|
104
|
+
input: ListGroupsRequest;
|
|
105
|
+
output: ListGroupsResult;
|
|
106
|
+
};
|
|
107
|
+
sdk: {
|
|
108
|
+
input: ListGroupsCommandInput;
|
|
109
|
+
output: ListGroupsCommandOutput;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
}
|