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

Contents

Description

Returns all instance snapshots for the user's account.

This operation returns paginated results.

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 # 
Instance details

Defined in Network.AWS.Lightsail.GetInstanceSnapshots

Data GetInstanceSnapshots Source # 
Instance details

Defined in Network.AWS.Lightsail.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 Source # 
Instance details

Defined in Network.AWS.Lightsail.GetInstanceSnapshots

Show GetInstanceSnapshots Source # 
Instance details

Defined in Network.AWS.Lightsail.GetInstanceSnapshots

Generic GetInstanceSnapshots Source # 
Instance details

Defined in Network.AWS.Lightsail.GetInstanceSnapshots

Associated Types

type Rep GetInstanceSnapshots :: Type -> Type #

Hashable GetInstanceSnapshots Source # 
Instance details

Defined in Network.AWS.Lightsail.GetInstanceSnapshots

ToJSON GetInstanceSnapshots Source # 
Instance details

Defined in Network.AWS.Lightsail.GetInstanceSnapshots

AWSPager GetInstanceSnapshots Source # 
Instance details

Defined in Network.AWS.Lightsail.GetInstanceSnapshots

AWSRequest GetInstanceSnapshots Source # 
Instance details

Defined in Network.AWS.Lightsail.GetInstanceSnapshots

Associated Types

type Rs GetInstanceSnapshots :: Type #

ToHeaders GetInstanceSnapshots Source # 
Instance details

Defined in Network.AWS.Lightsail.GetInstanceSnapshots

ToPath GetInstanceSnapshots Source # 
Instance details

Defined in Network.AWS.Lightsail.GetInstanceSnapshots

ToQuery GetInstanceSnapshots Source # 
Instance details

Defined in Network.AWS.Lightsail.GetInstanceSnapshots

NFData GetInstanceSnapshots Source # 
Instance details

Defined in Network.AWS.Lightsail.GetInstanceSnapshots

Methods

rnf :: GetInstanceSnapshots -> () #

type Rep GetInstanceSnapshots Source # 
Instance details

Defined in Network.AWS.Lightsail.GetInstanceSnapshots

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

Defined in Network.AWS.Lightsail.GetInstanceSnapshots

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 # 
Instance details

Defined in Network.AWS.Lightsail.GetInstanceSnapshots

Data GetInstanceSnapshotsResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetInstanceSnapshots

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 # 
Instance details

Defined in Network.AWS.Lightsail.GetInstanceSnapshots

Show GetInstanceSnapshotsResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetInstanceSnapshots

Generic GetInstanceSnapshotsResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetInstanceSnapshots

Associated Types

type Rep GetInstanceSnapshotsResponse :: Type -> Type #

NFData GetInstanceSnapshotsResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetInstanceSnapshots

type Rep GetInstanceSnapshotsResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetInstanceSnapshots

type Rep GetInstanceSnapshotsResponse = D1 (MetaData "GetInstanceSnapshotsResponse" "Network.AWS.Lightsail.GetInstanceSnapshots" "amazonka-lightsail-1.6.1-1vuZhtZgkqE3h8gtLuAIA9" False) (C1 (MetaCons "GetInstanceSnapshotsResponse'" PrefixI True) (S1 (MetaSel (Just "_gissrsNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gissrsInstanceSnapshots") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [InstanceSnapshot])) :*: S1 (MetaSel (Just "_gissrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (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.