baseline_operations
Creates, updates, deletes, gets or lists a baseline_operations resource.
Overview
| Name | baseline_operations |
| Type | Resource |
| Id | aws.controltower.baseline_operations |
Fields
The following fields are returned by SELECT queries:
- get_baseline_operation
| Name | Datatype | Description |
|---|---|---|
end_time | string (date-time) | The end time of the operation (if applicable), in ISO 8601 format. |
operation_identifier | string | The identifier of the specified operation. (pattern: <code>[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}</code>) |
operation_type | string | An enumerated type (enum) with possible values of ENABLE_BASELINE, DISABLE_BASELINE, UPDATE_ENABLED_BASELINE, or RESET_ENABLED_BASELINE. (ENABLE_BASELINE, DISABLE_BASELINE, UPDATE_ENABLED_BASELINE, RESET_ENABLED_BASELINE) |
start_time | string (date-time) | The start time of the operation, in ISO 8601 format. |
status | string | An enumerated type (enum) with possible values of SUCCEEDED, FAILED, or IN_PROGRESS. (SUCCEEDED, FAILED, IN_PROGRESS) |
status_message | string | A status message that gives more information about the operation's status, if applicable. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_baseline_operation | select | region | Returns the details of an asynchronous baseline operation, as initiated by any of these APIs: EnableBaseline, DisableBaseline, UpdateEnabledBaseline, ResetEnabledBaseline. A status message is displayed in case of operation failure. For usage examples, see the Amazon Web Services Control Tower User Guide . |
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
- get_baseline_operation
Returns the details of an asynchronous baseline operation, as initiated by any of these APIs: EnableBaseline, DisableBaseline, UpdateEnabledBaseline, ResetEnabledBaseline. A status message is displayed in case of operation failure. For usage examples, see the Amazon Web Services Control Tower User Guide .
SELECT
end_time,
operation_identifier,
operation_type,
start_time,
status,
status_message
FROM aws.controltower.baseline_operations
WHERE region = '{{ region }}' -- required
;