cloudwatchlogs_describe_export_tasks: Lists the specified export tasks

Description Usage Arguments Value Request syntax

View source: R/cloudwatchlogs_operations.R

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

1
2
cloudwatchlogs_describe_export_tasks(taskId, statusCode, nextToken,
  limit)

Arguments

taskId

The ID of the export task. Specifying a task ID filters the results to zero or one 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:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
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

1
2
3
4
5
6
svc$describe_export_tasks(
  taskId = "string",
  statusCode = "CANCELLED"|"COMPLETED"|"FAILED"|"PENDING"|"PENDING_CANCEL"|"RUNNING",
  nextToken = "string",
  limit = 123
)

paws.management documentation built on Aug. 23, 2021, 9:11 a.m.