Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit dc3416c

Browse filesBrowse files
committed
address feedback
1 parent c25f1a3 commit dc3416c
Copy full SHA for dc3416c

File tree

Expand file treeCollapse file tree

34 files changed

+50
-50
lines changed
Filter options
Expand file treeCollapse file tree

34 files changed

+50
-50
lines changed

‎sample-apps/blank-csharp/4-cleanup.sh

Copy file name to clipboardExpand all lines: sample-apps/blank-csharp/4-cleanup.sh
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ echo "Deleted $STACK stack."
1212
if [ -f bucket-name.txt ]; then
1313
ARTIFACT_BUCKET=$(cat bucket-name.txt)
1414
while true; do
15-
read -p "Delete deployment artifacts and bucket ($ARTIFACT_BUCKET)?" response
15+
read -p "Delete deployment artifacts and bucket ($ARTIFACT_BUCKET)? (y/n)" response
1616
case $response in
1717
[Yy]* ) aws s3 rb --force s3://$ARTIFACT_BUCKET; rm bucket-name.txt; break;;
1818
[Nn]* ) break;;
@@ -22,7 +22,7 @@ if [ -f bucket-name.txt ]; then
2222
fi
2323
2424
while true; do
25-
read -p "Delete function logs? (log group /aws/lambda/$FUNCTION)" response
25+
read -p "Delete function log group (/aws/lambda/$FUNCTION)? (y/n)" response
2626
case $response in
2727
[Yy]* ) aws logs delete-log-group --log-group-name /aws/lambda/$FUNCTION; break;;
2828
[Nn]* ) break;;

‎sample-apps/blank-csharp/README.md

Copy file name to clipboardExpand all lines: sample-apps/blank-csharp/README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Use the following instructions to deploy the sample application. For more inform
1919
# Setup
2020
Download or clone this repository.
2121

22-
$ git clone git@github.com:awsdocs/aws-lambda-developer-guide.git
22+
$ git clone https://github.com/awsdocs/aws-lambda-developer-guide.git
2323
$ cd aws-lambda-developer-guide/sample-apps/blank-csharp
2424

2525
To create a new bucket for deployment artifacts, run `1-create-bucket.sh`. Or, if you already have a bucket, create a file named `bucket-name.txt` that contains the name of your bucket.

‎sample-apps/blank-go/4-cleanup.sh

Copy file name to clipboardExpand all lines: sample-apps/blank-go/4-cleanup.sh
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ echo "Deleted $STACK stack."
1212
if [ -f bucket-name.txt ]; then
1313
ARTIFACT_BUCKET=$(cat bucket-name.txt)
1414
while true; do
15-
read -p "Delete deployment artifacts and bucket ($ARTIFACT_BUCKET)?" response
15+
read -p "Delete deployment artifacts and bucket ($ARTIFACT_BUCKET)? (y/n)" response
1616
case $response in
1717
[Yy]* ) aws s3 rb --force s3://$ARTIFACT_BUCKET; rm bucket-name.txt; break;;
1818
[Nn]* ) break;;
@@ -22,7 +22,7 @@ if [ -f bucket-name.txt ]; then
2222
fi
2323
2424
while true; do
25-
read -p "Delete function logs? (log group /aws/lambda/$FUNCTION)" response
25+
read -p "Delete function log group (/aws/lambda/$FUNCTION)? (y/n)" response
2626
case $response in
2727
[Yy]* ) aws logs delete-log-group --log-group-name /aws/lambda/$FUNCTION; break;;
2828
[Nn]* ) break;;

‎sample-apps/blank-go/README.md

Copy file name to clipboardExpand all lines: sample-apps/blank-go/README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Use the following instructions to deploy the sample application.
1818
# Setup
1919
Download or clone this repository.
2020

21-
$ git clone git@github.com:awsdocs/aws-lambda-developer-guide.git
21+
$ git clone https://github.com/awsdocs/aws-lambda-developer-guide.git
2222
$ cd aws-lambda-developer-guide/sample-apps/blank-go
2323

