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

Contents

Description

Returns information about a specific block storage disk snapshot.

Synopsis

Creating a Request

getDiskSnapshot Source #

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

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

data GetDiskSnapshot Source #

See: getDiskSnapshot smart constructor.

Instances

Eq GetDiskSnapshot Source # 
Data GetDiskSnapshot Source # 

Methods

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

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

toConstr :: GetDiskSnapshot -> Constr #

dataTypeOf :: GetDiskSnapshot -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: GetDiskSnapshot -> () #

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

Request Lenses

gdsDiskSnapshotName :: Lens' GetDiskSnapshot Text Source #

The name of the disk snapshot (e.g., my-disk-snapshot ).

Destructuring the Response

getDiskSnapshotResponse Source #

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

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

data GetDiskSnapshotResponse Source #

See: getDiskSnapshotResponse smart constructor.

Instances

Eq GetDiskSnapshotResponse Source # 
Data GetDiskSnapshotResponse Source # 

Methods

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

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

toConstr :: GetDiskSnapshotResponse -> Constr #

dataTypeOf :: GetDiskSnapshotResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetDiskSnapshotResponse Source # 
Show GetDiskSnapshotResponse Source # 
Generic GetDiskSnapshotResponse Source # 
NFData GetDiskSnapshotResponse Source # 

Methods

rnf :: GetDiskSnapshotResponse -> () #

type Rep GetDiskSnapshotResponse Source # 
type Rep GetDiskSnapshotResponse = D1 * (MetaData "GetDiskSnapshotResponse" "Network.AWS.Lightsail.GetDiskSnapshot" "amazonka-lightsail-1.6.0-ARMP2uYvcAnENqDU8iFIes" False) (C1 * (MetaCons "GetDiskSnapshotResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gdsrsDiskSnapshot") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe DiskSnapshot))) (S1 * (MetaSel (Just Symbol "_gdsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

gdsrsDiskSnapshot :: Lens' GetDiskSnapshotResponse (Maybe DiskSnapshot) Source #

An object containing information about the disk snapshot.