Sets the desired size of the specified AutoScalingGroup.
 Declaration Syntax
 Declaration Syntax| C# | 
public SetDesiredCapacityResponse SetDesiredCapacity( SetDesiredCapacityRequest setDesiredCapacityRequest )
 Parameters
 Parameters- setDesiredCapacityRequest (SetDesiredCapacityRequest)
- Container for the necessary parameters to execute the SetDesiredCapacity service method on AmazonAutoScaling.
 Exceptions
 Exceptions| Exception | Condition | 
|---|---|
| ScalingActivityInProgressException |