Module: Aws::CostExplorer
- Defined in:
- lib/aws-sdk-costexplorer/endpoint_parameters.rb,
lib/aws-sdk-costexplorer/plugins/endpoints.rb,
lib/aws-sdk-costexplorer/endpoint_provider.rb,
lib/aws-sdk-costexplorer/client_api.rb,
lib/aws-sdk-costexplorer/endpoints.rb,
lib/aws-sdk-costexplorer/resource.rb,
lib/aws-sdk-costexplorer/errors.rb,
lib/aws-sdk-costexplorer/client.rb,
lib/aws-sdk-costexplorer/types.rb,
lib/aws-sdk-costexplorer.rb
Overview
This module provides support for AWS Cost Explorer Service. This module is available in the ‘aws-sdk-costexplorer` 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.
cost_explorer = Aws::CostExplorer::Client.new
resp = cost_explorer.create_anomaly_monitor(params)
See Client for more information.
# Errors
Errors returned from AWS Cost Explorer Service are defined in the Errors module and all extend Errors::ServiceError.
begin
# do stuff
rescue Aws::CostExplorer::Errors::ServiceError
# rescues all AWS Cost Explorer Service 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.117.0'