:doc:`MailManager <../../mailmanager>` / Client / list_address_lists

******************
list_address_lists
******************



.. py:method:: MailManager.Client.list_address_lists(**kwargs)

  

  Lists address lists for this account.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/ListAddressLists>`_  


  **Request Syntax**
  ::

    response = client.list_address_lists(
        NextToken='string',
        PageSize=123
    )
    
  :type NextToken: string
  :param NextToken: 

    If you received a pagination token from a previous call to this API, you can provide it here to continue paginating through the next page of results.

    

  
  :type PageSize: integer
  :param PageSize: 

    The maximum number of address list resources that are returned per call. You can use NextToken to retrieve the next page of address lists.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'AddressLists': [
              {
                  'AddressListId': 'string',
                  'AddressListArn': 'string',
                  'AddressListName': 'string',
                  'CreatedTimestamp': datetime(2015, 1, 1),
                  'LastUpdatedTimestamp': datetime(2015, 1, 1)
              },
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **AddressLists** *(list) --* 

        The list of address lists.

        
        

        - *(dict) --* 

          An address list contains a list of emails and domains that are used in MailManager Ingress endpoints and Rules for email management.

          
          

          - **AddressListId** *(string) --* 

            The identifier of the address list.

            
          

          - **AddressListArn** *(string) --* 

            The Amazon Resource Name (ARN) of the address list.

            
          

          - **AddressListName** *(string) --* 

            The user-friendly name of the address list.

            
          

          - **CreatedTimestamp** *(datetime) --* 

            The timestamp of when the address list was created.

            
          

          - **LastUpdatedTimestamp** *(datetime) --* 

            The timestamp of when the address list was last updated.

            
      
    
      

      - **NextToken** *(string) --* 

        If NextToken is returned, there are more results available. The value of NextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.

        
  
  **Exceptions**
  
  *   :py:class:`MailManager.Client.exceptions.ValidationException`

  
  *   :py:class:`MailManager.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`MailManager.Client.exceptions.ThrottlingException`

  