amazonka-lightsail-1.4.5: Amazon Lightsail SDK.

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

Network.AWS.Lightsail.DeleteInstance

Contents

Description

Deletes a specific Amazon Lightsail virtual private server, or instance .

Synopsis

Creating a Request

deleteInstance Source #

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

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

data DeleteInstance Source #

See: deleteInstance smart constructor.

Instances

Eq DeleteInstance Source # 
Data DeleteInstance Source # 

Methods

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

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

toConstr :: DeleteInstance -> Constr #

dataTypeOf :: DeleteInstance -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteInstance Source # 
Show DeleteInstance Source # 
Generic DeleteInstance Source # 

Associated Types

type Rep DeleteInstance :: * -> * #

Hashable DeleteInstance Source # 
ToJSON DeleteInstance Source # 
NFData DeleteInstance Source # 

Methods

rnf :: DeleteInstance -> () #

AWSRequest DeleteInstance Source # 
ToPath DeleteInstance Source # 
ToHeaders DeleteInstance Source # 
ToQuery DeleteInstance Source # 
type Rep DeleteInstance Source # 
type Rep DeleteInstance = D1 (MetaData "DeleteInstance" "Network.AWS.Lightsail.DeleteInstance" "amazonka-lightsail-1.4.5-5jz0XqtfwkUBGV0E8NKblJ" True) (C1 (MetaCons "DeleteInstance'" PrefixI True) (S1 (MetaSel (Just Symbol "_diInstanceName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DeleteInstance Source # 

Request Lenses

diInstanceName :: Lens' DeleteInstance Text Source #

The name of the instance to delete.

Destructuring the Response

deleteInstanceResponse Source #

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

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

  • dirsOperations - An array of key-value pairs containing information about the results of your delete instance request.
  • dirsResponseStatus - -- | The response status code.

data DeleteInstanceResponse Source #

See: deleteInstanceResponse smart constructor.

Instances

Eq DeleteInstanceResponse Source # 
Data DeleteInstanceResponse Source # 

Methods

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

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

toConstr :: DeleteInstanceResponse -> Constr #

dataTypeOf :: DeleteInstanceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteInstanceResponse Source # 
Show DeleteInstanceResponse Source # 
Generic DeleteInstanceResponse Source # 
NFData DeleteInstanceResponse Source # 

Methods

rnf :: DeleteInstanceResponse -> () #

type Rep DeleteInstanceResponse Source # 
type Rep DeleteInstanceResponse = D1 (MetaData "DeleteInstanceResponse" "Network.AWS.Lightsail.DeleteInstance" "amazonka-lightsail-1.4.5-5jz0XqtfwkUBGV0E8NKblJ" False) (C1 (MetaCons "DeleteInstanceResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dirsOperations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Operation]))) (S1 (MetaSel (Just Symbol "_dirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

dirsOperations :: Lens' DeleteInstanceResponse [Operation] Source #

An array of key-value pairs containing information about the results of your delete instance request.

dirsResponseStatus :: Lens' DeleteInstanceResponse Int Source #

  • - | The response status code.