import_failures
Creates, updates, deletes, gets or lists an import_failures resource.
Overview
| Name | import_failures |
| Type | Resource |
| Id | aws.cloudtrail.import_failures |
Fields
The following fields are returned by SELECT queries:
- list_import_failures
| Name | Datatype | Description |
|---|---|---|
error_message | string | Provides the reason the import failed. |
error_type | string | The type of import error. |
last_updated_time | string (date-time) | When the import was last updated. |
location | string | The location of the failure in the S3 bucket. |
status | string | The status of the import. (FAILED, RETRY, SUCCEEDED) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_import_failures | select | region | Returns 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_import_failures
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
;