amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

Creating a Request

data EnableVolumeIO Source #

See: newEnableVolumeIO smart constructor.

Constructors

EnableVolumeIO' 

Fields

  • dryRun :: Maybe Bool

    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 :: Text

    The ID of the volume.

Instances

Instances details
ToHeaders EnableVolumeIO Source # 
Instance details

Defined in Amazonka.EC2.EnableVolumeIO

ToPath EnableVolumeIO Source # 
Instance details

Defined in Amazonka.EC2.EnableVolumeIO

ToQuery EnableVolumeIO Source # 
Instance details

Defined in Amazonka.EC2.EnableVolumeIO

AWSRequest EnableVolumeIO Source # 
Instance details

Defined in Amazonka.EC2.EnableVolumeIO

Associated Types

type AWSResponse EnableVolumeIO #

Generic EnableVolumeIO Source # 
Instance details

Defined in Amazonka.EC2.EnableVolumeIO

Associated Types

type Rep EnableVolumeIO :: Type -> Type #

Read EnableVolumeIO Source # 
Instance details

Defined in Amazonka.EC2.EnableVolumeIO

Show EnableVolumeIO Source # 
Instance details

Defined in Amazonka.EC2.EnableVolumeIO

NFData EnableVolumeIO Source # 
Instance details

Defined in Amazonka.EC2.EnableVolumeIO

Methods

rnf :: EnableVolumeIO -> () #

Eq EnableVolumeIO Source # 
Instance details

Defined in Amazonka.EC2.EnableVolumeIO

Hashable EnableVolumeIO Source # 
Instance details

Defined in Amazonka.EC2.EnableVolumeIO

type AWSResponse EnableVolumeIO Source # 
Instance details

Defined in Amazonka.EC2.EnableVolumeIO

type Rep EnableVolumeIO Source # 
Instance details

Defined in Amazonka.EC2.EnableVolumeIO

type Rep EnableVolumeIO = D1 ('MetaData "EnableVolumeIO" "Amazonka.EC2.EnableVolumeIO" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "EnableVolumeIO'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "volumeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newEnableVolumeIO Source #

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.

Destructuring the Response

data EnableVolumeIOResponse Source #

See: newEnableVolumeIOResponse smart constructor.

Instances

Instances details
Generic EnableVolumeIOResponse Source # 
Instance details

Defined in Amazonka.EC2.EnableVolumeIO

Associated Types

type Rep EnableVolumeIOResponse :: Type -> Type #

Read EnableVolumeIOResponse Source # 
Instance details

Defined in Amazonka.EC2.EnableVolumeIO

Show EnableVolumeIOResponse Source # 
Instance details

Defined in Amazonka.EC2.EnableVolumeIO

NFData EnableVolumeIOResponse Source # 
Instance details

Defined in Amazonka.EC2.EnableVolumeIO

Methods

rnf :: EnableVolumeIOResponse -> () #

Eq EnableVolumeIOResponse Source # 
Instance details

Defined in Amazonka.EC2.EnableVolumeIO

type Rep EnableVolumeIOResponse Source # 
Instance details

Defined in Amazonka.EC2.EnableVolumeIO

type Rep EnableVolumeIOResponse = D1 ('MetaData "EnableVolumeIOResponse" "Amazonka.EC2.EnableVolumeIO" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "EnableVolumeIOResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newEnableVolumeIOResponse :: EnableVolumeIOResponse Source #

Create a value of EnableVolumeIOResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.