Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

associate_budget_with_resource

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