Skip to content

Commit 53b2368

Browse files
committed
WRITEME
1 parent 9a6822c commit 53b2368

File tree

6 files changed

+122
-5
lines changed

6 files changed

+122
-5
lines changed

python/example_code/cloudwatch-logs/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ Code examples that show you how to accomplish a specific task by calling multipl
4747
functions within the same service.
4848

4949
- [Run a large query](scenarios/large-query/exec.py)
50+
- [Use scheduled events to invoke a Lambda function](../../example_code/lambda)
5051

5152

5253
<!--custom.examples.start-->
@@ -80,6 +81,18 @@ python scenarios/large-query/exec.py
8081
<!--custom.scenarios.cloudwatch-logs_Scenario_BigQuery.start-->
8182
<!--custom.scenarios.cloudwatch-logs_Scenario_BigQuery.end-->
8283

84+
#### Use scheduled events to invoke a Lambda function
85+
86+
This example shows you how to create an AWS Lambda function invoked by an Amazon EventBridge scheduled event.
87+
88+
89+
<!--custom.scenario_prereqs.cross_LambdaScheduledEvents.start-->
90+
<!--custom.scenario_prereqs.cross_LambdaScheduledEvents.end-->
91+
92+
93+
<!--custom.scenarios.cross_LambdaScheduledEvents.start-->
94+
<!--custom.scenarios.cross_LambdaScheduledEvents.end-->
95+
8396
### Tests
8497

8598
⚠ Running tests might result in charges to your AWS account.

python/example_code/dynamodb/README.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ functions within the same service.
7777
- [Create a websocket chat application](../../cross_service/apigateway_websocket_chat)
7878
- [Query a table by using batches of PartiQL statements](partiql/scenario_partiql_batch.py)
7979
- [Query a table using PartiQL](partiql/scenario_partiql_single.py)
80+
- [Use API Gateway to invoke a Lambda function](../../example_code/lambda)
81+
- [Use scheduled events to invoke a Lambda function](../../example_code/lambda)
8082

8183

8284
<!--custom.examples.start-->
@@ -259,6 +261,30 @@ python partiql/scenario_partiql_single.py
259261
<!--custom.scenarios.dynamodb_Scenario_PartiQLSingle.start-->
260262
<!--custom.scenarios.dynamodb_Scenario_PartiQLSingle.end-->
261263

264+
#### Use API Gateway to invoke a Lambda function
265+
266+
This example shows you how to create an AWS Lambda function invoked by Amazon API Gateway.
267+
268+
269+
<!--custom.scenario_prereqs.cross_LambdaAPIGateway.start-->
270+
<!--custom.scenario_prereqs.cross_LambdaAPIGateway.end-->
271+
272+
273+
<!--custom.scenarios.cross_LambdaAPIGateway.start-->
274+
<!--custom.scenarios.cross_LambdaAPIGateway.end-->
275+
276+
#### Use scheduled events to invoke a Lambda function
277+
278+
This example shows you how to create an AWS Lambda function invoked by an Amazon EventBridge scheduled event.
279+
280+
281+
<!--custom.scenario_prereqs.cross_LambdaScheduledEvents.start-->
282+
<!--custom.scenario_prereqs.cross_LambdaScheduledEvents.end-->
283+
284+
285+
<!--custom.scenarios.cross_LambdaScheduledEvents.start-->
286+
<!--custom.scenarios.cross_LambdaScheduledEvents.end-->
287+
262288
### Tests
263289

264290
⚠ Running tests might result in charges to your AWS account.
@@ -285,4 +311,4 @@ in the `python` folder.
285311

286312
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
287313

288-
SPDX-License-Identifier: Apache-2.0
314+
SPDX-License-Identifier: Apache-2.0

