Smaws_Client_DirectoryService.DescribeDirectories
val request :
Smaws_Lib.Context.t ->
describe_directories_request ->
(describe_directories_result,
[> Smaws_Lib.Protocols.AwsJson.error
| `ClientException of client_exception
| `EntityDoesNotExistException of entity_does_not_exist_exception
| `InvalidNextTokenException of invalid_next_token_exception
| `InvalidParameterException of invalid_parameter_exception
| `ServiceException of service_exception ])
Stdlib.result
Obtains information about the directories that belong to this account.
You can retrieve information about specific directories by passing the directory identifiers in the DirectoryIds
parameter. Otherwise, all directories that belong to the current account are returned.
This operation supports pagination with the use of the NextToken
request and response parameters. If more results are available, the DescribeDirectoriesResult.NextToken
member contains a token that you pass in the next call to DescribeDirectories
to retrieve the next set of items.
You can also specify a maximum number of return results with the Limit
parameter.