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

Contents

Description

Creates a snapshot of a specific virtual private server, or instance . You can use a snapshot to create a new instance that is based on that snapshot.

Synopsis

Creating a Request

createInstanceSnapshot Source #

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

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

data CreateInstanceSnapshot Source #

See: createInstanceSnapshot smart constructor.

Instances
Eq CreateInstanceSnapshot Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateInstanceSnapshot

Data CreateInstanceSnapshot Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateInstanceSnapshot

Methods

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

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

toConstr :: CreateInstanceSnapshot -> Constr #

dataTypeOf :: CreateInstanceSnapshot -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateInstanceSnapshot Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateInstanceSnapshot

Show CreateInstanceSnapshot Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateInstanceSnapshot

Generic CreateInstanceSnapshot Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateInstanceSnapshot

Associated Types

type Rep CreateInstanceSnapshot :: Type -> Type #

Hashable CreateInstanceSnapshot Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateInstanceSnapshot

ToJSON CreateInstanceSnapshot Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateInstanceSnapshot

AWSRequest CreateInstanceSnapshot Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateInstanceSnapshot

Associated Types

type Rs CreateInstanceSnapshot :: Type #

ToHeaders CreateInstanceSnapshot Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateInstanceSnapshot

ToPath CreateInstanceSnapshot Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateInstanceSnapshot

ToQuery CreateInstanceSnapshot Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateInstanceSnapshot

NFData CreateInstanceSnapshot Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateInstanceSnapshot

Methods

rnf :: CreateInstanceSnapshot -> () #

type Rep CreateInstanceSnapshot Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateInstanceSnapshot

type Rep CreateInstanceSnapshot = D1 (MetaData "CreateInstanceSnapshot" "Network.AWS.Lightsail.CreateInstanceSnapshot" "amazonka-lightsail-1.6.1-1vuZhtZgkqE3h8gtLuAIA9" False) (C1 (MetaCons "CreateInstanceSnapshot'" PrefixI True) (S1 (MetaSel (Just "_cisInstanceSnapshotName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_cisInstanceName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs CreateInstanceSnapshot Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateInstanceSnapshot

Request Lenses

cisInstanceName :: Lens' CreateInstanceSnapshot Text Source #

The Lightsail instance on which to base your snapshot.

Destructuring the Response

createInstanceSnapshotResponse Source #

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

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

  • cisrsOperations - An array of key-value pairs containing information about the results of your create instances snapshot request.
  • cisrsResponseStatus - -- | The response status code.

data CreateInstanceSnapshotResponse Source #

See: createInstanceSnapshotResponse smart constructor.

Instances
Eq CreateInstanceSnapshotResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateInstanceSnapshot

Data CreateInstanceSnapshotResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateInstanceSnapshot

Methods

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

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

toConstr :: CreateInstanceSnapshotResponse -> Constr #

dataTypeOf :: CreateInstanceSnapshotResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateInstanceSnapshotResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateInstanceSnapshot

Show CreateInstanceSnapshotResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateInstanceSnapshot

Generic CreateInstanceSnapshotResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateInstanceSnapshot

Associated Types

type Rep CreateInstanceSnapshotResponse :: Type -> Type #

NFData CreateInstanceSnapshotResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateInstanceSnapshot

type Rep CreateInstanceSnapshotResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.CreateInstanceSnapshot

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

Response Lenses

cisrsOperations :: Lens' CreateInstanceSnapshotResponse [Operation] Source #

An array of key-value pairs containing information about the results of your create instances snapshot request.