Module: Aws::Pricing
- Defined in:
- lib/aws-sdk-pricing/endpoint_parameters.rb,
lib/aws-sdk-pricing/plugins/endpoints.rb,
lib/aws-sdk-pricing/endpoint_provider.rb,
lib/aws-sdk-pricing/client_api.rb,
lib/aws-sdk-pricing/endpoints.rb,
lib/aws-sdk-pricing/resource.rb,
lib/aws-sdk-pricing/waiters.rb,
lib/aws-sdk-pricing/errors.rb,
lib/aws-sdk-pricing/client.rb,
lib/aws-sdk-pricing/types.rb,
lib/aws-sdk-pricing.rb
Overview
This module provides support for AWS Price List Service. This module is available in the ‘aws-sdk-pricing` 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.
pricing = Aws::Pricing::Client.new
resp = pricing.describe_services(params)
See Client for more information.
# Errors
Errors returned from AWS Price List Service are defined in the Errors module and all extend Errors::ServiceError.
begin
# do stuff
rescue Aws::Pricing::Errors::ServiceError
# rescues all AWS Price List Service API errors
end
See Errors for more information.
Defined Under Namespace
Modules: ClientApi, Endpoints, Errors, Plugins, Types, Waiters Classes: Client, EndpointParameters, EndpointProvider, Resource
service collapse
- GEM_VERSION =
'1.70.0'