python/example_code/s3/README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ functions within the same service.
8888
- [Create an Amazon Textract explorer application](../../cross_service/textract_explorer)
8989
- [Detect entities in text extracted from an image](../../cross_service/textract_comprehend_notebook)
9090
- [Detect objects in images](../../cross_service/photo_analyzer)
91+
- [Detect people and objects in a video](../../example_code/rekognition)
9192
- [Make conditional requests](scenarios/conditional_requests/scenario.py)
9293
- [Manage versioned objects in batches with a Lambda function](../../example_code/s3/s3_versioning)
9394
- [Upload or download large files](file_transfer/file_transfer.py)
@@ -191,6 +192,18 @@ This example shows you how to build an app that uses Amazon Rekognition to detec
191192
<!--custom.scenarios.cross_RekognitionPhotoAnalyzer.start-->
192193
<!--custom.scenarios.cross_RekognitionPhotoAnalyzer.end-->
193194

195+
#### Detect people and objects in a video
196+
197+
This example shows you how to detect people and objects in a video with Amazon Rekognition.
198+
199+
200+
<!--custom.scenario_prereqs.cross_RekognitionVideoDetection.start-->
201+
<!--custom.scenario_prereqs.cross_RekognitionVideoDetection.end-->
202+
203+
204+
<!--custom.scenarios.cross_RekognitionVideoDetection.start-->
205+
<!--custom.scenarios.cross_RekognitionVideoDetection.end-->
206+
194207
#### Make conditional requests
195208

196209
This example shows you how to add preconditions to Amazon S3 requests.
@@ -290,4 +303,4 @@ in the `python` folder.
290303

291304
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
292305

293-
SPDX-License-Identifier: Apache-2.0
306+
SPDX-License-Identifier: Apache-2.0

python/example_code/ses/README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ functions within the same service.
6868
- [Create a web application to track DynamoDB data](../../cross_service/dynamodb_item_tracker)
6969
- [Create an Aurora Serverless work item tracker](../../cross_service/aurora_item_tracker)
7070
- [Detect objects in images](../../cross_service/photo_analyzer)
71+
- [Detect people and objects in a video](../../example_code/rekognition)
7172
- [Generate credentials to connect to an SMTP endpoint](ses_generate_smtp_credentials.py)
7273
- [Verify an email identity and send messages](ses_email.py)
7374

@@ -139,6 +140,18 @@ This example shows you how to build an app that uses Amazon Rekognition to detec
139140
<!--custom.scenarios.cross_RekognitionPhotoAnalyzer.start-->
140141
<!--custom.scenarios.cross_RekognitionPhotoAnalyzer.end-->
141142

143+
#### Detect people and objects in a video
144+
145+
This example shows you how to detect people and objects in a video with Amazon Rekognition.
146+
147+
148+
<!--custom.scenario_prereqs.cross_RekognitionVideoDetection.start-->
149+
<!--custom.scenario_prereqs.cross_RekognitionVideoDetection.end-->
150+
151+
152+
<!--custom.scenarios.cross_RekognitionVideoDetection.start-->
153+
<!--custom.scenarios.cross_RekognitionVideoDetection.end-->
154+
142155
#### Generate credentials to connect to an SMTP endpoint
143156

144157
This example shows you how to generate credentials to connect to an Amazon SES SMTP endpoint.
@@ -205,4 +218,4 @@ in the `python` folder.
205218

206219
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
207220

208-
SPDX-License-Identifier: Apache-2.0
221+
SPDX-License-Identifier: Apache-2.0

python/example_code/sns/README.md

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,10 @@ functions within the same service.
5454

5555
- [Create an Amazon Textract explorer application](../../cross_service/textract_explorer)
5656
- [Create and publish to a FIFO topic](sns_fifo_topic.py)
57+
- [Detect people and objects in a video](../../example_code/rekognition)
5758
- [Publish an SMS text message](sns_basics.py)
59+
- [Use API Gateway to invoke a Lambda function](../../example_code/lambda)
60+
- [Use scheduled events to invoke a Lambda function](../../example_code/lambda)
5861

5962

