Skip to content

/AWS1/CL_SE2EXPORTDESTINATION

An object that contains details about the destination of the export job.

When you create an export job, specify only DataFormat. SES writes the export file to a location that it manages. After the job completes, call GetExportJob and use the S3Url that's returned to download the file. To store a copy in your own Amazon S3 bucket, upload the downloaded file to your bucket. Do not include S3Url in the CreateExportJob request.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_dataformat TYPE /AWS1/SE2DATAFORMAT /AWS1/SE2DATAFORMAT

The data format of the final export job file, can be one of the following:

  • CSV - A comma-separated values file.

  • JSON - A Json file.

Optional arguments:

iv_s3url TYPE /AWS1/SE2S3URL /AWS1/SE2S3URL

An Amazon S3 pre-signed URL that points to the generated export file.

SES sets this value. It's returned only in the GetExportJob response, after the export job status is COMPLETED. The URL expires five minutes after GetExportJob returns it. Call GetExportJob again to get a new URL. If you include this field in a CreateExportJob request, the request fails with a BadRequestException.


Queryable Attributes

DataFormat

The data format of the final export job file, can be one of the following:

  • CSV - A comma-separated values file.

  • JSON - A Json file.

Accessible with the following methods

Method Description
GET_DATAFORMAT() Getter for DATAFORMAT, with configurable default
ASK_DATAFORMAT() Getter for DATAFORMAT w/ exceptions if field has no value
HAS_DATAFORMAT() Determine if DATAFORMAT has a value

S3Url

An Amazon S3 pre-signed URL that points to the generated export file.

SES sets this value. It's returned only in the GetExportJob response, after the export job status is COMPLETED. The URL expires five minutes after GetExportJob returns it. Call GetExportJob again to get a new URL. If you include this field in a CreateExportJob request, the request fails with a BadRequestException.

Accessible with the following methods

Method Description
GET_S3URL() Getter for S3URL, with configurable default
ASK_S3URL() Getter for S3URL w/ exceptions if field has no value
HAS_S3URL() Determine if S3URL has a value