Module: Aws::FreeTier

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

Overview

This module provides support for AWS Free Tier. This module is available in the ‘aws-sdk-freetier` 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.

free_tier = Aws::FreeTier::Client.new
resp = free_tier.get_free_tier_usage(params)

See Client for more information.

# Errors

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

begin
  # do stuff
rescue Aws::FreeTier::Errors::ServiceError
  # rescues all AWS Free Tier 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.16.0'