Module: Aws::Lex

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

Overview

This module provides support for Amazon Lex Runtime Service. This module is available in the ‘aws-sdk-lex` 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.

lex = Aws::Lex::Client.new
resp = lex.delete_session(params)

See Client for more information.

# Errors

Errors returned from Amazon Lex Runtime Service are defined in the Errors module and all extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::Lex::Errors::ServiceError
  # rescues all Amazon Lex Runtime Service 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.72.0'