amazonka-lightsail-1.6.1: Amazon Lightsail SDK.

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

Network.AWS.Lightsail.DetachStaticIP

Contents

Description

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

Synopsis

Creating a Request

detachStaticIP Source #

Creates a value of DetachStaticIP with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DetachStaticIP Source #

See: detachStaticIP smart constructor.

Instances
Eq DetachStaticIP Source # 
Instance details

Defined in Network.AWS.Lightsail.DetachStaticIP

Data DetachStaticIP Source # 
Instance details

Defined in Network.AWS.Lightsail.DetachStaticIP

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DetachStaticIP -> c DetachStaticIP #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DetachStaticIP #

toConstr :: DetachStaticIP -> Constr #

dataTypeOf :: DetachStaticIP -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DetachStaticIP) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DetachStaticIP) #

gmapT :: (forall b. Data b => b -> b) -> DetachStaticIP -> DetachStaticIP #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DetachStaticIP -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DetachStaticIP -> r #

gmapQ :: (forall d. Data d => d -> u) -> DetachStaticIP -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DetachStaticIP -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DetachStaticIP -> m DetachStaticIP #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DetachStaticIP -> m DetachStaticIP #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DetachStaticIP -> m DetachStaticIP #

Read DetachStaticIP Source # 
Instance details

Defined in Network.AWS.Lightsail.DetachStaticIP

Show DetachStaticIP Source # 
Instance details

Defined in Network.AWS.Lightsail.DetachStaticIP

Generic DetachStaticIP Source # 
Instance details

Defined in Network.AWS.Lightsail.DetachStaticIP

Associated Types

type Rep DetachStaticIP :: Type -> Type #

Hashable DetachStaticIP Source # 
Instance details

Defined in Network.AWS.Lightsail.DetachStaticIP

ToJSON DetachStaticIP Source # 
Instance details

Defined in Network.AWS.Lightsail.DetachStaticIP

AWSRequest DetachStaticIP Source # 
Instance details

Defined in Network.AWS.Lightsail.DetachStaticIP

Associated Types

type Rs DetachStaticIP :: Type #

ToHeaders DetachStaticIP Source # 
Instance details

Defined in Network.AWS.Lightsail.DetachStaticIP

ToPath DetachStaticIP Source # 
Instance details

Defined in Network.AWS.Lightsail.DetachStaticIP

ToQuery DetachStaticIP Source # 
Instance details

Defined in Network.AWS.Lightsail.DetachStaticIP

NFData DetachStaticIP Source # 
Instance details

Defined in Network.AWS.Lightsail.DetachStaticIP

Methods

rnf :: DetachStaticIP -> () #

type Rep DetachStaticIP Source # 
Instance details

Defined in Network.AWS.Lightsail.DetachStaticIP

type Rep DetachStaticIP = D1 (MetaData "DetachStaticIP" "Network.AWS.Lightsail.DetachStaticIP" "amazonka-lightsail-1.6.1-1vuZhtZgkqE3h8gtLuAIA9" True) (C1 (MetaCons "DetachStaticIP'" PrefixI True) (S1 (MetaSel (Just "_dsiStaticIPName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DetachStaticIP Source # 
Instance details

Defined in Network.AWS.Lightsail.DetachStaticIP

Request Lenses

dsiStaticIPName :: Lens' DetachStaticIP Text Source #

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

Destructuring the Response

detachStaticIPResponse Source #

Creates a value of DetachStaticIPResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dsirsOperations - An array of key-value pairs containing information about the results of your detach static IP request.
  • dsirsResponseStatus - -- | The response status code.

data DetachStaticIPResponse Source #

See: detachStaticIPResponse smart constructor.

Instances
Eq DetachStaticIPResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.DetachStaticIP

Data DetachStaticIPResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.DetachStaticIP

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DetachStaticIPResponse -> c DetachStaticIPResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DetachStaticIPResponse #

toConstr :: DetachStaticIPResponse -> Constr #

dataTypeOf :: DetachStaticIPResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DetachStaticIPResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DetachStaticIPResponse) #

gmapT :: (forall b. Data b => b -> b) -> DetachStaticIPResponse -> DetachStaticIPResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DetachStaticIPResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DetachStaticIPResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DetachStaticIPResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DetachStaticIPResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DetachStaticIPResponse -> m DetachStaticIPResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DetachStaticIPResponse -> m DetachStaticIPResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DetachStaticIPResponse -> m DetachStaticIPResponse #

Read DetachStaticIPResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.DetachStaticIP

Show DetachStaticIPResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.DetachStaticIP

Generic DetachStaticIPResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.DetachStaticIP

Associated Types

type Rep DetachStaticIPResponse :: Type -> Type #

NFData DetachStaticIPResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.DetachStaticIP

Methods

rnf :: DetachStaticIPResponse -> () #

type Rep DetachStaticIPResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.DetachStaticIP

type Rep DetachStaticIPResponse = D1 (MetaData "DetachStaticIPResponse" "Network.AWS.Lightsail.DetachStaticIP" "amazonka-lightsail-1.6.1-1vuZhtZgkqE3h8gtLuAIA9" False) (C1 (MetaCons "DetachStaticIPResponse'" PrefixI True) (S1 (MetaSel (Just "_dsirsOperations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Operation])) :*: S1 (MetaSel (Just "_dsirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

dsirsOperations :: Lens' DetachStaticIPResponse [Operation] Source #

An array of key-value pairs containing information about the results of your detach static IP request.