Copyright | (c) 2013-2016 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 |
Attempts to cancel the command specified by the Command ID. There is no guarantee that the command will be terminated and the underlying process stopped.
Creating a Request
Creates a value of CancelCommand
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CancelCommand Source #
See: cancelCommand
smart constructor.
Request Lenses
ccInstanceIds :: Lens' CancelCommand (Maybe (NonEmpty Text)) Source #
(Optional) A list of instance IDs on which you want to cancel the command. If not provided, the command is canceled on every instance on which it was requested.
ccCommandId :: Lens' CancelCommand Text Source #
The ID of the command you want to cancel.
Destructuring the Response
cancelCommandResponse Source #
Creates a value of CancelCommandResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CancelCommandResponse Source #
Whether or not the command was successfully canceled. There is no guarantee that a request can be canceled.
See: cancelCommandResponse
smart constructor.
Response Lenses
ccrsResponseStatus :: Lens' CancelCommandResponse Int Source #
The response status code.