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

Contents

Description

Returns information about a specific instance snapshot.

Synopsis

Creating a Request

getInstanceSnapshot Source #

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

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

data GetInstanceSnapshot Source #

See: getInstanceSnapshot smart constructor.

Instances

Eq GetInstanceSnapshot Source # 
Data GetInstanceSnapshot Source # 

Methods

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

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

toConstr :: GetInstanceSnapshot -> Constr #

dataTypeOf :: GetInstanceSnapshot -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetInstanceSnapshot Source # 
Show GetInstanceSnapshot Source # 
Generic GetInstanceSnapshot Source # 
Hashable GetInstanceSnapshot Source # 
ToJSON GetInstanceSnapshot Source # 
NFData GetInstanceSnapshot Source # 

Methods

rnf :: GetInstanceSnapshot -> () #

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

Request Lenses

gisInstanceSnapshotName :: Lens' GetInstanceSnapshot Text Source #

The name of the snapshot for which you are requesting information.

Destructuring the Response

getInstanceSnapshotResponse Source #

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

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

data GetInstanceSnapshotResponse Source #

See: getInstanceSnapshotResponse smart constructor.

Instances

Eq GetInstanceSnapshotResponse Source # 
Data GetInstanceSnapshotResponse Source # 

Methods

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

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

toConstr :: GetInstanceSnapshotResponse -> Constr #

dataTypeOf :: GetInstanceSnapshotResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetInstanceSnapshotResponse Source # 
Show GetInstanceSnapshotResponse Source # 
Generic GetInstanceSnapshotResponse Source # 
NFData GetInstanceSnapshotResponse Source # 
type Rep GetInstanceSnapshotResponse Source # 
type Rep GetInstanceSnapshotResponse = D1 * (MetaData "GetInstanceSnapshotResponse" "Network.AWS.Lightsail.GetInstanceSnapshot" "amazonka-lightsail-1.6.0-ARMP2uYvcAnENqDU8iFIes" False) (C1 * (MetaCons "GetInstanceSnapshotResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gisrsInstanceSnapshot") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe InstanceSnapshot))) (S1 * (MetaSel (Just Symbol "_gisrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

gisrsInstanceSnapshot :: Lens' GetInstanceSnapshotResponse (Maybe InstanceSnapshot) Source #

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