update_directories
Creates, updates, deletes, gets or lists a update_directories resource.
Overview
| Name | update_directories |
| Type | Resource |
| Id | aws.ds.update_directories |
Fields
The following fields are returned by SELECT queries:
- describe_update_directory
| Name | Datatype | Description |
|---|---|---|
initiated_by | string | This specifies if the update was initiated by the customer or by the service team. |
last_updated_date_time | string (date-time) | The last updated date and time of a particular directory setting. |
new_value | object | The new value of the target setting. |
previous_value | object | The old value of the target setting. |
region | string | The name of the Region. |
start_time | string (date-time) | The start time of the UpdateDirectorySetup for the particular type. |
status | string | The status of the update performed on the directory. (Updated, Updating, UpdateFailed) |
status_reason | string | The reason for the current status of the update type activity. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
describe_update_directory | select | region | Describes the updates of a directory for a particular update type. |
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_update_directory
Describes the updates of a directory for a particular update type.
SELECT
initiated_by,
last_updated_date_time,
new_value,
previous_value,
region,
start_time,
status,
status_reason
FROM aws.ds.update_directories
WHERE region = '{{ region }}' -- required
;