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

Module: Aws::IoT1ClickProjects

Defined in:
(unknown)

Overview

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

Aws::IoT1ClickProjects::Client

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

iot1clickprojects = Aws::IoT1ClickProjects::Client.new(region: 'us-east-1')
iot1clickprojects.operation_names
#=> [:associate_device_with_placement, :create_placement, :create_project, :delete_placement, ...]

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

resp = iot1clickprojects.associate_device_with_placement(params)

See Client for more information.

Aws::IoT1ClickProjects::Errors

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

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

See Errors for more information.

Defined Under Namespace

Modules: Errors, Types Classes: Client