Module: Aws::Lambda

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

Overview

This module provides support for AWS Lambda. This module is available in the ‘aws-sdk-lambda` 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.

lambda = Aws::Lambda::Client.new
resp = lambda.add_layer_version_permission(params)

See Client for more information.

# Errors

Errors returned from AWS Lambda are defined in the Errors module and all extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::Lambda::Errors::ServiceError
  # rescues all AWS Lambda API errors
end

See Errors for more information.

Defined Under Namespace

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

service collapse

GEM_VERSION =
'1.142.0'