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 |
Attempts to stop an ongoing deployment.
- stopDeployment :: Text -> StopDeployment
- data StopDeployment
- sdDeploymentId :: Lens' StopDeployment Text
- stopDeploymentResponse :: Int -> StopDeploymentResponse
- data StopDeploymentResponse
- sdrsStatus :: Lens' StopDeploymentResponse (Maybe StopStatus)
- sdrsStatusMessage :: Lens' StopDeploymentResponse (Maybe Text)
- sdrsResponseStatus :: Lens' StopDeploymentResponse Int
Creating a Request
Creates a value of StopDeployment
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data StopDeployment Source
Represents the input of a stop deployment operation.
See: stopDeployment
smart constructor.
Request Lenses
sdDeploymentId :: Lens' StopDeployment Text Source
The unique ID of a deployment.
Destructuring the Response
Creates a value of StopDeploymentResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data StopDeploymentResponse Source
Represents the output of a stop deployment operation.
See: stopDeploymentResponse
smart constructor.
Response Lenses
sdrsStatus :: Lens' StopDeploymentResponse (Maybe StopStatus) Source
The status of the stop deployment operation:
- Pending: The stop operation is pending.
- Succeeded: The stop operation was successful.
sdrsStatusMessage :: Lens' StopDeploymentResponse (Maybe Text) Source
An accompanying status message.
sdrsResponseStatus :: Lens' StopDeploymentResponse Int Source
The response status code.