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
You can get a simple customization of the responses by providing a template for the possible responses. The template returns the same kind of response for both `application/json` and `application/x-www-form-urlendcoded`.
577
+
578
+
```yml
579
+
custom:
580
+
apiGatewayServiceProxies:
581
+
- dynamodb:
582
+
path: /dynamodb
583
+
method: get
584
+
tableName: { Ref: 'YourTable' }
585
+
hashKey:
586
+
queryStringParam: id # use query string parameter
587
+
attributeType: S
588
+
rangeKey:
589
+
queryStringParam: sort
590
+
attributeType: S
591
+
action: GetItem
592
+
cors: true
593
+
response:
594
+
template:
595
+
# `success` is used when the integration response is 200
0 commit comments