class SmsResourceProvider {

    @Action
    public Promise<ActionResponse, ResourceException> getType(Context context) {
        try {
            return newActionResponse(getTypeValue(context)).asPromise();
        } catch (SMSException | SSOException e) {
            return new InternalServerErrorException("Could not get service schema", e).asPromise();
        }
    }

      SmsResourceProvider(ServiceSchema schema, SchemaType type, List<ServiceSchema> subSchemaPath, String uriPath,
            boolean serviceHasInstanceName, SmsJsonConverter converter, Debug debug,
            AMResourceBundleCache resourceBundleCache, Locale defaultLocale);

}