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

*********************************
get_effective_hours_of_operations
*********************************



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

  

  Get the hours of operations with the effective override applied.

  

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


  **Request Syntax**
  ::

    response = client.get_effective_hours_of_operations(
        InstanceId='string',
        HoursOfOperationId='string',
        FromDate='string',
        ToDate='string'
    )
    
  :type InstanceId: string
  :param InstanceId: **[REQUIRED]** 

    The identifier of the Amazon Connect instance.

    

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

    The identifier for the hours of operation.

    

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

    The date from when the hours of operation are listed.

    

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

    The date until when the hours of operation are listed.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'EffectiveHoursOfOperationList': [
              {
                  'Date': 'string',
                  'OperationalHours': [
                      {
                          'Start': {
                              'Hours': 123,
                              'Minutes': 123
                          },
                          'End': {
                              'Hours': 123,
                              'Minutes': 123
                          }
                      },
                  ]
              },
          ],
          'EffectiveOverrideHoursList': [
              {
                  'Date': 'string',
                  'OverrideHours': [
                      {
                          'Start': {
                              'Hours': 123,
                              'Minutes': 123
                          },
                          'End': {
                              'Hours': 123,
                              'Minutes': 123
                          },
                          'OverrideName': 'string',
                          'OperationalStatus': 'OPEN'|'CLOSED'
                      },
                  ]
              },
          ],
          'TimeZone': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **EffectiveHoursOfOperationList** *(list) --* 

        Information about the effective hours of operations.

        
        

        - *(dict) --* 

          Information about the hours of operations with the effective override applied.

          
          

          - **Date** *(string) --* 

            The date that the hours of operation or overrides applies to.

            
          

          - **OperationalHours** *(list) --* 

            Information about the hours of operations with the effective override applied.

            
            

            - *(dict) --* 

              Information about the hours of operations with the effective override applied.

              
              

              - **Start** *(dict) --* 

                The start time that your contact center opens.

                
                

                - **Hours** *(integer) --* 

                  The hours.

                  
                

                - **Minutes** *(integer) --* 

                  The minutes.

                  
            
              

              - **End** *(dict) --* 

                The end time that your contact center closes.

                
                

                - **Hours** *(integer) --* 

                  The hours.

                  
                

                - **Minutes** *(integer) --* 

                  The minutes.

                  
            
          
        
      
    
      

      - **EffectiveOverrideHoursList** *(list) --* 

        Information about override configurations applied to the base hours of operation to calculate the effective hours.

         

        For more information about how override types are applied, see `Build your list of overrides <https://docs.aws.amazon.com/https:/docs.aws.amazon.com/connect/latest/adminguide/hours-of-operation-overrides.html>`__ in the *Administrator Guide*.

        
        

        - *(dict) --* 

          Information about the hours of operation overrides which contribute to effective hours of operations.

          
          

          - **Date** *(string) --* 

            The date that the hours of operation override applies to.

            
          

          - **OverrideHours** *(list) --* 

            Information about the hours of operation overrides that apply to a specific date.

            
            

            - *(dict) --* 

              Information about hours of operation override

              
              

              - **Start** *(dict) --* 

                The start time or end time for an hours of operation override.

                
                

                - **Hours** *(integer) --* 

                  The hours.

                  
                

                - **Minutes** *(integer) --* 

                  The minutes.

                  
            
              

              - **End** *(dict) --* 

                The start time or end time for an hours of operation override.

                
                

                - **Hours** *(integer) --* 

                  The hours.

                  
                

                - **Minutes** *(integer) --* 

                  The minutes.

                  
            
              

              - **OverrideName** *(string) --* 

                Unique identifier name for the override.

                
              

              - **OperationalStatus** *(string) --* 

                Indicates whether the status is open or closed during the override period. This status determines how the override modifies the base hours of operation schedule.

                
          
        
      
    
      

      - **TimeZone** *(string) --* 

        The time zone for the hours of operation.

        
  
  **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`

  