| Copyright | (c) 2013-2015 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <[email protected]> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.CodeDeploy.StopDeployment
Description
Attempts to stop an ongoing deployment.
See: AWS API Reference for StopDeployment.
- 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
Arguments
| :: Text | |
| -> StopDeployment |
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.
Instances
Request Lenses
sdDeploymentId :: Lens' StopDeployment Text Source
The unique ID of a deployment.
Destructuring the Response
Arguments
| :: Int | |
| -> StopDeploymentResponse |
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 succeeded.
sdrsStatusMessage :: Lens' StopDeploymentResponse (Maybe Text) Source
An accompanying status message.
sdrsResponseStatus :: Lens' StopDeploymentResponse Int Source
The response status code.