import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { IVSRealTimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IVSRealTimeClient"; import type { UpdateIngestConfigurationRequest, UpdateIngestConfigurationResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link UpdateIngestConfigurationCommand}. */ export interface UpdateIngestConfigurationCommandInput extends UpdateIngestConfigurationRequest { } /** * @public * * The output of {@link UpdateIngestConfigurationCommand}. */ export interface UpdateIngestConfigurationCommandOutput extends UpdateIngestConfigurationResponse, __MetadataBearer { } declare const UpdateIngestConfigurationCommand_base: { new (input: UpdateIngestConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: UpdateIngestConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Updates a specified IngestConfiguration. Only the stage ARN attached to the IngestConfiguration can be updated. An IngestConfiguration that is active cannot be updated.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IVSRealTimeClient, UpdateIngestConfigurationCommand } from "@aws-sdk/client-ivs-realtime"; // ES Modules import * // const { IVSRealTimeClient, UpdateIngestConfigurationCommand } = require("@aws-sdk/client-ivs-realtime"); // CommonJS import * // import type { IVSRealTimeClientConfig } from "@aws-sdk/client-ivs-realtime"; * const config = {}; // type is IVSRealTimeClientConfig * const client = new IVSRealTimeClient(config); * const input = { // UpdateIngestConfigurationRequest * arn: "STRING_VALUE", // required * stageArn: "STRING_VALUE", * redundantIngest: true || false, * }; * const command = new UpdateIngestConfigurationCommand(input); * const response = await client.send(command); * // { // UpdateIngestConfigurationResponse * // ingestConfiguration: { // IngestConfiguration * // name: "STRING_VALUE", * // arn: "STRING_VALUE", // required * // ingestProtocol: "RTMP" || "RTMPS", // required * // streamKey: "STRING_VALUE", // required * // stageArn: "STRING_VALUE", // required * // participantId: "STRING_VALUE", // required * // state: "STRING_VALUE", // required * // userId: "STRING_VALUE", * // redundantIngest: true || false, * // redundantIngestCredentials: [ // RedundantIngestCredentials * // { // RedundantIngestCredential * // participantId: "STRING_VALUE", * // streamKey: "STRING_VALUE", * // }, * // ], * // attributes: { // ParticipantAttributes * // "": "STRING_VALUE", * // }, * // tags: { // Tags * // "": "STRING_VALUE", * // }, * // }, * // }; * * ``` * * @param UpdateIngestConfigurationCommandInput - {@link UpdateIngestConfigurationCommandInput} * @returns {@link UpdateIngestConfigurationCommandOutput} * @see {@link UpdateIngestConfigurationCommandInput} for command's `input` shape. * @see {@link UpdateIngestConfigurationCommandOutput} for command's `response` shape. * @see {@link IVSRealTimeClientResolvedConfig | config} for IVSRealTimeClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

* * @throws {@link ConflictException} (client fault) *

* * @throws {@link PendingVerification} (client fault) *

* * @throws {@link ResourceNotFoundException} (client fault) *

* * @throws {@link ValidationException} (client fault) *

* * @throws {@link IVSRealTimeServiceException} *

Base exception class for all service exceptions from IVSRealTime service.

* * * @public */ export declare class UpdateIngestConfigurationCommand extends UpdateIngestConfigurationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateIngestConfigurationRequest; output: UpdateIngestConfigurationResponse; }; sdk: { input: UpdateIngestConfigurationCommandInput; output: UpdateIngestConfigurationCommandOutput; }; }; }