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 |
Amazonka.EC2.EnableVolumeIO
Description
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.
Constructors
EnableVolumeIO' | |
Fields
|
Instances
Arguments
:: Text | |
-> EnableVolumeIO |
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.
Constructors
EnableVolumeIOResponse' | |
Instances
Generic EnableVolumeIOResponse Source # | |
Defined in Amazonka.EC2.EnableVolumeIO Associated Types type Rep EnableVolumeIOResponse :: Type -> Type # Methods from :: EnableVolumeIOResponse -> Rep EnableVolumeIOResponse x # to :: Rep EnableVolumeIOResponse x -> EnableVolumeIOResponse # | |
Read EnableVolumeIOResponse Source # | |
Defined in Amazonka.EC2.EnableVolumeIO | |
Show EnableVolumeIOResponse Source # | |
Defined in Amazonka.EC2.EnableVolumeIO Methods showsPrec :: Int -> EnableVolumeIOResponse -> ShowS # show :: EnableVolumeIOResponse -> String # showList :: [EnableVolumeIOResponse] -> ShowS # | |
NFData EnableVolumeIOResponse Source # | |
Defined in Amazonka.EC2.EnableVolumeIO Methods rnf :: EnableVolumeIOResponse -> () # | |
Eq EnableVolumeIOResponse Source # | |
Defined in Amazonka.EC2.EnableVolumeIO Methods (==) :: EnableVolumeIOResponse -> EnableVolumeIOResponse -> Bool # (/=) :: EnableVolumeIOResponse -> EnableVolumeIOResponse -> Bool # | |
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.