amazonka-storagegateway-1.4.4: 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.DescribeVTLDevices

Contents

Description

Returns a description of virtual tape library (VTL) devices for the specified gateway. In the response, AWS Storage Gateway returns VTL device information.

The list of VTL devices must be from one gateway.

This operation returns paginated results.

Synopsis

Creating a Request

describeVTLDevices Source #

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

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

data DescribeVTLDevices Source #

DescribeVTLDevicesInput

See: describeVTLDevices smart constructor.

Instances

Eq DescribeVTLDevices Source # 
Data DescribeVTLDevices Source # 

Methods

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

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

toConstr :: DescribeVTLDevices -> Constr #

dataTypeOf :: DescribeVTLDevices -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeVTLDevices Source # 
Show DescribeVTLDevices Source # 
Generic DescribeVTLDevices Source # 
Hashable DescribeVTLDevices Source # 
NFData DescribeVTLDevices Source # 

Methods

rnf :: DescribeVTLDevices -> () #

AWSPager DescribeVTLDevices Source # 
AWSRequest DescribeVTLDevices Source # 
ToPath DescribeVTLDevices Source # 
ToHeaders DescribeVTLDevices Source # 
ToQuery DescribeVTLDevices Source # 
ToJSON DescribeVTLDevices Source # 
type Rep DescribeVTLDevices Source # 
type Rep DescribeVTLDevices = D1 (MetaData "DescribeVTLDevices" "Network.AWS.StorageGateway.DescribeVTLDevices" "amazonka-storagegateway-1.4.4-HOInns2Rr9V9xD6G5ZVbNW" False) (C1 (MetaCons "DescribeVTLDevices'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dvtldMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dvtldLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))) ((:*:) (S1 (MetaSel (Just Symbol "_dvtldVTLDeviceARNs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_dvtldGatewayARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs DescribeVTLDevices Source # 

Request Lenses

dvtldMarker :: Lens' DescribeVTLDevices (Maybe Text) Source #

An opaque string that indicates the position at which to begin describing the VTL devices.

dvtldLimit :: Lens' DescribeVTLDevices (Maybe Natural) Source #

Specifies that the number of VTL devices described be limited to the specified number.

dvtldVTLDeviceARNs :: Lens' DescribeVTLDevices [Text] Source #

An array of strings, where each string represents the Amazon Resource Name (ARN) of a VTL device.

All of the specified VTL devices must be from the same gateway. If no VTL devices are specified, the result will contain all devices on the specified gateway.

Destructuring the Response

describeVTLDevicesResponse Source #

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

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

data DescribeVTLDevicesResponse Source #

DescribeVTLDevicesOutput

See: describeVTLDevicesResponse smart constructor.

Instances

Eq DescribeVTLDevicesResponse Source # 
Data DescribeVTLDevicesResponse Source # 

Methods

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

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

toConstr :: DescribeVTLDevicesResponse -> Constr #

dataTypeOf :: DescribeVTLDevicesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeVTLDevicesResponse Source # 
Show DescribeVTLDevicesResponse Source # 
Generic DescribeVTLDevicesResponse Source # 
NFData DescribeVTLDevicesResponse Source # 
type Rep DescribeVTLDevicesResponse Source # 
type Rep DescribeVTLDevicesResponse = D1 (MetaData "DescribeVTLDevicesResponse" "Network.AWS.StorageGateway.DescribeVTLDevices" "amazonka-storagegateway-1.4.4-HOInns2Rr9V9xD6G5ZVbNW" False) (C1 (MetaCons "DescribeVTLDevicesResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dvtldrsVTLDevices") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [VTLDevice]))) (S1 (MetaSel (Just Symbol "_dvtldrsGatewayARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_dvtldrsMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dvtldrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

dvtldrsVTLDevices :: Lens' DescribeVTLDevicesResponse [VTLDevice] Source #

An array of VTL device objects composed of the Amazon Resource Name(ARN) of the VTL devices.

dvtldrsMarker :: Lens' DescribeVTLDevicesResponse (Maybe Text) Source #

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