SWF / Paginator / ListActivityTypes


class SWF.Paginator.ListActivityTypes#
paginator = client.get_paginator('list_activity_types')

Creates an iterator that will paginate through responses from SWF.Client.list_activity_types().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
  • domain (string) –


    The name of the domain in which the activity types have been registered.

  • name (string) – If specified, only lists the activity types that have this name.

  • registrationStatus (string) –


    Specifies the registration status of the activity types to list.

  • reverseOrder (boolean) – When set to true, returns the results in reverse order. By default, the results are returned in ascending alphabetical order by name of the activity types.

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type:



Response Syntax

    'typeInfos': [
            'activityType': {
                'name': 'string',
                'version': 'string'
            'status': 'REGISTERED'|'DEPRECATED',
            'description': 'string',
            'creationDate': datetime(2015, 1, 1),
            'deprecationDate': datetime(2015, 1, 1)
    'NextToken': 'string'

Response Structure

  • (dict) –

    Contains a paginated list of activity type information structures.

    • typeInfos (list) –

      List of activity type information.

      • (dict) –

        Detailed information about an activity type.

        • activityType (dict) –

          The ActivityType type structure representing the activity type.

          • name (string) –

            The name of this activity.


            The combination of activity type name and version must be unique within a domain.

          • version (string) –

            The version of this activity.


            The combination of activity type name and version must be unique with in a domain.

        • status (string) –

          The current status of the activity type.

        • description (string) –

          The description of the activity type provided in RegisterActivityType.

        • creationDate (datetime) –

          The date and time this activity type was created through RegisterActivityType.

        • deprecationDate (datetime) –

          If DEPRECATED, the date and time DeprecateActivityType was called.

    • NextToken (string) –

      A token to resume pagination.