list_volume_initiators
(**kwargs)¶Lists iSCSI initiators that are connected to a volume. You can use this operation to determine whether a volume is being used or not. This operation is only supported in the cached volume and stored volume gateway types.
See also: AWS API Documentation
Request Syntax
response = client.list_volume_initiators(
VolumeARN='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes for the gateway.
{
'Initiators': [
'string',
]
}
Response Structure
ListVolumeInitiatorsOutput
The host names and port numbers of all iSCSI initiators that are connected to the gateway.
Exceptions
StorageGateway.Client.exceptions.InvalidGatewayRequestException
StorageGateway.Client.exceptions.InternalServerError