describe_vtl_devices
¶
describe_vtl_devices(
gateway_arn: GatewayARN,
*,
config_overrides: Optional[StorageGatewayClientConfig] = 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.
>>> 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/storage_gateway.py
3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 | |