import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient"; import type { ListHoursOfOperationOverridesRequest, ListHoursOfOperationOverridesResponse } from "../models/models_2"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListHoursOfOperationOverridesCommand}. */ export interface ListHoursOfOperationOverridesCommandInput extends ListHoursOfOperationOverridesRequest { } /** * @public * * The output of {@link ListHoursOfOperationOverridesCommand}. */ export interface ListHoursOfOperationOverridesCommandOutput extends ListHoursOfOperationOverridesResponse, __MetadataBearer { } declare const ListHoursOfOperationOverridesCommand_base: { new (input: ListHoursOfOperationOverridesCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: ListHoursOfOperationOverridesCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

List the hours of operation overrides.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ConnectClient, ListHoursOfOperationOverridesCommand } from "@aws-sdk/client-connect"; // ES Modules import * // const { ConnectClient, ListHoursOfOperationOverridesCommand } = require("@aws-sdk/client-connect"); // CommonJS import * // import type { ConnectClientConfig } from "@aws-sdk/client-connect"; * const config = {}; // type is ConnectClientConfig * const client = new ConnectClient(config); * const input = { // ListHoursOfOperationOverridesRequest * InstanceId: "STRING_VALUE", // required * HoursOfOperationId: "STRING_VALUE", // required * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * }; * const command = new ListHoursOfOperationOverridesCommand(input); * const response = await client.send(command); * // { // ListHoursOfOperationOverridesResponse * // NextToken: "STRING_VALUE", * // HoursOfOperationOverrideList: [ // HoursOfOperationOverrideList * // { // HoursOfOperationOverride * // HoursOfOperationOverrideId: "STRING_VALUE", * // HoursOfOperationId: "STRING_VALUE", * // HoursOfOperationArn: "STRING_VALUE", * // Name: "STRING_VALUE", * // Description: "STRING_VALUE", * // Config: [ // HoursOfOperationOverrideConfigList * // { // HoursOfOperationOverrideConfig * // Day: "SUNDAY" || "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY", * // StartTime: { // OverrideTimeSlice * // Hours: Number("int"), // required * // Minutes: Number("int"), // required * // }, * // EndTime: { * // Hours: Number("int"), // required * // Minutes: Number("int"), // required * // }, * // }, * // ], * // EffectiveFrom: "STRING_VALUE", * // EffectiveTill: "STRING_VALUE", * // RecurrenceConfig: { // RecurrenceConfig * // RecurrencePattern: { // RecurrencePattern * // Frequency: "WEEKLY" || "MONTHLY" || "YEARLY", // required * // Interval: Number("int"), // required * // ByMonth: [ // MonthList * // Number("int"), * // ], * // ByMonthDay: [ // MonthDayList * // Number("int"), * // ], * // ByWeekdayOccurrence: [ // WeekdayOccurrenceList * // Number("int"), * // ], * // }, * // }, * // OverrideType: "STANDARD" || "OPEN" || "CLOSED", * // }, * // ], * // LastModifiedRegion: "STRING_VALUE", * // LastModifiedTime: new Date("TIMESTAMP"), * // }; * * ``` * * @param ListHoursOfOperationOverridesCommandInput - {@link ListHoursOfOperationOverridesCommandInput} * @returns {@link ListHoursOfOperationOverridesCommandOutput} * @see {@link ListHoursOfOperationOverridesCommandInput} for command's `input` shape. * @see {@link ListHoursOfOperationOverridesCommandOutput} for command's `response` shape. * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape. * * @throws {@link InternalServiceException} (server fault) *

Request processing failed because of an error or failure with the service.

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

One or more of the specified parameters are not valid.

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

The request is not valid.

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

The specified resource was not found.

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

The throttling limit has been exceeded.

* * @throws {@link ConnectServiceException} *

Base exception class for all service exceptions from Connect service.

* * * @public */ export declare class ListHoursOfOperationOverridesCommand extends ListHoursOfOperationOverridesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListHoursOfOperationOverridesRequest; output: ListHoursOfOperationOverridesResponse; }; sdk: { input: ListHoursOfOperationOverridesCommandInput; output: ListHoursOfOperationOverridesCommandOutput; }; }; }