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 { CreateIngestConfigurationRequest, CreateIngestConfigurationResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link CreateIngestConfigurationCommand}. */ export interface CreateIngestConfigurationCommandInput extends CreateIngestConfigurationRequest { } /** * @public * * The output of {@link CreateIngestConfigurationCommand}. */ export interface CreateIngestConfigurationCommandOutput extends CreateIngestConfigurationResponse, __MetadataBearer { } declare const CreateIngestConfigurationCommand_base: { new (input: CreateIngestConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: CreateIngestConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Creates a new IngestConfiguration resource, used to specify the ingest protocol for a stage.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IVSRealTimeClient, CreateIngestConfigurationCommand } from "@aws-sdk/client-ivs-realtime"; // ES Modules import * // const { IVSRealTimeClient, CreateIngestConfigurationCommand } = 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 = { // CreateIngestConfigurationRequest * name: "STRING_VALUE", * stageArn: "STRING_VALUE", * userId: "STRING_VALUE", * attributes: { // ParticipantAttributes * "": "STRING_VALUE", * }, * ingestProtocol: "RTMP" || "RTMPS", // required * insecureIngest: true || false, * redundantIngest: true || false, * tags: { // Tags * "": "STRING_VALUE", * }, * }; * const command = new CreateIngestConfigurationCommand(input); * const response = await client.send(command); * // { // CreateIngestConfigurationResponse * // 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 CreateIngestConfigurationCommandInput - {@link CreateIngestConfigurationCommandInput} * @returns {@link CreateIngestConfigurationCommandOutput} * @see {@link CreateIngestConfigurationCommandInput} for command's `input` shape. * @see {@link CreateIngestConfigurationCommandOutput} for command's `response` shape. * @see {@link IVSRealTimeClientResolvedConfig | config} for IVSRealTimeClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

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

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

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

* * @throws {@link IVSRealTimeServiceException} *

Base exception class for all service exceptions from IVSRealTime service.

* * * @public */ export declare class CreateIngestConfigurationCommand extends CreateIngestConfigurationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateIngestConfigurationRequest; output: CreateIngestConfigurationResponse; }; sdk: { input: CreateIngestConfigurationCommandInput; output: CreateIngestConfigurationCommandOutput; }; }; }