amazonka-lightsail-2.0: Amazon Lightsail SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Lightsail.GetDomain

Description

Returns information about a specific domain recordset.

Synopsis

Creating a Request

data GetDomain Source #

See: newGetDomain smart constructor.

Constructors

GetDomain' 

Fields

  • domainName :: Text

    The domain name for which your want to return information about.

Instances

Instances details
ToJSON GetDomain Source # 
Instance details

Defined in Amazonka.Lightsail.GetDomain

ToHeaders GetDomain Source # 
Instance details

Defined in Amazonka.Lightsail.GetDomain

Methods

toHeaders :: GetDomain -> [Header] #

ToPath GetDomain Source # 
Instance details

Defined in Amazonka.Lightsail.GetDomain

ToQuery GetDomain Source # 
Instance details

Defined in Amazonka.Lightsail.GetDomain

AWSRequest GetDomain Source # 
Instance details

Defined in Amazonka.Lightsail.GetDomain

Associated Types

type AWSResponse GetDomain #

Generic GetDomain Source # 
Instance details

Defined in Amazonka.Lightsail.GetDomain

Associated Types

type Rep GetDomain :: Type -> Type #

Read GetDomain Source # 
Instance details

Defined in Amazonka.Lightsail.GetDomain

Show GetDomain Source # 
Instance details

Defined in Amazonka.Lightsail.GetDomain

NFData GetDomain Source # 
Instance details

Defined in Amazonka.Lightsail.GetDomain

Methods

rnf :: GetDomain -> () #

Eq GetDomain Source # 
Instance details

Defined in Amazonka.Lightsail.GetDomain

Hashable GetDomain Source # 
Instance details

Defined in Amazonka.Lightsail.GetDomain

type AWSResponse GetDomain Source # 
Instance details

Defined in Amazonka.Lightsail.GetDomain

type Rep GetDomain Source # 
Instance details

Defined in Amazonka.Lightsail.GetDomain

type Rep GetDomain = D1 ('MetaData "GetDomain" "Amazonka.Lightsail.GetDomain" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "GetDomain'" 'PrefixI 'True) (S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetDomain Source #

Arguments

:: Text

GetDomain

-> GetDomain 

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.

Constructors

GetDomainResponse' 

Fields

  • domain :: Maybe Domain

    An array of key-value pairs containing information about your get domain request.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic GetDomainResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetDomain

Associated Types

type Rep GetDomainResponse :: Type -> Type #

Read GetDomainResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetDomain

Show GetDomainResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetDomain

NFData GetDomainResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetDomain

Methods

rnf :: GetDomainResponse -> () #

Eq GetDomainResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetDomain

type Rep GetDomainResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetDomain

type Rep GetDomainResponse = D1 ('MetaData "GetDomainResponse" "Amazonka.Lightsail.GetDomain" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "GetDomainResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "domain") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Domain)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetDomainResponse Source #

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.