UpdateHoursOfOperationOverride - Amazon Connect

UpdateHoursOfOperationOverride

Update the hours of operation override.

Request Syntax

POST /hours-of-operations/InstanceId/HoursOfOperationId/overrides/HoursOfOperationOverrideId HTTP/1.1 Content-type: application/json { "Config": [ { "Day": "string", "EndTime": { "Hours": number, "Minutes": number }, "StartTime": { "Hours": number, "Minutes": number } } ], "Description": "string", "EffectiveFrom": "string", "EffectiveTill": "string", "Name": "string" }

URI Request Parameters

The request uses the following URI parameters.

HoursOfOperationId

The identifier for the hours of operation.

Required: Yes

HoursOfOperationOverrideId

The identifier for the hours of operation override.

Length Constraints: Minimum length of 1. Maximum length of 36.

Required: Yes

InstanceId

The identifier of the Amazon Connect instance.

Length Constraints: Minimum length of 1. Maximum length of 100.

Required: Yes

Request Body

The request accepts the following data in JSON format.

Config

Configuration information for the hours of operation override: day, start time, and end time.

Type: Array of HoursOfOperationOverrideConfig objects

Array Members: Minimum number of 0 items. Maximum number of 100 items.

Required: No

Description

The description of the hours of operation override.

Type: String

Pattern: ^[\P{C}\r\n\t]{1,250}$

Required: No

EffectiveFrom

The date from when the hours of operation override would be effective.

Type: String

Pattern: ^\d{4}-\d{2}-\d{2}$

Required: No

EffectiveTill

The date till when the hours of operation override would be effective.

Type: String

Pattern: ^\d{4}-\d{2}-\d{2}$

Required: No

Name

The name of the hours of operation override.

Type: String

Pattern: ^[\P{C}\r\n\t]{1,127}$

Required: No

Response Syntax

HTTP/1.1 200

Response Elements

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

Errors

For information about the errors that are common to all actions, see Common Errors.

ConditionalOperationFailedException

Request processing failed because dependent condition failed.

HTTP Status Code: 409

DuplicateResourceException

A resource with the specified name already exists.

HTTP Status Code: 409

InternalServiceException

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

HTTP Status Code: 500

InvalidParameterException

One or more of the specified parameters are not valid.

HTTP Status Code: 400

InvalidRequestException

The request is not valid.

HTTP Status Code: 400

ResourceNotFoundException

The specified resource was not found.

HTTP Status Code: 404

ThrottlingException

The throttling limit has been exceeded.

HTTP Status Code: 429

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: