amazonka-storagegateway-1.4.5: Amazon Storage Gateway 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.StorageGateway.DescribeTapeRecoveryPoints

Contents

Description

Returns a list of virtual tape recovery points that are available for the specified gateway-VTL.

A recovery point is a point-in-time view of a virtual tape at which all the data on the virtual tape is consistent. If your gateway crashes, virtual tapes that have recovery points can be recovered to a new gateway.

This operation returns paginated results.

Synopsis

Creating a Request

describeTapeRecoveryPoints #

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

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

  • dtrpMarker - An opaque string that indicates the position at which to begin describing the virtual tape recovery points.
  • dtrpLimit - Specifies that the number of virtual tape recovery points that are described be limited to the specified number.
  • dtrpGatewayARN - Undocumented member.

data DescribeTapeRecoveryPoints #

DescribeTapeRecoveryPointsInput

See: describeTapeRecoveryPoints smart constructor.

Instances

Eq DescribeTapeRecoveryPoints # 
Data DescribeTapeRecoveryPoints # 

Methods

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

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

toConstr :: DescribeTapeRecoveryPoints -> Constr #

dataTypeOf :: DescribeTapeRecoveryPoints -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeTapeRecoveryPoints # 
Show DescribeTapeRecoveryPoints # 
Generic DescribeTapeRecoveryPoints # 
Hashable DescribeTapeRecoveryPoints # 
ToJSON DescribeTapeRecoveryPoints # 
NFData DescribeTapeRecoveryPoints # 
AWSPager DescribeTapeRecoveryPoints # 
AWSRequest DescribeTapeRecoveryPoints # 
ToQuery DescribeTapeRecoveryPoints # 
ToPath DescribeTapeRecoveryPoints # 
ToHeaders DescribeTapeRecoveryPoints # 
type Rep DescribeTapeRecoveryPoints # 
type Rep DescribeTapeRecoveryPoints = D1 (MetaData "DescribeTapeRecoveryPoints" "Network.AWS.StorageGateway.DescribeTapeRecoveryPoints" "amazonka-storagegateway-1.4.5-ChAHao40T5hDKKv8LXBPA4" False) (C1 (MetaCons "DescribeTapeRecoveryPoints'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dtrpMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dtrpLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) (S1 (MetaSel (Just Symbol "_dtrpGatewayARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs DescribeTapeRecoveryPoints # 

Request Lenses

dtrpMarker :: Lens' DescribeTapeRecoveryPoints (Maybe Text) #

An opaque string that indicates the position at which to begin describing the virtual tape recovery points.

dtrpLimit :: Lens' DescribeTapeRecoveryPoints (Maybe Natural) #

Specifies that the number of virtual tape recovery points that are described be limited to the specified number.

Destructuring the Response

describeTapeRecoveryPointsResponse #

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

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

  • dtrprsTapeRecoveryPointInfos - An array of TapeRecoveryPointInfos that are available for the specified gateway.
  • dtrprsGatewayARN - Undocumented member.
  • dtrprsMarker - An opaque string that indicates the position at which the virtual tape recovery points that were listed for description ended. Use this marker in your next request to list the next set of virtual tape recovery points in the list. If there are no more recovery points to describe, this field does not appear in the response.
  • dtrprsResponseStatus - -- | The response status code.

data DescribeTapeRecoveryPointsResponse #

DescribeTapeRecoveryPointsOutput

See: describeTapeRecoveryPointsResponse smart constructor.

Instances

Eq DescribeTapeRecoveryPointsResponse # 
Data DescribeTapeRecoveryPointsResponse # 

Methods

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

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

toConstr :: DescribeTapeRecoveryPointsResponse -> Constr #

dataTypeOf :: DescribeTapeRecoveryPointsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeTapeRecoveryPointsResponse # 
Show DescribeTapeRecoveryPointsResponse # 
Generic DescribeTapeRecoveryPointsResponse # 
NFData DescribeTapeRecoveryPointsResponse # 
type Rep DescribeTapeRecoveryPointsResponse # 
type Rep DescribeTapeRecoveryPointsResponse = D1 (MetaData "DescribeTapeRecoveryPointsResponse" "Network.AWS.StorageGateway.DescribeTapeRecoveryPoints" "amazonka-storagegateway-1.4.5-ChAHao40T5hDKKv8LXBPA4" False) (C1 (MetaCons "DescribeTapeRecoveryPointsResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dtrprsTapeRecoveryPointInfos") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TapeRecoveryPointInfo]))) (S1 (MetaSel (Just Symbol "_dtrprsGatewayARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_dtrprsMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dtrprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

dtrprsTapeRecoveryPointInfos :: Lens' DescribeTapeRecoveryPointsResponse [TapeRecoveryPointInfo] #

An array of TapeRecoveryPointInfos that are available for the specified gateway.

dtrprsMarker :: Lens' DescribeTapeRecoveryPointsResponse (Maybe Text) #

An opaque string that indicates the position at which the virtual tape recovery points that were listed for description ended. Use this marker in your next request to list the next set of virtual tape recovery points in the list. If there are no more recovery points to describe, this field does not appear in the response.