:doc:`ServiceCatalog <../../servicecatalog>` / Client / list_budgets_for_resource

*************************
list_budgets_for_resource
*************************



.. py:method:: ServiceCatalog.Client.list_budgets_for_resource(**kwargs)

  

  Lists all the budgets associated to the specified resource.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListBudgetsForResource>`_  


  **Request Syntax**
  ::

    response = client.list_budgets_for_resource(
        AcceptLanguage='string',
        ResourceId='string',
        PageSize=123,
        PageToken='string'
    )
    
  :type AcceptLanguage: string
  :param AcceptLanguage: 

    The language code.

     

    
    * ``jp`` - Japanese
     
    * ``zh`` - Chinese
    

    

  
  :type ResourceId: string
  :param ResourceId: **[REQUIRED]** 

    The resource identifier.

    

  
  :type PageSize: integer
  :param PageSize: 

    The maximum number of items to return with this call.

    

  
  :type PageToken: string
  :param PageToken: 

    The page token for the next set of results. To retrieve the first set of results, use null.

    

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

    
    ::

      {
          'Budgets': [
              {
                  'BudgetName': 'string'
              },
          ],
          'NextPageToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Budgets** *(list) --* 

        Information about the associated budgets.

        
        

        - *(dict) --* 

          Information about a budget.

          
          

          - **BudgetName** *(string) --* 

            Name of the associated budget.

            
      
    
      

      - **NextPageToken** *(string) --* 

        The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

        
  
  **Exceptions**
  
  *   :py:class:`ServiceCatalog.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`ServiceCatalog.Client.exceptions.InvalidParametersException`

  