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