Module: Aws::Budgets

Defined in:
lib/aws-sdk-budgets/endpoint_parameters.rb,
lib/aws-sdk-budgets/plugins/endpoints.rb,
lib/aws-sdk-budgets/endpoint_provider.rb,
lib/aws-sdk-budgets/client_api.rb,
lib/aws-sdk-budgets/endpoints.rb,
lib/aws-sdk-budgets/resource.rb,
lib/aws-sdk-budgets/errors.rb,
lib/aws-sdk-budgets/client.rb,
lib/aws-sdk-budgets/types.rb,
lib/aws-sdk-budgets.rb

Overview

This module provides support for AWS Budgets. This module is available in the ‘aws-sdk-budgets` gem.

# Client

The Client class provides one method for each API operation. Operation methods each accept a hash of request parameters and return a response structure.

budgets = Aws::Budgets::Client.new
resp = budgets.create_budget(params)

See Client for more information.

# Errors

Errors returned from AWS Budgets are defined in the Errors module and all extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::Budgets::Errors::ServiceError
  # rescues all AWS Budgets API errors
end

See Errors for more information.

Defined Under Namespace

Modules: ClientApi, Endpoints, Errors, Plugins, Types Classes: Client, EndpointParameters, EndpointProvider, Resource

service collapse

GEM_VERSION =
'1.78.0'