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 |
Network.AWS.CodeDeploy.StopDeployment
Description
Attempts to stop an ongoing deployment.
See: AWS API Reference for StopDeployment.
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
sdrsStatusMessage :: Lens' StopDeploymentResponse (Maybe Text) Source
An accompanying status message.
sdrsStatus :: Lens' StopDeploymentResponse Int Source
The response status code.