Smaws_Client_ECS.ContinueServiceDeploymentContinues or rolls back an Amazon ECS service deployment that is paused at a lifecycle hook.
When a service deployment reaches a lifecycle stage that has a PAUSE hook configured, the deployment pauses and waits for an explicit action. Use this API to either continue the deployment to the next stage or roll back to the previous service revision.
To find the hookId of the paused hook, call DescribeServiceDeployments and inspect the lifecycleHookDetails field.
For more information, see Continuing 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
| `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.continue_service_deployment_request ->
(Types.continue_service_deployment_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `ClientException of Types.client_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.continue_service_deployment_request ->
(Types.continue_service_deployment_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `ClientException of Types.client_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