CloudTrail / Paginator / ListImports


class CloudTrail.Paginator.ListImports#
paginator = client.get_paginator('list_imports')

Creates an iterator that will paginate through responses from CloudTrail.Client.list_imports().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
  • Destination (string) – The ARN of the destination event data store.

  • ImportStatus (string) – The status of the import.

  • 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

    'Imports': [
            'ImportId': 'string',
            'Destinations': [
            'CreatedTimestamp': datetime(2015, 1, 1),
            'UpdatedTimestamp': datetime(2015, 1, 1)


Response Structure

  • (dict) –

    • Imports (list) –

      The list of returned imports.

      • (dict) –

        Contains information about an import that was returned by a lookup request.

        • ImportId (string) –

          The ID of the import.

        • ImportStatus (string) –

          The status of the import.

        • Destinations (list) –

          The ARN of the destination event data store.

          • (string) –

        • CreatedTimestamp (datetime) –

          The timestamp of the import’s creation.

        • UpdatedTimestamp (datetime) –

          The timestamp of the import’s last update.