MessageAttributes is defined as a map[string]interface{} whereas in reality is sent as a map[string]*sns.MessageAttributeValue as defined in the aws-sdk package.
Lots of assertions are needed to dig a value out of the map[string]interface{}, would be nicer to use a stricter type?
MessageAttributes is defined as a
map[string]interface{}whereas in reality is sent as amap[string]*sns.MessageAttributeValueas defined in the aws-sdk package.Lots of assertions are needed to dig a value out of the
map[string]interface{}, would be nicer to use a stricter type?