Home Reference Source

lib/endpoints/feeds.js

/**
 * @module endpoints/feeds
 * @private
 */

const path = require('path');

const generateEndpoints = require('./endpoints-utils');

const scriptName = path.basename(__filename, '.js');
const categoryName = `${scriptName.charAt(0).toUpperCase()}${scriptName.slice(1)}`;

const apiVersion = '2009-01-01';

const endpointList = [
    'SubmitFeed',
    'GetFeedSubmissionList',
    'GetFeedSubmissionListByNextToken',
    'GetFeedSubmissionCount',
    'CancelFeedSubmissions',
    'GetFeedSubmissionResult',
];

/**
 * @private
 */
const endpoints = generateEndpoints(
    categoryName,
    apiVersion,
    endpointList,
);

module.exports = endpoints;