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
- sdAutoRollbackEnabled :: Lens' StopDeployment (Maybe Bool)
- 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:
sdAutoRollbackEnabled
- Indicates, when a deployment is stopped, whether instances that have been updated should be rolled back to the previous version of the application revision.sdDeploymentId
- The unique ID of a deployment.
data StopDeployment Source #
Represents the input of a stop deployment operation.
See: stopDeployment
smart constructor.
Request Lenses
sdAutoRollbackEnabled :: Lens' StopDeployment (Maybe Bool) Source #
Indicates, when a deployment is stopped, whether instances that have been updated should be rolled back to the previous version of the application revision.
sdDeploymentId :: Lens' StopDeployment Text Source #
The unique ID of a deployment.
Destructuring the Response
stopDeploymentResponse Source #
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:
sdrsStatus
- The status of the stop deployment operation: * Pending: The stop operation is pending. * Succeeded: The stop operation was successful.sdrsStatusMessage
- An accompanying status message.sdrsResponseStatus
- -- | The response status code.
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.