import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaConnectClient"; import type { AddFlowMediaStreamsRequest, AddFlowMediaStreamsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link AddFlowMediaStreamsCommand}. */ export interface AddFlowMediaStreamsCommandInput extends AddFlowMediaStreamsRequest { } /** * @public * * The output of {@link AddFlowMediaStreamsCommand}. */ export interface AddFlowMediaStreamsCommandOutput extends AddFlowMediaStreamsResponse, __MetadataBearer { } declare const AddFlowMediaStreamsCommand_base: { new (input: AddFlowMediaStreamsCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: AddFlowMediaStreamsCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Adds media streams to an existing flow. After you add a media stream to a flow, you can associate it with a source and/or an output that uses the ST 2110 JPEG XS or CDI protocol.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MediaConnectClient, AddFlowMediaStreamsCommand } from "@aws-sdk/client-mediaconnect"; // ES Modules import * // const { MediaConnectClient, AddFlowMediaStreamsCommand } = require("@aws-sdk/client-mediaconnect"); // CommonJS import * // import type { MediaConnectClientConfig } from "@aws-sdk/client-mediaconnect"; * const config = {}; // type is MediaConnectClientConfig * const client = new MediaConnectClient(config); * const input = { // AddFlowMediaStreamsRequest * FlowArn: "STRING_VALUE", // required * MediaStreams: [ // __listOfAddMediaStreamRequest // required * { // AddMediaStreamRequest * Attributes: { // MediaStreamAttributesRequest * Fmtp: { // FmtpRequest * ChannelOrder: "STRING_VALUE", * Colorimetry: "BT601" || "BT709" || "BT2020" || "BT2100" || "ST2065-1" || "ST2065-3" || "XYZ", * ExactFramerate: "STRING_VALUE", * Par: "STRING_VALUE", * Range: "NARROW" || "FULL" || "FULLPROTECT", * ScanMode: "progressive" || "interlace" || "progressive-segmented-frame", * Tcs: "SDR" || "PQ" || "HLG" || "LINEAR" || "BT2100LINPQ" || "BT2100LINHLG" || "ST2065-1" || "ST428-1" || "DENSITY", * }, * Lang: "STRING_VALUE", * }, * ClockRate: Number("int"), * Description: "STRING_VALUE", * MediaStreamId: Number("int"), // required * MediaStreamName: "STRING_VALUE", // required * MediaStreamType: "video" || "audio" || "ancillary-data", // required * VideoFormat: "STRING_VALUE", * MediaStreamTags: { // __mapOfString * "": "STRING_VALUE", * }, * }, * ], * }; * const command = new AddFlowMediaStreamsCommand(input); * const response = await client.send(command); * // { // AddFlowMediaStreamsResponse * // FlowArn: "STRING_VALUE", * // MediaStreams: [ // __listOfMediaStream * // { // MediaStream * // Attributes: { // MediaStreamAttributes * // Fmtp: { // Fmtp * // ChannelOrder: "STRING_VALUE", * // Colorimetry: "BT601" || "BT709" || "BT2020" || "BT2100" || "ST2065-1" || "ST2065-3" || "XYZ", * // ExactFramerate: "STRING_VALUE", * // Par: "STRING_VALUE", * // Range: "NARROW" || "FULL" || "FULLPROTECT", * // ScanMode: "progressive" || "interlace" || "progressive-segmented-frame", * // Tcs: "SDR" || "PQ" || "HLG" || "LINEAR" || "BT2100LINPQ" || "BT2100LINHLG" || "ST2065-1" || "ST428-1" || "DENSITY", * // }, * // Lang: "STRING_VALUE", * // }, * // ClockRate: Number("int"), * // Description: "STRING_VALUE", * // Fmt: Number("int"), // required * // MediaStreamId: Number("int"), // required * // MediaStreamName: "STRING_VALUE", // required * // MediaStreamType: "video" || "audio" || "ancillary-data", // required * // VideoFormat: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param AddFlowMediaStreamsCommandInput - {@link AddFlowMediaStreamsCommandInput} * @returns {@link AddFlowMediaStreamsCommandOutput} * @see {@link AddFlowMediaStreamsCommandInput} for command's `input` shape. * @see {@link AddFlowMediaStreamsCommandOutput} for command's `response` shape. * @see {@link MediaConnectClientResolvedConfig | config} for MediaConnectClient's `config` shape. * * @throws {@link BadRequestException} (client fault) *

This exception is thrown if the request contains a semantic error. The precise meaning depends on the API, and is documented in the error message.

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

You do not have sufficient access to perform this action.

* * @throws {@link InternalServerErrorException} (server fault) *

The server encountered an internal error and is unable to complete the request.

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

One or more of the resources in the request does not exist in the system.

* * @throws {@link ServiceUnavailableException} (server fault) *

The service is currently unavailable or busy.

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

The request was denied due to request throttling.

* * @throws {@link MediaConnectServiceException} *

Base exception class for all service exceptions from MediaConnect service.

* * * @public */ export declare class AddFlowMediaStreamsCommand extends AddFlowMediaStreamsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: AddFlowMediaStreamsRequest; output: AddFlowMediaStreamsResponse; }; sdk: { input: AddFlowMediaStreamsCommandInput; output: AddFlowMediaStreamsCommandOutput; }; }; }