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.
http://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_SubmitContainerStateChange.html
- data SubmitContainerStateChange
- submitContainerStateChange :: SubmitContainerStateChange
- scscCluster :: Lens' SubmitContainerStateChange (Maybe Text)
- scscContainerName :: Lens' SubmitContainerStateChange (Maybe Text)
- scscExitCode :: Lens' SubmitContainerStateChange (Maybe Int)
- scscNetworkBindings :: Lens' SubmitContainerStateChange [NetworkBinding]
- scscReason :: Lens' SubmitContainerStateChange (Maybe Text)
- scscStatus :: Lens' SubmitContainerStateChange (Maybe Text)
- scscTask :: Lens' SubmitContainerStateChange (Maybe Text)
- data SubmitContainerStateChangeResponse
- submitContainerStateChangeResponse :: SubmitContainerStateChangeResponse
- scscrAcknowledgment :: Lens' SubmitContainerStateChangeResponse (Maybe Text)
Request
data SubmitContainerStateChange Source
Request constructor
submitContainerStateChange :: SubmitContainerStateChange Source
SubmitContainerStateChange
constructor.
The fields accessible through corresponding lenses are:
Request lenses
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.
scscExitCode :: Lens' SubmitContainerStateChange (Maybe Int) Source
The exit code returned for the state change request.
scscNetworkBindings :: Lens' SubmitContainerStateChange [NetworkBinding] Source
The network bindings of the container.
scscReason :: Lens' SubmitContainerStateChange (Maybe Text) Source
The reason for the state change request.
scscStatus :: Lens' SubmitContainerStateChange (Maybe Text) Source
The status of the state change request.
scscTask :: Lens' SubmitContainerStateChange (Maybe Text) Source
The task UUID or full Amazon Resource Name (ARN) of the task that hosts the container.
Response
Response constructor
submitContainerStateChangeResponse :: SubmitContainerStateChangeResponse Source
SubmitContainerStateChangeResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
scscrAcknowledgment :: Lens' SubmitContainerStateChangeResponse (Maybe Text) Source
Acknowledgement of the state change.