Skip to content

aws.sesv2.list_import_jobs

Example SQL Queries

SELECT * FROM
aws.sesv2.list_import_jobs;

Description

Lists all of the import jobs.

Table Definition

Column NameColumn Data Type
import_destination_type Input Column

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

VARCHAR
next_token Input Column

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

VARCHAR
page_size Input Column

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.

BIGINT
_aws_profile Input Column

The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role.

STRUCT(
"type" VARCHAR,
"name" VARCHAR,
"account_id" VARCHAR,
"via_profile_name" VARCHAR,
"assumed_role_arn" VARCHAR,
"organization" STRUCT(
"account_name" VARCHAR,
"id" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[],
"master_account" STRUCT(
"id" VARCHAR,
"email" VARCHAR
),
"parents" STRUCT(
"type" VARCHAR,
"id" VARCHAR,
"name" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[]
)[]
)
)
Show child fields
_aws_profile.account_id

The AWS account id

_aws_profile.assumed_role_arn

The ARN of the assumed role

_aws_profile.name

The unique name of the profile.

_aws_profile.organization

Information about this profile's membership in the AWS organization.

Show child fields
_aws_profile.organization.account_name

The name of account speciifed by the organization

_aws_profile.organization.id

The organization id

_aws_profile.organization.master_account
Show child fields
_aws_profile.organization.master_account.email

The organization master account email address

_aws_profile.organization.master_account.id

The organization master account id

_aws_profile.organization.parents[]
Show child fields
_aws_profile.organization.parents[].id

The id of the parent

_aws_profile.organization.parents[].name

The name of the parent

_aws_profile.organization.parents[].tags[]
Show child fields
_aws_profile.organization.parents[].tags[].key
_aws_profile.organization.parents[].tags[].value
_aws_profile.organization.parents[].type

The type of parent can be an organization unit or a root

_aws_profile.organization.tags[]
Show child fields
_aws_profile.organization.tags[].key
_aws_profile.organization.tags[].value
_aws_profile.type

The type of profile, either 'credentials' or 'assumed_role'

_aws_profile.via_profile_name

This IAM role for this profile is assumed by first utilizing another profile with this name to obtain credentials.

import_jobs

A list of the import job summaries.

STRUCT(
"job_id" VARCHAR,
"import_destination" STRUCT(
"suppression_list_destination" STRUCT(
"suppression_list_import_action" VARCHAR
),
"contact_list_destination" STRUCT(
"contact_list_name" VARCHAR,
"contact_list_import_action" VARCHAR
)
),
"job_status" VARCHAR,
"created_timestamp" TIMESTAMP_S,
"processed_records_count" BIGINT,
"failed_records_count" BIGINT
)[]
Show child fields
import_jobs[]
Show child fields
import_jobs[].created_timestamp

The date and time when the import job was created.

import_jobs[].failed_records_count

The number of records that failed processing because of invalid input or other reasons.

import_jobs[].import_destination

An object that contains details about the resource destination the import job is going to target.

Show child fields
import_jobs[].import_destination.contact_list_destination

An object that contains the action of the import job towards a contact list.

Show child fields
import_jobs[].import_destination.contact_list_destination.contact_list_import_action

>The type of action to perform on the addresses. The following are the possible values:

  • PUT: add the addresses to the contact list. If the record already exists, it will override it with the new value.

  • DELETE: remove the addresses from the contact list.

import_jobs[].import_destination.contact_list_destination.contact_list_name

The name of the contact list.

import_jobs[].import_destination.suppression_list_destination

An object that contains the action of the import job towards suppression list.

Show child fields
import_jobs[].import_destination.suppression_list_destination.suppression_list_import_action

The type of action to perform on the address. The following are possible values:

  • PUT: add the addresses to the suppression list. If the record already exists, it will override it with the new value.

  • DELETE: remove the addresses from the suppression list.

import_jobs[].job_id

A string that represents a job ID.

import_jobs[].job_status

The status of a job.

  • CREATED – Job has just been created.

  • PROCESSING – Job is processing.

  • ERROR – An error occurred during processing.

  • COMPLETED – Job has completed processing successfully.

import_jobs[].processed_records_count

The current number of records processed.