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.GetStaticIp

Description

Returns information about an Amazon Lightsail static IP.

Synopsis

Creating a Request

data GetStaticIp Source #

See: newGetStaticIp smart constructor.

Constructors

GetStaticIp' 

Fields

Instances

Instances details
Eq GetStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.GetStaticIp

Read GetStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.GetStaticIp

Show GetStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.GetStaticIp

Generic GetStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.GetStaticIp

Associated Types

type Rep GetStaticIp :: Type -> Type #

NFData GetStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.GetStaticIp

Methods

rnf :: GetStaticIp -> () #

Hashable GetStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.GetStaticIp

ToJSON GetStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.GetStaticIp

AWSRequest GetStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.GetStaticIp

Associated Types

type AWSResponse GetStaticIp #

ToHeaders GetStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.GetStaticIp

Methods

toHeaders :: GetStaticIp -> [Header] #

ToPath GetStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.GetStaticIp

ToQuery GetStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.GetStaticIp

type Rep GetStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.GetStaticIp

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

Defined in Amazonka.Lightsail.GetStaticIp

newGetStaticIp Source #

Create a value of GetStaticIp 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:staticIpName:GetStaticIp', getStaticIp_staticIpName - The name of the static IP in Lightsail.

Request Lenses

getStaticIp_staticIpName :: Lens' GetStaticIp Text Source #

The name of the static IP in Lightsail.

Destructuring the Response

data GetStaticIpResponse Source #

See: newGetStaticIpResponse smart constructor.

Constructors

GetStaticIpResponse' 

Fields

Instances

Instances details
Eq GetStaticIpResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetStaticIp

Read GetStaticIpResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetStaticIp

Show GetStaticIpResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetStaticIp

Generic GetStaticIpResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetStaticIp

Associated Types

type Rep GetStaticIpResponse :: Type -> Type #

NFData GetStaticIpResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetStaticIp

Methods

rnf :: GetStaticIpResponse -> () #

type Rep GetStaticIpResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetStaticIp

type Rep GetStaticIpResponse = D1 ('MetaData "GetStaticIpResponse" "Amazonka.Lightsail.GetStaticIp" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "GetStaticIpResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "staticIp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StaticIp)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetStaticIpResponse Source #

Create a value of GetStaticIpResponse 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:staticIp:GetStaticIpResponse', getStaticIpResponse_staticIp - An array of key-value pairs containing information about the requested static IP.

$sel:httpStatus:GetStaticIpResponse', getStaticIpResponse_httpStatus - The response's http status code.

Response Lenses

getStaticIpResponse_staticIp :: Lens' GetStaticIpResponse (Maybe StaticIp) Source #

An array of key-value pairs containing information about the requested static IP.