You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Module: Aws::IoTEvents
- Defined in:
- (unknown)
Overview
This module provides a client for making API requests to AWS IoT Events.
Aws::IoTEvents::Client
The Client class provides one-to-one mapping for each API operation.
iotevents = Aws::IoTEvents::Client.new(region: 'us-east-1')
iotevents.operation_names
#=> [:create_detector_model, :create_input, :delete_detector_model, :delete_input, ...]
Each API operation method accepts a hash of request parameters and returns a response object.
resp = iotevents.create_detector_model(params)
See Client for more information.
Aws::IoTEvents::Errors
Errors returned from AWS IoT Events are defined in the Errors module and extend Errors::ServiceError.
begin
# do stuff
rescue Aws::IoTEvents::Errors::ServiceError
# rescues all errors returned by AWS IoT Events
end
See Errors for more information.
Defined Under Namespace
Modules: Errors, Types Classes: Client