Safe Haskell | None |
---|---|
Language | Haskell2010 |
Attempts to stop an ongoing deployment.
http://docs.aws.amazon.com/codedeploy/latest/APIReference/API_StopDeployment.html
- data StopDeployment
- stopDeployment :: Text -> StopDeployment
- sdDeploymentId :: Lens' StopDeployment Text
- data StopDeploymentResponse
- stopDeploymentResponse :: StopDeploymentResponse
- sdrStatus :: Lens' StopDeploymentResponse (Maybe StopStatus)
- sdrStatusMessage :: Lens' StopDeploymentResponse (Maybe Text)
Request
data StopDeployment Source
Eq StopDeployment | |
Ord StopDeployment | |
Read StopDeployment | |
Show StopDeployment | |
IsString StopDeployment | |
Monoid StopDeployment | |
AWSRequest StopDeployment | |
ToQuery StopDeployment | |
ToPath StopDeployment | |
ToHeaders StopDeployment | |
ToJSON StopDeployment | |
type Sv StopDeployment = CodeDeploy | |
type Rs StopDeployment = StopDeploymentResponse |
Request constructor
:: Text | |
-> StopDeployment |
StopDeployment
constructor.
The fields accessible through corresponding lenses are:
sdDeploymentId
::
Text
Request lenses
sdDeploymentId :: Lens' StopDeployment Text Source
The unique ID of a deployment.
Response
Response constructor
stopDeploymentResponse :: StopDeploymentResponse Source
StopDeploymentResponse
constructor.
The fields accessible through corresponding lenses are:
sdrStatus
::
Maybe
StopStatus
sdrStatusMessage
::
Maybe
Text
Response lenses
sdrStatus :: Lens' StopDeploymentResponse (Maybe StopStatus) Source
The status of the stop deployment operation:
Pending: The stop operation is pending. Succeeded: The stop operation succeeded.
sdrStatusMessage :: Lens' StopDeploymentResponse (Maybe Text) Source
An accompanying status message.