libZSservicesZSamazonka-lex-modelsZSamazonka-lex-models
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.LexModels.Types.CodeHook

Description

 
Synopsis

Documentation

data CodeHook Source #

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

See: newCodeHook smart constructor.

Constructors

CodeHook' 

Fields

  • uri :: Text

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

  • messageVersion :: Text

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

Instances

Instances details
Eq CodeHook Source # 
Instance details

Defined in Amazonka.LexModels.Types.CodeHook

Read CodeHook Source # 
Instance details

Defined in Amazonka.LexModels.Types.CodeHook

Show CodeHook Source # 
Instance details

Defined in Amazonka.LexModels.Types.CodeHook

Generic CodeHook Source # 
Instance details

Defined in Amazonka.LexModels.Types.CodeHook

Associated Types

type Rep CodeHook :: Type -> Type #

Methods

from :: CodeHook -> Rep CodeHook x #

to :: Rep CodeHook x -> CodeHook #

NFData CodeHook Source # 
Instance details

Defined in Amazonka.LexModels.Types.CodeHook

Methods

rnf :: CodeHook -> () #

Hashable CodeHook Source # 
Instance details

Defined in Amazonka.LexModels.Types.CodeHook

Methods

hashWithSalt :: Int -> CodeHook -> Int #

hash :: CodeHook -> Int #

ToJSON CodeHook Source # 
Instance details

Defined in Amazonka.LexModels.Types.CodeHook

FromJSON CodeHook Source # 
Instance details

Defined in Amazonka.LexModels.Types.CodeHook

type Rep CodeHook Source # 
Instance details

Defined in Amazonka.LexModels.Types.CodeHook

type Rep CodeHook = D1 ('MetaData "CodeHook" "Amazonka.LexModels.Types.CodeHook" "libZSservicesZSamazonka-lex-modelsZSamazonka-lex-models" 'False) (C1 ('MetaCons "CodeHook'" 'PrefixI 'True) (S1 ('MetaSel ('Just "uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "messageVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newCodeHook Source #

Create a value of CodeHook with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:uri:CodeHook', codeHook_uri - The Amazon Resource Name (ARN) of the Lambda function.

$sel:messageVersion:CodeHook', codeHook_messageVersion - The version of the request-response that you want Amazon Lex to use to invoke your Lambda function. For more information, see using-lambda.

codeHook_uri :: Lens' CodeHook Text Source #

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

codeHook_messageVersion :: Lens' CodeHook Text Source #

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