Skip to main content

rotation_shifts

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

Overview

Namerotation_shifts
TypeResource
Idaws.ssm_contacts.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_rotation_shiftsselectregionReturns a list of shifts generated by an existing rotation in the system.

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 generated by an existing rotation in the system.

SELECT
contact_ids,
end_time,
shift_details,
start_time,
type
FROM aws.ssm_contacts.rotation_shifts
WHERE region = '{{ region }}' -- required
;