Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ActivateEventSourceCommand

Activates a partner event source that has been deactivated. Once activated, your matching event bus will start receiving events from the event source.

example

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

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

ActivateEventSourceCommandInput for command's input shape.

see

ActivateEventSourceCommandOutput for command's response shape.

see

config for CloudWatchEventsClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: ActivateEventSourceCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions