Module: Aws::CloudWatchLogs

Defined in:
lib/aws-sdk-cloudwatchlogs/endpoint_parameters.rb,
lib/aws-sdk-cloudwatchlogs/plugins/endpoints.rb,
lib/aws-sdk-cloudwatchlogs/endpoint_provider.rb,
lib/aws-sdk-cloudwatchlogs/event_streams.rb,
lib/aws-sdk-cloudwatchlogs/client_api.rb,
lib/aws-sdk-cloudwatchlogs/endpoints.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, Endpoints, Errors, EventStreams, Plugins, Types Classes: Client, EndpointParameters, EndpointProvider, Resource

service collapse

GEM_VERSION =
'1.102.0'