Skip to main content

explainability_exports

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

Overview

Nameexplainability_exports
TypeResource
Idaws.forecast.explainability_exports

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
creation_timestring (date-time)When the Explainability export was created.
destinationobjectThe destination for an export job. Provide an S3 path, an Identity and Access Management (IAM) role that allows Amazon Forecast to access the location, and an Key Management Service (KMS) key (optional).
explainability_arnstringThe Amazon Resource Name (ARN) of the Explainability export. (pattern: <code>arn:([a-z\d-]+):forecast:.:.:.+</code>)
explainability_export_arnstringThe Amazon Resource Name (ARN) of the Explainability export. (pattern: <code>arn:([a-z\d-]+):forecast:.:.:.+</code>)
explainability_export_namestringThe name of the Explainability export. (pattern: <code>^[a-zA-Z][a-zA-Z0-9_]*</code>)
formatstringThe format of the exported data, CSV or PARQUET. (pattern: <code>^CSV|PARQUET$</code>)
last_modification_timestring (date-time)The last time the resource was modified. The timestamp depends on the status of the job: CREATE_PENDING - The CreationTime. CREATE_IN_PROGRESS - The current timestamp. CREATE_STOPPING - The current timestamp. CREATE_STOPPED - When the job stopped. ACTIVE or CREATE_FAILED - When the job finished or failed.
messagestringInformation about any errors that occurred during the export.
statusstringThe status of the Explainability export. States include: ACTIVE CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED CREATE_STOPPING, CREATE_STOPPED DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_explainability_exportselectregionDescribes an Explainability export created using the CreateExplainabilityExport operation.
list_explainability_exportsselectregionReturns a list of Explainability exports created using the CreateExplainabilityExport operation. This operation returns a summary for each Explainability export. You can filter the list using an array of Filter objects. To retrieve the complete set of properties for a particular Explainability export, use the ARN with the DescribeExplainability operation.
create_explainability_exportinsertregion, ExplainabilityExportName, ExplainabilityArnExports an Explainability resource created by the CreateExplainability operation. Exported files are exported to an Amazon Simple Storage Service (Amazon S3) bucket. You must specify a DataDestination object that includes an Amazon S3 bucket and an Identity and Access Management (IAM) role that Amazon Forecast can assume to access the Amazon S3 bucket. For more information, see aws-forecast-iam-roles. The Status of the export job must be ACTIVE before you can access the export in your Amazon S3 bucket. To get the status, use the DescribeExplainabilityExport operation.
delete_explainability_exportdeleteregionDeletes an Explainability export.

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
regionstringAWS region (default: us-east-1)

SELECT examples

Describes an Explainability export created using the CreateExplainabilityExport operation.

SELECT
creation_time,
destination,
explainability_arn,
explainability_export_arn,
explainability_export_name,
format,
last_modification_time,
message,
status
FROM aws.forecast.explainability_exports
WHERE region = '{{ region }}' -- required
;

INSERT examples

Exports an Explainability resource created by the CreateExplainability operation. Exported files are exported to an Amazon Simple Storage Service (Amazon S3) bucket. You must specify a DataDestination object that includes an Amazon S3 bucket and an Identity and Access Management (IAM) role that Amazon Forecast can assume to access the Amazon S3 bucket. For more information, see aws-forecast-iam-roles. The Status of the export job must be ACTIVE before you can access the export in your Amazon S3 bucket. To get the status, use the DescribeExplainabilityExport operation.

INSERT INTO aws.forecast.explainability_exports (
ExplainabilityExportName,
ExplainabilityArn,
Destination,
Tags,
Format,
region
)
SELECT
'{{ ExplainabilityExportName }}' /* required */,
'{{ ExplainabilityArn }}' /* required */,
'{{ Destination }}',
'{{ Tags }}',
'{{ Format }}',
'{{ region }}'
RETURNING
explainability_export_arn
;

DELETE examples

Deletes an Explainability export.

DELETE FROM aws.forecast.explainability_exports
WHERE region = '{{ region }}' --required
;