'Returns the list of domains registered in the account. The
results may be split into multiple pages. To retrieve
subsequent pages, make the call again using the nextPageToken
returned by the initial call.
:type registration_status: string
:param registration_status: Specifies the registration status
of the domains to list.  Valid Values:
* REGISTERED
* DEPRECATED
: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 result has more than one
page. 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 domains.
:raises: SWFOperationNotPermittedError'

def list_domains(self, registration_status, maximum_page_size=None, next_page_token=None, reverse_order=None):

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