Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@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.
See: AWS API Reference for CancelBundleTask.
- cancelBundleTask :: Text -> CancelBundleTask
- data CancelBundleTask
- cbtDryRun :: Lens' CancelBundleTask (Maybe Bool)
- cbtBundleId :: Lens' CancelBundleTask Text
- cancelBundleTaskResponse :: Int -> CancelBundleTaskResponse
- data CancelBundleTaskResponse
- cbtrsBundleTask :: Lens' CancelBundleTaskResponse (Maybe BundleTask)
- cbtrsStatus :: 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:
data CancelBundleTask Source
See: cancelBundleTask
smart constructor.
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:
data CancelBundleTaskResponse Source
See: cancelBundleTaskResponse
smart constructor.
Response Lenses
cbtrsBundleTask :: Lens' CancelBundleTaskResponse (Maybe BundleTask) Source
Information about the bundle task.
cbtrsStatus :: Lens' CancelBundleTaskResponse Int Source
The response status code.