Skip to content

Cancel Import Task

cloudwatchlogs_cancel_import_task R Documentation

Cancels an active import task and stops importing data from the CloudTrail Lake Event Data Store

Description

Cancels an active import task and stops importing data from the CloudTrail Lake Event Data Store.

Usage

cloudwatchlogs_cancel_import_task(importId)

Arguments

importId

[required] The ID of the import task to cancel.

Value

A list with the following syntax:

list(
  importId = "string",
  importStatistics = list(
    bytesImported = 123
  ),
  importStatus = "IN_PROGRESS"|"CANCELLED"|"COMPLETED"|"FAILED",
  creationTime = 123,
  lastUpdatedTime = 123
)

Request syntax

svc$cancel_import_task(
  importId = "string"
)