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

********************
list_archive_exports
********************



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

  

  Returns a list of email archive export jobs.

  

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


  **Request Syntax**
  ::

    response = client.list_archive_exports(
        ArchiveId='string',
        NextToken='string',
        PageSize=123
    )
    
  :type ArchiveId: string
  :param ArchiveId: **[REQUIRED]** 

    The identifier of the archive.

    

  
  :type NextToken: string
  :param NextToken: 

    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.

    

  
  :type PageSize: integer
  :param PageSize: 

    The maximum number of archive export jobs that are returned per call. You can use NextToken to obtain further pages of archives.

    

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

    
    ::

      {
          'Exports': [
              {
                  'ExportId': 'string',
                  'Status': {
                      'SubmissionTimestamp': datetime(2015, 1, 1),
                      'CompletionTimestamp': datetime(2015, 1, 1),
                      'State': 'QUEUED'|'PREPROCESSING'|'PROCESSING'|'COMPLETED'|'FAILED'|'CANCELLED',
                      'ErrorMessage': 'string'
                  }
              },
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 

      The response containing a list of archive export jobs and their statuses.

      
      

      - **Exports** *(list) --* 

        The list of export job identifiers and statuses.

        
        

        - *(dict) --* 

          Summary statuses of an archive export job.

          
          

          - **ExportId** *(string) --* 

            The unique identifier of the export job.

            
          

          - **Status** *(dict) --* 

            The current status of the export job.

            
            

            - **SubmissionTimestamp** *(datetime) --* 

              The timestamp of when the export job was submitted.

              
            

            - **CompletionTimestamp** *(datetime) --* 

              The timestamp of when the export job completed (if finished).

              
            

            - **State** *(string) --* 

              The current state of the export job.

              
            

            - **ErrorMessage** *(string) --* 

              An error message if the export job failed.

              
        
      
    
      

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

        If present, use to retrieve the next page of results.

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

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

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

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

  