php/example_code/lambda/README.md
Shows how to use the AWS SDK for PHP to work with AWS Lambda.
<!--custom.overview.start--> <!--custom.overview.end-->Lambda allows you to run code without provisioning or managing servers.
For prerequisites, see the README in the php folder.
Code examples that show you how to perform the essential operations within a service.
Code excerpts that show you how to call individual service functions.
Code examples that show you how to accomplish a specific task by calling multiple functions within the same service.
<!--custom.examples.start--> <!--custom.examples.end-->This interactive scenario runs at a command prompt and shows you how to use AWS Lambda to do the following:
Install dependencies by using Composer:
composer install
After your composer dependencies are installed, you can run the interactive getting started file directly by using the
following command from the aws-doc-sdk-examples\php\Lambda\ directory:
php Runner.php
Alternatively, you can have the choices automatically selected by running the file as part of a PHPUnit test with the following:
..\..\vendor\bin\phpunit LambdaBasicsTests.php
This example shows you how to do the following:
This example shows you how to create a serverless application that lets users manage photos using labels.
<!--custom.scenario_prereqs.cross_PAM.start--> <!--custom.scenario_prereqs.cross_PAM.end--> <!--custom.scenarios.cross_PAM.start--> <!--custom.scenarios.cross_PAM.end-->⚠ Running tests might result in charges to your AWS account.
To find instructions for running these tests, see the README
in the php folder.
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0