Skip to content

Describe Export Tasks

cloudwatchlogs_describe_export_tasks R Documentation

Lists the specified export tasks

Description

Lists the specified export tasks. You can list all your export tasks or filter the results based on task ID or task status.

Usage

cloudwatchlogs_describe_export_tasks(taskId, statusCode, nextToken,
  limit)

Arguments

taskId

The ID of the export task. Specifying a task ID filters the results to one or zero export tasks.

statusCode

The status code of the export task. Specifying a status code filters the results to zero or more export tasks.

nextToken

The token for the next set of items to return. (You received this token from a previous call.)

limit

The maximum number of items returned. If you don't specify a value, the default is up to 50 items.

Value

A list with the following syntax:

list(
  exportTasks = list(
    list(
      taskId = "string",
      taskName = "string",
      logGroupName = "string",
      from = 123,
      to = 123,
      destination = "string",
      destinationPrefix = "string",
      status = list(
        code = "CANCELLED"|"COMPLETED"|"FAILED"|"PENDING"|"PENDING_CANCEL"|"RUNNING",
        message = "string"
      ),
      executionInfo = list(
        creationTime = 123,
        completionTime = 123
      )
    )
  ),
  nextToken = "string"
)

Request syntax

svc$describe_export_tasks(
  taskId = "string",
  statusCode = "CANCELLED"|"COMPLETED"|"FAILED"|"PENDING"|"PENDING_CANCEL"|"RUNNING",
  nextToken = "string",
  limit = 123
)