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
I'd like to be able to use the plugin to support more complex request mapping scenarios for DynamoDB.
The shorthand mapping from querystring or path works really well for simple examples, but doesn't for more complex situations. E.g. where the hash and range key in the dynamo table are concatenated values and are exposed as separate parameters on the external API.
Ideally I'd be able to generate this request template:
hashKey:
keyName: idattributeValue: \${input.params().path.foo}_\${input.params().querystring.bar}attributeType: SrangeKey:
keyName: rangeattributeValue: \${input.params().path.baz}_\${input.params().header.quux} # Custom mapping for the attribute. Use '\${}' to escape the '$' character.attributeType: S
The text was updated successfully, but these errors were encountered:
I'd like to be able to use the plugin to support more complex request mapping scenarios for DynamoDB.
The shorthand mapping from querystring or path works really well for simple examples, but doesn't for more complex situations. E.g. where the hash and range key in the dynamo table are concatenated values and are exposed as separate parameters on the external API.
Ideally I'd be able to generate this request template:
using this serverless yaml:
The text was updated successfully, but these errors were encountered: