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

Description

Allocates a static IP address.

Synopsis

Creating a Request

data AllocateStaticIp Source #

See: newAllocateStaticIp smart constructor.

Constructors

AllocateStaticIp' 

Fields

Instances

Instances details
Eq AllocateStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.AllocateStaticIp

Read AllocateStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.AllocateStaticIp

Show AllocateStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.AllocateStaticIp

Generic AllocateStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.AllocateStaticIp

Associated Types

type Rep AllocateStaticIp :: Type -> Type #

NFData AllocateStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.AllocateStaticIp

Methods

rnf :: AllocateStaticIp -> () #

Hashable AllocateStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.AllocateStaticIp

ToJSON AllocateStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.AllocateStaticIp

AWSRequest AllocateStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.AllocateStaticIp

Associated Types

type AWSResponse AllocateStaticIp #

ToHeaders AllocateStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.AllocateStaticIp

ToPath AllocateStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.AllocateStaticIp

ToQuery AllocateStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.AllocateStaticIp

type Rep AllocateStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.AllocateStaticIp

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

Defined in Amazonka.Lightsail.AllocateStaticIp

newAllocateStaticIp Source #

Create a value of AllocateStaticIp 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:AllocateStaticIp', allocateStaticIp_staticIpName - The name of the static IP address.

Request Lenses

allocateStaticIp_staticIpName :: Lens' AllocateStaticIp Text Source #

The name of the static IP address.

Destructuring the Response

data AllocateStaticIpResponse Source #

See: newAllocateStaticIpResponse smart constructor.

Constructors

AllocateStaticIpResponse' 

Fields

  • operations :: Maybe [Operation]

    An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq AllocateStaticIpResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AllocateStaticIp

Read AllocateStaticIpResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AllocateStaticIp

Show AllocateStaticIpResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AllocateStaticIp

Generic AllocateStaticIpResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AllocateStaticIp

Associated Types

type Rep AllocateStaticIpResponse :: Type -> Type #

NFData AllocateStaticIpResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AllocateStaticIp

type Rep AllocateStaticIpResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AllocateStaticIp

type Rep AllocateStaticIpResponse = D1 ('MetaData "AllocateStaticIpResponse" "Amazonka.Lightsail.AllocateStaticIp" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "AllocateStaticIpResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "operations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Operation])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAllocateStaticIpResponse Source #

Create a value of AllocateStaticIpResponse 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:operations:AllocateStaticIpResponse', allocateStaticIpResponse_operations - An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

$sel:httpStatus:AllocateStaticIpResponse', allocateStaticIpResponse_httpStatus - The response's http status code.

Response Lenses

allocateStaticIpResponse_operations :: Lens' AllocateStaticIpResponse (Maybe [Operation]) Source #

An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.