@ingestkorea/client-sens
Version:
INGESTKOREA SDK Naver Cloud Platform SENS Client for Node.js.
20 lines (19 loc) • 801 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.GetSMSStatusCommand = void 0;
const index_js_1 = require("../models/index.js");
const GetSMSStatus_js_1 = require("../protocols/GetSMSStatus.js");
const MAX_LIMIT = 100;
class GetSMSStatusCommand extends index_js_1.SensCommand {
constructor(input) {
super(input);
this.input = {
requestId: input.requestId,
pageSize: input.pageSize ? Math.min(MAX_LIMIT, Math.max(1, input.pageSize)) : MAX_LIMIT,
...(input.nextToken && { nextToken: input.nextToken }),
};
this.serializer = GetSMSStatus_js_1.se_GetSMSStatusCommand;
this.deserializer = GetSMSStatus_js_1.de_GetSMSStatusCommand;
}
}
exports.GetSMSStatusCommand = GetSMSStatusCommand;