Skip to content

Commit 679aa50

Browse files
committed
Review Feedback on SQS event and blueprint
1 parent a4a866b commit 679aa50

File tree

3 files changed

+6
-6
lines changed
  • Blueprints/BlueprintDefinitions/Msbuild-NETCore_2_0/SimpleSQSFunction/template/src/BlueprintBaseName.1
  • Libraries/src/Amazon.Lambda.SQSEvents/Properties

3 files changed

+6
-6
lines changed

Blueprints/BlueprintDefinitions/Msbuild-NETCore_2_0/SimpleSQSFunction/template/src/BlueprintBaseName.1/Function.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ private async Task ProcessMessageAsync(SQSEvent.SQSMessage message, ILambdaConte
4444
{
4545
context.Logger.LogLine($"Processed message {message.Body}");
4646

47-
// TODO: Do interesting based on the new message
47+
// TODO: Do interesting work based on the new message
4848
await Task.CompletedTask;
4949
}
5050
}

Blueprints/BlueprintDefinitions/Msbuild-NETCore_2_0/SimpleSQSFunction/template/src/BlueprintBaseName.1/Readme.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This starter project consists of:
66

77
You may also have a test project depending on the options selected.
88

9-
The generated function handler responds to events on an Amazon SQS queue. The handler receives the bucket and object key details in an SQSEvent instance and returns the content type of the object as the function output. Replace the body of this method, and parameters, to suit your needs.
9+
The generated function handler responds to events on an Amazon SQS queue.
1010

1111
After deploying your function you must configure an Amazon SQS queue as an event source to trigger your Lambda function.
1212

@@ -18,7 +18,7 @@ To view your deployed function open its Function View window by double-clicking
1818

1919
To perform testing against your deployed function use the Test Invoke tab in the opened Function View window.
2020

21-
To configure event sources for your deployed function, for example to have your function invoked when an object is created in an Amazon S3 bucket, use the Event Sources tab in the opened Function View window.
21+
To configure event sources for your deployed function go to the AWS Lambda console to select your SQS queue as the event source.
2222

2323
To update the runtime configuration of your deployed function use the Configuration tab in the opened Function View window.
2424

Libraries/src/Amazon.Lambda.SQSEvents/Properties/AssemblyInfo.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
using System.Runtime.CompilerServices;
33
using System.Runtime.InteropServices;
44

5-
[assembly: AssemblyTitle("Amazon.Lambda.SNSEvents")]
6-
[assembly: AssemblyDescription("Lambda event interfaces for SNS event source.")]
5+
[assembly: AssemblyTitle("Amazon.Lambda.SQSEvents")]
6+
[assembly: AssemblyDescription("Lambda event interfaces for SQS event source.")]
77
[assembly: AssemblyProduct("Amazon Web Services Lambda Interface for .NET")]
88
[assembly: AssemblyCompany("Amazon.com, Inc")]
9-
[assembly: AssemblyCopyright("Copyright 2009-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.")]
9+
[assembly: AssemblyCopyright("Copyright 2009-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.")]
1010
[assembly: ComVisible(false)]
1111
[assembly: System.CLSCompliant(true)]
1212
[assembly: AssemblyVersion("1.0")]

0 commit comments

Comments
 (0)