"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isSqlModelDataSourceSecretsManagerDbConnectionConfig = exports.isSqlModelDataSourceSsmDbConnectionConfig = exports.isSqlModelDataSourceDbConnectionConfig = void 0;
const isSqlModelDataSourceDbConnectionConfig = (obj) => {
    return (0, exports.isSqlModelDataSourceSsmDbConnectionConfig)(obj) || (0, exports.isSqlModelDataSourceSecretsManagerDbConnectionConfig)(obj);
};
exports.isSqlModelDataSourceDbConnectionConfig = isSqlModelDataSourceDbConnectionConfig;
const isSqlModelDataSourceSsmDbConnectionConfig = (obj) => {
    return ((typeof obj === 'object' || typeof obj === 'function') &&
        typeof obj.hostnameSsmPath === 'string' &&
        typeof obj.portSsmPath === 'string' &&
        typeof obj.usernameSsmPath === 'string' &&
        typeof obj.passwordSsmPath === 'string' &&
        typeof obj.databaseNameSsmPath === 'string');
};
exports.isSqlModelDataSourceSsmDbConnectionConfig = isSqlModelDataSourceSsmDbConnectionConfig;
const isSqlModelDataSourceSecretsManagerDbConnectionConfig = (obj) => {
    return ((typeof obj === 'object' || typeof obj === 'function') &&
        typeof obj.secretArn === 'string' &&
        typeof obj.port === 'number' &&
        typeof obj.databaseName === 'string' &&
        typeof obj.hostname === 'string');
};
exports.isSqlModelDataSourceSecretsManagerDbConnectionConfig = isSqlModelDataSourceSecretsManagerDbConnectionConfig;
//# sourceMappingURL=types.js.map