Module Smaws_Client_ECS.CreateDaemon

Creates a new daemon in the specified cluster and capacity providers. A daemon deploys cross-cutting software agents such as security monitoring, telemetry, and logging independently across your Amazon ECS infrastructure.

Amazon ECS deploys exactly one daemon task on each container instance of the specified capacity providers. When a container instance registers with the cluster, Amazon ECS automatically starts daemon tasks. Amazon ECS starts a daemon task before scheduling other tasks.

Daemons are essential for instance health - if a daemon task stops, Amazon ECS automatically drains and replaces that container instance.

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 | `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.create_daemon_request -> (Types.create_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 | `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.create_daemon_request -> (Types.create_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 | `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