asKmsEncryptionState
Casts this EncryptionState as a KmsEncryptionState and retrieves its aws.sdk.kotlin.services.verifiedpermissions.model.KmsEncryptionState value. Throws an exception if the EncryptionState is not a KmsEncryptionState.