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

Contents

Description

Returns information about all block storage disk snapshots in your AWS account and region.

If you are describing a long list of disk snapshots, you can paginate the output to make the list more manageable. You can use the pageToken and nextPageToken values to retrieve the next items in the list.

Synopsis

Creating a Request

getDiskSnapshots :: GetDiskSnapshots Source #

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

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

  • gdsPageToken - A token used for advancing to the next page of results from your GetDiskSnapshots request.

data GetDiskSnapshots Source #

See: getDiskSnapshots smart constructor.

Instances
Eq GetDiskSnapshots Source # 
Instance details

Defined in Network.AWS.Lightsail.GetDiskSnapshots

Data GetDiskSnapshots Source # 
Instance details

Defined in Network.AWS.Lightsail.GetDiskSnapshots

Methods

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

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

toConstr :: GetDiskSnapshots -> Constr #

dataTypeOf :: GetDiskSnapshots -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetDiskSnapshots Source # 
Instance details

Defined in Network.AWS.Lightsail.GetDiskSnapshots

Show GetDiskSnapshots Source # 
Instance details

Defined in Network.AWS.Lightsail.GetDiskSnapshots

Generic GetDiskSnapshots Source # 
Instance details

Defined in Network.AWS.Lightsail.GetDiskSnapshots

Associated Types

type Rep GetDiskSnapshots :: Type -> Type #

Hashable GetDiskSnapshots Source # 
Instance details

Defined in Network.AWS.Lightsail.GetDiskSnapshots

ToJSON GetDiskSnapshots Source # 
Instance details

Defined in Network.AWS.Lightsail.GetDiskSnapshots

AWSRequest GetDiskSnapshots Source # 
Instance details

Defined in Network.AWS.Lightsail.GetDiskSnapshots

Associated Types

type Rs GetDiskSnapshots :: Type #

ToHeaders GetDiskSnapshots Source # 
Instance details

Defined in Network.AWS.Lightsail.GetDiskSnapshots

ToPath GetDiskSnapshots Source # 
Instance details

Defined in Network.AWS.Lightsail.GetDiskSnapshots

ToQuery GetDiskSnapshots Source # 
Instance details

Defined in Network.AWS.Lightsail.GetDiskSnapshots

NFData GetDiskSnapshots Source # 
Instance details

Defined in Network.AWS.Lightsail.GetDiskSnapshots

Methods

rnf :: GetDiskSnapshots -> () #

type Rep GetDiskSnapshots Source # 
Instance details

Defined in Network.AWS.Lightsail.GetDiskSnapshots

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

Defined in Network.AWS.Lightsail.GetDiskSnapshots

Request Lenses

gdsPageToken :: Lens' GetDiskSnapshots (Maybe Text) Source #

A token used for advancing to the next page of results from your GetDiskSnapshots request.

Destructuring the Response

getDiskSnapshotsResponse Source #

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

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

data GetDiskSnapshotsResponse Source #

See: getDiskSnapshotsResponse smart constructor.

Instances
Eq GetDiskSnapshotsResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetDiskSnapshots

Data GetDiskSnapshotsResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetDiskSnapshots

Methods

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

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

toConstr :: GetDiskSnapshotsResponse -> Constr #

dataTypeOf :: GetDiskSnapshotsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetDiskSnapshotsResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetDiskSnapshots

Show GetDiskSnapshotsResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetDiskSnapshots

Generic GetDiskSnapshotsResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetDiskSnapshots

Associated Types

type Rep GetDiskSnapshotsResponse :: Type -> Type #

NFData GetDiskSnapshotsResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetDiskSnapshots

type Rep GetDiskSnapshotsResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetDiskSnapshots

type Rep GetDiskSnapshotsResponse = D1 (MetaData "GetDiskSnapshotsResponse" "Network.AWS.Lightsail.GetDiskSnapshots" "amazonka-lightsail-1.6.1-1vuZhtZgkqE3h8gtLuAIA9" False) (C1 (MetaCons "GetDiskSnapshotsResponse'" PrefixI True) (S1 (MetaSel (Just "_gdssrsNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gdssrsDiskSnapshots") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [DiskSnapshot])) :*: S1 (MetaSel (Just "_gdssrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

gdssrsNextPageToken :: Lens' GetDiskSnapshotsResponse (Maybe Text) Source #

A token used for advancing to the next page of results from your GetDiskSnapshots request.

gdssrsDiskSnapshots :: Lens' GetDiskSnapshotsResponse [DiskSnapshot] Source #

An array of objects containing information about all block storage disk snapshots.