inventory_deletions
Creates, updates, deletes, gets or lists an inventory_deletions resource.
Overview
| Name | inventory_deletions |
| Type | Resource |
| Id | aws.ssm.inventory_deletions |
Fields
The following fields are returned by SELECT queries:
- describe_inventory_deletions
| Name | Datatype | Description |
|---|---|---|
deletion_id | string | The deletion ID returned by the DeleteInventory operation. (pattern: <code>[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}</code>) |
deletion_start_time | string (date-time) | The UTC timestamp when the delete operation started. |
deletion_summary | object | Information about the delete operation. For more information about this summary, see Understanding the delete inventory summary in the Amazon Web Services Systems Manager User Guide. |
last_status | string | The status of the operation. Possible values are InProgress and Complete. (InProgress, Complete) |
last_status_message | string | Information about the status. |
last_status_update_time | string (date-time) | The UTC timestamp of when the last status report. |
type_name | string | The name of the inventory data type. (pattern: <code>^(AWS|Custom):.*$</code>) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
describe_inventory_deletions | select | region | Describes a specific delete inventory operation. |
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_inventory_deletions
Describes a specific delete inventory operation.
SELECT
deletion_id,
deletion_start_time,
deletion_summary,
last_status,
last_status_message,
last_status_update_time,
type_name
FROM aws.ssm.inventory_deletions
WHERE region = '{{ region }}' -- required
;