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

Class: Aws::LexModelBuildingService::Types::CodeHook

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb

Overview

Note:

When making an API call, you may pass CodeHook data as a hash:

{
  uri: "LambdaARN", # required
  message_version: "MessageVersion", # required
}

Specifies a Lambda function that verifies requests to a bot or fulfills the user's request to a bot..

Instance Attribute Summary collapse

Instance Attribute Details

#message_versionString

The version of the request-response that you want Amazon Lex to use to invoke your Lambda function. For more information, see using-lambda.

Returns:

  • (String)


234
235
236
237
238
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 234

class CodeHook < Struct.new(
  :uri,
  :message_version)
  include Aws::Structure
end

#uriString

The Amazon Resource Name (ARN) of the Lambda function.

Returns:

  • (String)


234
235
236
237
238
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 234

class CodeHook < Struct.new(
  :uri,
  :message_version)
  include Aws::Structure
end