Connect / Client / update_hours_of_operation

update_hours_of_operation#

Connect.Client.update_hours_of_operation(**kwargs)#

This API is in preview release for Amazon Connect and is subject to change.

Updates the hours of operation.

See also: AWS API Documentation

Request Syntax

response = client.update_hours_of_operation(
    InstanceId='string',
    HoursOfOperationId='string',
    Name='string',
    Description='string',
    TimeZone='string',
    Config=[
        {
            'Day': 'SUNDAY'|'MONDAY'|'TUESDAY'|'WEDNESDAY'|'THURSDAY'|'FRIDAY'|'SATURDAY',
            'StartTime': {
                'Hours': 123,
                'Minutes': 123
            },
            'EndTime': {
                'Hours': 123,
                'Minutes': 123
            }
        },
    ]
)
Parameters:
  • InstanceId (string) –

    [REQUIRED]

    The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

  • HoursOfOperationId (string) –

    [REQUIRED]

    The identifier of the hours of operation.

  • Name (string) – The name of the hours of operation.

  • Description (string) – The description of the hours of operation.

  • TimeZone (string) – The time zone of the hours of operation.

  • Config (list) –

    Configuration information of the hours of operation.

    • (dict) –

      Contains information about the hours of operation.

      • Day (string) – [REQUIRED]

        The day that the hours of operation applies to.

      • StartTime (dict) – [REQUIRED]

        The start time that your contact center opens.

        • Hours (integer) – [REQUIRED]

          The hours.

        • Minutes (integer) – [REQUIRED]

          The minutes.

      • EndTime (dict) – [REQUIRED]

        The end time that your contact center closes.

        • Hours (integer) – [REQUIRED]

          The hours.

        • Minutes (integer) – [REQUIRED]

          The minutes.

Returns:

None

Exceptions

  • Connect.Client.exceptions.DuplicateResourceException

  • Connect.Client.exceptions.InvalidRequestException

  • Connect.Client.exceptions.InvalidParameterException

  • Connect.Client.exceptions.ResourceNotFoundException

  • Connect.Client.exceptions.ThrottlingException

  • Connect.Client.exceptions.InternalServiceException