Values.CreateRotationRequestSourceCreates a rotation in an on-call schedule.
type nonrec t = {name : RotationName.t;The name of the rotation.
*)contactIds : RotationContactsArnList.t;The Amazon Resource Names (ARNs) of the contacts to add to the rotation. Only the PERSONAL contact type is supported. The contact types ESCALATION and ONCALL_SCHEDULE are not supported for this operation. The order that you list the contacts in is their shift order in the rotation schedule. To change the order of the contact's shifts, use the UpdateRotation operation.
*)startTime : DateTime.t option;The date and time that the rotation goes into effect.
*)timeZoneId : TimeZoneId.t;The time zone to base the rotation’s activity on in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or "Asia/Seoul". For more information, see the Time Zone Database on the IANA website. Designators for time zones that don’t support Daylight Savings Time rules, such as Pacific Standard Time (PST), are not supported.
*)recurrence : RecurrenceSettings.t;Information about the rule that specifies when a shift's team members rotate.
*)idempotencyToken : IdempotencyToken.t option;A token that ensures that the operation is called only once with the specified details.
*)}val make :
?startTime:??? ->
?tags:??? ->
?idempotencyToken:??? ->
name:RotationName.t ->
contactIds:RotationContactsArnList.t ->
timeZoneId:TimeZoneId.t ->
recurrence:RecurrenceSettings.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `String of SsmContactsArn.t
| `Structure of (string * [> `String of TagKey.t ]) list ]
list
| `String of RotationName.t
| `Structure of
(string
* [> `Integer of NumberOfOnCalls.t
| `List of
[> `Structure of
(string
* [> `Enum of string
| `Integer of DayOfMonth.t
| `Structure of
(string * [> `Integer of HourOfDay.t ]) list ])
list ]
list
| `Map of
([> `Enum of string ]
* [> `List of
[> `Structure of
(string
* [> `Structure of
(string * [> `Integer of HourOfDay.t ])
list ])
list ]
list ])
list ])
list
| `Timestamp of DateTime.t ])
list ]