func NewAttributesResponse() *AttributesResponse {
	a := new(AttributesResponse)
	a.Attributes = attributevalue.NewAttributeValueMap()
	a.ConsumedCapacity = capacity.NewConsumedCapacity()
	a.ItemCollectionMetrics = itemcollectionmetrics.NewItemCollectionMetrics()
	return a
}
示例#2
0
func NewResponseItemJSON() *ResponseItemJSON {
	r := new(ResponseItemJSON)
	r.ConsumedCapacity = capacity.NewConsumedCapacity()
	return r
}
示例#3
0
func NewResponse() *Response {
	r := new(Response)
	r.Item = item.NewItem()
	r.ConsumedCapacity = capacity.NewConsumedCapacity()
	return r
}