Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DeauthorizeConnectionCommand

Removes all authorization parameters from the connection. This lets you remove the secret from the connection so you can reuse it without having to create a new connection.

example

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

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

DeauthorizeConnectionCommandInput for command's input shape.

see

DeauthorizeConnectionCommandOutput for command's response shape.

see

config for CloudWatchEventsClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: DeauthorizeConnectionCommandInput

Readonly middlewareStack