:doc:`ConnectCampaignServiceV2 <../../connectcampaignsv2>` / Client / get_instance_communication_limits

*********************************
get_instance_communication_limits
*********************************



.. py:method:: ConnectCampaignServiceV2.Client.get_instance_communication_limits(**kwargs)

  

  Get the instance communication limits.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/GetInstanceCommunicationLimits>`_  


  **Request Syntax**
  ::

    response = client.get_instance_communication_limits(
        connectInstanceId='string'
    )
    
  :type connectInstanceId: string
  :param connectInstanceId: **[REQUIRED]** 

    Amazon Connect Instance Id

    

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

    
    ::

      {
          'communicationLimitsConfig': {
              'allChannelSubtypes': {
                  'communicationLimitsList': [
                      {
                          'maxCountPerRecipient': 123,
                          'frequency': 123,
                          'unit': 'DAY'
                      },
                  ]
              }
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 

      The response for GetInstanceCommunicationLimits API.

      
      

      - **communicationLimitsConfig** *(dict) --* 

        Instance Communication limits config

        
        

        - **allChannelSubtypes** *(dict) --* 

          Communication limits

          .. note::    This is a Tagged Union structure. Only one of the     following top level keys will be set: ``communicationLimitsList``.     If a client receives an unknown member it will     set ``SDK_UNKNOWN_MEMBER`` as the top level key,     which maps to the name or tag of the unknown     member. The structure of ``SDK_UNKNOWN_MEMBER`` is     as follows::

                    'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}


        
          

          - **communicationLimitsList** *(list) --* 

            List of communication limit

            
            

            - *(dict) --* 

              Communication Limit

              
              

              - **maxCountPerRecipient** *(integer) --* 

                Maximum number of contacts allowed for a given target within the given frequency.

                
              

              - **frequency** *(integer) --* 

                The number of days to consider with regards to this limit.

                
              

              - **unit** *(string) --* 

                The communication limit time unit.

                
          
        
      
    
  
  **Exceptions**
  
  *   :py:class:`ConnectCampaignServiceV2.Client.exceptions.InternalServerException`

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

  
  *   :py:class:`ConnectCampaignServiceV2.Client.exceptions.ValidationException`

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

  