docs: func (s *CreatePartitionInput) Validate() error {
  	invalidParams := request.ErrInvalidParams{Context: "CreatePartitionInput"}
  	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
  		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
  	}
  	if s.DatabaseName == nil {
  		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
  	}
  	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
  		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
  	}
  	if s.PartitionInput == nil {
  		invalidParams.Add(request.NewErrParamRequired("PartitionInput"))
  	}
  	if s.TableName == nil {
  		invalidParams.Add(request.NewErrParamRequired("TableName"))
  	}
  	if s.TableName != nil && len(*s.TableName) < 1 {
  		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
  	}
  	if s.PartitionInput != nil {
  		if err := s.PartitionInput.Validate(); err != nil {
  			invalidParams.AddNested("PartitionInput", err.(request.ErrInvalidParams))
  		}
  	}
  
  	if invalidParams.Len() > 0 {
  		return invalidParams
  	}
  	return nil
  }