ListRotationShifts
Source:
src/AWS/SSMContacts/ListRotationShifts.ts
Runtime binding for ssm-contacts:ListRotationShifts.
List the bound rotation’s shifts in a time window — who is (or will
be) on call and when. The rotation’s ARN is injected as RotationId.
Provide the implementation with
Effect.provide(AWS.SSMContacts.ListRotationShiftsHttp).
Managing On-Call Rotations
Section titled “Managing On-Call Rotations”const listRotationShifts = yield* AWS.SSMContacts.ListRotationShifts(rotation);
const { RotationShifts } = yield* listRotationShifts({ EndTime: new Date(Date.now() + 7 * 24 * 60 * 60 * 1000),});