From 50da696cda5d30f50fa956acd54e05356161f201 Mon Sep 17 00:00:00 2001 From: mans2singh Date: Mon, 22 Feb 2016 19:56:12 -0800 Subject: [PATCH] updated capability documentation based on comments --- .../java/org/apache/nifi/processors/aws/lambda/PutLambda.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nifi-nar-bundles/nifi-aws-bundle/nifi-aws-processors/src/main/java/org/apache/nifi/processors/aws/lambda/PutLambda.java b/nifi-nar-bundles/nifi-aws-bundle/nifi-aws-processors/src/main/java/org/apache/nifi/processors/aws/lambda/PutLambda.java index a20f9e1796..dd0c2b659b 100644 --- a/nifi-nar-bundles/nifi-aws-bundle/nifi-aws-processors/src/main/java/org/apache/nifi/processors/aws/lambda/PutLambda.java +++ b/nifi-nar-bundles/nifi-aws-bundle/nifi-aws-processors/src/main/java/org/apache/nifi/processors/aws/lambda/PutLambda.java @@ -52,7 +52,9 @@ import com.amazonaws.util.Base64; @InputRequirement(Requirement.INPUT_REQUIRED) @Tags({"amazon", "aws", "lambda", "put"}) -@CapabilityDescription("Sends the contents to a specified Amazon Lamba Function") +@CapabilityDescription("Sends the contents to a specified Amazon Lamba Function. " + + "The AWS credentials used for authentication must have permissions execute the Lambda function (lambda:InvokeFunction)." + + "The FlowFile content must be JSON.") @WritesAttributes({ @WritesAttribute(attribute = "aws.lambda.result.function.error", description = "Function error message in result on posting message to AWS Lambda"), @WritesAttribute(attribute = "aws.lambda.result.status.code", description = "Status code in the result for the message when posting to AWS Lambda"),