Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UpdateConnectionCommand

Updates the Direct Connect dedicated connection configuration.

You can update the following parameters for a connection:

  • The connection name

  • The connection's MAC Security (MACsec) encryption mode.

example

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

import { DirectConnectClient, UpdateConnectionCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import
// const { DirectConnectClient, UpdateConnectionCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import
const client = new DirectConnectClient(config);
const command = new UpdateConnectionCommand(input);
const response = await client.send(command);
see

UpdateConnectionCommandInput for command's input shape.

see

UpdateConnectionCommandOutput for command's response shape.

see

config for DirectConnectClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: UpdateConnectionCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions