View definition


Defined in


Validate inspects the fields of the type to determine if they are valid.

Validate is referenced in 0 repositories


// process, for the specified Auto Scaling group.
// For more information, see Suspending and Resuming Auto Scaling Processes
// (
// in the Auto Scaling User Guide.
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
// See the AWS API reference guide for Auto Scaling's
// API operation ResumeProcesses for usage and error information.
// Returned Error Codes:
//   * ResourceInUse
//   The operation can't be performed because the resource is in use.
//   * ResourceContention
//   You already have a pending update to an Auto Scaling resource (for example,
//   a group, instance, or load balancer).
func (c *AutoScaling) ResumeProcesses(input *ScalingProcessQuery) (*ResumeProcessesOutput, error) {
	req, out := c.ResumeProcessesRequest(input)
	err := req.Send()
	return out, err

const opSetDesiredCapacity = "SetDesiredCapacity"

// SetDesiredCapacityRequest generates a "aws/request.Request" representing the
// client's request for the SetDesiredCapacity operation. The "output" return
// value can be used to capture response data after the request's "Send" method
// is called.
// See SetDesiredCapacity for usage and error information.
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
// you just want the service response, call the SetDesiredCapacity method directly
// instead.
// Note: You must call the "Send" method on the returned request object in order
// to execute the request.
//    // Example sending a request using the SetDesiredCapacityRequest method.
//    req, resp := client.SetDesiredCapacityRequest(params)