enable_volume_io
¶
enable_volume_io(
*,
config_overrides: Optional[EC2ClientConfig] = None,
dry_run: Optional[Boolean] = None,
volume_id: Optional[VolumeId] = None,
) -> None
Enables I/O operations for a volume that had I/O operations disabled because the data on the volume was potentially inconsistent.
Parameters:
-
dry_run(Optional[Boolean], default:None) –Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation. -
volume_id(Optional[VolumeId], default:None) –The ID of the volume.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
To enable I/O for a volume
This example enables I/O on volume vol-1234567890abcdef0.
Source code in docs_src/capo_ec2/_services/ec2.py
41966 41967 41968 41969 41970 41971 41972 41973 41974 41975 41976 41977 41978 41979 41980 41981 41982 41983 41984 41985 41986 41987 41988 41989 41990 41991 41992 41993 41994 41995 41996 41997 41998 41999 42000 42001 42002 42003 42004 42005 42006 42007 42008 42009 42010 42011 42012 42013 42014 42015 42016 | |