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

**************
describe_queue
**************



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

  

  Describes the specified queue.

  

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


  **Request Syntax**
  ::

    response = client.describe_queue(
        InstanceId='string',
        QueueId='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 QueueId: string
  :param QueueId: **[REQUIRED]** 

    The identifier for the queue.

    

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

    
    ::

      {
          'Queue': {
              'Name': 'string',
              'QueueArn': 'string',
              'QueueId': 'string',
              'Description': 'string',
              'OutboundCallerConfig': {
                  'OutboundCallerIdName': 'string',
                  'OutboundCallerIdNumberId': 'string',
                  'OutboundFlowId': 'string'
              },
              'OutboundEmailConfig': {
                  'OutboundEmailAddressId': 'string'
              },
              'HoursOfOperationId': 'string',
              'MaxContacts': 123,
              'Status': 'ENABLED'|'DISABLED',
              'Tags': {
                  'string': 'string'
              },
              'LastModifiedTime': datetime(2015, 1, 1),
              'LastModifiedRegion': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Queue** *(dict) --* 

        The name of the queue.

        
        

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

          The name of the queue.

          
        

        - **QueueArn** *(string) --* 

          The Amazon Resource Name (ARN) for the queue.

          
        

        - **QueueId** *(string) --* 

          The identifier for the queue.

          
        

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

          The description of the queue.

          
        

        - **OutboundCallerConfig** *(dict) --* 

          The outbound caller ID name, number, and outbound whisper flow.

          
          

          - **OutboundCallerIdName** *(string) --* 

            The caller ID name.

            
          

          - **OutboundCallerIdNumberId** *(string) --* 

            The caller ID number.

            
          

          - **OutboundFlowId** *(string) --* 

            The outbound whisper flow to be used during an outbound call.

            
      
        

        - **OutboundEmailConfig** *(dict) --* 

          The outbound email address ID for a specified queue.

          
          

          - **OutboundEmailAddressId** *(string) --* 

            The identifier of the email address.

            
      
        

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

          The identifier for the hours of operation.

          
        

        - **MaxContacts** *(integer) --* 

          The maximum number of contacts that can be in the queue before it is considered full.

          
        

        - **Status** *(string) --* 

          The status of the queue.

          
        

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

  