:doc:`Connect <../../connect>` / Client / update_hours_of_operation

*************************
update_hours_of_operation
*************************



.. py:method:: Connect.Client.update_hours_of_operation(**kwargs)

  

  Updates the hours of operation.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateHoursOfOperation>`_  


  **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
                }
            },
        ]
    )
    
  :type InstanceId: string
  :param InstanceId: **[REQUIRED]** 

    The identifier of the Amazon Connect instance. You can `find the instance ID <https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html>`__ in the Amazon Resource Name (ARN) of the instance.

    

  
  :type HoursOfOperationId: string
  :param HoursOfOperationId: **[REQUIRED]** 

    The identifier of the hours of operation.

    

  
  :type Name: string
  :param Name: 

    The name of the hours of operation.

    

  
  :type Description: string
  :param Description: 

    The description of the hours of operation.

    

  
  :type TimeZone: string
  :param TimeZone: 

    The time zone of the hours of operation.

    

  
  :type Config: list
  :param Config: 

    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**
  
  *   :py:class:`Connect.Client.exceptions.DuplicateResourceException`

  
  *   :py:class:`Connect.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`Connect.Client.exceptions.InvalidParameterException`

  
  *   :py:class:`Connect.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`Connect.Client.exceptions.ThrottlingException`

  
  *   :py:class:`Connect.Client.exceptions.InternalServiceException`

  