updated capability documentation based on comments
Project: http://git-wip-us.apache.org/repos/asf/nifi/repo Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/50da696c Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/50da696c Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/50da696c Branch: refs/heads/master Commit: 50da696cda5d30f50fa956acd54e05356161f201 Parents: bdc1ef1 Author: mans2singh <[email protected]> Authored: Mon Feb 22 19:56:12 2016 -0800 Committer: mans2singh <[email protected]> Committed: Mon Feb 22 19:56:12 2016 -0800 ---------------------------------------------------------------------- .../java/org/apache/nifi/processors/aws/lambda/PutLambda.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/nifi/blob/50da696c/nifi-nar-bundles/nifi-aws-bundle/nifi-aws-processors/src/main/java/org/apache/nifi/processors/aws/lambda/PutLambda.java ---------------------------------------------------------------------- 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 a20f9e1..dd0c2b6 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"),
