def list_directories(NextToken=None, MaxResults=None, state=None):
    """
    Lists directories created within an account.
    See also: AWS API Documentation
    
    
    :example: response = client.list_directories(
        NextToken='string',
        MaxResults=123,
        state='ENABLED'|'DISABLED'|'DELETED'
    )
    
    
    :type NextToken: string
    :param NextToken: The pagination token.

    :type MaxResults: integer
    :param MaxResults: The maximum number of results to retrieve.

    :type state: string
    :param state: The state of the directories in the list. Can be either Enabled, Disabled, or Deleted.

    :rtype: dict
    :return: {
        'Directories': [
            {
                'Name': 'string',
                'DirectoryArn': 'string',
                'State': 'ENABLED'|'DISABLED'|'DELETED',
                'CreationDateTime': datetime(2015, 1, 1)
            },
        ],
        'NextToken': 'string'
    }
    
    
    """
    pass
