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

Description

Detaches a static IP from the Amazon Lightsail instance to which it is attached.

Synopsis

Creating a Request

data DetachStaticIp Source #

See: newDetachStaticIp smart constructor.

Constructors

DetachStaticIp' 

Fields

Instances

Instances details
Eq DetachStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.DetachStaticIp

Read DetachStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.DetachStaticIp

Show DetachStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.DetachStaticIp

Generic DetachStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.DetachStaticIp

Associated Types

type Rep DetachStaticIp :: Type -> Type #

NFData DetachStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.DetachStaticIp

Methods

rnf :: DetachStaticIp -> () #

Hashable DetachStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.DetachStaticIp

ToJSON DetachStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.DetachStaticIp

AWSRequest DetachStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.DetachStaticIp

Associated Types

type AWSResponse DetachStaticIp #

ToHeaders DetachStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.DetachStaticIp

ToPath DetachStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.DetachStaticIp

ToQuery DetachStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.DetachStaticIp

type Rep DetachStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.DetachStaticIp

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

Defined in Amazonka.Lightsail.DetachStaticIp

newDetachStaticIp Source #

Create a value of DetachStaticIp 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:DetachStaticIp', detachStaticIp_staticIpName - The name of the static IP to detach from the instance.

Request Lenses

detachStaticIp_staticIpName :: Lens' DetachStaticIp Text Source #

The name of the static IP to detach from the instance.

Destructuring the Response

data DetachStaticIpResponse Source #

See: newDetachStaticIpResponse smart constructor.

Constructors

DetachStaticIpResponse' 

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

Defined in Amazonka.Lightsail.DetachStaticIp

Read DetachStaticIpResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DetachStaticIp

Show DetachStaticIpResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DetachStaticIp

Generic DetachStaticIpResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DetachStaticIp

Associated Types

type Rep DetachStaticIpResponse :: Type -> Type #

NFData DetachStaticIpResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DetachStaticIp

Methods

rnf :: DetachStaticIpResponse -> () #

type Rep DetachStaticIpResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DetachStaticIp

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

newDetachStaticIpResponse Source #

Create a value of DetachStaticIpResponse 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:DetachStaticIpResponse', detachStaticIpResponse_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:DetachStaticIpResponse', detachStaticIpResponse_httpStatus - The response's http status code.

Response Lenses

detachStaticIpResponse_operations :: Lens' DetachStaticIpResponse (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.