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

***************************
describe_hours_of_operation
***************************



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

  

  Describes the hours of operation.

  

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


  **Request Syntax**
  ::

    response = client.describe_hours_of_operation(
        InstanceId='string',
        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 for the hours of operation.

    

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

    
    ::

      {
          'HoursOfOperation': {
              'HoursOfOperationId': 'string',
              'HoursOfOperationArn': '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
                      }
                  },
              ],
              'ParentHoursOfOperations': [
                  {
                      'Name': 'string',
                      'Id': 'string',
                      'Arn': 'string'
                  },
              ],
              'Tags': {
                  'string': 'string'
              },
              'LastModifiedTime': datetime(2015, 1, 1),
              'LastModifiedRegion': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **HoursOfOperation** *(dict) --* 

        The hours of operation.

        
        

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

          The identifier for the hours of operation.

          
        

        - **HoursOfOperationArn** *(string) --* 

          The Amazon Resource Name (ARN) for the hours of operation.

          
        

        - **Name** *(string) --* 

          The name for the hours of operation.

          
        

        - **Description** *(string) --* 

          The description for the hours of operation.

          
        

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

          The time zone for the hours of operation.

          
        

        - **Config** *(list) --* 

          Configuration information for the hours of operation.

          
          

          - *(dict) --* 

            Contains information about the hours of operation.

            
            

            - **Day** *(string) --* 

              The day that the hours of operation applies to.

              
            

            - **StartTime** *(dict) --* 

              The start time that your contact center opens.

              
              

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

                The hours.

                
              

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

                The minutes.

                
          
            

            - **EndTime** *(dict) --* 

              The end time that your contact center closes.

              
              

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

                The hours.

                
              

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

                The minutes.

                
          
        
      
        

        - **ParentHoursOfOperations** *(list) --* 

          Information about parent hours of operations.

          
          

          - *(dict) --* 

            Identifier for a hours of operations resource: ARN, ID, Name

            
            

            - **Name** *(string) --* 

              Name of the hours of operation

              
            

            - **Id** *(string) --* 

              Unique identifier of the hours of operation.

              
            

            - **Arn** *(string) --* 

              Amazon Resource Name (ARN) of the hours of operations.

              
        
      
        

        - **Tags** *(dict) --* 

          The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

          
          

          - *(string) --* 
            

            - *(string) --* 
      
    
        

        - **LastModifiedTime** *(datetime) --* 

          The timestamp when this resource was last modified.

          
        

        - **LastModifiedRegion** *(string) --* 

          The Amazon Web Services Region where this resource was last modified.

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

  