Skip to content

List Import Jobs

sesv2_list_import_jobs R Documentation

Lists all of the import jobs

Description

Lists all of the import jobs.

Usage

sesv2_list_import_jobs(ImportDestinationType, NextToken, PageSize)

Arguments

ImportDestinationType

The destination of the import job, which can be used to list import jobs that have a certain ImportDestinationType.

NextToken

A string token indicating that there might be additional import jobs available to be listed. Copy this token to a subsequent call to list_import_jobs with the same parameters to retrieve the next page of import jobs.

PageSize

Maximum number of import jobs to return at once. Use this parameter to paginate results. If additional import jobs exist beyond the specified limit, the NextToken element is sent in the response. Use the NextToken value in subsequent requests to retrieve additional addresses.

Value

A list with the following syntax:

list(
  ImportJobs = list(
    list(
      JobId = "string",
      ImportDestination = list(
        SuppressionListDestination = list(
          SuppressionListImportAction = "DELETE"|"PUT"
        ),
        ContactListDestination = list(
          ContactListName = "string",
          ContactListImportAction = "DELETE"|"PUT"
        )
      ),
      JobStatus = "CREATED"|"PROCESSING"|"COMPLETED"|"FAILED"|"CANCELLED",
      CreatedTimestamp = as.POSIXct(
        "2015-01-01"
      ),
      ProcessedRecordsCount = 123,
      FailedRecordsCount = 123
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_import_jobs(
  ImportDestinationType = "SUPPRESSION_LIST"|"CONTACT_LIST",
  NextToken = "string",
  PageSize = 123
)