You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Module: Aws::LexModelBuildingService

Defined in:
(unknown)

Overview

This module provides a client for making API requests to Amazon Lex Model Building Service.

Aws::LexModelBuildingService::Client

The Client class provides one-to-one mapping for each API operation.

lexmodelbuildingservice = Aws::LexModelBuildingService::Client.new(region: 'us-east-1')
lexmodelbuildingservice.operation_names
#=> [:create_bot_version, :create_intent_version, :create_slot_type_version, :delete_bot, ...]

Each API operation method accepts a hash of request parameters and returns a response object.

resp = lexmodelbuildingservice.create_bot_version(params)

See Client for more information.

Aws::LexModelBuildingService::Errors

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

begin
  # do stuff
rescue Aws::LexModelBuildingService::Errors::ServiceError
  # rescues all errors returned by Amazon Lex Model Building Service
end

See Errors for more information.

Defined Under Namespace

Modules: Errors, Types Classes: Client