amazonka-storagegateway-1.4.2: 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.DescribeTapeArchives

Contents

Description

Returns a description of specified virtual tapes in the virtual tape shelf (VTS).

If a specific TapeARN is not specified, AWS Storage Gateway returns a description of all virtual tapes found in the VTS associated with your account.

This operation returns paginated results.

Synopsis

Creating a Request

describeTapeArchives :: DescribeTapeArchives Source #

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

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

data DescribeTapeArchives Source #

DescribeTapeArchivesInput

See: describeTapeArchives smart constructor.

Instances

Eq DescribeTapeArchives Source # 
Data DescribeTapeArchives Source # 

Methods

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

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

toConstr :: DescribeTapeArchives -> Constr #

dataTypeOf :: DescribeTapeArchives -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: DescribeTapeArchives -> () #

AWSPager DescribeTapeArchives Source # 
AWSRequest DescribeTapeArchives Source # 
ToPath DescribeTapeArchives Source # 
ToHeaders DescribeTapeArchives Source # 
ToQuery DescribeTapeArchives Source # 
type Rep DescribeTapeArchives Source # 
type Rep DescribeTapeArchives = D1 (MetaData "DescribeTapeArchives" "Network.AWS.StorageGateway.DescribeTapeArchives" "amazonka-storagegateway-1.4.2-6QlWW7emDRu7IjwBFv6RzL" False) (C1 (MetaCons "DescribeTapeArchives'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dtaMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dtaLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) (S1 (MetaSel (Just Symbol "_dtaTapeARNs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))))))
type Rs DescribeTapeArchives Source # 

Request Lenses

dtaMarker :: Lens' DescribeTapeArchives (Maybe Text) Source #

An opaque string that indicates the position at which to begin describing virtual tapes.

dtaLimit :: Lens' DescribeTapeArchives (Maybe Natural) Source #

Specifies that the number of virtual tapes descried be limited to the specified number.

dtaTapeARNs :: Lens' DescribeTapeArchives [Text] Source #

Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe.

Destructuring the Response

describeTapeArchivesResponse Source #

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

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

data DescribeTapeArchivesResponse Source #

DescribeTapeArchivesOutput

See: describeTapeArchivesResponse smart constructor.

Instances

Eq DescribeTapeArchivesResponse Source # 
Data DescribeTapeArchivesResponse Source # 

Methods

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

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

toConstr :: DescribeTapeArchivesResponse -> Constr #

dataTypeOf :: DescribeTapeArchivesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeTapeArchivesResponse Source # 
Show DescribeTapeArchivesResponse Source # 
Generic DescribeTapeArchivesResponse Source # 
NFData DescribeTapeArchivesResponse Source # 
type Rep DescribeTapeArchivesResponse Source # 
type Rep DescribeTapeArchivesResponse = D1 (MetaData "DescribeTapeArchivesResponse" "Network.AWS.StorageGateway.DescribeTapeArchives" "amazonka-storagegateway-1.4.2-6QlWW7emDRu7IjwBFv6RzL" False) (C1 (MetaCons "DescribeTapeArchivesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dtarsTapeArchives") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TapeArchive]))) ((:*:) (S1 (MetaSel (Just Symbol "_dtarsMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dtarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

dtarsTapeArchives :: Lens' DescribeTapeArchivesResponse [TapeArchive] Source #

An array of virtual tape objects in the virtual tape shelf (VTS). The description includes of the Amazon Resource Name(ARN) of the virtual tapes. The information returned includes the Amazon Resource Names (ARNs) of the tapes, size of the tapes, status of the tapes, progress of the description and tape barcode.

dtarsMarker :: Lens' DescribeTapeArchivesResponse (Maybe Text) Source #

An opaque string that indicates the position at which the virtual tapes that were fetched for description ended. Use this marker in your next request to fetch the next set of virtual tapes in the virtual tape shelf (VTS). If there are no more virtual tapes to describe, this field does not appear in the response.