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

The DescribeFlowSourceMetadata API is used to view information about the flow's source transport stream and programs. This API displays status messages about the flow's source as well as details about the program's video, audio, and other data.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MediaConnectClient, DescribeFlowSourceMetadataCommand } from "@aws-sdk/client-mediaconnect"; // ES Modules import * // const { MediaConnectClient, DescribeFlowSourceMetadataCommand } = 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 = { // DescribeFlowSourceMetadataRequest * FlowArn: "STRING_VALUE", // required * }; * const command = new DescribeFlowSourceMetadataCommand(input); * const response = await client.send(command); * // { // DescribeFlowSourceMetadataResponse * // FlowArn: "STRING_VALUE", * // Messages: [ // __listOfMessageDetail * // { // MessageDetail * // Code: "STRING_VALUE", // required * // Message: "STRING_VALUE", // required * // ResourceName: "STRING_VALUE", * // }, * // ], * // Timestamp: new Date("TIMESTAMP"), * // TransportMediaInfo: { // TransportMediaInfo * // Programs: [ // __listOfTransportStreamProgram // required * // { // TransportStreamProgram * // PcrPid: Number("int"), // required * // ProgramName: "STRING_VALUE", * // ProgramNumber: Number("int"), // required * // ProgramPid: Number("int"), // required * // Streams: [ // __listOfTransportStream // required * // { // TransportStream * // Channels: Number("int"), * // Codec: "STRING_VALUE", * // FrameRate: "STRING_VALUE", * // FrameResolution: { // FrameResolution * // FrameHeight: Number("int"), // required * // FrameWidth: Number("int"), // required * // }, * // Pid: Number("int"), // required * // SampleRate: Number("int"), * // SampleSize: Number("int"), * // StreamType: "STRING_VALUE", // required * // }, * // ], * // }, * // ], * // }, * // NdiInfo: { // NdiSourceMetadataInfo * // ActiveSource: { // NdiSourceInfo * // SourceName: "STRING_VALUE", // required * // }, * // DiscoveredSources: [ // __listOfNdiSourceInfo // required * // { * // SourceName: "STRING_VALUE", // required * // }, * // ], * // MediaInfo: { // NdiMediaInfo * // Streams: [ // __listOfNdiMediaStreamInfo // required * // { // NdiMediaStreamInfo * // StreamType: "STRING_VALUE", // required * // Codec: "STRING_VALUE", // required * // StreamId: Number("int"), // required * // ScanMode: "progressive" || "interlace" || "progressive-segmented-frame", * // FrameResolution: { * // FrameHeight: Number("int"), // required * // FrameWidth: Number("int"), // required * // }, * // FrameRate: "STRING_VALUE", * // Channels: Number("int"), * // SampleRate: Number("int"), * // }, * // ], * // }, * // Messages: [ // required * // { * // Code: "STRING_VALUE", // required * // Message: "STRING_VALUE", // required * // ResourceName: "STRING_VALUE", * // }, * // ], * // }, * // }; * * ``` * * @param DescribeFlowSourceMetadataCommandInput - {@link DescribeFlowSourceMetadataCommandInput} * @returns {@link DescribeFlowSourceMetadataCommandOutput} * @see {@link DescribeFlowSourceMetadataCommandInput} for command's `input` shape. * @see {@link DescribeFlowSourceMetadataCommandOutput} 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 DescribeFlowSourceMetadataCommand extends DescribeFlowSourceMetadataCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeFlowSourceMetadataRequest; output: DescribeFlowSourceMetadataResponse; }; sdk: { input: DescribeFlowSourceMetadataCommandInput; output: DescribeFlowSourceMetadataCommandOutput; }; }; }