docs: func (s *CreateEnvironmentEC2Input) Validate() error {
  	invalidParams := request.ErrInvalidParams{Context: "CreateEnvironmentEC2Input"}
  	if s.InstanceType == nil {
  		invalidParams.Add(request.NewErrParamRequired("InstanceType"))
  	}
  	if s.InstanceType != nil && len(*s.InstanceType) < 5 {
  		invalidParams.Add(request.NewErrParamMinLen("InstanceType", 5))
  	}
  	if s.Name == nil {
  		invalidParams.Add(request.NewErrParamRequired("Name"))
  	}
  	if s.Name != nil && len(*s.Name) < 1 {
  		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
  	}
  	if s.SubnetId != nil && len(*s.SubnetId) < 5 {
  		invalidParams.Add(request.NewErrParamMinLen("SubnetId", 5))
  	}
  
  	if invalidParams.Len() > 0 {
  		return invalidParams
  	}
  	return nil
  }