Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data CodeHook = CodeHook' {
- uri :: Text
- messageVersion :: Text
- newCodeHook :: Text -> Text -> CodeHook
- codeHook_uri :: Lens' CodeHook Text
- codeHook_messageVersion :: Lens' CodeHook Text
Documentation
Specifies a Lambda function that verifies requests to a bot or fulfills the user's request to a bot..
See: newCodeHook
smart constructor.
CodeHook' | |
|
Instances
Eq CodeHook Source # | |
Read CodeHook Source # | |
Show CodeHook Source # | |
Generic CodeHook Source # | |
NFData CodeHook Source # | |
Defined in Amazonka.LexModels.Types.CodeHook | |
Hashable CodeHook Source # | |
Defined in Amazonka.LexModels.Types.CodeHook | |
ToJSON CodeHook Source # | |
Defined in Amazonka.LexModels.Types.CodeHook | |
FromJSON CodeHook Source # | |
type Rep CodeHook Source # | |
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))) |
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.