Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Enables I/O operations for a volume that had I/O operations disabled because the data on the volume was potentially inconsistent.
Synopsis
- data EnableVolumeIO = EnableVolumeIO' {}
- newEnableVolumeIO :: Text -> EnableVolumeIO
- enableVolumeIO_dryRun :: Lens' EnableVolumeIO (Maybe Bool)
- enableVolumeIO_volumeId :: Lens' EnableVolumeIO Text
- data EnableVolumeIOResponse = EnableVolumeIOResponse' {
- newEnableVolumeIOResponse :: EnableVolumeIOResponse
Creating a Request
data EnableVolumeIO Source #
See: newEnableVolumeIO
smart constructor.
EnableVolumeIO' | |
|
Instances
Create a value of EnableVolumeIO
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dryRun:EnableVolumeIO'
, enableVolumeIO_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
.
EnableVolumeIO
, enableVolumeIO_volumeId
- The ID of the volume.
Request Lenses
enableVolumeIO_dryRun :: Lens' EnableVolumeIO (Maybe Bool) Source #
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
.
enableVolumeIO_volumeId :: Lens' EnableVolumeIO Text Source #
The ID of the volume.
Destructuring the Response
data EnableVolumeIOResponse Source #
See: newEnableVolumeIOResponse
smart constructor.
Instances
Generic EnableVolumeIOResponse Source # | |
Defined in Amazonka.EC2.EnableVolumeIO type Rep EnableVolumeIOResponse :: Type -> Type # | |
Read EnableVolumeIOResponse Source # | |
Show EnableVolumeIOResponse Source # | |
Defined in Amazonka.EC2.EnableVolumeIO showsPrec :: Int -> EnableVolumeIOResponse -> ShowS # show :: EnableVolumeIOResponse -> String # showList :: [EnableVolumeIOResponse] -> ShowS # | |
NFData EnableVolumeIOResponse Source # | |
Defined in Amazonka.EC2.EnableVolumeIO rnf :: EnableVolumeIOResponse -> () # | |
Eq EnableVolumeIOResponse Source # | |
Defined in Amazonka.EC2.EnableVolumeIO | |
type Rep EnableVolumeIOResponse Source # | |
newEnableVolumeIOResponse :: EnableVolumeIOResponse Source #
Create a value of EnableVolumeIOResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.