Module: Aws::LambdaPreview

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

Overview

This module provides support for AWS Lambda. This module is available in the ‘aws-sdk-lambdapreview` 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_preview = Aws::LambdaPreview::Client.new
resp = lambda_preview.add_event_source(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::LambdaPreview::Errors::ServiceError
  # rescues all AWS Lambda API errors
end

See Errors for more information.

Defined Under Namespace

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

service collapse

GEM_VERSION =
'1.50.0'