From 68ec5d70c46f07b5a7ae66924203ffe27f64a191 Mon Sep 17 00:00:00 2001 From: michal_aibin Date: Tue, 3 Jan 2017 21:24:12 +0100 Subject: [PATCH] AWS lambda package name change --- aws-lambda/.gitignore | 1 + aws-lambda/pom.xml | 4 ++-- .../java/com/baeldung/LambdaRequestStreamHandler.java | 10 +++++----- 3 files changed, 8 insertions(+), 7 deletions(-) create mode 100644 aws-lambda/.gitignore diff --git a/aws-lambda/.gitignore b/aws-lambda/.gitignore new file mode 100644 index 0000000000..b83d22266a --- /dev/null +++ b/aws-lambda/.gitignore @@ -0,0 +1 @@ +/target/ diff --git a/aws-lambda/pom.xml b/aws-lambda/pom.xml index c02d9d59dd..f3ae672a2f 100644 --- a/aws-lambda/pom.xml +++ b/aws-lambda/pom.xml @@ -2,10 +2,10 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 com.baeldung - aws-lambda + aws 0.1.0-SNAPSHOT jar - aws-lambda + aws diff --git a/aws-lambda/src/main/java/com/baeldung/LambdaRequestStreamHandler.java b/aws-lambda/src/main/java/com/baeldung/LambdaRequestStreamHandler.java index aba65628ad..96d11d2257 100644 --- a/aws-lambda/src/main/java/com/baeldung/LambdaRequestStreamHandler.java +++ b/aws-lambda/src/main/java/com/baeldung/LambdaRequestStreamHandler.java @@ -1,14 +1,14 @@ package com.baeldung; -import com.amazonaws.services.lambda.runtime.Context; -import com.amazonaws.services.lambda.runtime.RequestHandler; -import com.amazonaws.services.lambda.runtime.RequestStreamHandler; -import org.apache.commons.io.IOUtils; - import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; +import org.apache.commons.io.IOUtils; + +import com.amazonaws.services.lambda.runtime.Context; +import com.amazonaws.services.lambda.runtime.RequestStreamHandler; + public class LambdaRequestStreamHandler implements RequestStreamHandler { public void handleRequest(InputStream inputStream, OutputStream outputStream, Context context) throws IOException {