How to use where clause in Knex
Create refunds with Stripe
Load HTML with Cheerio
How to send POST request with Axios
Find intersection of array in Lodash
Powered by Official white Bloop logo with a period

Terms / Privacy / Search / Support

  • import { EMRContainersClient, CancelJobRunCommand } from "@aws-sdk/client-emr-containers"; // ES Modules import
    // const { EMRContainersClient, CancelJobRunCommand } = require("@aws-sdk/client-emr-containers"); // CommonJS import
    const client = new EMRContainersClient(config);
    const command = new CancelJobRunCommand(input);
    const response = await client.send(command);
    
    Docs
  • import * as AWS from "@aws-sdk/client-emr-containers";
    const client = new AWS.EMRContainers({ region: "REGION" });
    
    // async/await.
    try {
      const data = await client.cancelJobRun(params);
      // process data.
    } catch (error) {
      // error handling.
    }
    
    // Promises.
    client
      .cancelJobRun(params)
      .then((data) => {
        // process data.
      })
      .catch((error) => {
        // error handling.
      });
    
    // callbacks.
    client.cancelJobRun(params, (err, data) => {
      // proccess err and data.
    });
    
    Docs
  • import { EMRClient, CancelStepsCommand } from "@aws-sdk/client-emr"; // ES Modules import
    // const { EMRClient, CancelStepsCommand } = require("@aws-sdk/client-emr"); // CommonJS import
    const client = new EMRClient(config);
    const command = new CancelStepsCommand(input);
    const response = await client.send(command);
    
    Docs
  • import { IoTClient, CancelJobCommand } from "@aws-sdk/client-iot"; // ES Modules import
    // const { IoTClient, CancelJobCommand } = require("@aws-sdk/client-iot"); // CommonJS import
    const client = new IoTClient(config);
    const command = new CancelJobCommand(input);
    const response = await client.send(command);
    
    Docs
  • import { BraketClient, CancelJobCommand } from "@aws-sdk/client-braket"; // ES Modules import
    // const { BraketClient, CancelJobCommand } = require("@aws-sdk/client-braket"); // CommonJS import
    const client = new BraketClient(config);
    const command = new CancelJobCommand(input);
    const response = await client.send(command);
    
    Docs
  • Powered by Official black Bloop logo with a period
    download the IDE extension

    View other examples