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
{{ message }}
Repository navigation
Add method to DynamoDB Stream Event AttribubuteValue to return the proper type for that AttribubuteValue #461
Is your feature request related to a problem? Please describe.
When attempting to transverse a DynamoDB Stream Event, it would be nice to know the datatype of an AttributeValue so the correct call to get the value could be made. I.E. string vs list vs map.
Describe the solution you'd like
Add an AtributeValue method that would return the type of value for that attribute. It would be also nice to have enumerated labels for the types.
Activity
boring-cyborg commentedon Jun 5, 2021
Thanks for opening your first issue here! We'll come back to you as soon as we can.
michaelbrewer commentedon Jun 6, 2021
@gwlester I have a PR for this #462.
Can you check if this is what you want.
gwlester commentedon Jun 8, 2021
Since the PR got merged -- should this issue be closed now?
Just asking,
michaelbrewer commentedon Jun 8, 2021
@gwlester kind of, us to you ;-). Once it is deployed, maybe you can help validate that it works for you.
gwlester commentedon Jun 8, 2021
@michaelbrewer -- let me know when 1.17.0 is available to deploy! Thanks again!!!
heitorlessa commentedon Jun 8, 2021
hey @gwlester this is now available! Added an example in the release notes as well as the docs: https://github.com/awslabs/aws-lambda-powertools-python/releases/tag/v1.17.0
Closing this now as it's already available in PyPi too :)
Thanks a lot @michaelbrewer for the implementation