EC2.Client.
enable_volume_io
(**kwargs)¶Enables I/O operations for a volume that had I/O operations disabled because the data on the volume was potentially inconsistent.
See also: AWS API Documentation
Request Syntax
response = client.enable_volume_io(
DryRun=True|False,
VolumeId='string'
)
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.[REQUIRED]
The ID of the volume.
None
Examples
This example enables I/O on volume vol-1234567890abcdef0
.
response = client.enable_volume_io(
VolumeId='vol-1234567890abcdef0',
)
print(response)
Expected Output:
{
'ResponseMetadata': {
'...': '...',
},
}