Skip to content

/AWS1/CL_SMC=>CREATEROTATION()

About CreateRotation

Creates a rotation in an on-call schedule.

Method Signature

IMPORTING

Required arguments:

IV_NAME TYPE /AWS1/SMCROTATIONNAME /AWS1/SMCROTATIONNAME

The name of the rotation.

IT_CONTACTIDS TYPE /AWS1/CL_SMCROTATIONCONTACTS00=>TT_ROTATIONCONTACTSARNLIST TT_ROTATIONCONTACTSARNLIST

The Amazon Resource Names (ARNs) of the contacts to add to the rotation.

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.

IV_TIMEZONEID TYPE /AWS1/SMCTIMEZONEID /AWS1/SMCTIMEZONEID

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) and Pacific Daylight Time (PDT), are not supported.

IO_RECURRENCE TYPE REF TO /AWS1/CL_SMCRECURRENCESETTINGS /AWS1/CL_SMCRECURRENCESETTINGS

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

Optional arguments:

IV_STARTTIME TYPE /AWS1/SMCDATETIME /AWS1/SMCDATETIME

The date and time that the rotation goes into effect.

IT_TAGS TYPE /AWS1/CL_SMCTAG=>TT_TAGSLIST TT_TAGSLIST

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.

IV_IDEMPOTENCYTOKEN TYPE /AWS1/SMCIDEMPOTENCYTOKEN /AWS1/SMCIDEMPOTENCYTOKEN

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

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SMCCREATEROTATIONRSLT /AWS1/CL_SMCCREATEROTATIONRSLT