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

*****************************
associate_hours_of_operations
*****************************



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

  

  Associates a set of hours of operations with another hours of operation. Refer to Administrator Guide `here <https://docs.aws.amazon.com/connect/latest/adminguide/hours-of-operation-overrides.html>`__ for more information on inheriting overrides from parent hours of operation(s).

  

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


  **Request Syntax**
  ::

    response = client.associate_hours_of_operations(
        InstanceId='string',
        HoursOfOperationId='string',
        ParentHoursOfOperationConfigs=[
            {
                'HoursOfOperationId': 'string'
            },
        ]
    )
    
  :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 child hours of operation.

    

  
  :type ParentHoursOfOperationConfigs: list
  :param ParentHoursOfOperationConfigs: **[REQUIRED]** 

    The Amazon Resource Names (ARNs) of the parent hours of operation resources to associate with the child hours of operation resource.

    

  
    - *(dict) --* 

      Contains configuration for the parent hours of operation.

      

    
      - **HoursOfOperationId** *(string) --* 

        The identifier for the hours of operation.

        

      
    

  
  :returns: None
  **Exceptions**
  
  *   :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`

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

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

  