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 |
This action is only used by the Amazon EC2 Container Service agent, and it is not intended for use outside of the agent.
Sent to acknowledge that a container changed states.
See: AWS API Reference for SubmitContainerStateChange.
- submitContainerStateChange :: SubmitContainerStateChange
- data SubmitContainerStateChange
- scscNetworkBindings :: Lens' SubmitContainerStateChange [NetworkBinding]
- scscStatus :: Lens' SubmitContainerStateChange (Maybe Text)
- scscCluster :: Lens' SubmitContainerStateChange (Maybe Text)
- scscContainerName :: Lens' SubmitContainerStateChange (Maybe Text)
- scscReason :: Lens' SubmitContainerStateChange (Maybe Text)
- scscExitCode :: Lens' SubmitContainerStateChange (Maybe Int)
- scscTask :: Lens' SubmitContainerStateChange (Maybe Text)
- submitContainerStateChangeResponse :: Int -> SubmitContainerStateChangeResponse
- data SubmitContainerStateChangeResponse
- scscrsAcknowledgment :: Lens' SubmitContainerStateChangeResponse (Maybe Text)
- scscrsResponseStatus :: Lens' SubmitContainerStateChangeResponse Int
Creating a Request
submitContainerStateChange :: SubmitContainerStateChange Source
Creates a value of SubmitContainerStateChange
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SubmitContainerStateChange Source
See: submitContainerStateChange
smart constructor.
Request Lenses
scscNetworkBindings :: Lens' SubmitContainerStateChange [NetworkBinding] Source
The network bindings of the container.
scscStatus :: Lens' SubmitContainerStateChange (Maybe Text) Source
The status of the state change request.
scscCluster :: Lens' SubmitContainerStateChange (Maybe Text) Source
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container.
scscContainerName :: Lens' SubmitContainerStateChange (Maybe Text) Source
The name of the container.
scscReason :: Lens' SubmitContainerStateChange (Maybe Text) Source
The reason for the state change request.
scscExitCode :: Lens' SubmitContainerStateChange (Maybe Int) Source
The exit code returned for the state change request.
scscTask :: Lens' SubmitContainerStateChange (Maybe Text) Source
The task ID or full Amazon Resource Name (ARN) of the task that hosts the container.
Destructuring the Response
submitContainerStateChangeResponse Source
Creates a value of SubmitContainerStateChangeResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SubmitContainerStateChangeResponse Source
See: submitContainerStateChangeResponse
smart constructor.
Response Lenses
scscrsAcknowledgment :: Lens' SubmitContainerStateChangeResponse (Maybe Text) Source
Acknowledgement of the state change.
scscrsResponseStatus :: Lens' SubmitContainerStateChangeResponse Int Source
The response status code.