Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Cancels a bundling operation for an instance store-backed Windows instance.
Synopsis
- cancelBundleTask :: Text -> CancelBundleTask
- data CancelBundleTask
- cbtDryRun :: Lens' CancelBundleTask (Maybe Bool)
- cbtBundleId :: Lens' CancelBundleTask Text
- cancelBundleTaskResponse :: Int -> CancelBundleTaskResponse
- data CancelBundleTaskResponse
- cbtrsBundleTask :: Lens' CancelBundleTaskResponse (Maybe BundleTask)
- cbtrsResponseStatus :: Lens' CancelBundleTaskResponse Int
Creating a Request
Creates a value of CancelBundleTask
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cbtDryRun
- 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 isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.cbtBundleId
- The ID of the bundle task.
data CancelBundleTask Source #
Contains the parameters for CancelBundleTask.
See: cancelBundleTask
smart constructor.
Instances
Request Lenses
cbtDryRun :: 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
.
cbtBundleId :: Lens' CancelBundleTask Text Source #
The ID of the bundle task.
Destructuring the Response
cancelBundleTaskResponse Source #
Creates a value of CancelBundleTaskResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cbtrsBundleTask
- Information about the bundle task.cbtrsResponseStatus
- -- | The response status code.
data CancelBundleTaskResponse Source #
Contains the output of CancelBundleTask.
See: cancelBundleTaskResponse
smart constructor.
Instances
Response Lenses
cbtrsBundleTask :: Lens' CancelBundleTaskResponse (Maybe BundleTask) Source #
Information about the bundle task.
cbtrsResponseStatus :: Lens' CancelBundleTaskResponse Int Source #
- - | The response status code.