describe_vtl_devices
async
¶
describe_vtl_devices(
gateway_arn: GatewayARN,
*,
config_overrides: Optional[AsyncStorageGatewayClientConfig] = None,
vtl_device_ar_ns: Optional[VTLDeviceARNs] = None,
marker: Optional[Marker] = None,
limit: Optional[PositiveIntObject] = None,
) -> DescribeVTLDevicesOutput
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.
Parameters:
-
vtl_device_ar_ns(Optional[VTLDeviceARNs], default:None) –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.
-
marker(Optional[Marker], default:None) –An opaque string that indicates the position at which to begin describing the VTL devices.
-
limit(Optional[PositiveIntObject], default:None) –Specifies that the number of VTL devices described be limited to the specified number.
Raises:
-
InternalServerError–An internal server error has occurred during the request. For more information, see the error and message fields.
-
InvalidGatewayRequestException–An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
To describe virtual tape library (VTL) devices of a single gateway Returns a description of virtual tape library (VTL) devices for the specified gateway.
>>> await client.describe_vtl_devices(gateway_arn='arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B', vtl_device_ar_ns=[], marker='1', limit=123)
Source code in docs_src/capo_storage_gateway/_services/async_storage_gateway.py
3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 | |