MCPcopy
hub / github.com/aws/aws-lambda-go / Map

Method Map

events/attributevalue.go:57–60  ·  view source on GitHub ↗

Map provides access to an attribute of type Map. They Keys are strings and the values are DynamoDBAttributeValue instances. Method panics if the attribute is not of type Map.

()

Source from the content-addressed store, hash-verified

55// and the values are DynamoDBAttributeValue instances.
56// Method panics if the attribute is not of type Map.
57func (av DynamoDBAttributeValue) Map() map[string]DynamoDBAttributeValue {
58 av.ensureType(DataTypeMap)
59 return av.value.(map[string]DynamoDBAttributeValue)
60}
61
62// Number provides access to an attribute of type Number.
63// DynamoDB sends the values as strings. For convenience please see also

Callers 2

TestUnmarshalMapFunction · 0.95

Calls 1

ensureTypeMethod · 0.95

Tested by 2

TestUnmarshalMapFunction · 0.76