Smaws_Client_ECS.StopServiceDeploymentStops an ongoing service deployment.
The following stop types are avaiable:
ROLLBACK - This option rolls back the service deployment to the previous service revision.
You can use this option even if you didn't configure the service deployment for the rollback option.
For more information, see Stopping Amazon ECS service deployments in the Amazon Elastic Container Service Developer Guide.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `ClientException of Types.client_exception
| `ConflictException of Types.conflict_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `ServerException of Types.server_exception
| `ServiceDeploymentNotFoundException of
Types.service_deployment_not_found_exception
| `UnsupportedFeatureException of Types.unsupported_feature_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.stop_service_deployment_request ->
(Types.stop_service_deployment_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `ClientException of Types.client_exception
| `ConflictException of Types.conflict_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `ServerException of Types.server_exception
| `ServiceDeploymentNotFoundException of
Types.service_deployment_not_found_exception
| `UnsupportedFeatureException of Types.unsupported_feature_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.stop_service_deployment_request ->
(Types.stop_service_deployment_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `ClientException of Types.client_exception
| `ConflictException of Types.conflict_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `ServerException of Types.server_exception
| `ServiceDeploymentNotFoundException of
Types.service_deployment_not_found_exception
| `UnsupportedFeatureException of Types.unsupported_feature_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result