import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListRotationOverridesRequest, ListRotationOverridesResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListRotationOverridesCommand}. */ export interface ListRotationOverridesCommandInput extends ListRotationOverridesRequest { } /** * @public * * The output of {@link ListRotationOverridesCommand}. */ export interface ListRotationOverridesCommandOutput extends ListRotationOverridesResult, __MetadataBearer { } declare const ListRotationOverridesCommand_base: { new (input: ListRotationOverridesCommandInput): import("@smithy/core/client").CommandImpl; new (input: ListRotationOverridesCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Retrieves a list of overrides currently specified for an on-call rotation.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SSMContactsClient, ListRotationOverridesCommand } from "@aws-sdk/client-ssm-contacts"; // ES Modules import * // const { SSMContactsClient, ListRotationOverridesCommand } = require("@aws-sdk/client-ssm-contacts"); // CommonJS import * // import type { SSMContactsClientConfig } from "@aws-sdk/client-ssm-contacts"; * const config = {}; // type is SSMContactsClientConfig * const client = new SSMContactsClient(config); * const input = { // ListRotationOverridesRequest * RotationId: "STRING_VALUE", // required * StartTime: new Date("TIMESTAMP"), // required * EndTime: new Date("TIMESTAMP"), // required * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * }; * const command = new ListRotationOverridesCommand(input); * const response = await client.send(command); * // { // ListRotationOverridesResult * // RotationOverrides: [ // RotationOverrides * // { // RotationOverride * // RotationOverrideId: "STRING_VALUE", // required * // NewContactIds: [ // SsmContactsArnList // required * // "STRING_VALUE", * // ], * // StartTime: new Date("TIMESTAMP"), // required * // EndTime: new Date("TIMESTAMP"), // required * // CreateTime: new Date("TIMESTAMP"), // required * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListRotationOverridesCommandInput - {@link ListRotationOverridesCommandInput} * @returns {@link ListRotationOverridesCommandOutput} * @see {@link ListRotationOverridesCommandInput} for command's `input` shape. * @see {@link ListRotationOverridesCommandOutput} for command's `response` shape. * @see {@link SSMContactsClientResolvedConfig | config} for SSMContactsClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You don't have sufficient access to perform this operation.

* * @throws {@link InternalServerException} (server fault) *

Unexpected error occurred while processing the request.

* * @throws {@link ResourceNotFoundException} (client fault) *

Request references a resource that doesn't exist.

* * @throws {@link ThrottlingException} (client fault) *

The request was denied due to request throttling.

* * @throws {@link ValidationException} (client fault) *

The input fails to satisfy the constraints specified by an Amazon Web Services * service.

* * @throws {@link SSMContactsServiceException} *

Base exception class for all service exceptions from SSMContacts service.

* * * @public */ export declare class ListRotationOverridesCommand extends ListRotationOverridesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListRotationOverridesRequest; output: ListRotationOverridesResult; }; sdk: { input: ListRotationOverridesCommandInput; output: ListRotationOverridesCommandOutput; }; }; }