Copyright | (c) 2013-2017 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 |
Stops an execution.
- stopExecution :: Text -> StopExecution
- data StopExecution
- seError :: Lens' StopExecution (Maybe Text)
- seCause :: Lens' StopExecution (Maybe Text)
- seExecutionARN :: Lens' StopExecution Text
- stopExecutionResponse :: Int -> UTCTime -> StopExecutionResponse
- data StopExecutionResponse
- sersResponseStatus :: Lens' StopExecutionResponse Int
- sersStopDate :: Lens' StopExecutionResponse UTCTime
Creating a Request
Creates a value of StopExecution
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
seError
- An arbitrary error code that identifies the cause of the termination.seCause
- A more detailed explanation of the cause of the termination.seExecutionARN
- The Amazon Resource Name (ARN) of the execution to stop.
data StopExecution Source #
See: stopExecution
smart constructor.
Request Lenses
seError :: Lens' StopExecution (Maybe Text) Source #
An arbitrary error code that identifies the cause of the termination.
seCause :: Lens' StopExecution (Maybe Text) Source #
A more detailed explanation of the cause of the termination.
seExecutionARN :: Lens' StopExecution Text Source #
The Amazon Resource Name (ARN) of the execution to stop.
Destructuring the Response
stopExecutionResponse Source #
Creates a value of StopExecutionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sersResponseStatus
- -- | The response status code.sersStopDate
- The date the execution was stopped.
data StopExecutionResponse Source #
See: stopExecutionResponse
smart constructor.
Response Lenses
sersResponseStatus :: Lens' StopExecutionResponse Int Source #
- - | The response status code.
sersStopDate :: Lens' StopExecutionResponse UTCTime Source #
The date the execution was stopped.