---
title: "POST /export-earth-observation-job"
method: POST
path: "/export-earth-observation-job"
---

# POST /export-earth-observation-job

`POST /export-earth-observation-job`

Use this operation to export results of an Earth Observation job and optionally source images used as input to the EOJ to an Amazon S3 location.

## Request body

- object
  - `Arn` string, required — The input Amazon Resource Name (ARN) of the Earth Observation job being exported.
  - `ClientToken` string — A unique token that guarantees that the call to this API is idempotent.
  - `ExecutionRoleArn` string, required — The Amazon Resource Name (ARN) of the IAM role that you specified for the job.
  - `ExportSourceImages` boolean — The source images provided to the Earth Observation job being exported.
  - `OutputConfig` object, required — The response structure for an OutputConfig returned by an ExportEarthObservationJob.
    - `S3Data` object — Path to Amazon S3 storage location for the output configuration file.
      - `KmsKeyId` string — The Key Management Service key ID for server-side encryption.
      - `S3Uri` string, required — The URL to the Amazon S3 data input.

## Response `200`

Success

- ExportEarthObservationJobOutput
  - `Arn` string, required — The output Amazon Resource Name (ARN) of the Earth Observation job being exported.
  - `CreationTime` string, date-time, required — The creation time.
  - `ExecutionRoleArn` string, required — The Amazon Resource Name (ARN) of the IAM role that you specified for the job.
  - `ExportSourceImages` boolean — The source images provided to the Earth Observation job being exported.
  - `ExportStatus` 'IN_PROGRESS' | 'SUCCEEDED' | 'FAILED', required — The status of the results of the Earth Observation job being exported.
  - `OutputConfig` object, required — An object containing information about the output file.
    - `S3Data` object, required — Path to Amazon S3 storage location for the output configuration file.
      - `KmsKeyId` string — The Key Management Service key ID for server-side encryption.
      - `S3Uri` string, required — The URL to the Amazon S3 data input.

## Other responses

- `480` — ServiceQuotaExceededException
- `481` — AccessDeniedException
- `482` — ValidationException
- `483` — ThrottlingException
- `484` — InternalServerException
- `485` — ResourceNotFoundException
- `486` — ConflictException

---

[API](https://skmtc.net/aws/apis/sagemaker-geospatial.md) · [All operations](https://skmtc.net/aws/apis/sagemaker-geospatial/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/sagemaker-geospatial/versions/cfc9ba4ca4d8/schema)
