list_volume_initiators
async
¶
list_volume_initiators(
volume_arn: VolumeARN,
*,
config_overrides: Optional[AsyncStorageGatewayClientConfig] = None,
) -> ListVolumeInitiatorsOutput
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.
Parameters:
-
volume_arn(VolumeARN) –The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes for the gateway.
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.