// Moves the specified instances into the standby state. If you choose to decrement
// the desired capacity of the Auto Scaling group, the instances can enter standby
// as long as the desired capacity of the Auto Scaling group after the instances
// are placed into standby is equal to or greater than the minimum capacity of the
// group. If you choose not to decrement the desired capacity of the Auto Scaling
// group, the Auto Scaling group launches new instances to replace the instances on
// standby. For more information, see Temporarily Removing Instances from Your Auto
// Scaling Group
// (https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-enter-exit-standby.html)
// in the Amazon EC2 Auto Scaling User Guide.
Moves the specified instances into the standby state. If you choose to decrement
the desired capacity of the Auto Scaling group, the instances can enter standby
as long as the desired capacity of the Auto Scaling group after the instances
are placed into standby is equal to or greater than the minimum capacity of the
group. If you choose not to decrement the desired capacity of the Auto Scaling
group, the Auto Scaling group launches new instances to replace the instances on
standby. For more information, see Temporarily Removing Instances from Your Auto
Scaling Group

in the Amazon EC2 Auto Scaling User Guide.
// Moves the specified instances into the standby state . If you choose to decrement // the desired capacity of the Auto Scaling group the instances can enter standby // as long as the desired capacity of the Auto Scaling group after the instances // are placed into standby is equal to or greater than the minimum capacity of the // group . If you choose not to decrement the desired capacity of the Auto Scaling // group the Auto Scaling group launches new instances to replace the instances on // standby . For more information see Temporarily Removing Instances from Your Auto // Scaling Group // ( https : // docs . aws . amazon . com / autoscaling / ec2 / userguide / as - enter - exit - standby . html ) // in the Amazon EC2 Auto Scaling User Guide .
func (c *Client) EnterStandby(ctx context.Context, params *EnterStandbyInput, optFns ...func(*Options)) (*EnterStandbyOutput, error) {
	if params == nil {
		params = &EnterStandbyInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "EnterStandby", params, optFns, addOperationEnterStandbyMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*EnterStandbyOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) EnterStandby ( ctx context . Context , params * EnterStandbyInput , optFns ... func ( * Options ) ) ( * EnterStandbyOutput , error ) { if params == nil { params = & EnterStandbyInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationEnterStandbyMiddlewares ) if err != nil { return nil , err } out := result . ( * EnterStandbyOutput ) out . ResultMetadata = metadata return out , nil }
Moves the specified instances into the standby state.
Moves the specified instances into the standby state .