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 #

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 #

See: getDiskSnapshot smart constructor.

Instances

Eq GetDiskSnapshot # 
Data GetDiskSnapshot # 

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 # 
Show GetDiskSnapshot # 
Generic GetDiskSnapshot # 
Hashable GetDiskSnapshot # 
ToJSON GetDiskSnapshot # 
NFData GetDiskSnapshot # 

Methods

rnf :: GetDiskSnapshot -> () #

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

Request Lenses

gdsDiskSnapshotName :: Lens' GetDiskSnapshot Text #

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

Destructuring the Response

getDiskSnapshotResponse #

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 #

See: getDiskSnapshotResponse smart constructor.

Instances

Eq GetDiskSnapshotResponse # 
Data GetDiskSnapshotResponse # 

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 # 
Show GetDiskSnapshotResponse # 
Generic GetDiskSnapshotResponse # 
NFData GetDiskSnapshotResponse # 

Methods

rnf :: GetDiskSnapshotResponse -> () #

type Rep GetDiskSnapshotResponse # 
type Rep GetDiskSnapshotResponse = D1 * (MetaData "GetDiskSnapshotResponse" "Network.AWS.Lightsail.GetDiskSnapshot" "amazonka-lightsail-1.6.0-IATUqEytvF48KpKMPJ7t6L" 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) #

An object containing information about the disk snapshot.

gdsrsResponseStatus :: Lens' GetDiskSnapshotResponse Int #

  • - | The response status code.