// Deletes the specified EC2 Fleet. After you delete an EC2 Fleet, it launches no
// new instances. You must specify whether an EC2 Fleet should also terminate its
// instances. If you terminate the instances, the EC2 Fleet enters the
// deleted_terminating state. Otherwise, the EC2 Fleet enters the deleted_running
// state, and the instances continue to run until they are interrupted or you
// terminate them manually.
Deletes the specified EC2 Fleet. After you delete an EC2 Fleet, it launches no
new instances. You must specify whether an EC2 Fleet should also terminate its
instances. If you terminate the instances, the EC2 Fleet enters the
deleted_terminating state. Otherwise, the EC2 Fleet enters the deleted_running
state, and the instances continue to run until they are interrupted or you
terminate them manually.
// Deletes the specified EC2 Fleet . After you delete an EC2 Fleet it launches no // new instances . You must specify whether an EC2 Fleet should also terminate its // instances . If you terminate the instances the EC2 Fleet enters the // deleted_terminating state . Otherwise the EC2 Fleet enters the deleted_running // state and the instances continue to run until they are interrupted or you // terminate them manually .
func (c *Client) DeleteFleets(ctx context.Context, params *DeleteFleetsInput, optFns ...func(*Options)) (*DeleteFleetsOutput, error) {
	if params == nil {
		params = &DeleteFleetsInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "DeleteFleets", params, optFns, addOperationDeleteFleetsMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*DeleteFleetsOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) DeleteFleets ( ctx context . Context , params * DeleteFleetsInput , optFns ... func ( * Options ) ) ( * DeleteFleetsOutput , error ) { if params == nil { params = & DeleteFleetsInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationDeleteFleetsMiddlewares ) if err != nil { return nil , err } out := result . ( * DeleteFleetsOutput ) out . ResultMetadata = metadata return out , nil }
Deletes the specified EC2 Fleet.
Deletes the specified EC2 Fleet .