enable_volume_io

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'
)
Parameters
  • DryRun (boolean) -- 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 is UnauthorizedOperation .
  • VolumeId (string) --

    [REQUIRED]

    The ID of the volume.

Returns

None

Examples

This example enables I/O on volume vol-1234567890abcdef0.

response = client.enable_volume_io(
    VolumeId='vol-1234567890abcdef0',
)

print(response)

Expected Output:

{
    'ResponseMetadata': {
        '...': '...',
    },
}