@wildix/wda-insights-client > CreateFilterCommand
CreateFilterCommand class
Signature:
export declare class CreateFilterCommand extends CreateFilterCommand_base
Extends: CreateFilterCommand_base
Example
Use a bare-bones client and the command you need to make an API call.
import { WdaInsightsClient, CreateFilterCommand } from "@wildix/wda-insights-client"; // ES Modules import
// const { WdaInsightsClient, CreateFilterCommand } = require("@wildix/wda-insights-client"); // CommonJS import
const client = new WdaInsightsClient(config);
const input = { // CreateFilterInput
name: "STRING_VALUE", // required
body: "STRING_VALUE", // required
};
const command = new CreateFilterCommand(input);
const response = await client.send(command);
// { // CreateFilterOutput
// item: { // ListFiltersItem
// id: "STRING_VALUE", // required
// name: "STRING_VALUE", // required
// body: "STRING_VALUE", // required
// createdAt: "STRING_VALUE", // required
// updatedAt: "STRING_VALUE", // required
// },
// };