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 |
Returns domain configuration information about the specified domains, including the domain ID, domain endpoint, and domain ARN.
Synopsis
- data DescribeDomains = DescribeDomains' {
- domainNames :: [Text]
- newDescribeDomains :: DescribeDomains
- describeDomains_domainNames :: Lens' DescribeDomains [Text]
- data DescribeDomainsResponse = DescribeDomainsResponse' {}
- newDescribeDomainsResponse :: Int -> DescribeDomainsResponse
- describeDomainsResponse_httpStatus :: Lens' DescribeDomainsResponse Int
- describeDomainsResponse_domainStatusList :: Lens' DescribeDomainsResponse [DomainStatus]
Creating a Request
data DescribeDomains Source #
Container for the parameters to the DescribeDomains
operation. By
default, the API returns the status of all domains.
See: newDescribeDomains
smart constructor.
DescribeDomains' | |
|
Instances
newDescribeDomains :: DescribeDomains Source #
Create a value of DescribeDomains
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:domainNames:DescribeDomains'
, describeDomains_domainNames
- The domains for which you want information.
Request Lenses
describeDomains_domainNames :: Lens' DescribeDomains [Text] Source #
The domains for which you want information.
Destructuring the Response
data DescribeDomainsResponse Source #
The result of a DescribeDomains
request. Contains the status of the
specified domains or all domains owned by the account.
See: newDescribeDomainsResponse
smart constructor.
DescribeDomainsResponse' | |
|
Instances
newDescribeDomainsResponse Source #
Create a value of DescribeDomainsResponse
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:httpStatus:DescribeDomainsResponse'
, describeDomainsResponse_httpStatus
- The response's http status code.
$sel:domainStatusList:DescribeDomainsResponse'
, describeDomainsResponse_domainStatusList
- The status of the domains requested in the DescribeDomains
request.
Response Lenses
describeDomainsResponse_httpStatus :: Lens' DescribeDomainsResponse Int Source #
The response's http status code.
describeDomainsResponse_domainStatusList :: Lens' DescribeDomainsResponse [DomainStatus] Source #
The status of the domains requested in the DescribeDomains
request.