Smaws_Client_ServiceCatalog.AssociateBudgetWithResourceAssociates the specified budget with the specified resource.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `DuplicateResourceException of Types.duplicate_resource_exception
| `InvalidParametersException of Types.invalid_parameters_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.associate_budget_with_resource_input ->
(Types.associate_budget_with_resource_output,
[> Smaws_Lib.Protocols.AwsJson.error
| `DuplicateResourceException of Types.duplicate_resource_exception
| `InvalidParametersException of Types.invalid_parameters_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.associate_budget_with_resource_input ->
(Types.associate_budget_with_resource_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `DuplicateResourceException of Types.duplicate_resource_exception
| `InvalidParametersException of Types.invalid_parameters_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result