I am trying to use AWS SDK GO v2: https://github.com/aws/aws-sdk-go-v2 And seem to have a hard time unmarshalling the dynamodb.GetItemOutput's Item attribute which is of type map[string]types.AttributeValue.
in AWS SDK GO v1, it's easy to call dynamodbattribute.UnmarshalMap(result.Item, &data)
to unmarshal the result. But on v2, I can't find any way to do this.
does anyone have an idea how to do it ?