2424
To create a new bucket for deployment artifacts, run `1-create-bucket.sh`. Or, if you already have a bucket, create a file named `bucket-name.txt` that contains the name of your bucket.

‎sample-apps/blank-java/5-cleanup.sh

Copy file name to clipboardExpand all lines: sample-apps/blank-java/5-cleanup.sh
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ echo "Deleted $STACK stack."
1212
if [ -f bucket-name.txt ]; then
1313
ARTIFACT_BUCKET=$(cat bucket-name.txt)
1414
while true; do
15-
read -p "Delete deployment artifacts and bucket ($ARTIFACT_BUCKET)?" response
15+
read -p "Delete deployment artifacts and bucket ($ARTIFACT_BUCKET)? (y/n)" response
1616
case $response in
1717
[Yy]* ) aws s3 rb --force s3://$ARTIFACT_BUCKET; rm bucket-name.txt; break;;
1818
[Nn]* ) break;;
@@ -22,7 +22,7 @@ if [ -f bucket-name.txt ]; then
2222
fi
2323
2424
while true; do
25-
read -p "Delete function logs? (log group /aws/lambda/$FUNCTION)" response
25+
read -p "Delete function log group (/aws/lambda/$FUNCTION)? (y/n)" response
2626
case $response in
2727
[Yy]* ) aws logs delete-log-group --log-group-name /aws/lambda/$FUNCTION; break;;
2828
[Nn]* ) break;;

‎sample-apps/blank-java/README.md

Copy file name to clipboardExpand all lines: sample-apps/blank-java/README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Use the following instructions to deploy the sample application.
2222
# Setup
2323
Download or clone this repository.
2424

25-
$ git clone git@github.com:awsdocs/aws-lambda-developer-guide.git
25+
$ git clone https://github.com/awsdocs/aws-lambda-developer-guide.git
2626
$ cd aws-lambda-developer-guide/sample-apps/blank-java
2727

2828
To create a new bucket for deployment artifacts, run `1-create-bucket.sh`. Or, if you already have a bucket, create a file named `bucket-name.txt` that contains the name of your bucket.

‎sample-apps/blank-powershell/4-cleanup.sh

Copy file name to clipboardExpand all lines: sample-apps/blank-powershell/4-cleanup.sh
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ echo "Deleted $STACK stack."
1212
if [ -f bucket-name.txt ]; then
1313
ARTIFACT_BUCKET=$(cat bucket-name.txt)
1414
while true; do
15-
read -p "Delete deployment artifacts and bucket ($ARTIFACT_BUCKET)?" response
15+
read -p "Delete deployment artifacts and bucket ($ARTIFACT_BUCKET)? (y/n)" response
1616
case $response in
1717
[Yy]* ) aws s3 rb --force s3://$ARTIFACT_BUCKET; rm bucket-name.txt; break;;
1818
[Nn]* ) break;;
@@ -22,7 +22,7 @@ if [ -f bucket-name.txt ]; then
2222
fi
2323
2424
while true; do
25-
read -p "Delete function logs? (log group /aws/lambda/$FUNCTION)" response
25+
read -p "Delete function log group (/aws/lambda/$FUNCTION)? (y/n)" response
2626
case $response in
2727
[Yy]* ) aws logs delete-log-group --log-group-name /aws/lambda/$FUNCTION; break;;
2828
[Nn]* ) break;;

‎sample-apps/blank-powershell/README.md

Copy file name to clipboardExpand all lines: sample-apps/blank-powershell/README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Use the following instructions to deploy the sample application.
2020
# Setup
2121
Download or clone this repository.
2222

23-
$ git clone git@github.com:awsdocs/aws-lambda-developer-guide.git
23+
$ git clone https://github.com/awsdocs/aws-lambda-developer-guide.git
2424
$ cd aws-lambda-developer-guide/sample-apps/blank-powershell
2525

2626
To create a new bucket for deployment artifacts, run `1-create-bucket.sh`. Or, if you already have a bucket, create a file named `bucket-name.txt` that contains the name of your bucket.

‎sample-apps/blank-python/5-cleanup.sh

