Module: Aws::LexRuntimeV2

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

Overview

This module provides support for Amazon Lex Runtime V2. This module is available in the ‘aws-sdk-lexruntimev2` 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_runtime_v2 = Aws::LexRuntimeV2::Client.new
resp = lex_runtime_v2.delete_session(params)

See Client for more information.

# Errors

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

begin
  # do stuff
rescue Aws::LexRuntimeV2::Errors::ServiceError
  # rescues all Amazon Lex Runtime V2 API errors
end

See Errors for more information.

Defined Under Namespace

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

service collapse

GEM_VERSION =
'1.44.0'