ISO 3166-2 is a standard .
ISO 3166-2 is part of the ISO 3166 standard published by the International Organization for Standardization ( ISO ) , and defines codes for the names of the principal subdivisions ( e.g. , provinces or states ) of all countries coded in ISO 3166-1 .