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

Description

Discontinue faster launching for a Windows AMI, and clean up existing pre-provisioned snapshots. When you disable faster launching, the AMI uses the standard launch process for each instance. All pre-provisioned snapshots must be removed before you can enable faster launching again.

To change these settings, you must own the AMI.

Synopsis

Creating a Request

data DisableFastLaunch Source #

See: newDisableFastLaunch smart constructor.

Constructors

DisableFastLaunch' 

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.

  • force :: Maybe Bool

    Forces the image settings to turn off faster launching for your Windows AMI. This parameter overrides any errors that are encountered while cleaning up resources in your account.

  • imageId :: Text

    The ID of the image for which you’re turning off faster launching, and removing pre-provisioned snapshots.

Instances

Instances details
ToHeaders DisableFastLaunch Source # 
Instance details

Defined in Amazonka.EC2.DisableFastLaunch

ToPath DisableFastLaunch Source # 
Instance details

Defined in Amazonka.EC2.DisableFastLaunch

ToQuery DisableFastLaunch Source # 
Instance details

Defined in Amazonka.EC2.DisableFastLaunch

AWSRequest DisableFastLaunch Source # 
Instance details

Defined in Amazonka.EC2.DisableFastLaunch

Associated Types

type AWSResponse DisableFastLaunch #

Generic DisableFastLaunch Source # 
Instance details

Defined in Amazonka.EC2.DisableFastLaunch

Associated Types

type Rep DisableFastLaunch :: Type -> Type #

Read DisableFastLaunch Source # 
Instance details

Defined in Amazonka.EC2.DisableFastLaunch

Show DisableFastLaunch Source # 
Instance details

Defined in Amazonka.EC2.DisableFastLaunch

NFData DisableFastLaunch Source # 
Instance details

Defined in Amazonka.EC2.DisableFastLaunch

Methods

rnf :: DisableFastLaunch -> () #

Eq DisableFastLaunch Source # 
Instance details

Defined in Amazonka.EC2.DisableFastLaunch

Hashable DisableFastLaunch Source # 
Instance details

Defined in Amazonka.EC2.DisableFastLaunch

type AWSResponse DisableFastLaunch Source # 
Instance details

Defined in Amazonka.EC2.DisableFastLaunch

type Rep DisableFastLaunch Source # 
Instance details

Defined in Amazonka.EC2.DisableFastLaunch

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

newDisableFastLaunch Source #

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

$sel:force:DisableFastLaunch', disableFastLaunch_force - Forces the image settings to turn off faster launching for your Windows AMI. This parameter overrides any errors that are encountered while cleaning up resources in your account.

DisableFastLaunch, disableFastLaunch_imageId - The ID of the image for which you’re turning off faster launching, and removing pre-provisioned snapshots.

Request Lenses

disableFastLaunch_dryRun :: Lens' DisableFastLaunch (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.

disableFastLaunch_force :: Lens' DisableFastLaunch (Maybe Bool) Source #

Forces the image settings to turn off faster launching for your Windows AMI. This parameter overrides any errors that are encountered while cleaning up resources in your account.

disableFastLaunch_imageId :: Lens' DisableFastLaunch Text Source #

The ID of the image for which you’re turning off faster launching, and removing pre-provisioned snapshots.

Destructuring the Response

data DisableFastLaunchResponse Source #

See: newDisableFastLaunchResponse smart constructor.

Constructors

DisableFastLaunchResponse' 

Fields

Instances

Instances details
Generic DisableFastLaunchResponse Source # 
Instance details

Defined in Amazonka.EC2.DisableFastLaunch

Associated Types

type Rep DisableFastLaunchResponse :: Type -> Type #

Read DisableFastLaunchResponse Source # 
Instance details

Defined in Amazonka.EC2.DisableFastLaunch

Show DisableFastLaunchResponse Source # 
Instance details

Defined in Amazonka.EC2.DisableFastLaunch

NFData DisableFastLaunchResponse Source # 
Instance details

Defined in Amazonka.EC2.DisableFastLaunch

Eq DisableFastLaunchResponse Source # 
Instance details

Defined in Amazonka.EC2.DisableFastLaunch

