// NewPutJSON will return a pointer to an initialized PutItemJSON struct. func NewPutItemJSON() *PutItemJSON { p := new(PutItemJSON) p.Expected = expected.NewExpected() p.ExpressionAttributeNames = expressionattributenames.NewExpressionAttributeNames() p.ExpressionAttributeValues = attributevalue.NewAttributeValueMap() return p }
func NewGetItem() *GetItem { g := new(GetItem) g.Key = item.NewKey() g.ExpressionAttributeNames = expressionattributenames.NewExpressionAttributeNames() g.AttributesToGet = make(attributestoget.AttributesToGet, 0) return g }