Get a task definition

Retrieves a task definition by its type name.