Copy file name to clipboardExpand all lines: sample-apps/blank-python/5-cleanup.sh
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ echo "Deleted $STACK stack."
1212
if [ -f bucket-name.txt ]; then
1313
ARTIFACT_BUCKET=$(cat bucket-name.txt)
1414
while true; do
15-
read -p "Delete deployment artifacts and bucket ($ARTIFACT_BUCKET)?" response
15+
read -p "Delete deployment artifacts and bucket ($ARTIFACT_BUCKET)? (y/n)" response
1616
case $response in
1717
[Yy]* ) aws s3 rb --force s3://$ARTIFACT_BUCKET; rm bucket-name.txt; break;;
1818
[Nn]* ) break;;
@@ -22,7 +22,7 @@ if [ -f bucket-name.txt ]; then
2222
fi
2323
2424
while true; do
25-
read -p "Delete function logs? (log group /aws/lambda/$FUNCTION)" response
25+
read -p "Delete function log group (/aws/lambda/$FUNCTION)? (y/n)" response
2626
case $response in
2727
[Yy]* ) aws logs delete-log-group --log-group-name /aws/lambda/$FUNCTION; break;;
2828
[Nn]* ) break;;

‎sample-apps/blank-python/README.md

Copy file name to clipboardExpand all lines: sample-apps/blank-python/README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Use the following instructions to deploy the sample application.
1818
# Setup
1919
Download or clone this repository.
2020

21-
$ git clone git@github.com:awsdocs/aws-lambda-developer-guide.git
21+
$ git clone https://github.com/awsdocs/aws-lambda-developer-guide.git
2222
$ cd aws-lambda-developer-guide/sample-apps/blank-python
2323

2424
To create a new bucket for deployment artifacts, run `1-create-bucket.sh`. Or, if you already have a bucket, create a file named `bucket-name.txt` that contains the name of your bucket.

‎sample-apps/blank-ruby/5-cleanup.sh

Copy file name to clipboardExpand all lines: sample-apps/blank-ruby/5-cleanup.sh
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ echo "Deleted $STACK stack."
1212
if [ -f bucket-name.txt ]; then
1313
ARTIFACT_BUCKET=$(cat bucket-name.txt)
1414
while true; do
15-
read -p "Delete deployment artifacts and bucket ($ARTIFACT_BUCKET)?" response
15+
read -p "Delete deployment artifacts and bucket ($ARTIFACT_BUCKET)? (y/n)" response
1616
case $response in
1717
[Yy]* ) aws s3 rb --force s3://$ARTIFACT_BUCKET; rm bucket-name.txt; break;;
1818
[Nn]* ) break;;
@@ -22,7 +22,7 @@ if [ -f bucket-name.txt ]; then
2222
fi
2323
2424
while true; do
25-
read -p "Delete function logs? (log group /aws/lambda/$FUNCTION)" response
25+
read -p "Delete function log group (/aws/lambda/$FUNCTION)? (y/n)" response
2626
case $response in
2727
[Yy]* ) aws logs delete-log-group --log-group-name /aws/lambda/$FUNCTION; break;;
2828
[Nn]* ) break;;

‎sample-apps/blank-ruby/README.md

Copy file name to clipboardExpand all lines: sample-apps/blank-ruby/README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Use the following instructions to deploy the sample application.
1818
# Setup
1919
Download or clone this repository.
2020

21-
$ git clone git@github.com:awsdocs/aws-lambda-developer-guide.git
21+
$ git clone https://github.com/awsdocs/aws-lambda-developer-guide.git
2222
$ cd aws-lambda-developer-guide/sample-apps/blank-ruby
2323

2424
To create a new bucket for deployment artifacts, run `1-create-bucket.sh`. Or, if you already have a bucket, create a file named `bucket-name.txt` that contains the name of your bucket.

‎sample-apps/blank/5-cleanup.sh

