import_task_batches
Creates, updates, deletes, gets or lists an import_task_batches resource.
Overview
| Name | import_task_batches |
| Type | Resource |
| Id | aws.logs.import_task_batches |
Fields
The following fields are returned by SELECT queries:
- describe_import_task_batches
| Name | Datatype | Description |
|---|---|---|
import_batches | array | The list of import batches that match the request filters. |
import_id | string | The ID of the import task. (pattern: <code>[-a-zA-Z0-9]+</code>) |
import_source_arn | string | The ARN of the source being imported from. |
next_token | string | The token for the next set of items to return. The token expires after 24 hours. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
describe_import_task_batches | select | region | Gets detailed information about the individual batches within an import task, including their status and any error messages. For CloudTrail Event Data Store sources, a batch refers to a subset of stored events grouped by their eventTime. |
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
- describe_import_task_batches
Gets detailed information about the individual batches within an import task, including their status and any error messages. For CloudTrail Event Data Store sources, a batch refers to a subset of stored events grouped by their eventTime.
SELECT
import_batches,
import_id,
import_source_arn,
next_token
FROM aws.logs.import_task_batches
WHERE region = '{{ region }}' -- required
;