Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Returns a description of virtual tape library (VTL) devices for the specified tape gateway. In the response, Storage Gateway returns VTL device information.
This operation is only supported in the tape gateway type.
This operation returns paginated results.
Synopsis
- data DescribeVTLDevices = DescribeVTLDevices' {}
- newDescribeVTLDevices :: Text -> DescribeVTLDevices
- describeVTLDevices_marker :: Lens' DescribeVTLDevices (Maybe Text)
- describeVTLDevices_limit :: Lens' DescribeVTLDevices (Maybe Natural)
- describeVTLDevices_vTLDeviceARNs :: Lens' DescribeVTLDevices (Maybe [Text])
- describeVTLDevices_gatewayARN :: Lens' DescribeVTLDevices Text
- data DescribeVTLDevicesResponse = DescribeVTLDevicesResponse' {
- vTLDevices :: Maybe [VTLDevice]
- gatewayARN :: Maybe Text
- marker :: Maybe Text
- httpStatus :: Int
- newDescribeVTLDevicesResponse :: Int -> DescribeVTLDevicesResponse
- describeVTLDevicesResponse_vTLDevices :: Lens' DescribeVTLDevicesResponse (Maybe [VTLDevice])
- describeVTLDevicesResponse_gatewayARN :: Lens' DescribeVTLDevicesResponse (Maybe Text)
- describeVTLDevicesResponse_marker :: Lens' DescribeVTLDevicesResponse (Maybe Text)
- describeVTLDevicesResponse_httpStatus :: Lens' DescribeVTLDevicesResponse Int
Creating a Request
data DescribeVTLDevices Source #
DescribeVTLDevicesInput
See: newDescribeVTLDevices
smart constructor.
DescribeVTLDevices' | |
|
Instances
newDescribeVTLDevices Source #
Create a value of DescribeVTLDevices
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:marker:DescribeVTLDevices'
, describeVTLDevices_marker
- An opaque string that indicates the position at which to begin
describing the VTL devices.
$sel:limit:DescribeVTLDevices'
, describeVTLDevices_limit
- Specifies that the number of VTL devices described be limited to the
specified number.
$sel:vTLDeviceARNs:DescribeVTLDevices'
, describeVTLDevices_vTLDeviceARNs
- 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.
$sel:gatewayARN:DescribeVTLDevices'
, describeVTLDevices_gatewayARN
- Undocumented member.
Request Lenses
describeVTLDevices_marker :: Lens' DescribeVTLDevices (Maybe Text) Source #
An opaque string that indicates the position at which to begin describing the VTL devices.
describeVTLDevices_limit :: Lens' DescribeVTLDevices (Maybe Natural) Source #
Specifies that the number of VTL devices described be limited to the specified number.
describeVTLDevices_vTLDeviceARNs :: Lens' DescribeVTLDevices (Maybe [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.
describeVTLDevices_gatewayARN :: Lens' DescribeVTLDevices Text Source #
Undocumented member.
Destructuring the Response
data DescribeVTLDevicesResponse Source #
DescribeVTLDevicesOutput
See: newDescribeVTLDevicesResponse
smart constructor.
DescribeVTLDevicesResponse' | |
|
Instances
newDescribeVTLDevicesResponse Source #
Create a value of DescribeVTLDevicesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:vTLDevices:DescribeVTLDevicesResponse'
, describeVTLDevicesResponse_vTLDevices
- An array of VTL device objects composed of the Amazon Resource Name
(ARN) of the VTL devices.
$sel:gatewayARN:DescribeVTLDevices'
, describeVTLDevicesResponse_gatewayARN
- Undocumented member.
$sel:marker:DescribeVTLDevices'
, describeVTLDevicesResponse_marker
- 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.
$sel:httpStatus:DescribeVTLDevicesResponse'
, describeVTLDevicesResponse_httpStatus
- The response's http status code.
Response Lenses
describeVTLDevicesResponse_vTLDevices :: Lens' DescribeVTLDevicesResponse (Maybe [VTLDevice]) Source #
An array of VTL device objects composed of the Amazon Resource Name (ARN) of the VTL devices.
describeVTLDevicesResponse_gatewayARN :: Lens' DescribeVTLDevicesResponse (Maybe Text) Source #
Undocumented member.
describeVTLDevicesResponse_marker :: 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.
describeVTLDevicesResponse_httpStatus :: Lens' DescribeVTLDevicesResponse Int Source #
The response's http status code.