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

Description

Disables fast snapshot restores for the specified snapshots in the specified Availability Zones.

Synopsis

Creating a Request

data DisableFastSnapshotRestores Source #

See: newDisableFastSnapshotRestores smart constructor.

Constructors

DisableFastSnapshotRestores' 

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.

  • availabilityZones :: [Text]

    One or more Availability Zones. For example, us-east-2a.

  • sourceSnapshotIds :: [Text]

    The IDs of one or more snapshots. For example, snap-1234567890abcdef0.

Instances

Instances details
ToHeaders DisableFastSnapshotRestores Source # 
Instance details

Defined in Amazonka.EC2.DisableFastSnapshotRestores

ToPath DisableFastSnapshotRestores Source # 
Instance details

Defined in Amazonka.EC2.DisableFastSnapshotRestores

ToQuery DisableFastSnapshotRestores Source # 
Instance details

Defined in Amazonka.EC2.DisableFastSnapshotRestores

AWSRequest DisableFastSnapshotRestores Source # 
Instance details

Defined in Amazonka.EC2.DisableFastSnapshotRestores

Generic DisableFastSnapshotRestores Source # 
Instance details

Defined in Amazonka.EC2.DisableFastSnapshotRestores

Associated Types

type Rep DisableFastSnapshotRestores :: Type -> Type #

Read DisableFastSnapshotRestores Source # 
Instance details

Defined in Amazonka.EC2.DisableFastSnapshotRestores

Show DisableFastSnapshotRestores Source # 
Instance details

Defined in Amazonka.EC2.DisableFastSnapshotRestores

NFData DisableFastSnapshotRestores Source # 
Instance details

Defined in Amazonka.EC2.DisableFastSnapshotRestores

Eq DisableFastSnapshotRestores Source # 
Instance details

Defined in Amazonka.EC2.DisableFastSnapshotRestores

Hashable DisableFastSnapshotRestores Source # 
Instance details

Defined in Amazonka.EC2.DisableFastSnapshotRestores

type AWSResponse DisableFastSnapshotRestores Source # 
Instance details

Defined in Amazonka.EC2.DisableFastSnapshotRestores

type Rep DisableFastSnapshotRestores Source # 
Instance details

Defined in Amazonka.EC2.DisableFastSnapshotRestores

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

newDisableFastSnapshotRestores :: DisableFastSnapshotRestores Source #

Create a value of DisableFastSnapshotRestores 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:DisableFastSnapshotRestores', disableFastSnapshotRestores_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.

DisableFastSnapshotRestores, disableFastSnapshotRestores_availabilityZones - One or more Availability Zones. For example, us-east-2a.

$sel:sourceSnapshotIds:DisableFastSnapshotRestores', disableFastSnapshotRestores_sourceSnapshotIds - The IDs of one or more snapshots. For example, snap-1234567890abcdef0.

Request Lenses

disableFastSnapshotRestores_dryRun :: Lens' DisableFastSnapshotRestores (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.

disableFastSnapshotRestores_availabilityZones :: Lens' DisableFastSnapshotRestores [Text] Source #

One or more Availability Zones. For example, us-east-2a.

disableFastSnapshotRestores_sourceSnapshotIds :: Lens' DisableFastSnapshotRestores [Text] Source #

The IDs of one or more snapshots. For example, snap-1234567890abcdef0.

Destructuring the Response

data DisableFastSnapshotRestoresResponse Source #

Constructors

DisableFastSnapshotRestoresResponse' 

Fields

Instances

Instances details
Generic DisableFastSnapshotRestoresResponse Source # 
Instance details

Defined in Amazonka.EC2.DisableFastSnapshotRestores

Read DisableFastSnapshotRestoresResponse Source # 
Instance details

Defined in Amazonka.EC2.DisableFastSnapshotRestores

Show DisableFastSnapshotRestoresResponse Source # 
Instance details

Defined in Amazonka.EC2.DisableFastSnapshotRestores

NFData DisableFastSnapshotRestoresResponse Source # 
Instance details

Defined in Amazonka.EC2.DisableFastSnapshotRestores

Eq DisableFastSnapshotRestoresResponse Source # 
Instance details

Defined in Amazonka.EC2.DisableFastSnapshotRestores

type Rep DisableFastSnapshotRestoresResponse Source # 
Instance details

Defined in Amazonka.EC2.DisableFastSnapshotRestores

type Rep DisableFastSnapshotRestoresResponse = D1 ('MetaData "DisableFastSnapshotRestoresResponse" "Amazonka.EC2.DisableFastSnapshotRestores" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DisableFastSnapshotRestoresResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "successful") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DisableFastSnapshotRestoreSuccessItem])) :*: (S1 ('MetaSel ('Just "unsuccessful") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DisableFastSnapshotRestoreErrorItem])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDisableFastSnapshotRestoresResponse Source #

Create a value of DisableFastSnapshotRestoresResponse 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:successful:DisableFastSnapshotRestoresResponse', disableFastSnapshotRestoresResponse_successful - Information about the snapshots for which fast snapshot restores were successfully disabled.

$sel:unsuccessful:DisableFastSnapshotRestoresResponse', disableFastSnapshotRestoresResponse_unsuccessful - Information about the snapshots for which fast snapshot restores could not be disabled.

$sel:httpStatus:DisableFastSnapshotRestoresResponse', disableFastSnapshotRestoresResponse_httpStatus - The response's http status code.

Response Lenses

disableFastSnapshotRestoresResponse_successful :: Lens' DisableFastSnapshotRestoresResponse (Maybe [DisableFastSnapshotRestoreSuccessItem]) Source #

Information about the snapshots for which fast snapshot restores were successfully disabled.

disableFastSnapshotRestoresResponse_unsuccessful :: Lens' DisableFastSnapshotRestoresResponse (Maybe [DisableFastSnapshotRestoreErrorItem]) Source #

Information about the snapshots for which fast snapshot restores could not be disabled.