Module Smaws_Client_ECS.UpdateDaemon

Updates the specified daemon. When you update a daemon, a new deployment is triggered that progressively rolls out the changes to the container instances associated with the daemon's capacity providers. For more information, see Daemon deployments in the Amazon Elastic Container Service Developer Guide.

Amazon ECS drains existing container instances and provisions new instances with the updated daemon. Amazon ECS automatically launches replacement tasks for your services.

Updating a daemon triggers a rolling deployment that drains and replaces container instances. Plan updates during maintenance windows to minimize impact on running 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 | `PlatformUnknownException of Types.platform_unknown_exception | `ServerException of Types.server_exception | `UnsupportedFeatureException of Types.unsupported_feature_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.update_daemon_request -> (Types.update_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 | `PlatformUnknownException of Types.platform_unknown_exception | `ServerException of Types.server_exception | `UnsupportedFeatureException of Types.unsupported_feature_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.update_daemon_request -> (Types.update_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 | `PlatformUnknownException of Types.platform_unknown_exception | `ServerException of Types.server_exception | `UnsupportedFeatureException of Types.unsupported_feature_exception ] * Smaws_Lib.Response.metadata) Stdlib.result