:doc:`EC2 <../../ec2>` / Client / enable_volume_io

****************
enable_volume_io
****************



.. py:method:: 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 <https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVolumeIO>`_  


  **Request Syntax**
  ::

    response = client.enable_volume_io(
        DryRun=True|False,
        VolumeId='string'
    )
    
  :type DryRun: boolean
  :param DryRun: 

    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``.

    

  
  :type VolumeId: string
  :param VolumeId: **[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': {
            '...': '...',
        },
    }

  