Skip to content

ExportDestination

Source code in docs_src/capo_sesv2/types/export_destination.py
class ExportDestination(TypedDict, closed=True):
    data_format: "capo_sesv2.types.data_format.DataFormat"
    """<p>The data format of the final export job file, can be one of the following:</p> <ul> <li> <p> <code>CSV</code> - A comma-separated values file.</p> </li> <li> <p> <code>JSON</code> - A Json file.</p> </li> </ul>"""
    s3_url: NotRequired["capo_sesv2.types.s3_url.S3Url"]
    """<p>An Amazon S3 pre-signed URL that points to the generated export file.</p> <p>SES sets this value. It's returned only in the <code>GetExportJob</code> response, after the export job status is <code>COMPLETED</code>. The URL expires five minutes after <code>GetExportJob</code> returns it. Call <code>GetExportJob</code> again to get a new URL. If you include this field in a <code>CreateExportJob</code> request, the request fails with a <code>BadRequestException</code>.</p>"""

data_format instance-attribute

data_format: 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.

s3_url instance-attribute

s3_url: NotRequired[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.