6063
<!--custom.examples.start-->
@@ -105,6 +108,18 @@ python sns_fifo_topic.py
105108
<!--custom.scenarios.sns_PublishFifoTopic.start-->
106109
<!--custom.scenarios.sns_PublishFifoTopic.end-->
107110

111+
#### Detect people and objects in a video
112+
113+
This example shows you how to detect people and objects in a video with Amazon Rekognition.
114+
115+
116+
<!--custom.scenario_prereqs.cross_RekognitionVideoDetection.start-->
117+
<!--custom.scenario_prereqs.cross_RekognitionVideoDetection.end-->
118+
119+
120+
<!--custom.scenarios.cross_RekognitionVideoDetection.start-->
121+
<!--custom.scenarios.cross_RekognitionVideoDetection.end-->
122+
108123
#### Publish an SMS text message
109124

110125
This example shows you how to publish SMS messages using Amazon SNS.
@@ -123,6 +138,30 @@ python sns_basics.py
123138
<!--custom.scenarios.sns_PublishTextSMS.start-->
124139
<!--custom.scenarios.sns_PublishTextSMS.end-->
125140

141+
#### Use API Gateway to invoke a Lambda function
142+
143+
This example shows you how to create an AWS Lambda function invoked by Amazon API Gateway.
144+
145+
146+
<!--custom.scenario_prereqs.cross_LambdaAPIGateway.start-->
147+
<!--custom.scenario_prereqs.cross_LambdaAPIGateway.end-->
148+
149+
150+
<!--custom.scenarios.cross_LambdaAPIGateway.start-->
151+
<!--custom.scenarios.cross_LambdaAPIGateway.end-->
152+
153+
#### Use scheduled events to invoke a Lambda function
154+
155+
This example shows you how to create an AWS Lambda function invoked by an Amazon EventBridge scheduled event.
156+
157+
158+
<!--custom.scenario_prereqs.cross_LambdaScheduledEvents.start-->
159+
<!--custom.scenario_prereqs.cross_LambdaScheduledEvents.end-->
160+
161+
162+
<!--custom.scenarios.cross_LambdaScheduledEvents.start-->
163+
<!--custom.scenarios.cross_LambdaScheduledEvents.end-->
164+
126165
### Tests
127166

128167
⚠ Running tests might result in charges to your AWS account.
@@ -149,4 +188,4 @@ in the `python` folder.
149188

150189
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
151190

152-
SPDX-License-Identifier: Apache-2.0
191+
SPDX-License-Identifier: Apache-2.0

python/example_code/sqs/README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ functions within the same service.
5656
- [Create a messenger application](../../cross_service/stepfunctions_messenger)
5757
- [Create an Amazon Textract explorer application](../../cross_service/textract_explorer)
5858
- [Create and publish to a FIFO topic](../sns/sns_fifo_topic.py)
59+
- [Detect people and objects in a video](../../example_code/rekognition)
5960
- [Send and receive batches of messages](message_wrapper.py)
6061

6162

@@ -114,6 +115,18 @@ python ../sns/sns_fifo_topic.py
114115
<!--custom.scenarios.sns_PublishFifoTopic.start-->
115116
<!--custom.scenarios.sns_PublishFifoTopic.end-->
116117

118+
#### Detect people and objects in a video
119+
120+
This example shows you how to detect people and objects in a video with Amazon Rekognition.
121+
122+
123+
<!--custom.scenario_prereqs.cross_RekognitionVideoDetection.start-->
124+
<!--custom.scenario_prereqs.cross_RekognitionVideoDetection.end-->
125+
126+
127+
<!--custom.scenarios.cross_RekognitionVideoDetection.start-->
128+
<!--custom.scenarios.cross_RekognitionVideoDetection.end-->
129+
117130
#### Send and receive batches of messages
118131

119132
This example shows you how to do the following:
@@ -162,4 +175,4 @@ in the `python` folder.
162175

163176
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
164177

165-
SPDX-License-Identifier: Apache-2.0
178+
SPDX-License-Identifier: Apache-2.0

0 commit comments

Comments
 (0)