Skip to content

Lists and describes import tasks, with optional filtering by import status and source ARN

Description

Lists and describes import tasks, with optional filtering by import status and source ARN.

Usage

cloudwatchlogs_describe_import_tasks(importId, importStatus,
  importSourceArn, limit, nextToken)

Arguments

  • importId

    Optional filter to describe a specific import task by its ID.

  • importStatus

    Optional filter to list imports by their status. Valid values are IN_PROGRESS, CANCELLED, COMPLETED and FAILED.

  • importSourceArn

    Optional filter to list imports from a specific source

  • limit

    The maximum number of import tasks to return in the response. Default: 50

  • nextToken

    The pagination token for the next set of results.

Value

A list with the following syntax:

list(
  imports = list(
    list(
      importId = "string",
      importSourceArn = "string",
      importStatus = "IN_PROGRESS"|"CANCELLED"|"COMPLETED"|"FAILED",
      importDestinationArn = "string",
      importStatistics = list(
        bytesImported = 123
      ),
      importFilter = list(
        startEventTime = 123,
        endEventTime = 123
      ),
      creationTime = 123,
      lastUpdatedTime = 123,
      errorMessage = "string"
    )
  ),
  nextToken = "string"
)

Request syntax

svc$describe_import_tasks(
  importId = "string",
  importStatus = "IN_PROGRESS"|"CANCELLED"|"COMPLETED"|"FAILED",
  importSourceArn = "string",
  limit = 123,
  nextToken = "string"
)