Module: Aws::CloudWatchLogs

Defined in:
lib/aws-sdk-cloudwatchlogs/client_api.rb,
lib/aws-sdk-cloudwatchlogs/resource.rb,
lib/aws-sdk-cloudwatchlogs/errors.rb,
lib/aws-sdk-cloudwatchlogs/client.rb,
lib/aws-sdk-cloudwatchlogs/types.rb,
lib/aws-sdk-cloudwatchlogs.rb

Overview

This module provides support for Amazon CloudWatch Logs. This module is available in the `aws-sdk-cloudwatchlogs` 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_logs = Aws::CloudWatchLogs::Client.new
resp = cloud_watch_logs.associate_kms_key(params)

See Client for more information.

# Errors

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

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

See Errors for more information.

Defined Under Namespace

Modules: ClientApi, Errors, Types Classes: Client, Resource

service collapse

GEM_VERSION =
'1.45.0'