The UpdateParserScriptInput is used to provide input for updating the parser script. It includes a couple of parameters.

Table: UpdateParserScriptInput

scriptstringyes The parser script that is executed for every incoming event.
languageVersionLanguageVersionInputType  A specific language version. If no version is provided, the version already set on the parser will be used. See LanguageVersionInputType Table.

[a] Some arguments may be required, as indicated in this column. For some fields, this column indicates that a result will always be returned for it.