preview_rotation_shifts
Creates, updates, deletes, gets or lists a preview_rotation_shifts resource.
Overview
| Name | preview_rotation_shifts |
| Type | Resource |
| Id | aws.ssm_contacts.preview_rotation_shifts |
Fields
The following fields are returned by SELECT queries:
- list_preview_rotation_shifts
| Name | Datatype | Description |
|---|---|---|
contact_ids | array | The Amazon Resource Names (ARNs) of the contacts who are part of the shift rotation. |
end_time | string (date-time) | The time a shift rotation ends. |
shift_details | object | Additional information about an on-call rotation shift. |
start_time | string (date-time) | The time a shift rotation begins. |
type | string | The type of shift rotation. (REGULAR, OVERRIDDEN) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_preview_rotation_shifts | select | region | Returns a list of shifts based on rotation configuration parameters. The Incident Manager primarily uses this operation to populate the Preview calendar. It is not typically run by end users. |
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_preview_rotation_shifts
Returns a list of shifts based on rotation configuration parameters. The Incident Manager primarily uses this operation to populate the Preview calendar. It is not typically run by end users.
SELECT
contact_ids,
end_time,
shift_details,
start_time,
type
FROM aws.ssm_contacts.preview_rotation_shifts
WHERE region = '{{ region }}' -- required
;