@ingestkorea/client-sens
Version:
INGESTKOREA SDK Naver Cloud Platform SENS Client for Node.js.
20 lines (19 loc) • 851 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.GetAlimtalkStatusCommand = void 0;
const index_js_1 = require("../models/index.js");
const GetAlimtalkStatus_js_1 = require("../protocols/GetAlimtalkStatus.js");
const MAX_LIMIT = 100;
class GetAlimtalkStatusCommand 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 = GetAlimtalkStatus_js_1.se_GetAlimtalkStatusCommand;
this.deserializer = GetAlimtalkStatus_js_1.de_GetAlimtalkStatusCommand;
}
}
exports.GetAlimtalkStatusCommand = GetAlimtalkStatusCommand;