Skip to content

Commit fd1cf9e

Browse files
committed
updated Lambda Readme
1 parent bcef6bd commit fd1cf9e

File tree

2 files changed

+19
-17
lines changed

2 files changed

+19
-17
lines changed

javav2/example_code/lambda/README.md

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -31,23 +31,26 @@ For prerequisites, see the [README](../../README.md#Prerequisites) in the `javav
3131

3232
### Get started
3333

34-
- [Hello Lambda](src/main/java/com/example/lambda/ListLambdaFunctions.java#L4) (`ListFunctions`)
34+
- [Hello Lambda](src/main/java/com/example/lambda/scenario/LambdaScenario.java#L220) (`ListFunctions`)
3535

3636

37-
### Single actions
37+
### Basics
3838

39-
Code excerpts that show you how to call individual service functions.
39+
Code examples that show you how to perform the essential operations within a service.
4040

41-
- [CreateFunction](src/main/java/com/example/lambda/CreateFunction.java#L6)
42-
- [DeleteFunction](src/main/java/com/example/lambda/DeleteFunction.java#L7)
43-
- [Invoke](src/main/java/com/example/lambda/LambdaInvoke.java#L7)
41+
- [Learn the Basics with functions](src/main/java/com/example/lambda/scenario/LambdaScenario.java)
4442

45-
### Scenarios
4643

47-
Code examples that show you how to accomplish a specific task by calling multiple
48-
functions within the same service.
44+
### Single actions
4945

50-
- [Get started with functions](src/main/java/com/example/lambda/LambdaScenario.java)
46+
Code excerpts that show you how to call individual service functions.
47+
48+
- [CreateFunction](src/main/java/com/example/lambda/scenario/LambdaScenario.java#L144)
49+
- [DeleteFunction](src/main/java/com/example/lambda/scenario/LambdaScenario.java#L339)
50+
- [GetFunction](src/main/java/com/example/lambda/scenario/LambdaScenario.java#L197)
51+
- [Invoke](src/main/java/com/example/lambda/scenario/LambdaScenario.java#L243)
52+
- [UpdateFunctionCode](src/main/java/com/example/lambda/scenario/LambdaScenario.java#L197)
53+
- [UpdateFunctionConfiguration](src/main/java/com/example/lambda/scenario/LambdaScenario.java#L312)
5154

5255

5356
<!--custom.examples.start-->
@@ -66,8 +69,7 @@ functions within the same service.
6669
This example shows you how to get started using Lambda.
6770

6871

69-
70-
#### Get started with functions
72+
#### Learn the Basics with functions
7173

7274
This example shows you how to do the following:
7375

@@ -77,12 +79,13 @@ This example shows you how to do the following:
7779
- Invoke the function with new parameters and get results. Display the returned execution log.
7880
- List the functions for your account, then clean up resources.
7981

80-
<!--custom.scenario_prereqs.lambda_Scenario_GettingStartedFunctions.start-->
81-
<!--custom.scenario_prereqs.lambda_Scenario_GettingStartedFunctions.end-->
82+
<!--custom.basic_prereqs.lambda_Scenario_GettingStartedFunctions.start-->
83+
<!--custom.basic_prereqs.lambda_Scenario_GettingStartedFunctions.end-->
84+
8285

86+
<!--custom.basics.lambda_Scenario_GettingStartedFunctions.start-->
87+
<!--custom.basics.lambda_Scenario_GettingStartedFunctions.end-->
8388

84-
<!--custom.scenarios.lambda_Scenario_GettingStartedFunctions.start-->
85-
<!--custom.scenarios.lambda_Scenario_GettingStartedFunctions.end-->
8689

8790
### Tests
8891

javav2/example_code/lambda/src/main/java/com/example/lambda/scenario/LambdaScenario.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ public static void main(String[] args) throws InterruptedException {
142142
}
143143

144144
// snippet-start:[lambda.java2.create.main]
145-
146145
/**
147146
* Creates a new Lambda function in AWS using the AWS Lambda Java API.
148147
*

0 commit comments

Comments
 (0)