Connect / Client / create_hours_of_operation_override
create_hours_of_operation_override#
- Connect.Client.create_hours_of_operation_override(**kwargs)#
Creates an hours of operation override in an Amazon Connect hours of operation resource
See also: AWS API Documentation
Request Syntax
response = client.create_hours_of_operation_override( InstanceId='string', HoursOfOperationId='string', Name='string', Description='string', Config=[ { 'Day': 'SUNDAY'|'MONDAY'|'TUESDAY'|'WEDNESDAY'|'THURSDAY'|'FRIDAY'|'SATURDAY', 'StartTime': { 'Hours': 123, 'Minutes': 123 }, 'EndTime': { 'Hours': 123, 'Minutes': 123 } }, ], EffectiveFrom='string', EffectiveTill='string' )
- Parameters:
InstanceId (string) –
[REQUIRED]
The identifier of the Amazon Connect instance.
HoursOfOperationId (string) –
[REQUIRED]
The identifier for the hours of operation
Name (string) –
[REQUIRED]
The name of the hours of operation override.
Description (string) – The description of the hours of operation override.
Config (list) –
[REQUIRED]
Configuration information for the hours of operation override: day, start time, and end time.
(dict) –
Information about the hours of operation override config: day, start time, and end time.
Day (string) –
The day that the hours of operation override applies to.
StartTime (dict) –
The start time when your contact center opens if overrides are applied.
Hours (integer) – [REQUIRED]
The hours.
Minutes (integer) – [REQUIRED]
The minutes.
EndTime (dict) –
The end time that your contact center closes if overrides are applied.
Hours (integer) – [REQUIRED]
The hours.
Minutes (integer) – [REQUIRED]
The minutes.
EffectiveFrom (string) –
[REQUIRED]
The date from when the hours of operation override would be effective.
EffectiveTill (string) –
[REQUIRED]
The date until when the hours of operation override would be effective.
- Return type:
dict
- Returns:
Response Syntax
{ 'HoursOfOperationOverrideId': 'string' }
Response Structure
(dict) –
HoursOfOperationOverrideId (string) –
The identifier for the hours of operation override.
Exceptions
Connect.Client.exceptions.DuplicateResourceException
Connect.Client.exceptions.InvalidRequestException
Connect.Client.exceptions.InvalidParameterException
Connect.Client.exceptions.ResourceNotFoundException
Connect.Client.exceptions.LimitExceededException
Connect.Client.exceptions.ThrottlingException
Connect.Client.exceptions.InternalServiceException