func (eC2Manager *EC2Manager) TerminateInstance(region, instanceId string) error {
	cd := tcclient.Client(*eC2Manager)
	_, _, err := (&cd).APICall(nil, "DELETE", "/region/"+url.QueryEscape(region)+"/instance/"+url.QueryEscape(instanceId), nil, nil)
	return err
}
func (eC2Manager *EC2Manager) TerminateInstance(region, instanceId string) error {
	cd := tcclient.Client(*eC2Manager)
	_, _, err := (&cd).APICall(nil, "DELETE", "/region/"+url.QueryEscape(region)+"/instance/"+url.QueryEscape(instanceId), nil, nil)
	return err
}
// Stability: *** EXPERIMENTAL ***
//
// Terminate an instance in a specified region
//
// Required scopes:
//   Any of:
//   - ec2-manager:manage-instances:<region>:<instanceId>
//   - ec2-manager:manage-resources:<workerType>
//
// See https://docs.taskcluster.net/reference/core/ec2-manager/api-docs#terminateInstance