Module: Aws::MarketplaceMetering

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

Overview

This module provides support for AWSMarketplace Metering. This module is available in the ‘aws-sdk-marketplacemetering` 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.

marketplace_metering = Aws::MarketplaceMetering::Client.new
resp = marketplace_metering.batch_meter_usage(params)

See Client for more information.

# Errors

Errors returned from AWSMarketplace Metering are defined in the Errors module and all extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::MarketplaceMetering::Errors::ServiceError
  # rescues all AWSMarketplace Metering 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.69.0'