Smaws_Client_ECS.DeleteDaemonDeletes the specified daemon. The daemon must be in an ACTIVE state to be deleted. Deleting a daemon stops all running daemon tasks on the associated container instances. Amazon ECS drains existing container instances and provisions new instances without the deleted daemon. Amazon ECS automatically launches replacement tasks for your Amazon ECS services.
ECS Managed Daemons is only supported for Amazon ECS Managed Instances Capacity Providers.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `ClientException of Types.client_exception
| `ClusterNotFoundException of Types.cluster_not_found_exception
| `DaemonNotActiveException of Types.daemon_not_active_exception
| `DaemonNotFoundException of Types.daemon_not_found_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `ServerException of Types.server_exception
| `UnsupportedFeatureException of Types.unsupported_feature_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.delete_daemon_request ->
(Types.delete_daemon_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `ClientException of Types.client_exception
| `ClusterNotFoundException of Types.cluster_not_found_exception
| `DaemonNotActiveException of Types.daemon_not_active_exception
| `DaemonNotFoundException of Types.daemon_not_found_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `ServerException of Types.server_exception
| `UnsupportedFeatureException of Types.unsupported_feature_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.delete_daemon_request ->
(Types.delete_daemon_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `ClientException of Types.client_exception
| `ClusterNotFoundException of Types.cluster_not_found_exception
| `DaemonNotActiveException of Types.daemon_not_active_exception
| `DaemonNotFoundException of Types.daemon_not_found_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `ServerException of Types.server_exception
| `UnsupportedFeatureException of Types.unsupported_feature_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result