Skip to main content

import_failures

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

Overview​

Nameimport_failures
TypeResource
Idaws.cloudtrail.import_failures

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
error_messagestringProvides the reason the import failed.
error_typestringThe type of import error.
last_updated_timestring (date-time)When the import was last updated.
locationstringThe location of the failure in the S3 bucket.
statusstringThe status of the import. (FAILED, RETRY, SUCCEEDED)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_import_failuresselectregionReturns a list of failures for the specified import.

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​

Returns a list of failures for the specified import.

SELECT
error_message,
error_type,
last_updated_time,
location,
status
FROM aws.cloudtrail.import_failures
WHERE region = '{{ region }}' -- required
;