Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PutEventsCommand

Sends custom events to Amazon EventBridge so that they can be matched to rules.

example

Use a bare-bones client and the command you need to make an API call.

import { CloudWatchEventsClient, PutEventsCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
// const { CloudWatchEventsClient, PutEventsCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
const client = new CloudWatchEventsClient(config);
const command = new PutEventsCommand(input);
const response = await client.send(command);
see

PutEventsCommandInput for command's input shape.

see

PutEventsCommandOutput for command's response shape.

see

config for CloudWatchEventsClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: PutEventsCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<PutEventsCommandInput, PutEventsCommandOutput>