// Deletes and recreates all of the AWS resources (for example: the Auto Scaling
// group, load balancer, etc.) for a specified environment and forces a restart.
Deletes and recreates all of the AWS resources (for example: the Auto Scaling
group, load balancer, etc.) for a specified environment and forces a restart.
// Deletes and recreates all of the AWS resources ( for example : the Auto Scaling // group load balancer etc . ) for a specified environment and forces a restart .
func (c *Client) RebuildEnvironment(ctx context.Context, params *RebuildEnvironmentInput, optFns ...func(*Options)) (*RebuildEnvironmentOutput, error) {
	if params == nil {
		params = &RebuildEnvironmentInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "RebuildEnvironment", params, optFns, addOperationRebuildEnvironmentMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*RebuildEnvironmentOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) RebuildEnvironment ( ctx context . Context , params * RebuildEnvironmentInput , optFns ... func ( * Options ) ) ( * RebuildEnvironmentOutput , error ) { if params == nil { params = & RebuildEnvironmentInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationRebuildEnvironmentMiddlewares ) if err != nil { return nil , err } out := result . ( * RebuildEnvironmentOutput ) out . ResultMetadata = metadata return out , nil }
Deletes and recreates all of the AWS resources (for example: the Auto Scaling
group, load balancer, etc.)
Deletes and recreates all of the AWS resources ( for example : the Auto Scaling group load balancer etc . )