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

Module: Aws::IoT1ClickDevicesService

Defined in:
(unknown)

Overview

This module provides a client for making API requests to AWS IoT 1-Click Devices Service.

Aws::IoT1ClickDevicesService::Client

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

iot1clickdevicesservice = Aws::IoT1ClickDevicesService::Client.new(region: 'us-east-1')
iot1clickdevicesservice.operation_names
#=> [:claim_devices_by_claim_code, :describe_device, :finalize_device_claim, :get_device_methods, ...]

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

resp = iot1clickdevicesservice.claim_devices_by_claim_code(params)

See Client for more information.

Aws::IoT1ClickDevicesService::Errors

Errors returned from AWS IoT 1-Click Devices Service are defined in the Errors module and extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::IoT1ClickDevicesService::Errors::ServiceError
  # rescues all errors returned by AWS IoT 1-Click Devices Service
end

See Errors for more information.

Defined Under Namespace

Modules: Errors, Types Classes: Client