Smaws_Client_CodeDeploy.StopDeploymentAttempts to stop an ongoing deployment.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `DeploymentAlreadyCompletedException of
Types.deployment_already_completed_exception
| `DeploymentDoesNotExistException of
Types.deployment_does_not_exist_exception
| `DeploymentGroupDoesNotExistException of
Types.deployment_group_does_not_exist_exception
| `DeploymentIdRequiredException of Types.deployment_id_required_exception
| `InvalidDeploymentIdException of Types.invalid_deployment_id_exception
| `UnsupportedActionForDeploymentTypeException of
Types.unsupported_action_for_deployment_type_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.stop_deployment_input ->
(Types.stop_deployment_output,
[> Smaws_Lib.Protocols.AwsJson.error
| `DeploymentAlreadyCompletedException of
Types.deployment_already_completed_exception
| `DeploymentDoesNotExistException of
Types.deployment_does_not_exist_exception
| `DeploymentGroupDoesNotExistException of
Types.deployment_group_does_not_exist_exception
| `DeploymentIdRequiredException of Types.deployment_id_required_exception
| `InvalidDeploymentIdException of Types.invalid_deployment_id_exception
| `UnsupportedActionForDeploymentTypeException of
Types.unsupported_action_for_deployment_type_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.stop_deployment_input ->
(Types.stop_deployment_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `DeploymentAlreadyCompletedException of
Types.deployment_already_completed_exception
| `DeploymentDoesNotExistException of
Types.deployment_does_not_exist_exception
| `DeploymentGroupDoesNotExistException of
Types.deployment_group_does_not_exist_exception
| `DeploymentIdRequiredException of Types.deployment_id_required_exception
| `InvalidDeploymentIdException of Types.invalid_deployment_id_exception
| `UnsupportedActionForDeploymentTypeException of
Types.unsupported_action_for_deployment_type_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result