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 { EMRClient, AddInstanceFleetCommand } from "@aws-sdk/client-emr"; // ES Modules import
    // const { EMRClient, AddInstanceFleetCommand } = require("@aws-sdk/client-emr"); // CommonJS import
    const client = new EMRClient(config);
    const command = new AddInstanceFleetCommand(input);
    const response = await client.send(command);
    
    Docs
  • import { EMRClient, AddInstanceGroupsCommand } from "@aws-sdk/client-emr"; // ES Modules import
    // const { EMRClient, AddInstanceGroupsCommand } = require("@aws-sdk/client-emr"); // CommonJS import
    const client = new EMRClient(config);
    const command = new AddInstanceGroupsCommand(input);
    const response = await client.send(command);
    
    Docs
  • import { EMRClient, AddTagsCommand } from "@aws-sdk/client-emr"; // ES Modules import
    // const { EMRClient, AddTagsCommand } = require("@aws-sdk/client-emr"); // CommonJS import
    const client = new EMRClient(config);
    const command = new AddTagsCommand(input);
    const response = await client.send(command);
    
    Docs
  • import * as AWS from "@aws-sdk/client-emr";
    const client = new AWS.EMR({ region: "REGION" });
    
    // async/await.
    try {
      const data = await client.addInstanceFleet(params);
      // process data.
    } catch (error) {
      // error handling.
    }
    
    // Promises.
    client
      .addInstanceFleet(params)
      .then((data) => {
        // process data.
      })
      .catch((error) => {
        // error handling.
      });
    
    // callbacks.
    client.addInstanceFleet(params, (err, data) => {
      // proccess err and data.
    });
    
    Docs
  • import { EMRClient, AddJobFlowStepsCommand } from "@aws-sdk/client-emr"; // ES Modules import
    // const { EMRClient, AddJobFlowStepsCommand } = require("@aws-sdk/client-emr"); // CommonJS import
    const client = new EMRClient(config);
    const command = new AddJobFlowStepsCommand(input);
    const response = await client.send(command);
    
    Docs
  • Powered by Official black Bloop logo with a period
    download the IDE extension

    View other examples