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

***********************************
describe_traffic_distribution_group
***********************************



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

  

  Gets details and status of a traffic distribution group.

  

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


  **Request Syntax**
  ::

    response = client.describe_traffic_distribution_group(
        TrafficDistributionGroupId='string'
    )
    
  :type TrafficDistributionGroupId: string
  :param TrafficDistributionGroupId: **[REQUIRED]** 

    The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.

    

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

    
    ::

      {
          'TrafficDistributionGroup': {
              'Id': 'string',
              'Arn': 'string',
              'Name': 'string',
              'Description': 'string',
              'InstanceArn': 'string',
              'Status': 'CREATION_IN_PROGRESS'|'ACTIVE'|'CREATION_FAILED'|'PENDING_DELETION'|'DELETION_FAILED'|'UPDATE_IN_PROGRESS',
              'Tags': {
                  'string': 'string'
              },
              'IsDefault': True|False
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **TrafficDistributionGroup** *(dict) --* 

        Information about the traffic distribution group.

        
        

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

          The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.

          
        

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

          The Amazon Resource Name (ARN) of the traffic distribution group.

          
        

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

          The name of the traffic distribution group.

          
        

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

          The description of the traffic distribution group.

          
        

        - **InstanceArn** *(string) --* 

          The Amazon Resource Name (ARN).

          
        

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

          The status of the traffic distribution group.

           

          
          * ``CREATION_IN_PROGRESS`` means the previous `CreateTrafficDistributionGroup <https://docs.aws.amazon.com/connect/latest/APIReference/API_CreateTrafficDistributionGroup.html>`__ operation is still in progress and has not yet completed.
           
          * ``ACTIVE`` means the previous `CreateTrafficDistributionGroup <https://docs.aws.amazon.com/connect/latest/APIReference/API_CreateTrafficDistributionGroup.html>`__ operation has succeeded.
           
          * ``CREATION_FAILED`` indicates that the previous `CreateTrafficDistributionGroup <https://docs.aws.amazon.com/connect/latest/APIReference/API_CreateTrafficDistributionGroup.html>`__ operation has failed.
           
          * ``PENDING_DELETION`` means the previous `DeleteTrafficDistributionGroup <https://docs.aws.amazon.com/connect/latest/APIReference/API_DeleteTrafficDistributionGroup.html>`__ operation is still in progress and has not yet completed.
           
          * ``DELETION_FAILED`` means the previous `DeleteTrafficDistributionGroup <https://docs.aws.amazon.com/connect/latest/APIReference/API_DeleteTrafficDistributionGroup.html>`__ operation has failed.
           
          * ``UPDATE_IN_PROGRESS`` means the previous `UpdateTrafficDistribution <https://docs.aws.amazon.com/connect/latest/APIReference/API_UpdateTrafficDistribution.html>`__ operation is still in progress and has not yet completed.
          

          
        

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

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

          
          

          - *(string) --* 
            

            - *(string) --* 
      
    
        

        - **IsDefault** *(boolean) --* 

          Whether this is the default traffic distribution group created during instance replication. The default traffic distribution group cannot be deleted by the ``DeleteTrafficDistributionGroup`` API. The default traffic distribution group is deleted as part of the process for deleting a replica.

           

          .. note::

            

            The ``SignInConfig`` distribution is available only on a default ``TrafficDistributionGroup`` (see the ``IsDefault`` parameter in the `TrafficDistributionGroup <https://docs.aws.amazon.com/connect/latest/APIReference/API_TrafficDistributionGroup.html>`__ data type). If you call ``UpdateTrafficDistribution`` with a modified ``SignInConfig`` and a non-default ``TrafficDistributionGroup``, an ``InvalidRequestException`` is returned.

            

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

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

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

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

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

  