libZSservicesZSamazonka-lightsailZSamazonka-lightsail
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq GetDomain Source # 
Instance details

Defined in Amazonka.Lightsail.GetDomain

Read GetDomain Source # 
Instance details

Defined in Amazonka.Lightsail.GetDomain

Show GetDomain Source # 
Instance details

Defined in Amazonka.Lightsail.GetDomain

Generic GetDomain Source # 
Instance details

Defined in Amazonka.Lightsail.GetDomain

Associated Types

type Rep GetDomain :: Type -> Type #

NFData GetDomain Source # 
Instance details

Defined in Amazonka.Lightsail.GetDomain

Methods

rnf :: GetDomain -> () #

Hashable GetDomain Source # 
Instance details

Defined in Amazonka.Lightsail.GetDomain

ToJSON GetDomain Source # 
Instance details

Defined in Amazonka.Lightsail.GetDomain

AWSRequest GetDomain Source # 
Instance details

Defined in Amazonka.Lightsail.GetDomain

Associated Types

type AWSResponse 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

type Rep GetDomain Source # 
Instance details

Defined in Amazonka.Lightsail.GetDomain

type Rep GetDomain = D1 ('MetaData "GetDomain" "Amazonka.Lightsail.GetDomain" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "GetDomain'" 'PrefixI 'True) (S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetDomain Source # 
Instance details

Defined in Amazonka.Lightsail.GetDomain

newGetDomain Source #

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:

$sel:domainName: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
Eq GetDomainResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetDomain

Read GetDomainResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetDomain

Show GetDomainResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetDomain

Generic GetDomainResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetDomain

Associated Types

type Rep GetDomainResponse :: Type -> Type #

NFData GetDomainResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetDomain

Methods

rnf :: GetDomainResponse -> () #

type Rep GetDomainResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetDomain

type Rep GetDomainResponse = D1 ('MetaData "GetDomainResponse" "Amazonka.Lightsail.GetDomain" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" '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.