:doc:`PinpointSMSVoiceV2 <../../pinpoint-sms-voice-v2>` / Client / describe_account_limits

***********************
describe_account_limits
***********************



.. py:method:: PinpointSMSVoiceV2.Client.describe_account_limits(**kwargs)

  

  Describes the current End User Messaging SMS SMS Voice V2 resource quotas for your account. The description for a quota includes the quota name, current usage toward that quota, and the quota's maximum value.

   

  When you establish an Amazon Web Services account, the account has initial quotas on the maximum number of configuration sets, opt-out lists, phone numbers, and pools that you can create in a given Region. For more information see `Quotas <https://docs.aws.amazon.com/sms-voice/latest/userguide/quotas.html>`__ in the *End User Messaging SMS User Guide*.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeAccountLimits>`_  


  **Request Syntax**
  ::

    response = client.describe_account_limits(
        NextToken='string',
        MaxResults=123
    )
    
  :type NextToken: string
  :param NextToken: 

    The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of results to return per each request.

    

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

    
    ::

      {
          'AccountLimits': [
              {
                  'Name': 'PHONE_NUMBERS'|'POOLS'|'CONFIGURATION_SETS'|'OPT_OUT_LISTS'|'SENDER_IDS'|'REGISTRATIONS'|'REGISTRATION_ATTACHMENTS'|'VERIFIED_DESTINATION_NUMBERS',
                  'Used': 123,
                  'Max': 123
              },
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **AccountLimits** *(list) --* 

        An array of AccountLimit objects that show the current spend limits.

        
        

        - *(dict) --* 

          The current resource quotas associated with an Amazon Web Services account.

          
          

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

            The name of the attribute to apply the account limit to.

            
          

          - **Used** *(integer) --* 

            The current amount that has been spent, in US dollars.

            
          

          - **Max** *(integer) --* 

            The Amazon Web Services set limit for that resource type, in US dollars.

            
      
    
      

      - **NextToken** *(string) --* 

        The token to be used for the next set of paginated results. If this field is empty then there are no more results.

        
  
  **Exceptions**
  
  *   :py:class:`PinpointSMSVoiceV2.Client.exceptions.ThrottlingException`

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

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

  
  *   :py:class:`PinpointSMSVoiceV2.Client.exceptions.InternalServerException`

  