func NewAttributeDefinitionFromType(name, typ string) AttributeDefinition {
	return AttributeDefinition{
		Name: name,
		Type: typ,
	}
}
NewAttributeDefinitionFromType creates AttributeDefinition from the give type.
package dynamodb
import (
	SDK "github.com/aws/aws-sdk-go/service/dynamodb"
	"github.com/evalphobia/aws-sdk-go-wrapper/private/pointers"
)
type AttributeDefinition struct {
	Name string
	Type string
}
func NewAttributeDefinition(out *SDK.AttributeDefinition) AttributeDefinition {
	v := AttributeDefinition{}
	if out == nil {
		return v
	}
	if out.AttributeName != nil {
		v.Name = *out.AttributeName
	}
	if out.AttributeType != nil {
		v.Type = *out.AttributeType
	}
	return v
}