Skip to content

Create Rotation Override

ssmcontacts_create_rotation_override R Documentation

Creates an override for a rotation in an on-call schedule

Description

Creates an override for a rotation in an on-call schedule.

Usage

ssmcontacts_create_rotation_override(RotationId, NewContactIds,
  StartTime, EndTime, IdempotencyToken)

Arguments

RotationId

[required] The Amazon Resource Name (ARN) of the rotation to create an override for.

NewContactIds

[required] The Amazon Resource Names (ARNs) of the contacts to replace those in the current on-call rotation with.

If you want to include any current team members in the override shift, you must include their ARNs in the new contact ID list.

StartTime

[required] The date and time when the override goes into effect.

EndTime

[required] The date and time when the override ends.

IdempotencyToken

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

Value

A list with the following syntax:

list(
  RotationOverrideId = "string"
)

Request syntax

svc$create_rotation_override(
  RotationId = "string",
  NewContactIds = list(
    "string"
  ),
  StartTime = as.POSIXct(
    "2015-01-01"
  ),
  EndTime = as.POSIXct(
    "2015-01-01"
  ),
  IdempotencyToken = "string"
)