From 397867df0b8a98b508dd9da16271174a6d5371a9 Mon Sep 17 00:00:00 2001 From: Don Fox Date: Tue, 19 Nov 2024 04:30:27 -0500 Subject: [PATCH] Docs: Fix typo in Lambda docstring (#8333) --- docs/docs/services/lambda.rst | 2 +- moto/awslambda/models.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/services/lambda.rst b/docs/docs/services/lambda.rst index 6e6ac1cbadb..c2c23fbbf4a 100644 --- a/docs/docs/services/lambda.rst +++ b/docs/docs/services/lambda.rst @@ -71,7 +71,7 @@ lambda Invoking a Function with PackageType=Image is not yet supported. - Invoking a Funcation against Lambda without docker now supports customised responses, the default being `Simple Lambda happy path OK`. + Invoking a Function against Lambda without docker now supports customised responses, the default being `Simple Lambda happy path OK`. You can use a dedicated API to override this, by configuring a queue of expected results. A request to `invoke` will take the first result from that queue. diff --git a/moto/awslambda/models.py b/moto/awslambda/models.py index fde8bfc8c16..f39f00c7033 100644 --- a/moto/awslambda/models.py +++ b/moto/awslambda/models.py @@ -2389,7 +2389,7 @@ def invoke( """ Invoking a Function with PackageType=Image is not yet supported. - Invoking a Funcation against Lambda without docker now supports customised responses, the default being `Simple Lambda happy path OK`. + Invoking a Function against Lambda without docker now supports customised responses, the default being `Simple Lambda happy path OK`. You can use a dedicated API to override this, by configuring a queue of expected results. A request to `invoke` will take the first result from that queue.