type Rep DisableFastLaunchResponse Source # 
Instance details

Defined in Amazonka.EC2.DisableFastLaunch

type Rep DisableFastLaunchResponse = D1 ('MetaData "DisableFastLaunchResponse" "Amazonka.EC2.DisableFastLaunch" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DisableFastLaunchResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "imageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "launchTemplate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FastLaunchLaunchTemplateSpecificationResponse))) :*: (S1 ('MetaSel ('Just "maxParallelLaunches") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "ownerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FastLaunchResourceType))))) :*: ((S1 ('MetaSel ('Just "snapshotConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FastLaunchSnapshotConfigurationResponse)) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FastLaunchStateCode))) :*: (S1 ('MetaSel ('Just "stateTransitionReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "stateTransitionTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

newDisableFastLaunchResponse Source #

Create a value of DisableFastLaunchResponse 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:

DisableFastLaunch, disableFastLaunchResponse_imageId - The ID of the image for which faster-launching has been turned off.

DisableFastLaunchResponse, disableFastLaunchResponse_launchTemplate - The launch template that was used to launch Windows instances from pre-provisioned snapshots.

DisableFastLaunchResponse, disableFastLaunchResponse_maxParallelLaunches - The maximum number of parallel instances to launch for creating resources.

DisableFastLaunchResponse, disableFastLaunchResponse_ownerId - The owner of the Windows AMI for which faster launching was turned off.

DisableFastLaunchResponse, disableFastLaunchResponse_resourceType - The pre-provisioning resource type that must be cleaned after turning off faster launching for the Windows AMI. Supported values include: snapshot.

DisableFastLaunchResponse, disableFastLaunchResponse_snapshotConfiguration - Parameters that were used for faster launching for the Windows AMI before faster launching was turned off. This informs the clean-up process.

DisableFastLaunchResponse, disableFastLaunchResponse_state - The current state of faster launching for the specified Windows AMI.

DisableFastLaunchResponse, disableFastLaunchResponse_stateTransitionReason - The reason that the state changed for faster launching for the Windows AMI.

DisableFastLaunchResponse, disableFastLaunchResponse_stateTransitionTime - The time that the state changed for faster launching for the Windows AMI.

$sel:httpStatus:DisableFastLaunchResponse', disableFastLaunchResponse_httpStatus - The response's http status code.

Response Lenses

disableFastLaunchResponse_imageId :: Lens' DisableFastLaunchResponse (Maybe Text) Source #

The ID of the image for which faster-launching has been turned off.

disableFastLaunchResponse_launchTemplate :: Lens' DisableFastLaunchResponse (Maybe FastLaunchLaunchTemplateSpecificationResponse) Source #

The launch template that was used to launch Windows instances from pre-provisioned snapshots.

disableFastLaunchResponse_maxParallelLaunches :: Lens' DisableFastLaunchResponse (Maybe Int) Source #

The maximum number of parallel instances to launch for creating resources.

disableFastLaunchResponse_ownerId :: Lens' DisableFastLaunchResponse (Maybe Text) Source #

The owner of the Windows AMI for which faster launching was turned off.

disableFastLaunchResponse_resourceType :: Lens' DisableFastLaunchResponse (Maybe FastLaunchResourceType) Source #

The pre-provisioning resource type that must be cleaned after turning off faster launching for the Windows AMI. Supported values include: snapshot.

disableFastLaunchResponse_snapshotConfiguration :: Lens' DisableFastLaunchResponse (Maybe FastLaunchSnapshotConfigurationResponse) Source #

Parameters that were used for faster launching for the Windows AMI before faster launching was turned off. This informs the clean-up process.

disableFastLaunchResponse_state :: Lens' DisableFastLaunchResponse (Maybe FastLaunchStateCode) Source #

The current state of faster launching for the specified Windows AMI.

disableFastLaunchResponse_stateTransitionReason :: Lens' DisableFastLaunchResponse (Maybe Text) Source #

The reason that the state changed for faster launching for the Windows AMI.

disableFastLaunchResponse_stateTransitionTime :: Lens' DisableFastLaunchResponse (Maybe UTCTime) Source #

The time that the state changed for faster launching for the Windows AMI.