Creates a new flow. The request must include one source. The request optionally can include outputs (up to 50) and entitlements (up to 50).
Use a bare-bones client and the command you need to make an API call.
import { MediaConnectClient, CreateFlowCommand } from "@aws-sdk/client-mediaconnect"; // ES Modules import // const { MediaConnectClient, CreateFlowCommand } = require("@aws-sdk/client-mediaconnect"); // CommonJS import const client = new MediaConnectClient(config); const command = new CreateFlowCommand(input); const response = await client.send(command);
CreateFlowCommandInput for command's input shape.
input
CreateFlowCommandOutput for command's response shape.
response
config for MediaConnectClient's config shape.
config
Creates a new flow. The request must include one source. The request optionally can include outputs (up to 50) and entitlements (up to 50).
Use a bare-bones client and the command you need to make an API call.
import { MediaConnectClient, CreateFlowCommand } from "@aws-sdk/client-mediaconnect"; // ES Modules import // const { MediaConnectClient, CreateFlowCommand } = require("@aws-sdk/client-mediaconnect"); // CommonJS import const client = new MediaConnectClient(config); const command = new CreateFlowCommand(input); const response = await client.send(command);
CreateFlowCommandInput for command's
input
shape.CreateFlowCommandOutput for command's
response
shape.config for MediaConnectClient's
config
shape.