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

Contents

Description

Returns all instance snapshots for the user's account.

This operation returns paginated results.

Synopsis

Creating a Request

getInstanceSnapshots :: GetInstanceSnapshots #

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 #

See: getInstanceSnapshots smart constructor.

Instances

Eq GetInstanceSnapshots # 
Data GetInstanceSnapshots # 

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

Methods

rnf :: GetInstanceSnapshots -> () #

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

Request Lenses

gisPageToken :: Lens' GetInstanceSnapshots (Maybe Text) #

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

Destructuring the Response

getInstanceSnapshotsResponse #

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 #

See: getInstanceSnapshotsResponse smart constructor.

Instances

Eq GetInstanceSnapshotsResponse # 
Data GetInstanceSnapshotsResponse # 

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 # 
Show GetInstanceSnapshotsResponse # 
Generic GetInstanceSnapshotsResponse # 
NFData GetInstanceSnapshotsResponse # 
type Rep GetInstanceSnapshotsResponse # 
type Rep GetInstanceSnapshotsResponse = D1 * (MetaData "GetInstanceSnapshotsResponse" "Network.AWS.Lightsail.GetInstanceSnapshots" "amazonka-lightsail-1.6.0-IATUqEytvF48KpKMPJ7t6L" 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 DecidedStrict) (Rec0 * Int)))))

Response Lenses

gissrsNextPageToken :: Lens' GetInstanceSnapshotsResponse (Maybe Text) #

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

gissrsInstanceSnapshots :: Lens' GetInstanceSnapshotsResponse [InstanceSnapshot] #

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