Code from the JSONPath data processing episode on 28 April 2020.
sam build && sam deploy --guided
The following state machine definitions are provided in the order of their appearance in the episode:
- simple-pass-state.asl.json - The simplest example, a Pass State with no InputPath, ResultPath, or OutputPath defined.
- entire-input-to-lambda.asl.json - An example with an additional AWS Lambda Task State that accepts the entire state as its input payload. No ResultPath or OutputPath are defined.
- lambda-with-result-path.asl.json - An example that adds a non-destructive ResultPath to the Lambda Task State.
- lambda-with-result-path-and-input-parameter.asl.json - An example that adds a named input parameter to correctly shape the data passed to the Lambda function.
- lambda-with-result-and-output-paths.asl.json - An example that adds an OutputPath to reduce the size of the execution state.
- pass-state-manipulation.asl.json - An example that uses data manipulation in a Pass State to reshape the execution state.
- arrays.asl.json - An example that shows how to filter for individual items or collections of items in an array in the execution state.
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: MIT-0