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:


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


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

iot1clickdevicesservice = 'us-east-1')
#=> [: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.


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

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

See Errors for more information.

Defined Under Namespace

Modules: Errors, Types Classes: Client