docs: func (s *AttachVolumeInput) Validate() error {
  	invalidParams := request.ErrInvalidParams{Context: "AttachVolumeInput"}
  	if s.DiskId != nil && len(*s.DiskId) < 1 {
  		invalidParams.Add(request.NewErrParamMinLen("DiskId", 1))
  	}
  	if s.GatewayARN == nil {
  		invalidParams.Add(request.NewErrParamRequired("GatewayARN"))
  	}
  	if s.GatewayARN != nil && len(*s.GatewayARN) < 50 {
  		invalidParams.Add(request.NewErrParamMinLen("GatewayARN", 50))
  	}
  	if s.NetworkInterfaceId == nil {
  		invalidParams.Add(request.NewErrParamRequired("NetworkInterfaceId"))
  	}
  	if s.TargetName != nil && len(*s.TargetName) < 1 {
  		invalidParams.Add(request.NewErrParamMinLen("TargetName", 1))
  	}
  	if s.VolumeARN == nil {
  		invalidParams.Add(request.NewErrParamRequired("VolumeARN"))
  	}
  	if s.VolumeARN != nil && len(*s.VolumeARN) < 50 {
  		invalidParams.Add(request.NewErrParamMinLen("VolumeARN", 50))
  	}
  
  	if invalidParams.Len() > 0 {
  		return invalidParams
  	}
  	return nil
  }