Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Provides information about any domain controllers in your directory.
This operation returns paginated results.
Synopsis
- data DescribeDomainControllers = DescribeDomainControllers' {}
- newDescribeDomainControllers :: Text -> DescribeDomainControllers
- describeDomainControllers_nextToken :: Lens' DescribeDomainControllers (Maybe Text)
- describeDomainControllers_domainControllerIds :: Lens' DescribeDomainControllers (Maybe [Text])
- describeDomainControllers_limit :: Lens' DescribeDomainControllers (Maybe Natural)
- describeDomainControllers_directoryId :: Lens' DescribeDomainControllers Text
- data DescribeDomainControllersResponse = DescribeDomainControllersResponse' {}
- newDescribeDomainControllersResponse :: Int -> DescribeDomainControllersResponse
- describeDomainControllersResponse_nextToken :: Lens' DescribeDomainControllersResponse (Maybe Text)
- describeDomainControllersResponse_domainControllers :: Lens' DescribeDomainControllersResponse (Maybe [DomainController])
- describeDomainControllersResponse_httpStatus :: Lens' DescribeDomainControllersResponse Int
Creating a Request
data DescribeDomainControllers Source #
See: newDescribeDomainControllers
smart constructor.
DescribeDomainControllers' | |
|
Instances
newDescribeDomainControllers Source #
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:nextToken:DescribeDomainControllers'
, describeDomainControllers_nextToken
- The DescribeDomainControllers.NextToken value from a previous call to
DescribeDomainControllers. Pass null if this is the first call.
$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.
$sel:directoryId:DescribeDomainControllers'
, describeDomainControllers_directoryId
- Identifier of the directory for which to retrieve the domain controller
information.
Request Lenses
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_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_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.
DescribeDomainControllersResponse' | |
|
Instances
newDescribeDomainControllersResponse Source #
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:nextToken: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:domainControllers:DescribeDomainControllersResponse'
, describeDomainControllersResponse_domainControllers
- List of the DomainController objects that were retrieved.
$sel:httpStatus:DescribeDomainControllersResponse'
, describeDomainControllersResponse_httpStatus
- The response's http status code.
Response Lenses
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_domainControllers :: Lens' DescribeDomainControllersResponse (Maybe [DomainController]) Source #
List of the DomainController objects that were retrieved.
describeDomainControllersResponse_httpStatus :: Lens' DescribeDomainControllersResponse Int Source #
The response's http status code.