amazonka-storagegateway-1.2.0.2: Amazon Storage Gateway SDK.

Copyright(c) 2013-2015 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.

See: AWS API Reference for DescribeVTLDevices.

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:

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:

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.