Skip to content

List Imports

cloudtrail_list_imports R Documentation

Returns information on all imports, or a select set of imports by ImportStatus or Destination

Description

Returns information on all imports, or a select set of imports by ImportStatus or Destination.

Usage

cloudtrail_list_imports(MaxResults, Destination, ImportStatus,
  NextToken)

Arguments

MaxResults

The maximum number of imports to display on a single page.

Destination

The ARN of the destination event data store.

ImportStatus

The status of the import.

NextToken

A token you can use to get the next page of import results.

Value

A list with the following syntax:

list(
  Imports = list(
    list(
      ImportId = "string",
      ImportStatus = "INITIALIZING"|"IN_PROGRESS"|"FAILED"|"STOPPED"|"COMPLETED",
      Destinations = list(
        "string"
      ),
      CreatedTimestamp = as.POSIXct(
        "2015-01-01"
      ),
      UpdatedTimestamp = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_imports(
  MaxResults = 123,
  Destination = "string",
  ImportStatus = "INITIALIZING"|"IN_PROGRESS"|"FAILED"|"STOPPED"|"COMPLETED",
  NextToken = "string"
)