Skip to content

[DOC] The docs on aws_lambda.invocation_type are wrong #9872

Open
@rpash

Description

@rpash

What do you want to do?

  • Request a change to existing documentation
  • Add new documentation
  • Report a technical problem with the documentation
  • Other

Tell us about your request. Provide a summary of the request.

The documents for the AWS Lambda processor for the Ingestion Pipeline are wrong. They state:

invocation_type | String | Required | Specifies the invocation type, either request-response or event. Default is request-response.

Not only is this field not required, it is not allowed. Attempting to deploy a pipeline with such a configuration via CDK results in the following error:

Resource handler returned message: 
  "pipelineConfigurationBody is invalid with the following errors: [ValidationMessage(message=
    "aws_lambda.invocation_type" is an invalid parameter, and should be removed for Amazon OpenSearch Ingestion pipelines using an aws_lambda processor: ...

Version: List the OpenSearch version to which this issue applies, e.g. 2.14, 2.12--2.14, or all.
2

What other resources are available? Provide links to related issues, POCs, steps for testing, etc.
Any ingestion pipeline with an aws_lambda processor

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions