Module Values.CreateRotationRequestSource

Creates a rotation in an on-call schedule.

Sourcetype nonrec t = {
  1. name : RotationName.t;
    (*

    The name of the rotation.

    *)
  2. 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.

    *)
  3. startTime : DateTime.t option;
    (*

    The date and time that the rotation goes into effect.

    *)
  4. 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.

    *)
  5. recurrence : RecurrenceSettings.t;
    (*

    Information about the rule that specifies when a shift's team members rotate.

    *)
  6. tags : TagsList.t option;
    (*

    Optional metadata to assign to the rotation. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For more information, see Tagging Incident Manager resources in the Incident Manager User Guide.

    *)
  7. idempotencyToken : IdempotencyToken.t option;
    (*

    A token that ensures that the operation is called only once with the specified details.

    *)
}
Sourceval context_ : string
Sourceval make : ?startTime:??? -> ?tags:??? -> ?idempotencyToken:??? -> name:RotationName.t -> contactIds:RotationContactsArnList.t -> timeZoneId:TimeZoneId.t -> recurrence:RecurrenceSettings.t -> unit -> t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t