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 a DomainDescription object that contains information about the requested domain.
Synopsis
- data DescribeDomain = DescribeDomain' {
- domainOwner :: Maybe Text
- domain :: Text
- newDescribeDomain :: Text -> DescribeDomain
- describeDomain_domainOwner :: Lens' DescribeDomain (Maybe Text)
- describeDomain_domain :: Lens' DescribeDomain Text
- data DescribeDomainResponse = DescribeDomainResponse' {}
- newDescribeDomainResponse :: Int -> DescribeDomainResponse
- describeDomainResponse_domain :: Lens' DescribeDomainResponse (Maybe DomainDescription)
- describeDomainResponse_httpStatus :: Lens' DescribeDomainResponse Int
Creating a Request
data DescribeDomain Source #
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:domainOwner:DescribeDomain'
, describeDomain_domainOwner
- The 12-digit account number of the AWS account that owns the domain. It
does not include dashes or spaces.
$sel:domain:DescribeDomain'
, describeDomain_domain
- A string that specifies the name of the requested domain.
Request Lenses
describeDomain_domainOwner :: Lens' DescribeDomain (Maybe Text) Source #
The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.
describeDomain_domain :: Lens' DescribeDomain Text Source #
A string that specifies the name of the requested domain.
Destructuring the Response
data DescribeDomainResponse Source #
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:domain:DescribeDomain'
, describeDomainResponse_domain
- Undocumented member.
$sel:httpStatus:DescribeDomainResponse'
, describeDomainResponse_httpStatus
- The response's http status code.
Response Lenses
describeDomainResponse_domain :: Lens' DescribeDomainResponse (Maybe DomainDescription) Source #
Undocumented member.
describeDomainResponse_httpStatus :: Lens' DescribeDomainResponse Int Source #
The response's http status code.