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

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:

  • dvtldMarker - An opaque string that indicates the position at which to begin describing the VTL devices.
  • dvtldLimit - Specifies that the number of VTL devices described be limited to the specified number.
  • dvtldVTLDeviceARNs - An array of strings, where each string represents the Amazon Resource Name (ARN) of a VTL device.
  • dvtldGatewayARN - Undocumented member.

data DescribeVTLDevices #

DescribeVTLDevicesInput

See: describeVTLDevices smart constructor.

Instances

Eq DescribeVTLDevices # 
Data DescribeVTLDevices # 

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 # 
Show DescribeVTLDevices # 
Generic DescribeVTLDevices # 
Hashable DescribeVTLDevices # 
ToJSON DescribeVTLDevices # 
NFData DescribeVTLDevices # 

Methods

rnf :: DescribeVTLDevices -> () #

AWSPager DescribeVTLDevices # 
AWSRequest DescribeVTLDevices # 
ToQuery DescribeVTLDevices # 
ToPath DescribeVTLDevices # 
ToHeaders DescribeVTLDevices # 
type Rep DescribeVTLDevices # 
type Rep DescribeVTLDevices = D1 (MetaData "DescribeVTLDevices" "Network.AWS.StorageGateway.DescribeVTLDevices" "amazonka-storagegateway-1.4.5-ChAHao40T5hDKKv8LXBPA4" 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 # 

Request Lenses

dvtldMarker :: Lens' DescribeVTLDevices (Maybe Text) #

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

dvtldLimit :: Lens' DescribeVTLDevices (Maybe Natural) #

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

dvtldVTLDeviceARNs :: Lens' DescribeVTLDevices [Text] #

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

Destructuring the Response

describeVTLDevicesResponse #

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:

  • dvtldrsVTLDevices - An array of VTL device objects composed of the Amazon Resource Name(ARN) of the VTL devices.
  • dvtldrsGatewayARN - Undocumented member.
  • dvtldrsMarker - 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.
  • dvtldrsResponseStatus - -- | The response status code.

data DescribeVTLDevicesResponse #

DescribeVTLDevicesOutput

See: describeVTLDevicesResponse smart constructor.

Instances

Eq DescribeVTLDevicesResponse # 
Data DescribeVTLDevicesResponse # 

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 # 
Show DescribeVTLDevicesResponse # 
Generic DescribeVTLDevicesResponse # 
NFData DescribeVTLDevicesResponse # 
type Rep DescribeVTLDevicesResponse # 
type Rep DescribeVTLDevicesResponse = D1 (MetaData "DescribeVTLDevicesResponse" "Network.AWS.StorageGateway.DescribeVTLDevices" "amazonka-storagegateway-1.4.5-ChAHao40T5hDKKv8LXBPA4" 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] #

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

dvtldrsMarker :: Lens' DescribeVTLDevicesResponse (Maybe Text) #

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.