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 |
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
- data DisableFastLaunch = DisableFastLaunch' {}
- newDisableFastLaunch :: Text -> DisableFastLaunch
- disableFastLaunch_dryRun :: Lens' DisableFastLaunch (Maybe Bool)
- disableFastLaunch_force :: Lens' DisableFastLaunch (Maybe Bool)
- disableFastLaunch_imageId :: Lens' DisableFastLaunch Text
- data DisableFastLaunchResponse = DisableFastLaunchResponse' {
- imageId :: Maybe Text
- launchTemplate :: Maybe FastLaunchLaunchTemplateSpecificationResponse
- maxParallelLaunches :: Maybe Int
- ownerId :: Maybe Text
- resourceType :: Maybe FastLaunchResourceType
- snapshotConfiguration :: Maybe FastLaunchSnapshotConfigurationResponse
- state :: Maybe FastLaunchStateCode
- stateTransitionReason :: Maybe Text
- stateTransitionTime :: Maybe ISO8601
- httpStatus :: Int
- newDisableFastLaunchResponse :: Int -> DisableFastLaunchResponse
- disableFastLaunchResponse_imageId :: Lens' DisableFastLaunchResponse (Maybe Text)
- disableFastLaunchResponse_launchTemplate :: Lens' DisableFastLaunchResponse (Maybe FastLaunchLaunchTemplateSpecificationResponse)
- disableFastLaunchResponse_maxParallelLaunches :: Lens' DisableFastLaunchResponse (Maybe Int)
- disableFastLaunchResponse_ownerId :: Lens' DisableFastLaunchResponse (Maybe Text)
- disableFastLaunchResponse_resourceType :: Lens' DisableFastLaunchResponse (Maybe FastLaunchResourceType)
- disableFastLaunchResponse_snapshotConfiguration :: Lens' DisableFastLaunchResponse (Maybe FastLaunchSnapshotConfigurationResponse)
- disableFastLaunchResponse_state :: Lens' DisableFastLaunchResponse (Maybe FastLaunchStateCode)
- disableFastLaunchResponse_stateTransitionReason :: Lens' DisableFastLaunchResponse (Maybe Text)
- disableFastLaunchResponse_stateTransitionTime :: Lens' DisableFastLaunchResponse (Maybe UTCTime)
- disableFastLaunchResponse_httpStatus :: Lens' DisableFastLaunchResponse Int
Creating a Request
data DisableFastLaunch Source #
See: newDisableFastLaunch
smart constructor.
DisableFastLaunch' | |
|
Instances
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.
DisableFastLaunchResponse' | |
|
Instances
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.
disableFastLaunchResponse_httpStatus :: Lens' DisableFastLaunchResponse Int Source #
The response's http status code.