Module Smaws_Client_ECS.CreateCapacityProvider

Creates a capacity provider. Capacity providers are associated with a cluster and are used in capacity provider strategies to facilitate cluster auto scaling. You can create capacity providers for Amazon ECS Managed Instances and EC2 instances. Fargate has the predefined FARGATE and FARGATE_SPOT 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 | `LimitExceededException of Types.limit_exceeded_exception | `ServerException of Types.server_exception | `UnsupportedFeatureException of Types.unsupported_feature_exception | `UpdateInProgressException of Types.update_in_progress_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.create_capacity_provider_request -> (Types.create_capacity_provider_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 | `LimitExceededException of Types.limit_exceeded_exception | `ServerException of Types.server_exception | `UnsupportedFeatureException of Types.unsupported_feature_exception | `UpdateInProgressException of Types.update_in_progress_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.create_capacity_provider_request -> (Types.create_capacity_provider_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 | `LimitExceededException of Types.limit_exceeded_exception | `ServerException of Types.server_exception | `UnsupportedFeatureException of Types.unsupported_feature_exception | `UpdateInProgressException of Types.update_in_progress_exception ] * Smaws_Lib.Response.metadata) Stdlib.result