@@ -0,0 +1,2222 @@
+/**%0A * Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.%0A *%0A * This file is licensed under the Apache License, Version 2.0 (the %22License%22).%0A * You may not use this file except in compliance with the License. A copy of%0A * the License is located at%0A *%0A * http://aws.amazon.com/apache2.0/%0A *%0A * This file is distributed on an %22AS IS%22 BASIS, WITHOUT WARRANTIES OR%0A * CONDITIONS OF ANY KIND, either express or implied. See the License for the%0A * specific language governing permissions and limitations under the License.%0A *%0A */%0A%0A// snippet-comment:%5BThese are tags for the AWS doc team's sample catalog. Do not remove.%5D%0A// snippet-sourcedescription:%5BDynamoDBAsyncGetItem.java demonstrates how to get an item by using the DynamoDbAsyncClient object%5D%0A// snippet-service:%5Bdynamodb%5D%0A// snippet-keyword:%5BJava%5D%0A// snippet-keyword:%5BAmazon DynamoDB%5D%0A// snippet-keyword:%5BCode Sample%5D%0A// snippet-sourcetype:%5Bfull-example%5D%0A// snippet-sourcedate:%5B2019-11-19%5D%0A// snippet-sourceauthor:%5BAWS%5D%0A%0Apackage com.example.lambda;%0A%0Aimport software.amazon.awssdk.regions.Region;%0Aimport software.amazon.awssdk.services.lambda.LambdaClient;%0Aimport software.amazon.awssdk.services.lambda.model.ListFunctionsResponse;%0Aimport software.amazon.awssdk.services.lambda.model.FunctionConfiguration;%0Aimport software.amazon.awssdk.services.lambda.model.ServiceException;%0Aimport java.util.Iterator;%0Aimport java.util.List;%0A%0Apublic class ListLambdaFunctions %7B%0A%0A    public static void main(String%5B%5D args) %7B%0A%0A        ListFunctionsResponse functionResult = null ;%0A        try%0A        %7B%0A            Region region = Region.US_WEST_2;%0A            LambdaClient awsLambda = LambdaClient.builder().region(region).build();%0A%0A            //Get a list of all functions%0A            functionResult = awsLambda.listFunctions();%0A%0A            List%3CFunctionConfiguration%3E list = functionResult.functions();%0A%0A            for (Iterator iter = list.iterator(); iter.hasNext(); ) %7B%0A                FunctionConfiguration config = (FunctionConfiguration)iter.next();%0A                System.out.println(%22The function name is %22+config.functionName());%0A            %7D%0A        %7D%0A        catch(ServiceException e)%0A        %7B%0A            e.getStackTrace();%0A        %7D%0A    %7D%0A%7D%0A

Create ListLambdaFunctions.java