func (eC2Manager *EC2Manager) TerminateWorkerType(workerType string) error {
	cd := tcclient.Client(*eC2Manager)
	_, _, err := (&cd).APICall(nil, "DELETE", "/worker-types/"+url.QueryEscape(workerType)+"/resources", nil, nil)
	return err
}
func (eC2Manager *EC2Manager) TerminateWorkerType(workerType string) error {
	cd := tcclient.Client(*eC2Manager)
	_, _, err := (&cd).APICall(nil, "DELETE", "/worker-types/"+url.QueryEscape(workerType)+"/resources", nil, nil)
	return err
}
// Stability: *** EXPERIMENTAL ***
//
// Terminate all instances for this worker type
//
// Required scopes:
//   ec2-manager:manage-resources:<workerType>
//
// See https://docs.taskcluster.net/reference/core/ec2-manager/api-docs#terminateWorkerType