'Returns information about workflow types in the specified
domain. The results may be split into multiple pages that can
be retrieved by making the call repeatedly.
:type domain: string
:param domain: The name of the domain in which the workflow
types have been registered.
:type registration_status: string
:param registration_status: Specifies the registration status
of the activity types to list.  Valid values are:
* REGISTERED
* DEPRECATED
:type name: string
:param name: If specified, lists the workflow type with this name.
:type maximum_page_size: integer
:param maximum_page_size: The maximum number of results
returned in each page. The default is 100, but the caller can
override this value to a page size smaller than the
default. You cannot specify a page size greater than 100.
:type next_page_token: string
:param next_page_token: If on a previous call to this method a
NextPageToken was returned, the results are being
paginated. To get the next page of results, repeat the call
with the returned token and all other arguments unchanged.
:type reverse_order: boolean
:param reverse_order: When set to true, returns the results in
reverse order. By default the results are returned in
ascending alphabetical order of the name of the workflow
types.
:raises: SWFOperationNotPermittedError, UnknownResourceFault'

def list_workflow_types(self, domain, registration_status, maximum_page_size=None, name=None, next_page_token=None, reverse_order=None):

    return self.json_request('ListWorkflowTypes', {'domain': domain, 'name': name, 'registrationStatus': registration_status, 'maximumPageSize': maximum_page_size, 'nextPageToken': next_page_token, 'reverseOrder': reverse_order})
