Class: Aws::LexModelsV2::Types::LambdaCodeHook

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

Overview

Note:

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

{
  lambda_arn: "LambdaARN", # required
  code_hook_interface_version: "CodeHookInterfaceVersion", # required
}

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#code_hook_interface_versionString

The version of the request-response that you want Amazon Lex to use to invoke your Lambda function.

Returns:

  • (String)


6435
6436
6437
6438
6439
6440
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 6435

class LambdaCodeHook < Struct.new(
  :lambda_arn,
  :code_hook_interface_version)
  SENSITIVE = []
  include Aws::Structure
end

#lambda_arnString

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

Returns:

  • (String)


6435
6436
6437
6438
6439
6440
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 6435

class LambdaCodeHook < Struct.new(
  :lambda_arn,
  :code_hook_interface_version)
  SENSITIVE = []
  include Aws::Structure
end