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 { ACMClient, AddTagsToCertificateCommand } from "@aws-sdk/client-acm"; // ES Modules import
    // const { ACMClient, AddTagsToCertificateCommand } = require("@aws-sdk/client-acm"); // CommonJS import
    const client = new ACMClient(config);
    const command = new AddTagsToCertificateCommand(input);
    const response = await client.send(command);
    
    Docs
  • import { DirectoryServiceClient, AddTagsToResourceCommand } from "@aws-sdk/client-directory-service"; // ES Modules import
    // const { DirectoryServiceClient, AddTagsToResourceCommand } = require("@aws-sdk/client-directory-service"); // CommonJS import
    const client = new DirectoryServiceClient(config);
    const command = new AddTagsToResourceCommand(input);
    const response = await client.send(command);
    
    Docs
  • import * as AWS from "@aws-sdk/client-acm";
    const client = new AWS.ACM({ region: "REGION" });
    
    // async/await.
    try {
      const data = await client.addTagsToCertificate(params);
      // process data.
    } catch (error) {
      // error handling.
    }
    
    // Promises.
    client
      .addTagsToCertificate(params)
      .then((data) => {
        // process data.
      })
      .catch((error) => {
        // error handling.
      });
    
    // callbacks.
    client.addTagsToCertificate(params, (err, data) => {
      // proccess err and data.
    });
    
    Docs
  • import { ACMClient, UpdateCertificateOptionsCommand } from "@aws-sdk/client-acm"; // ES Modules import
    // const { ACMClient, UpdateCertificateOptionsCommand } = require("@aws-sdk/client-acm"); // CommonJS import
    const client = new ACMClient(config);
    const command = new UpdateCertificateOptionsCommand(input);
    const response = await client.send(command);
    
    Docs
  • import { ACMClient, RequestCertificateCommand } from "@aws-sdk/client-acm"; // ES Modules import
    // const { ACMClient, RequestCertificateCommand } = require("@aws-sdk/client-acm"); // CommonJS import
    const client = new ACMClient(config);
    const command = new RequestCertificateCommand(input);
    const response = await client.send(command);
    
    Docs
  • Powered by Official black Bloop logo with a period
    download the IDE extension

    View other examples