| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.DirectoryService.DescribeDomainControllers
Description
Provides information about any domain controllers in your directory.
This operation returns paginated results.
Synopsis
- data DescribeDomainControllers = DescribeDomainControllers' {}
- newDescribeDomainControllers :: Text -> DescribeDomainControllers
- describeDomainControllers_domainControllerIds :: Lens' DescribeDomainControllers (Maybe [Text])
- describeDomainControllers_limit :: Lens' DescribeDomainControllers (Maybe Natural)
- describeDomainControllers_nextToken :: Lens' DescribeDomainControllers (Maybe Text)
- describeDomainControllers_directoryId :: Lens' DescribeDomainControllers Text
- data DescribeDomainControllersResponse = DescribeDomainControllersResponse' {}
- newDescribeDomainControllersResponse :: Int -> DescribeDomainControllersResponse
- describeDomainControllersResponse_domainControllers :: Lens' DescribeDomainControllersResponse (Maybe [DomainController])
- describeDomainControllersResponse_nextToken :: Lens' DescribeDomainControllersResponse (Maybe Text)
- describeDomainControllersResponse_httpStatus :: Lens' DescribeDomainControllersResponse Int
Creating a Request
data DescribeDomainControllers Source #
See: newDescribeDomainControllers smart constructor.
Constructors
| DescribeDomainControllers' | |
Fields
| |
Instances
newDescribeDomainControllers Source #
Arguments
| :: Text | |
| -> DescribeDomainControllers |
Create a value of DescribeDomainControllers with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:domainControllerIds:DescribeDomainControllers', describeDomainControllers_domainControllerIds - A list of identifiers for the domain controllers whose information will
be provided.
$sel:limit:DescribeDomainControllers', describeDomainControllers_limit - The maximum number of items to return.
DescribeDomainControllers, describeDomainControllers_nextToken - The DescribeDomainControllers.NextToken value from a previous call to
DescribeDomainControllers. Pass null if this is the first call.
DescribeDomainControllers, describeDomainControllers_directoryId - Identifier of the directory for which to retrieve the domain controller
information.
Request Lenses
describeDomainControllers_domainControllerIds :: Lens' DescribeDomainControllers (Maybe [Text]) Source #
A list of identifiers for the domain controllers whose information will be provided.
describeDomainControllers_limit :: Lens' DescribeDomainControllers (Maybe Natural) Source #
The maximum number of items to return.
describeDomainControllers_nextToken :: Lens' DescribeDomainControllers (Maybe Text) Source #
The DescribeDomainControllers.NextToken value from a previous call to DescribeDomainControllers. Pass null if this is the first call.
describeDomainControllers_directoryId :: Lens' DescribeDomainControllers Text Source #
Identifier of the directory for which to retrieve the domain controller information.
Destructuring the Response
data DescribeDomainControllersResponse Source #
See: newDescribeDomainControllersResponse smart constructor.
Constructors
| DescribeDomainControllersResponse' | |
Fields
| |
Instances
newDescribeDomainControllersResponse Source #
Arguments
| :: Int | |
| -> DescribeDomainControllersResponse |
Create a value of DescribeDomainControllersResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:domainControllers:DescribeDomainControllersResponse', describeDomainControllersResponse_domainControllers - List of the DomainController objects that were retrieved.
DescribeDomainControllers, describeDomainControllersResponse_nextToken - If not null, more results are available. Pass this value for the
NextToken parameter in a subsequent call to DescribeDomainControllers
retrieve the next set of items.
$sel:httpStatus:DescribeDomainControllersResponse', describeDomainControllersResponse_httpStatus - The response's http status code.
Response Lenses
describeDomainControllersResponse_domainControllers :: Lens' DescribeDomainControllersResponse (Maybe [DomainController]) Source #
List of the DomainController objects that were retrieved.
describeDomainControllersResponse_nextToken :: Lens' DescribeDomainControllersResponse (Maybe Text) Source #
If not null, more results are available. Pass this value for the
NextToken parameter in a subsequent call to DescribeDomainControllers
retrieve the next set of items.
describeDomainControllersResponse_httpStatus :: Lens' DescribeDomainControllersResponse Int Source #
The response's http status code.