Skip to main content

earth_observation_jobs

Creates, updates, deletes, gets or lists an earth_observation_jobs resource.

Overview

Nameearth_observation_jobs
TypeResource
Idaws.sagemaker_geospatial.earth_observation_jobs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
arnstringThe Amazon Resource Name (ARN) of the Earth Observation job.
creation_timestring (date-time)The creation time of the initiated Earth Observation job.
duration_in_secondsintegerThe duration of Earth Observation job, in seconds.
error_detailsobjectDetails about the errors generated during the Earth Observation job.
execution_role_arnstringThe Amazon Resource Name (ARN) of the IAM role that you specified for the job. (pattern: <code>^arn:(aws[a-z-]*):iam::([0-9]{12}):role/[a-zA-Z0-9+=,.@_/-]+$</code>)
export_error_detailsobjectDetails about the errors generated during ExportEarthObservationJob.
export_statusstringThe status of the Earth Observation job. (IN_PROGRESS, SUCCEEDED, FAILED)
input_configobjectInput data for the Earth Observation job.
job_configobjectAn object containing information about the job configuration.
kms_key_idstringThe Key Management Service key ID for server-side encryption.
namestringThe name of the Earth Observation job.
output_bandsarrayBands available in the output of an operation.
statusstringThe status of a previously initiated Earth Observation job. (INITIALIZING, IN_PROGRESS, STOPPING, COMPLETED, STOPPED, FAILED, DELETING, DELETED)
tagsobjectEach tag consists of a key and a value.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_earth_observation_jobselectarn, regionGet the details for a previously initiated Earth Observation job.
list_earth_observation_jobsselectregionUse this operation to get a list of the Earth Observation jobs associated with the calling Amazon Web Services account.
delete_earth_observation_jobdeletearn, regionUse this operation to delete an Earth Observation job.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
arnstringThe Amazon Resource Name (ARN) of the Earth Observation job being deleted.
regionstringAWS region (default: us-east-1)

SELECT examples

Get the details for a previously initiated Earth Observation job.

SELECT
arn,
creation_time,
duration_in_seconds,
error_details,
execution_role_arn,
export_error_details,
export_status,
input_config,
job_config,
kms_key_id,
name,
output_bands,
status,
tags
FROM aws.sagemaker_geospatial.earth_observation_jobs
WHERE arn = '{{ arn }}' -- required
AND region = '{{ region }}' -- required
;

DELETE examples

Use this operation to delete an Earth Observation job.

DELETE FROM aws.sagemaker_geospatial.earth_observation_jobs
WHERE arn = '{{ arn }}' --required
AND region = '{{ region }}' --required
;