import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { MediaPackageClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageClient"; import type { UpdateChannelRequest, UpdateChannelResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link UpdateChannelCommand}. */ export interface UpdateChannelCommandInput extends UpdateChannelRequest { } /** * @public * * The output of {@link UpdateChannelCommand}. */ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __MetadataBearer { } declare const UpdateChannelCommand_base: { new (input: UpdateChannelCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateChannelCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** * Updates an existing Channel. * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MediaPackageClient, UpdateChannelCommand } from "@aws-sdk/client-mediapackage"; // ES Modules import * // const { MediaPackageClient, UpdateChannelCommand } = require("@aws-sdk/client-mediapackage"); // CommonJS import * // import type { MediaPackageClientConfig } from "@aws-sdk/client-mediapackage"; * const config = {}; // type is MediaPackageClientConfig * const client = new MediaPackageClient(config); * const input = { // UpdateChannelRequest * Description: "STRING_VALUE", * Id: "STRING_VALUE", // required * }; * const command = new UpdateChannelCommand(input); * const response = await client.send(command); * // { // UpdateChannelResponse * // Arn: "STRING_VALUE", * // CreatedAt: "STRING_VALUE", * // Description: "STRING_VALUE", * // EgressAccessLogs: { // EgressAccessLogs * // LogGroupName: "STRING_VALUE", * // }, * // HlsIngest: { // HlsIngest * // IngestEndpoints: [ // __listOfIngestEndpoint * // { // IngestEndpoint * // Id: "STRING_VALUE", * // Password: "STRING_VALUE", * // Url: "STRING_VALUE", * // Username: "STRING_VALUE", * // }, * // ], * // }, * // Id: "STRING_VALUE", * // IngressAccessLogs: { // IngressAccessLogs * // LogGroupName: "STRING_VALUE", * // }, * // Tags: { // Tags * // "": "STRING_VALUE", * // }, * // }; * * ``` * * @param UpdateChannelCommandInput - {@link UpdateChannelCommandInput} * @returns {@link UpdateChannelCommandOutput} * @see {@link UpdateChannelCommandInput} for command's `input` shape. * @see {@link UpdateChannelCommandOutput} for command's `response` shape. * @see {@link MediaPackageClientResolvedConfig | config} for MediaPackageClient's `config` shape. * * @throws {@link ForbiddenException} (client fault) * The client is not authorized to access the requested resource. * * @throws {@link InternalServerErrorException} (server fault) * An unexpected error occurred. * * @throws {@link NotFoundException} (client fault) * The requested resource does not exist. * * @throws {@link ServiceUnavailableException} (server fault) * An unexpected error occurred. * * @throws {@link TooManyRequestsException} (client fault) * The client has exceeded their resource or throttling limits. * * @throws {@link UnprocessableEntityException} (client fault) * The parameters sent in the request are not valid. * * @throws {@link MediaPackageServiceException} *

Base exception class for all service exceptions from MediaPackage service.

* * * @public */ export declare class UpdateChannelCommand extends UpdateChannelCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateChannelRequest; output: UpdateChannelResponse; }; sdk: { input: UpdateChannelCommandInput; output: UpdateChannelCommandOutput; }; }; }