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 |
Cancels a bundling operation for an instance store-backed Windows instance.
Synopsis
- data CancelBundleTask = CancelBundleTask' {}
- newCancelBundleTask :: Text -> CancelBundleTask
- cancelBundleTask_dryRun :: Lens' CancelBundleTask (Maybe Bool)
- cancelBundleTask_bundleId :: Lens' CancelBundleTask Text
- data CancelBundleTaskResponse = CancelBundleTaskResponse' {}
- newCancelBundleTaskResponse :: Int -> CancelBundleTaskResponse
- cancelBundleTaskResponse_bundleTask :: Lens' CancelBundleTaskResponse (Maybe BundleTask)
- cancelBundleTaskResponse_httpStatus :: Lens' CancelBundleTaskResponse Int
Creating a Request
data CancelBundleTask Source #
Contains the parameters for CancelBundleTask.
See: newCancelBundleTask
smart constructor.
CancelBundleTask' | |
|
Instances
Create a value of CancelBundleTask
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:CancelBundleTask'
, cancelBundleTask_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
.
CancelBundleTask
, cancelBundleTask_bundleId
- The ID of the bundle task.
Request Lenses
cancelBundleTask_dryRun :: Lens' CancelBundleTask (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
.
cancelBundleTask_bundleId :: Lens' CancelBundleTask Text Source #
The ID of the bundle task.
Destructuring the Response
data CancelBundleTaskResponse Source #
Contains the output of CancelBundleTask.
See: newCancelBundleTaskResponse
smart constructor.
CancelBundleTaskResponse' | |
|
Instances
newCancelBundleTaskResponse Source #
Create a value of CancelBundleTaskResponse
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:bundleTask:CancelBundleTaskResponse'
, cancelBundleTaskResponse_bundleTask
- Information about the bundle task.
$sel:httpStatus:CancelBundleTaskResponse'
, cancelBundleTaskResponse_httpStatus
- The response's http status code.
Response Lenses
cancelBundleTaskResponse_bundleTask :: Lens' CancelBundleTaskResponse (Maybe BundleTask) Source #
Information about the bundle task.
cancelBundleTaskResponse_httpStatus :: Lens' CancelBundleTaskResponse Int Source #
The response's http status code.