Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CreateChannelCommand

Creates a new Channel.

example

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

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

CreateChannelCommandInput for command's input shape.

see

CreateChannelCommandOutput for command's response shape.

see

config for MediaPackageClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: CreateChannelCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<CreateChannelCommandInput, CreateChannelCommandOutput>