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 container changed states.
- 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:
scscNetworkBindings
- The network bindings of the container.scscStatus
- The status of the state change request.scscCluster
- The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container.scscContainerName
- The name of the container.scscReason
- The reason for the state change request.scscExitCode
- The exit code returned for the state change request.scscTask
- The task ID or full Amazon Resource Name (ARN) of the task that hosts the container.
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:
scscrsAcknowledgment
- Acknowledgement of the state change.scscrsResponseStatus
- -- | The response status code.
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.