Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
This operation returns detailed information about the domain. The domain's contact information is also returned as part of the output.
See: AWS API Reference for GetDomainDetail.
- getDomainDetail :: Text -> GetDomainDetail
- data GetDomainDetail
- gddDomainName :: Lens' GetDomainDetail Text
- getDomainDetailResponse :: Int -> Text -> ContactDetail -> ContactDetail -> ContactDetail -> GetDomainDetailResponse
- data GetDomainDetailResponse
- gddrsTechPrivacy :: Lens' GetDomainDetailResponse (Maybe Bool)
- gddrsDNSSec :: Lens' GetDomainDetailResponse (Maybe Text)
- gddrsWhoIsServer :: Lens' GetDomainDetailResponse (Maybe Text)
- gddrsRegistryDomainId :: Lens' GetDomainDetailResponse (Maybe Text)
- gddrsRegistrantPrivacy :: Lens' GetDomainDetailResponse (Maybe Bool)
- gddrsUpdatedDate :: Lens' GetDomainDetailResponse (Maybe UTCTime)
- gddrsAdminPrivacy :: Lens' GetDomainDetailResponse (Maybe Bool)
- gddrsAbuseContactEmail :: Lens' GetDomainDetailResponse (Maybe Text)
- gddrsRegistrarURL :: Lens' GetDomainDetailResponse (Maybe Text)
- gddrsAutoRenew :: Lens' GetDomainDetailResponse (Maybe Bool)
- gddrsAbuseContactPhone :: Lens' GetDomainDetailResponse (Maybe Text)
- gddrsExpirationDate :: Lens' GetDomainDetailResponse (Maybe UTCTime)
- gddrsCreationDate :: Lens' GetDomainDetailResponse (Maybe UTCTime)
- gddrsRegistrarName :: Lens' GetDomainDetailResponse (Maybe Text)
- gddrsStatusList :: Lens' GetDomainDetailResponse [Text]
- gddrsReseller :: Lens' GetDomainDetailResponse (Maybe Text)
- gddrsStatus :: Lens' GetDomainDetailResponse Int
- gddrsDomainName :: Lens' GetDomainDetailResponse Text
- gddrsNameservers :: Lens' GetDomainDetailResponse [Nameserver]
- gddrsAdminContact :: Lens' GetDomainDetailResponse ContactDetail
- gddrsRegistrantContact :: Lens' GetDomainDetailResponse ContactDetail
- gddrsTechContact :: Lens' GetDomainDetailResponse ContactDetail
Creating a Request
Creates a value of GetDomainDetail
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetDomainDetail Source
The GetDomainDetail request includes the following element.
See: getDomainDetail
smart constructor.
Request Lenses
gddDomainName :: Lens' GetDomainDetail Text Source
The name of a domain.
Type: String
Default: None
Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not supported.
Required: Yes
Destructuring the Response
getDomainDetailResponse Source
:: Int | |
-> Text | |
-> ContactDetail | |
-> ContactDetail | |
-> ContactDetail | |
-> GetDomainDetailResponse |
Creates a value of GetDomainDetailResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gddrsTechPrivacy
gddrsDNSSec
gddrsWhoIsServer
gddrsRegistryDomainId
gddrsRegistrantPrivacy
gddrsUpdatedDate
gddrsAdminPrivacy
gddrsAbuseContactEmail
gddrsRegistrarURL
gddrsAutoRenew
gddrsAbuseContactPhone
gddrsExpirationDate
gddrsCreationDate
gddrsRegistrarName
gddrsStatusList
gddrsReseller
gddrsStatus
gddrsDomainName
gddrsNameservers
gddrsAdminContact
gddrsRegistrantContact
gddrsTechContact
data GetDomainDetailResponse Source
The GetDomainDetail response includes the following elements.
See: getDomainDetailResponse
smart constructor.
Response Lenses
gddrsTechPrivacy :: Lens' GetDomainDetailResponse (Maybe Bool) Source
Specifies whether contact information for the tech contact is concealed
from WHOIS queries. If the value is true
, WHOIS ("who is") queries
will return contact information for our registrar partner, Gandi,
instead of the contact information that you enter.
Type: Boolean
gddrsDNSSec :: Lens' GetDomainDetailResponse (Maybe Text) Source
Reserved for future use.
gddrsWhoIsServer :: Lens' GetDomainDetailResponse (Maybe Text) Source
The fully qualified name of the WHOIS server that can answer the WHOIS query for the domain.
Type: String
gddrsRegistryDomainId :: Lens' GetDomainDetailResponse (Maybe Text) Source
Reserved for future use.
gddrsRegistrantPrivacy :: Lens' GetDomainDetailResponse (Maybe Bool) Source
Specifies whether contact information for the registrant contact is
concealed from WHOIS queries. If the value is true
, WHOIS ("who is")
queries will return contact information for our registrar partner,
Gandi, instead of the contact information that you enter.
Type: Boolean
gddrsUpdatedDate :: Lens' GetDomainDetailResponse (Maybe UTCTime) Source
The last updated date of the domain as found in the response to a WHOIS query. The date format is Unix time.
gddrsAdminPrivacy :: Lens' GetDomainDetailResponse (Maybe Bool) Source
Specifies whether contact information for the admin contact is concealed
from WHOIS queries. If the value is true
, WHOIS ("who is") queries
will return contact information for our registrar partner, Gandi,
instead of the contact information that you enter.
Type: Boolean
gddrsAbuseContactEmail :: Lens' GetDomainDetailResponse (Maybe Text) Source
Email address to contact to report incorrect contact information for a domain, to report that the domain is being used to send spam, to report that someone is cybersquatting on a domain name, or report some other type of abuse.
Type: String
gddrsRegistrarURL :: Lens' GetDomainDetailResponse (Maybe Text) Source
Web address of the registrar.
Type: String
gddrsAutoRenew :: Lens' GetDomainDetailResponse (Maybe Bool) Source
Specifies whether the domain registration is set to renew automatically.
Type: Boolean
gddrsAbuseContactPhone :: Lens' GetDomainDetailResponse (Maybe Text) Source
Phone number for reporting abuse.
Type: String
gddrsExpirationDate :: Lens' GetDomainDetailResponse (Maybe UTCTime) Source
The date when the registration for the domain is set to expire. The date format is Unix time.
gddrsCreationDate :: Lens' GetDomainDetailResponse (Maybe UTCTime) Source
The date when the domain was created as found in the response to a WHOIS query. The date format is Unix time.
gddrsRegistrarName :: Lens' GetDomainDetailResponse (Maybe Text) Source
Name of the registrar of the domain as identified in the registry. Amazon Route 53 domains are registered by registrar Gandi. The value is '"GANDI SAS"'.
Type: String
gddrsStatusList :: Lens' GetDomainDetailResponse [Text] Source
An array of domain name status codes, also known as Extensible Provisioning Protocol (EPP) status codes.
ICANN, the organization that maintains a central database of domain names, has developed a set of domain name status codes that tell you the status of a variety of operations on a domain name, for example, registering a domain name, transferring a domain name to another registrar, renewing the registration for a domain name, and so on. All registrars use this same set of status codes.
For a current list of domain name status codes and an explanation of what each code means, go to the ICANN website and search for 'epp status codes'. (Search on the ICANN website; web searches sometimes return an old version of the document.)
Type: Array of String
gddrsReseller :: Lens' GetDomainDetailResponse (Maybe Text) Source
Reseller of the domain. Domains registered or transferred using Amazon Route 53 domains will have '"Amazon"' as the reseller.
Type: String
gddrsStatus :: Lens' GetDomainDetailResponse Int Source
The response status code.
gddrsDomainName :: Lens' GetDomainDetailResponse Text Source
The name of a domain.
Type: String
gddrsNameservers :: Lens' GetDomainDetailResponse [Nameserver] Source
The name of the domain.
Type: String
gddrsAdminContact :: Lens' GetDomainDetailResponse ContactDetail Source
Provides details about the domain administrative contact.
Type: Complex
Children: FirstName
, MiddleName
, LastName
, ContactType
,
OrganizationName
, AddressLine1
, AddressLine2
, City
, State
,
CountryCode
, ZipCode
, PhoneNumber
, Email
, Fax
, ExtraParams
gddrsRegistrantContact :: Lens' GetDomainDetailResponse ContactDetail Source
Provides details about the domain registrant.
Type: Complex
Children: FirstName
, MiddleName
, LastName
, ContactType
,
OrganizationName
, AddressLine1
, AddressLine2
, City
, State
,
CountryCode
, ZipCode
, PhoneNumber
, Email
, Fax
, ExtraParams
gddrsTechContact :: Lens' GetDomainDetailResponse ContactDetail Source
Provides details about the domain technical contact.
Type: Complex
Children: FirstName
, MiddleName
, LastName
, ContactType
,
OrganizationName
, AddressLine1
, AddressLine2
, City
, State
,
CountryCode
, ZipCode
, PhoneNumber
, Email
, Fax
, ExtraParams