Copy file name to clipboardExpand all lines: sample-apps/blank/5-cleanup.sh
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ echo "Deleted $STACK stack."
1212
if [ -f bucket-name.txt ]; then
1313
ARTIFACT_BUCKET=$(cat bucket-name.txt)
1414
while true; do
15-
read -p "Delete deployment artifacts and bucket ($ARTIFACT_BUCKET)?" response
15+
read -p "Delete deployment artifacts and bucket ($ARTIFACT_BUCKET)? (y/n)" response
1616
case $response in
1717
[Yy]* ) aws s3 rb --force s3://$ARTIFACT_BUCKET; rm bucket-name.txt; break;;
1818
[Nn]* ) break;;
@@ -22,7 +22,7 @@ if [ -f bucket-name.txt ]; then
2222
fi
2323
2424
while true; do
25-
read -p "Delete function logs? (log group /aws/lambda/$FUNCTION)" response
25+
read -p "Delete function log group (/aws/lambda/$FUNCTION)? (y/n)" response
2626
case $response in
2727
[Yy]* ) aws logs delete-log-group --log-group-name /aws/lambda/$FUNCTION; break;;
2828
[Nn]* ) break;;

‎sample-apps/blank/README.md

Copy file name to clipboardExpand all lines: sample-apps/blank/README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Use the following instructions to deploy the sample application. For an in-depth
2828
# Setup
2929
Download or clone this repository.
3030

31-
$ git clone git@github.com:awsdocs/aws-lambda-developer-guide.git
31+
$ git clone https://github.com/awsdocs/aws-lambda-developer-guide.git
3232
$ cd aws-lambda-developer-guide/sample-apps/blank
3333

3434
To create a new bucket for deployment artifacts, run `1-create-bucket.sh`. Or, if you already have a bucket, create a file named `bucket-name.txt` that contains the name of your bucket.

‎sample-apps/ec2-spot/4-cleanup.sh

Copy file name to clipboardExpand all lines: sample-apps/ec2-spot/4-cleanup.sh
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ echo "Deleted $STACK stack."
1212
if [ -f bucket-name.txt ]; then
1313
ARTIFACT_BUCKET=$(cat bucket-name.txt)
1414
while true; do
15-
read -p "Delete deployment artifacts and bucket ($ARTIFACT_BUCKET)?" response
15+
read -p "Delete deployment artifacts and bucket ($ARTIFACT_BUCKET)? (y/n)" response
1616
case $response in
1717
[Yy]* ) aws s3 rb --force s3://$ARTIFACT_BUCKET; rm bucket-name.txt; break;;
1818
[Nn]* ) break;;
@@ -22,7 +22,7 @@ if [ -f bucket-name.txt ]; then
2222
fi
2323
2424
while true; do
25-
read -p "Delete function logs? (log group /aws/lambda/$FUNCTION)" response
25+
read -p "Delete function log group (/aws/lambda/$FUNCTION)? (y/n)" response
2626
case $response in
2727
[Yy]* ) aws logs delete-log-group --log-group-name /aws/lambda/$FUNCTION; break;;
2828
[Nn]* ) break;;

‎sample-apps/ec2-spot/README.md

Copy file name to clipboardExpand all lines: sample-apps/ec2-spot/README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Use the following instructions to deploy the sample application. For more inform
1818
# Setup
1919
Download or clone this repository.
2020

21-
$ git clone git@github.com:awsdocs/aws-lambda-developer-guide.git
21+
$ git clone https://github.com/awsdocs/aws-lambda-developer-guide.git
2222
$ cd aws-lambda-developer-guide/sample-apps/ec2-spot
2323

2424
To create a new bucket for deployment artifacts, run `1-create-bucket.sh`. Or, if you already have a bucket, create a file named `bucket-name.txt` that contains the name of your bucket.

‎sample-apps/error-processor/5-cleanup.sh

