Skip to main content

preview_rotation_shifts

Creates, updates, deletes, gets or lists a preview_rotation_shifts resource.

Overview

Namepreview_rotation_shifts
TypeResource
Idaws.ssm_contacts.preview_rotation_shifts

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
contact_idsarrayThe Amazon Resource Names (ARNs) of the contacts who are part of the shift rotation.
end_timestring (date-time)The time a shift rotation ends.
shift_detailsobjectAdditional information about an on-call rotation shift.
start_timestring (date-time)The time a shift rotation begins.
typestringThe type of shift rotation. (REGULAR, OVERRIDDEN)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_preview_rotation_shiftsselectregionReturns 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

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
;