amazonka-storagegateway-1.5.0: Amazon Storage Gateway SDK.

Copyright(c) 2013-2017 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.StorageGateway.DescribeSnapshotSchedule

Contents

Description

Describes the snapshot schedule for the specified gateway volume. The snapshot schedule information includes intervals at which snapshots are automatically initiated on the volume. This operation is only supported in the cached volume and stored volume architectures.

Synopsis

Creating a Request

describeSnapshotSchedule Source #

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

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

  • dssVolumeARN - The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.

data DescribeSnapshotSchedule Source #

A JSON object containing the 'DescribeSnapshotScheduleInput$VolumeARN' of the volume.

See: describeSnapshotSchedule smart constructor.

Instances

Eq DescribeSnapshotSchedule Source # 
Data DescribeSnapshotSchedule Source # 

Methods

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

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

toConstr :: DescribeSnapshotSchedule -> Constr #

dataTypeOf :: DescribeSnapshotSchedule -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeSnapshotSchedule Source # 
Show DescribeSnapshotSchedule Source # 
Generic DescribeSnapshotSchedule Source # 
Hashable DescribeSnapshotSchedule Source # 
ToJSON DescribeSnapshotSchedule Source # 
NFData DescribeSnapshotSchedule Source # 
AWSRequest DescribeSnapshotSchedule Source # 
ToQuery DescribeSnapshotSchedule Source # 
ToPath DescribeSnapshotSchedule Source # 
ToHeaders DescribeSnapshotSchedule Source # 
type Rep DescribeSnapshotSchedule Source # 
type Rep DescribeSnapshotSchedule = D1 (MetaData "DescribeSnapshotSchedule" "Network.AWS.StorageGateway.DescribeSnapshotSchedule" "amazonka-storagegateway-1.5.0-Dl0pEQb6pvFBwTkfuWFwCu" True) (C1 (MetaCons "DescribeSnapshotSchedule'" PrefixI True) (S1 (MetaSel (Just Symbol "_dssVolumeARN") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DescribeSnapshotSchedule Source # 

Request Lenses

dssVolumeARN :: Lens' DescribeSnapshotSchedule Text Source #

The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.

Destructuring the Response

describeSnapshotScheduleResponse Source #

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

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

data DescribeSnapshotScheduleResponse Source #

See: describeSnapshotScheduleResponse smart constructor.

Instances

Eq DescribeSnapshotScheduleResponse Source # 
Data DescribeSnapshotScheduleResponse Source # 

Methods

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

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

toConstr :: DescribeSnapshotScheduleResponse -> Constr #

dataTypeOf :: DescribeSnapshotScheduleResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeSnapshotScheduleResponse Source # 
Show DescribeSnapshotScheduleResponse Source # 
Generic DescribeSnapshotScheduleResponse Source # 
NFData DescribeSnapshotScheduleResponse Source # 
type Rep DescribeSnapshotScheduleResponse Source # 
type Rep DescribeSnapshotScheduleResponse = D1 (MetaData "DescribeSnapshotScheduleResponse" "Network.AWS.StorageGateway.DescribeSnapshotSchedule" "amazonka-storagegateway-1.5.0-Dl0pEQb6pvFBwTkfuWFwCu" False) (C1 (MetaCons "DescribeSnapshotScheduleResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dssrsStartAt") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) ((:*:) (S1 (MetaSel (Just Symbol "_dssrsVolumeARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dssrsRecurrenceInHours") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))))) ((:*:) (S1 (MetaSel (Just Symbol "_dssrsTimezone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dssrsDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dssrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))))

Response Lenses