Copy file name to clipboardExpand all lines: sample-apps/error-processor/5-cleanup.sh
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ echo "Deleted $STACK stack."
1313
if [ -f bucket-name.txt ]; then
1414
ARTIFACT_BUCKET=$(cat bucket-name.txt)
1515
while true; do
16-
read -p "Delete deployment artifacts and bucket ($ARTIFACT_BUCKET)?" response
16+
read -p "Delete deployment artifacts and bucket ($ARTIFACT_BUCKET)? (y/n)" response
1717
case $response in
1818
[Yy]* ) aws s3 rb --force s3://$ARTIFACT_BUCKET; rm bucket-name.txt; break;;
1919
[Nn]* ) break;;
@@ -23,7 +23,7 @@ if [ -f bucket-name.txt ]; then
2323
fi
2424
2525
while true; do
26-
read -p "Delete function logs? (log group /aws/lambda/$FUNCTION)" response
26+
read -p "Delete function log group (/aws/lambda/$FUNCTION)? (y/n)" response
2727
case $response in
2828
[Yy]* ) aws logs delete-log-group --log-group-name /aws/lambda/$FUNCTION; break;;
2929
[Nn]* ) break;;

‎sample-apps/error-processor/README.md

Copy file name to clipboardExpand all lines: sample-apps/error-processor/README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Use the following instructions to deploy the sample application. For more inform
2121
# Setup
2222
Download or clone this repository.
2323

24-
$ git clone git@github.com:awsdocs/aws-lambda-developer-guide.git
24+
$ git clone https://github.com/awsdocs/aws-lambda-developer-guide.git
2525
$ cd aws-lambda-developer-guide/sample-apps/error-processor
2626

2727
To create a new bucket for deployment artifacts, run `1-create-bucket.sh`. Or, if you already have a bucket, create a file named `bucket-name.txt` that contains the name of your bucket.

‎sample-apps/java-basic/4-cleanup.sh

Copy file name to clipboardExpand all lines: sample-apps/java-basic/4-cleanup.sh
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ echo "Deleted $STACK stack."
1212
if [ -f bucket-name.txt ]; then
1313
ARTIFACT_BUCKET=$(cat bucket-name.txt)
1414
while true; do
15-
read -p "Delete deployment artifacts and bucket ($ARTIFACT_BUCKET)?" response
15+
read -p "Delete deployment artifacts and bucket ($ARTIFACT_BUCKET)? (y/n)" response
1616
case $response in
1717
[Yy]* ) aws s3 rb --force s3://$ARTIFACT_BUCKET; rm bucket-name.txt; break;;
1818
[Nn]* ) break;;
@@ -22,7 +22,7 @@ if [ -f bucket-name.txt ]; then
2222
fi
2323
2424
while true; do
25-
read -p "Delete function logs? (log group /aws/lambda/$FUNCTION)" response
25+
read -p "Delete function log group (/aws/lambda/$FUNCTION)? (y/n)" response
2626
case $response in
2727
[Yy]* ) aws logs delete-log-group --log-group-name /aws/lambda/$FUNCTION; break;;
2828
[Nn]* ) break;;

‎sample-apps/java-basic/README.md

Copy file name to clipboardExpand all lines: sample-apps/java-basic/README.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ Use the following instructions to deploy the sample application.
1414

