docs: func (s *S3Location) Validate() error {
  	invalidParams := request.ErrInvalidParams{Context: "S3Location"}
  	if s.Bucket != nil && len(*s.Bucket) < 1 {
  		invalidParams.Add(request.NewErrParamMinLen("Bucket", 1))
  	}
  	if s.Key != nil && len(*s.Key) < 1 {
  		invalidParams.Add(request.NewErrParamMinLen("Key", 1))
  	}
  	if s.ObjectVersion != nil && len(*s.ObjectVersion) < 1 {
  		invalidParams.Add(request.NewErrParamMinLen("ObjectVersion", 1))
  	}
  	if s.RoleArn != nil && len(*s.RoleArn) < 1 {
  		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 1))
  	}
  
  	if invalidParams.Len() > 0 {
  		return invalidParams
  	}
  	return nil
  }