code: func (s *CreateVpcPeeringConnectionInput) Validate() error {
  	invalidParams := request.ErrInvalidParams{Context: "CreateVpcPeeringConnectionInput"}
  	if s.FleetId == nil {
  		invalidParams.Add(request.NewErrParamRequired("FleetId"))
  	}
  	if s.PeerVpcAwsAccountId == nil {
  		invalidParams.Add(request.NewErrParamRequired("PeerVpcAwsAccountId"))
  	}
  	if s.PeerVpcAwsAccountId != nil && len(*s.PeerVpcAwsAccountId) < 1 {
  		invalidParams.Add(request.NewErrParamMinLen("PeerVpcAwsAccountId", 1))
  	}
  	if s.PeerVpcId == nil {
  		invalidParams.Add(request.NewErrParamRequired("PeerVpcId"))
  	}
  	if s.PeerVpcId != nil && len(*s.PeerVpcId) < 1 {
  		invalidParams.Add(request.NewErrParamMinLen("PeerVpcId", 1))
  	}
  
  	if invalidParams.Len() > 0 {
  		return invalidParams
  	}
  	return nil
  }
docs: // Validate inspects the fields of the type to determine if they are valid.