1515
# Requirements
1616
- [Java 8 runtime environment (SE JRE)](https://www.oracle.com/java/technologies/javase-downloads.html)
17-
- [Maven 3](https://maven.apache.org/docs/history.html)
17+
- [Gradle 5](https://gradle.org/releases/) or [Maven 3](https://maven.apache.org/docs/history.html)
1818
- The Bash shell. For Linux and macOS, this is included by default. In Windows 10, you can install the [Windows Subsystem for Linux](https://docs.microsoft.com/en-us/windows/wsl/install-win10) to get a Windows-integrated version of Ubuntu and Bash.
1919
- [The AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html).
2020

2121
# Setup
2222
Download or clone this repository.
2323

24-
$ git clone git@github.com:awsdocs/aws-lambda-developer-guide.git
24+
$ git clone https://github.com/awsdocs/aws-lambda-developer-guide.git
2525
$ cd aws-lambda-developer-guide/sample-apps/java-basic
2626

2727
To create a new bucket for deployment artifacts, run `1-create-bucket.sh`. Or, if you already have a bucket, create a file named `bucket-name.txt` that contains the name of your bucket.

‎sample-apps/java-basic/src/main/java/example/HandlerInteger.java

Copy file name to clipboardExpand all lines: sample-apps/java-basic/src/main/java/example/HandlerInteger.java
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ public Integer handleRequest(Integer event, Context context)
1717
// process event
1818
logger.log("EVENT: " + gson.toJson(event));
1919
logger.log("EVENT TYPE: " + event.getClass().toString());
20+
// return amount of time remaining before timeout
2021
return context.getRemainingTimeInMillis();
2122
}
2223
}

‎sample-apps/java-basic/src/test/java/example/InvokeTest.java

Copy file name to clipboardExpand all lines: sample-apps/java-basic/src/test/java/example/InvokeTest.java
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ void invokeTest() {
2222
logger.info("Invoke TEST");
2323
HashMap<String,String> event = new HashMap<String,String>();
2424
Context context = new TestContext();
25-
String requestId = context.getAwsRequestId();
2625
Handler handler = new Handler();
2726
String result = handler.handleRequest(event, context);
2827
assertTrue(result.contains("200 OK"));

‎sample-apps/java-events-v1sdk/5-cleanup.sh

Copy file name to clipboardExpand all lines: sample-apps/java-events-v1sdk/5-cleanup.sh
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ echo "Deleted $STACK stack."
1212
if [ -f bucket-name.txt ]; then
1313
ARTIFACT_BUCKET=$(cat bucket-name.txt)
1414
while true; do
15-
read -p "Delete deployment artifacts and bucket ($ARTIFACT_BUCKET)?" response
15+
read -p "Delete deployment artifacts and bucket ($ARTIFACT_BUCKET)? (y/n)" response
1616
case $response in
1717
[Yy]* ) aws s3 rb --force s3://$ARTIFACT_BUCKET; rm bucket-name.txt; break;;
1818
[Nn]* ) break;;
@@ -22,7 +22,7 @@ if [ -f bucket-name.txt ]; then
2222
fi
2323
2424
while true; do
25-
read -p "Delete function logs? (log group /aws/lambda/$FUNCTION)" response
25+
read -p "Delete function log group (/aws/lambda/$FUNCTION)? (y/n)" response
2626
case $response in
2727
[Yy]* ) aws logs delete-log-group --log-group-name /aws/lambda/$FUNCTION; break;;
2828
[Nn]* ) break;;

‎sample-apps/java-events-v1sdk/README.md

Copy file name to clipboardExpand all lines: sample-apps/java-events-v1sdk/README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Use the following instructions to deploy the sample application.
2323
# Setup
2424
Download or clone this repository.
2525

26-
$ git clone git@github.com:awsdocs/aws-lambda-developer-guide.git
26+
$ git clone https://github.com/awsdocs/aws-lambda-developer-guide.git
2727
$ cd aws-lambda-developer-guide/sample-apps/java-events-v1sdk
2828

2929
Run `1-create-bucket.sh` to create a new bucket for deployment artifacts. Or, if you already have a bucket, create a file named `bucket-name.txt` that contains the name of your bucket.

‎sample-apps/java-events/4-cleanup.sh

Copy file name to clipboardExpand all lines: sample-apps/java-events/4-cleanup.sh
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ echo "Deleted $STACK stack."
1212
if [ -f bucket-name.txt ]; then
1313
ARTIFACT_BUCKET=$(cat bucket-name.txt)
1414
while true; do
15-
read -p "Delete deployment artifacts and bucket ($ARTIFACT_BUCKET)?" response
15+
read -p "Delete deployment artifacts and bucket ($ARTIFACT_BUCKET)? (y/n)" response
1616
case $response in
1717
[Yy]* ) aws s3 rb --force s3://$ARTIFACT_BUCKET; rm bucket-name.txt; break;;
1818
[Nn]* ) break;;
@@ -22,7 +22,7 @@ if [ -f bucket-name.txt ]; then
2222
fi
2323
2424
while true; do
25-
read -p "Delete function logs? (log group /aws/lambda/$FUNCTION)" response
25+
read -p "Delete function log group (/aws/lambda/$FUNCTION)? (y/n)" response
2626
case $response in
2727
[Yy]* ) aws logs delete-log-group --log-group-name /aws/lambda/$FUNCTION; break;;
2828
[Nn]* ) break;;

