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

Module: Aws::IoTSiteWise

Defined in:
(unknown)

Overview

This module provides a client for making API requests to AWS IoT SiteWise.

Aws::IoTSiteWise::Client

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

iotsitewise = Aws::IoTSiteWise::Client.new(region: 'us-east-1')
iotsitewise.operation_names
#=> [:associate_assets, :batch_associate_project_assets, :batch_disassociate_project_assets, :batch_put_asset_property_value, ...]

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

resp = iotsitewise.associate_assets(params)

See Client for more information.

Aws::IoTSiteWise::Errors

Errors returned from AWS IoT SiteWise are defined in the Errors module and extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::IoTSiteWise::Errors::ServiceError
  # rescues all errors returned by AWS IoT SiteWise
end

See Errors for more information.

Defined Under Namespace

Modules: Errors, Types Classes: Client