2. Analyzing Documents and Text with Natural Language Processing
Activity 2.01: Integrating Lambda with Amazon Comprehend to Perform Text Analysis
Solution:
- Upload the
test_s3trigger_configured.txt
file to our S3 bucket to verify the Lambdas3_trigger
function was configured successfully. - Navigate to the S3 page: https://console.aws.amazon.com/s3/.
- Click the bucket name you are using to test the
s3_trigger
function (in my case,aws-ml-s3-trigger-202001181023
): - Click
Upload
:The following screen will display:
- Click
Add files
: - Navigate to the
test_s3trigger_configured.txt
file location.
Select the file.The file contains the following text:
I am a test file to verify the s3 trigger was successfully configured on 1/20/2020 at 1:34 PM and tried 3 times!
Before we execute the
s3_trigger
, consider the output...