Module Smaws_Client_AutoScaling.SetDesiredCapacity

Sets the size of the specified Auto Scaling group.

If a scale-in activity occurs as a result of a new DesiredCapacity value that is lower than the current size of the group, the Auto Scaling group uses its termination policy to determine which instances to terminate.

For more information, see Manual scaling in the Amazon EC2 Auto Scaling User Guide.

val error_to_string : [ Smaws_Lib.Protocols.AwsQuery.error | `ResourceContentionFault of Types.resource_contention_fault | `ScalingActivityInProgressFault of Types.scaling_activity_in_progress_fault ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.set_desired_capacity_type -> (Smaws_Lib.Smithy_api.Types.unit_, [> Smaws_Lib.Protocols.AwsQuery.error | `ResourceContentionFault of Types.resource_contention_fault | `ScalingActivityInProgressFault of Types.scaling_activity_in_progress_fault ]) Stdlib.result