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 |
Returns information about a specific domain recordset.
Synopsis
- data GetDomain = GetDomain' {
- domainName :: Text
- newGetDomain :: Text -> GetDomain
- getDomain_domainName :: Lens' GetDomain Text
- data GetDomainResponse = GetDomainResponse' {
- domain :: Maybe Domain
- httpStatus :: Int
- newGetDomainResponse :: Int -> GetDomainResponse
- getDomainResponse_domain :: Lens' GetDomainResponse (Maybe Domain)
- getDomainResponse_httpStatus :: Lens' GetDomainResponse Int
Creating a Request
See: newGetDomain
smart constructor.
GetDomain' | |
|
Instances
Create a value of GetDomain
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:
GetDomain
, getDomain_domainName
- The domain name for which your want to return information about.
Request Lenses
getDomain_domainName :: Lens' GetDomain Text Source #
The domain name for which your want to return information about.
Destructuring the Response
data GetDomainResponse Source #
See: newGetDomainResponse
smart constructor.
GetDomainResponse' | |
|
Instances
Create a value of GetDomainResponse
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:GetDomainResponse'
, getDomainResponse_domain
- An array of key-value pairs containing information about your get domain
request.
$sel:httpStatus:GetDomainResponse'
, getDomainResponse_httpStatus
- The response's http status code.
Response Lenses
getDomainResponse_domain :: Lens' GetDomainResponse (Maybe Domain) Source #
An array of key-value pairs containing information about your get domain request.
getDomainResponse_httpStatus :: Lens' GetDomainResponse Int Source #
The response's http status code.