enable_volume_io
async
¶
enable_volume_io(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = 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/async_ec2.py
42541 42542 42543 42544 42545 42546 42547 42548 42549 42550 42551 42552 42553 42554 42555 42556 42557 42558 42559 42560 42561 42562 42563 42564 42565 42566 42567 42568 42569 42570 42571 42572 42573 42574 42575 42576 42577 42578 42579 42580 42581 42582 42583 42584 42585 42586 42587 42588 42589 42590 42591 42592 | |