Module: Aws::CloudWatchEvents

Defined in:
lib/aws-sdk-cloudwatchevents/endpoint_parameters.rb,
lib/aws-sdk-cloudwatchevents/plugins/endpoints.rb,
lib/aws-sdk-cloudwatchevents/endpoint_provider.rb,
lib/aws-sdk-cloudwatchevents/client_api.rb,
lib/aws-sdk-cloudwatchevents/endpoints.rb,
lib/aws-sdk-cloudwatchevents/resource.rb,
lib/aws-sdk-cloudwatchevents/errors.rb,
lib/aws-sdk-cloudwatchevents/client.rb,
lib/aws-sdk-cloudwatchevents/types.rb,
lib/aws-sdk-cloudwatchevents.rb

Overview

This module provides support for Amazon CloudWatch Events. This module is available in the ‘aws-sdk-cloudwatchevents` gem.

# Client

The Client class provides one method for each API operation. Operation methods each accept a hash of request parameters and return a response structure.

cloud_watch_events = Aws::CloudWatchEvents::Client.new
resp = cloud_watch_events.activate_event_source(params)

See Client for more information.

# Errors

Errors returned from Amazon CloudWatch Events are defined in the Errors module and all extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::CloudWatchEvents::Errors::ServiceError
  # rescues all Amazon CloudWatch Events API errors
end

See Errors for more information.

Defined Under Namespace

Modules: ClientApi, Endpoints, Errors, Plugins, Types Classes: Client, EndpointParameters, EndpointProvider, Resource

service collapse

GEM_VERSION =
'1.85.0'