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