amazonka-lightsail-1.6.0: 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 # 
Data DetachStaticIP Source # 

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 # 
Show DetachStaticIP Source # 
Generic DetachStaticIP Source # 

Associated Types

type Rep DetachStaticIP :: * -> * #

Hashable DetachStaticIP Source # 
ToJSON DetachStaticIP Source # 
NFData DetachStaticIP Source # 

Methods

rnf :: DetachStaticIP -> () #

AWSRequest DetachStaticIP Source # 
ToHeaders DetachStaticIP Source # 
ToPath DetachStaticIP Source # 
ToQuery DetachStaticIP Source # 
type Rep DetachStaticIP Source # 
type Rep DetachStaticIP = D1 * (MetaData "DetachStaticIP" "Network.AWS.Lightsail.DetachStaticIP" "amazonka-lightsail-1.6.0-ARMP2uYvcAnENqDU8iFIes" True) (C1 * (MetaCons "DetachStaticIP'" PrefixI True) (S1 * (MetaSel (Just Symbol "_dsiStaticIPName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs DetachStaticIP Source # 

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 # 
Data DetachStaticIPResponse Source # 

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 # 
Show DetachStaticIPResponse Source # 
Generic DetachStaticIPResponse Source # 
NFData DetachStaticIPResponse Source # 

Methods

rnf :: DetachStaticIPResponse -> () #

type Rep DetachStaticIPResponse Source # 
type Rep DetachStaticIPResponse = D1 * (MetaData "DetachStaticIPResponse" "Network.AWS.Lightsail.DetachStaticIP" "amazonka-lightsail-1.6.0-ARMP2uYvcAnENqDU8iFIes" False) (C1 * (MetaCons "DetachStaticIPResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_dsirsOperations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Operation]))) (S1 * (MetaSel (Just Symbol "_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.