AWS ses: Document SES-managed export S3Url pre-signed URL behavior
Summary
Adds guidance that export jobs should specify only DataFormat, that SES writes to a managed location, and that S3Url is a pre-signed URL returned only by GetExportJob, expiring after five minutes and rejected if sent in CreateExportJob.
Security assessment
Documents security-relevant behavior of pre-signed URLs (short 5-minute expiry, server-set only, rejected on input) which limits exposure of export data, but it is descriptive guidance rather than a fix for a specific vulnerability.
Evidence
+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`.
Diff
diff --git a/ses/latest/APIReference-V2/API_ExportDestination.md b/ses/latest/APIReference-V2/API_ExportDestination.md index 9aadfa9..21dc882 100644 --- a//ses/latest/APIReference-V2/API_ExportDestination.md +++ b//ses/latest/APIReference-V2/API_ExportDestination.md @@ -12,0 +13,2 @@ 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. + @@ -37,0 +40,2 @@ 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`. +