Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 29 additions & 4 deletions .doc_gen/metadata/lambda_metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ lambda_Hello:
excerpts:
- description:
snippet_tags:
- lambda.java2.ListLambdaFunctions.complete
- lambda.java2.list.main
.NET:
versions:
- sdk_version: 3
Expand Down Expand Up @@ -384,6 +384,15 @@ lambda_Invoke:
lambda: {Invoke}
lambda_GetFunction:
languages:
Java:
versions:
- sdk_version: 2
github: javav2/example_code/lambda
sdkguide:
excerpts:
- description:
snippet_tags:
- lambda.java2.get.function.main
.NET:
versions:
- sdk_version: 3
Expand Down Expand Up @@ -469,6 +478,15 @@ lambda_GetFunction:
lambda: {GetFunction}
lambda_UpdateFunctionCode:
languages:
Java:
versions:
- sdk_version: 2
github: javav2/example_code/lambda
sdkguide:
excerpts:
- description:
snippet_tags:
- lambda.java2.get.function.main
.NET:
versions:
- sdk_version: 3
Expand Down Expand Up @@ -555,6 +573,15 @@ lambda_UpdateFunctionCode:
lambda: {UpdateFunctionCode}
lambda_UpdateFunctionConfiguration:
languages:
Java:
versions:
- sdk_version: 2
github: javav2/example_code/lambda
sdkguide:
excerpts:
- description:
snippet_tags:
- lambda.java2.update.config.main
.NET:
versions:
- sdk_version: 3
Expand Down Expand Up @@ -724,15 +751,13 @@ lambda_ListFunctions:
services:
lambda: {ListFunctions}
lambda_Scenario_GettingStartedFunctions:
title: Get started creating and invoking &LAM; functions using an &AWS; SDK
title_abbrev: Get started with functions
synopsis_list:
- Create an &IAM; role and &LAM; function, then upload handler code.
- Invoke the function with a single parameter and get results.
- Update the function code and configure with an environment variable.
- Invoke the function with new parameters and get results. Display the returned execution log.
- List the functions for your account, then clean up resources.
category: Scenarios
category: Basics
guide_topic:
title: Create a &LAM; function with the console
url: lambda/latest/dg/getting-started-create-function.html
Expand Down
35 changes: 19 additions & 16 deletions javav2/example_code/lambda/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,23 +31,26 @@ For prerequisites, see the [README](../../README.md#Prerequisites) in the `javav

### Get started

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


### Single actions
### Basics

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

- [CreateFunction](src/main/java/com/example/lambda/CreateFunction.java#L6)
- [DeleteFunction](src/main/java/com/example/lambda/DeleteFunction.java#L7)
- [Invoke](src/main/java/com/example/lambda/LambdaInvoke.java#L7)
- [Learn the basics](src/main/java/com/example/lambda/scenario/LambdaScenario.java)

### Scenarios

Code examples that show you how to accomplish a specific task by calling multiple
functions within the same service.
### Single actions

- [Get started with functions](src/main/java/com/example/lambda/LambdaScenario.java)
Code excerpts that show you how to call individual service functions.

- [CreateFunction](src/main/java/com/example/lambda/scenario/LambdaScenario.java#L144)
- [DeleteFunction](src/main/java/com/example/lambda/scenario/LambdaScenario.java#L338)
- [GetFunction](src/main/java/com/example/lambda/scenario/LambdaScenario.java#L196)
- [Invoke](src/main/java/com/example/lambda/scenario/LambdaScenario.java#L242)
- [UpdateFunctionCode](src/main/java/com/example/lambda/scenario/LambdaScenario.java#L196)
- [UpdateFunctionConfiguration](src/main/java/com/example/lambda/scenario/LambdaScenario.java#L311)


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



#### Get started with functions
#### Learn the basics

This example shows you how to do the following:

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

<!--custom.scenario_prereqs.lambda_Scenario_GettingStartedFunctions.start-->
<!--custom.scenario_prereqs.lambda_Scenario_GettingStartedFunctions.end-->
<!--custom.basic_prereqs.lambda_Scenario_GettingStartedFunctions.start-->
<!--custom.basic_prereqs.lambda_Scenario_GettingStartedFunctions.end-->


<!--custom.basics.lambda_Scenario_GettingStartedFunctions.start-->
<!--custom.basics.lambda_Scenario_GettingStartedFunctions.end-->

<!--custom.scenarios.lambda_Scenario_GettingStartedFunctions.start-->
<!--custom.scenarios.lambda_Scenario_GettingStartedFunctions.end-->

### Tests

Expand Down

This file was deleted.

This file was deleted.

Loading
Loading