‎sample-apps/java-events/README.md

Copy file name to clipboardExpand all lines: sample-apps/java-events/README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Use the following instructions to deploy the sample application.
2323
# Setup
2424
Download or clone this repository.
2525

26-
$ git clone git@github.com:awsdocs/aws-lambda-developer-guide.git
26+
$ git clone https://github.com/awsdocs/aws-lambda-developer-guide.git
2727
$ cd aws-lambda-developer-guide/sample-apps/java-events
2828

2929
Run `1-create-bucket.sh` to create a new bucket for deployment artifacts. Or, if you already have a bucket, create a file named `bucket-name.txt` that contains the name of your bucket.

‎sample-apps/list-manager/8-cleanup.sh

Copy file name to clipboardExpand all lines: sample-apps/list-manager/8-cleanup.sh
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ echo "Deleted $STACK stack."
1212
if [ -f bucket-name.txt ]; then
1313
ARTIFACT_BUCKET=$(cat bucket-name.txt)
1414
while true; do
15-
read -p "Delete deployment artifacts and bucket ($ARTIFACT_BUCKET)?" response
15+
read -p "Delete deployment artifacts and bucket ($ARTIFACT_BUCKET)? (y/n)" response
1616
case $response in
1717
[Yy]* ) aws s3 rb --force s3://$ARTIFACT_BUCKET; rm bucket-name.txt; break;;
1818
[Nn]* ) break;;
@@ -22,7 +22,7 @@ if [ -f bucket-name.txt ]; then
2222
fi
2323
2424
while true; do
25-
read -p "Delete function logs? (log group /aws/lambda/$FUNCTION)" response
25+
read -p "Delete function log group (/aws/lambda/$FUNCTION)? (y/n)" response
2626
case $response in
2727
[Yy]* ) aws logs delete-log-group --log-group-name /aws/lambda/$FUNCTION; break;;
2828
[Nn]* ) break;;

‎sample-apps/list-manager/README.md

Copy file name to clipboardExpand all lines: sample-apps/list-manager/README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Standard charges apply for each service.
6161

6262
Download or clone this repository.
6363

64-
$ git clone git@github.com:awsdocs/aws-lambda-developer-guide.git
64+
$ git clone https://github.com/awsdocs/aws-lambda-developer-guide.git
6565
$ cd aws-lambda-developer-guide/sample-apps/list-manager
6666

6767
To create a new bucket for deployment artifacts, run `1-create-bucket.sh`. Or, if you already have a bucket, create a file named `bucket-name.txt` that contains the name of your bucket.

‎sample-apps/nodejs-apig/5-cleanup.sh

Copy file name to clipboardExpand all lines: sample-apps/nodejs-apig/5-cleanup.sh
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ echo "Deleted $STACK stack."
1212
if [ -f bucket-name.txt ]; then
1313
ARTIFACT_BUCKET=$(cat bucket-name.txt)
1414
while true; do
15-
read -p "Delete deployment artifacts and bucket ($ARTIFACT_BUCKET)?" response
15+
read -p "Delete deployment artifacts and bucket ($ARTIFACT_BUCKET)? (y/n)" response
1616
case $response in
1717
[Yy]* ) aws s3 rb --force s3://$ARTIFACT_BUCKET; rm bucket-name.txt; break;;
1818
[Nn]* ) break;;
@@ -22,7 +22,7 @@ if [ -f bucket-name.txt ]; then
2222
fi
2323
2424
while true; do
25-
read -p "Delete function logs? (log group /aws/lambda/$FUNCTION)" response
25+
read -p "Delete function log group (/aws/lambda/$FUNCTION)? (y/n)" response
2626
case $response in
2727
[Yy]* ) aws logs delete-log-group --log-group-name /aws/lambda/$FUNCTION; break;;
2828
[Nn]* ) break;;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.