ServiceCatalog.Client.
list_budgets_for_resource
(**kwargs)¶Lists all the budgets associated to the specified resource.
See also: AWS API Documentation
Request Syntax
response = client.list_budgets_for_resource(
AcceptLanguage='string',
ResourceId='string',
PageSize=123,
PageToken='string'
)
The language code.
en
- English (default)jp
- Japanesezh
- Chinese[REQUIRED]
The resource identifier.
dict
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
ServiceCatalog.Client.exceptions.ResourceNotFoundException
ServiceCatalog.Client.exceptions.InvalidParametersException