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.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 # 
Instance details

Defined in Network.AWS.Lightsail.DeleteInstance

Data DeleteInstance Source # 
Instance details

Defined in Network.AWS.Lightsail.DeleteInstance

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

Defined in Network.AWS.Lightsail.DeleteInstance

Show DeleteInstance Source # 
Instance details

Defined in Network.AWS.Lightsail.DeleteInstance

Generic DeleteInstance Source # 
Instance details

Defined in Network.AWS.Lightsail.DeleteInstance

Associated Types

type Rep DeleteInstance :: Type -> Type #

Hashable DeleteInstance Source # 
Instance details

Defined in Network.AWS.Lightsail.DeleteInstance

ToJSON DeleteInstance Source # 
Instance details

Defined in Network.AWS.Lightsail.DeleteInstance

AWSRequest DeleteInstance Source # 
Instance details

Defined in Network.AWS.Lightsail.DeleteInstance

Associated Types

type Rs DeleteInstance :: Type #

ToHeaders DeleteInstance Source # 
Instance details

Defined in Network.AWS.Lightsail.DeleteInstance

ToPath DeleteInstance Source # 
Instance details

Defined in Network.AWS.Lightsail.DeleteInstance

ToQuery DeleteInstance Source # 
Instance details

Defined in Network.AWS.Lightsail.DeleteInstance

NFData DeleteInstance Source # 
Instance details

Defined in Network.AWS.Lightsail.DeleteInstance

Methods

rnf :: DeleteInstance -> () #

type Rep DeleteInstance Source # 
Instance details

Defined in Network.AWS.Lightsail.DeleteInstance

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

Defined in Network.AWS.Lightsail.DeleteInstance

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

Defined in Network.AWS.Lightsail.DeleteInstance

Data DeleteInstanceResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.DeleteInstance

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

Defined in Network.AWS.Lightsail.DeleteInstance

Show DeleteInstanceResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.DeleteInstance

Generic DeleteInstanceResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.DeleteInstance

Associated Types

type Rep DeleteInstanceResponse :: Type -> Type #

NFData DeleteInstanceResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.DeleteInstance

Methods

rnf :: DeleteInstanceResponse -> () #

type Rep DeleteInstanceResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.DeleteInstance

type Rep DeleteInstanceResponse = D1 (MetaData "DeleteInstanceResponse" "Network.AWS.Lightsail.DeleteInstance" "amazonka-lightsail-1.6.1-1vuZhtZgkqE3h8gtLuAIA9" False) (C1 (MetaCons "DeleteInstanceResponse'" PrefixI True) (S1 (MetaSel (Just "_dirsOperations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Operation])) :*: S1 (MetaSel (Just "_dirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (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.