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 domain, including the domain ID, domain endpoint, and domain ARN.
Synopsis
- data DescribeDomain = DescribeDomain' {
- domainName :: Text
- newDescribeDomain :: Text -> DescribeDomain
- describeDomain_domainName :: Lens' DescribeDomain Text
- data DescribeDomainResponse = DescribeDomainResponse' {}
- newDescribeDomainResponse :: Int -> DomainStatus -> DescribeDomainResponse
- describeDomainResponse_httpStatus :: Lens' DescribeDomainResponse Int
- describeDomainResponse_domainStatus :: Lens' DescribeDomainResponse DomainStatus
Creating a Request
data DescribeDomain Source #
Container for the parameters to the DescribeDomain
operation.
See: newDescribeDomain
smart constructor.
DescribeDomain' | |
|
Instances
Create a value of DescribeDomain
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:domainName:DescribeDomain'
, describeDomain_domainName
- The name of the domain for which you want information.
Request Lenses
describeDomain_domainName :: Lens' DescribeDomain Text Source #
The name of the domain for which you want information.
Destructuring the Response
data DescribeDomainResponse Source #
The result of a DescribeDomain
request. Contains the status of the
domain specified in the request.
See: newDescribeDomainResponse
smart constructor.
DescribeDomainResponse' | |
|
Instances
newDescribeDomainResponse Source #
Create a value of DescribeDomainResponse
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:DescribeDomainResponse'
, describeDomainResponse_httpStatus
- The response's http status code.
$sel:domainStatus:DescribeDomainResponse'
, describeDomainResponse_domainStatus
- The current status of the domain.
Response Lenses
describeDomainResponse_httpStatus :: Lens' DescribeDomainResponse Int Source #
The response's http status code.
describeDomainResponse_domainStatus :: Lens' DescribeDomainResponse DomainStatus Source #
The current status of the domain.