Module: Aws::LexModelsV2

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

Overview

This module provides support for Amazon Lex Model Building V2. This module is available in the ‘aws-sdk-lexmodelsv2` 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_models_v2 = Aws::LexModelsV2::Client.new
resp = lex_models_v2.batch_create_custom_vocabulary_item(params)

See Client for more information.

# Errors

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

begin
  # do stuff
rescue Aws::LexModelsV2::Errors::ServiceError
  # rescues all Amazon Lex Model Building V2 API errors
end

See Errors for more information.

Defined Under Namespace

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

service collapse

GEM_VERSION =
'1.66.0'