import type * as ssm from "@distilled.cloud/aws/ssm-contacts"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { Rotation } from "./Rotation.ts"; /** * Runtime binding for `ssm-contacts:CreateRotationOverride`. * * Temporarily override who is on call in the bound rotation — e.g. cover * a shift while the scheduled contact is unavailable. The rotation's ARN * is injected as `RotationId`. * Provide the implementation with * `Effect.provide(AWS.SSMContacts.CreateRotationOverrideHttp)`. * ### Managing On-Call Rotations * **Example:** Cover the Next Eight Hours * ```typescript * const createRotationOverride = * yield* AWS.SSMContacts.CreateRotationOverride(rotation); * * const { RotationOverrideId } = yield* createRotationOverride({ * NewContactIds: [standbyContactArn], * StartTime: new Date(), * EndTime: new Date(Date.now() + 8 * 60 * 60 * 1000), * }); * ``` * * @binding */ export interface CreateRotationOverride extends Binding.Service Effect.Effect<(request: Omit) => Effect.Effect>> { } export declare const CreateRotationOverride: CreateRotationOverride; //# sourceMappingURL=CreateRotationOverride.d.ts.map