associate_budget_with_resource

ServiceCatalog.Client.associate_budget_with_resource(**kwargs)

Associates the specified budget with the specified resource.

See also: AWS API Documentation

Request Syntax

response = client.associate_budget_with_resource(
    BudgetName='string',
    ResourceId='string'
)
Parameters
  • BudgetName (string) --

    [REQUIRED]

    The name of the budget you want to associate.

  • ResourceId (string) --

    [REQUIRED]

    The resource identifier. Either a portfolio-id or a product-id.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • ServiceCatalog.Client.exceptions.InvalidParametersException
  • ServiceCatalog.Client.exceptions.DuplicateResourceException
  • ServiceCatalog.Client.exceptions.LimitExceededException
  • ServiceCatalog.Client.exceptions.ResourceNotFoundException