amazonka-lightsail-1.4.5: Amazon Lightsail SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Lightsail.GetInstanceSnapshots

Contents

Description

Returns all instance snapshots for the user's account.

Synopsis

Creating a Request

getInstanceSnapshots :: GetInstanceSnapshots Source #

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

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

  • gisPageToken - A token used for advancing to the next page of results from your get instance snapshots request.

data GetInstanceSnapshots Source #

See: getInstanceSnapshots smart constructor.

Instances

Eq GetInstanceSnapshots Source # 
Data GetInstanceSnapshots Source # 

Methods

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

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

toConstr :: GetInstanceSnapshots -> Constr #

dataTypeOf :: GetInstanceSnapshots -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: GetInstanceSnapshots -> () #

AWSRequest GetInstanceSnapshots Source # 
ToPath GetInstanceSnapshots Source # 
ToHeaders GetInstanceSnapshots Source # 
ToQuery GetInstanceSnapshots Source # 
type Rep GetInstanceSnapshots Source # 
type Rep GetInstanceSnapshots = D1 (MetaData "GetInstanceSnapshots" "Network.AWS.Lightsail.GetInstanceSnapshots" "amazonka-lightsail-1.4.5-5jz0XqtfwkUBGV0E8NKblJ" True) (C1 (MetaCons "GetInstanceSnapshots'" PrefixI True) (S1 (MetaSel (Just Symbol "_gisPageToken") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))
type Rs GetInstanceSnapshots Source # 

Request Lenses

gisPageToken :: Lens' GetInstanceSnapshots (Maybe Text) Source #

A token used for advancing to the next page of results from your get instance snapshots request.

Destructuring the Response

getInstanceSnapshotsResponse Source #

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

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

data GetInstanceSnapshotsResponse Source #

See: getInstanceSnapshotsResponse smart constructor.

Instances

Eq GetInstanceSnapshotsResponse Source # 
Data GetInstanceSnapshotsResponse Source # 

Methods

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

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

toConstr :: GetInstanceSnapshotsResponse -> Constr #

dataTypeOf :: GetInstanceSnapshotsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetInstanceSnapshotsResponse Source # 
Show GetInstanceSnapshotsResponse Source # 
Generic GetInstanceSnapshotsResponse Source # 
NFData GetInstanceSnapshotsResponse Source # 
type Rep GetInstanceSnapshotsResponse Source # 
type Rep GetInstanceSnapshotsResponse = D1 (MetaData "GetInstanceSnapshotsResponse" "Network.AWS.Lightsail.GetInstanceSnapshots" "amazonka-lightsail-1.4.5-5jz0XqtfwkUBGV0E8NKblJ" False) (C1 (MetaCons "GetInstanceSnapshotsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gissrsNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_gissrsInstanceSnapshots") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [InstanceSnapshot]))) (S1 (MetaSel (Just Symbol "_gissrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

gissrsNextPageToken :: Lens' GetInstanceSnapshotsResponse (Maybe Text) Source #

A token used for advancing to the next page of results from your get instance snapshots request.

gissrsInstanceSnapshots :: Lens' GetInstanceSnapshotsResponse [InstanceSnapshot] Source #

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