You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/environment-variables.md
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -32,12 +32,12 @@ Each Utility page provides information on example values and allowed values.
32
32
33
33
## Dev Mode
34
34
35
-
Whether you're prototyping locally or against a non-production environment, you can use `POWERTOOLS_DEV` to increase verbosity across multiple utilities.
35
+
Whether you're prototyping locally or against a non-production environment, you can use `POWERTOOLS_DEV` to increase verbosity across multiple utilities or disable certain features.
36
36
37
-
When `POWERTOOLS_DEV` is set to a truthy value (`1`, `true`), it'll have the following effects:
37
+
When `POWERTOOLS_DEV` is set to a truthy value (`1`, `true`, `on`), it'll have the following effects:
|**Logger**| Increase JSON indentation to 4 and uses global `console` to emit logs to ease testing and local debugging when running functions locally. However, Amazon CloudWatch Logs view will degrade as each new line is treated as a new message|
42
-
|**Tracer**|Disables tracing operations in non-Lambda environments. This already happens automatically in the Tracer utility |
43
-
|**Metrics**|Disables emitting metrics to stdout. Can be overridden by explicitly setting `POWERTOOLS_METRICS_DISABLED` to `false`|
Copy file name to clipboardExpand all lines: docs/features/event-handler/appsync-events.md
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ stateDiagram-v2
41
41
* Easily handle publish and subscribe events with dedicated handler methods
42
42
* Automatic routing based on namespace and channel patterns
43
43
* Support for wildcard patterns to create catch-all handlers
44
-
* Process events in parallel corontrol aggregation for batch processing
44
+
* Process events in parallel and control aggregation for batch processing
45
45
* Graceful error handling for individual events
46
46
47
47
## Terminology
@@ -59,6 +59,8 @@ It handles connection management, message broadcasting, authentication, and moni
59
59
60
60
You must have an existing AppSync Events API with real-time capabilities enabled and IAM permissions to invoke your AWS Lambda function. That said, there are no additional permissions required to use Event Handler as routing requires no dependency.
61
61
62
+
Additionally, if you want the result of your handler to be used by AppSync you must set the integration type to `REQUEST_RESPONSE`.
63
+
62
64
=== "template.yaml"
63
65
64
66
```yaml
@@ -245,7 +247,7 @@ You can access to the original Lambda event or context for additional informatio
Copy file name to clipboardExpand all lines: docs/getting-started/lambda-layers.md
+36-36Lines changed: 36 additions & 36 deletions
Original file line number
Diff line number
Diff line change
@@ -17,42 +17,42 @@ We publish the Lambda Layer for Powertools for AWS Lambda in all commercial regi
17
17
18
18
Open an [issue](https://github.com/aws-powertools/powertools-lambda-typescript/issues/new?template=feature_request.yml&title=Feature%20request%3A%20missing%20Lambda%20layer%20region) in our GitHub repository to request it.
0 commit comments