@softchef/cdk-iot-device-management
Version:
IoT device management is composed of things, thing types, thing groups, jobs, files API services. The constructs can be used independently, that are based on full-managed service to create an API Gateway & Lambda function.
7 lines (6 loc) • 333 B
JavaScript
export var DEFAULT_TIMEOUT = 1000;
export var DEFAULT_MAX_RETRIES = 0;
export var providerConfigFromInit = function (_a) {
var _b = _a.maxRetries, maxRetries = _b === void 0 ? DEFAULT_MAX_RETRIES : _b, _c = _a.timeout, timeout = _c === void 0 ? DEFAULT_TIMEOUT : _c;
return ({ maxRetries: maxRetries, timeout: timeout });
};