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 |
Sent to acknowledge that a task changed states.
- submitTaskStateChange :: SubmitTaskStateChange
- data SubmitTaskStateChange
- stscStatus :: Lens' SubmitTaskStateChange (Maybe Text)
- stscCluster :: Lens' SubmitTaskStateChange (Maybe Text)
- stscReason :: Lens' SubmitTaskStateChange (Maybe Text)
- stscTask :: Lens' SubmitTaskStateChange (Maybe Text)
- submitTaskStateChangeResponse :: Int -> SubmitTaskStateChangeResponse
- data SubmitTaskStateChangeResponse
- stscrsAcknowledgment :: Lens' SubmitTaskStateChangeResponse (Maybe Text)
- stscrsResponseStatus :: Lens' SubmitTaskStateChangeResponse Int
Creating a Request
submitTaskStateChange :: SubmitTaskStateChange Source #
Creates a value of SubmitTaskStateChange
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
stscStatus
- The status of the state change request.stscCluster
- The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.stscReason
- The reason for the state change request.stscTask
- The task ID or full Amazon Resource Name (ARN) of the task in the state change request.
data SubmitTaskStateChange Source #
See: submitTaskStateChange
smart constructor.
Request Lenses
stscStatus :: Lens' SubmitTaskStateChange (Maybe Text) Source #
The status of the state change request.
stscCluster :: Lens' SubmitTaskStateChange (Maybe Text) Source #
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.
stscReason :: Lens' SubmitTaskStateChange (Maybe Text) Source #
The reason for the state change request.
stscTask :: Lens' SubmitTaskStateChange (Maybe Text) Source #
The task ID or full Amazon Resource Name (ARN) of the task in the state change request.
Destructuring the Response
submitTaskStateChangeResponse Source #
Creates a value of SubmitTaskStateChangeResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
stscrsAcknowledgment
- Acknowledgement of the state change.stscrsResponseStatus
- -- | The response status code.
data SubmitTaskStateChangeResponse Source #
See: submitTaskStateChangeResponse
smart constructor.
Response Lenses
stscrsAcknowledgment :: Lens' SubmitTaskStateChangeResponse (Maybe Text) Source #
Acknowledgement of the state change.
stscrsResponseStatus :: Lens' SubmitTaskStateChangeResponse Int Source #
- - | The response status code.