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/utilities/data_classes.md
+40-11Lines changed: 40 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -70,7 +70,7 @@ Event Source | Data_class
70
70
71
71
### API Gateway Proxy
72
72
73
-
Typically used for API Gateway REST API or HTTP API using v1 proxy event.
73
+
Typically, used for API Gateway REST API or HTTP API using v1 proxy event.
74
74
75
75
=== "lambda_app.py"
76
76
@@ -105,12 +105,12 @@ Typically used for API Gateway REST API or HTTP API using v1 proxy event.
105
105
106
106
### AppSync Resolver
107
107
108
-
Used when building a Lambda GraphQL Resolvers with [Amplify GraphQL Transform Library](https://docs.amplify.aws/cli/graphql-transformer/function)
109
-
and can also be used for AppSync Direct Lambda Resolvers.
108
+
Used when building a Lambda GraphQL Resolvers with [Amplify GraphQL Transform Library](https://docs.amplify.aws/cli/graphql-transformer/function){target="_blank"}
109
+
and can also be used for [AppSync Direct Lambda Resolvers](https://aws.amazon.com/blogs/mobile/appsync-direct-lambda/){target="_blank"}.
110
110
111
111
=== "lambda_app.py"
112
112
113
-
```python
113
+
```python hl_lines="2-5 12 14 19 21 29-30"
114
114
from aws_lambda_powertools.logging import Logger, correlation_paths
115
115
from aws_lambda_powertools.utilities.data_classes.appsync_resolver_event import (
116
116
AppSyncResolverEvent,
@@ -121,11 +121,10 @@ and can also be used for AppSync Direct Lambda Resolvers.
121
121
122
122
def get_locations(name: str = None, size: int = 0, page: int = 0):
0 commit comments