You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Module: Aws::MarketplaceEntitlementService

Defined in:
(unknown)

Overview

This module provides a client for making API requests to AWS Marketplace Entitlement Service.

Aws::MarketplaceEntitlementService::Client

The Client class provides one-to-one mapping for each API operation.

marketplaceentitlementservice = Aws::MarketplaceEntitlementService::Client.new(region: 'us-east-1')
marketplaceentitlementservice.operation_names
#=> [:get_entitlements, ...]

Each API operation method accepts a hash of request parameters and returns a response object.

resp = marketplaceentitlementservice.get_entitlements(params)

See Client for more information.

Aws::MarketplaceEntitlementService::Errors

Errors returned from AWS Marketplace Entitlement Service are defined in the Errors module and extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::MarketplaceEntitlementService::Errors::ServiceError
  # rescues all errors returned by AWS Marketplace Entitlement Service
end

See Errors for more information.

Defined Under Namespace

Modules: Errors, Types Classes: Client