AddFlowOutputs
URI
/v1/flows/flowArn
/outputs
HTTP Methods
POST
Operation ID: AddFlowOutputs
Adds outputs to an existing flow. You can create up to 20 outputs per flow.
Path Parameters
Name | Type | Required | Description |
---|---|---|---|
flowArn |
String | True |
The Amazon Resource Name (ARN) of the flow. |
Responses
Status Code | Response Model | Description |
---|---|---|
201 |
AddFlowOutputsResponse |
AWS Elemental MediaConnect created the new resource successfully. |
400 |
ResponseError |
The request that you submitted is not valid. |
403 |
ResponseError |
You don't have the required permissions to perform this operation. |
404 |
ResponseError |
AWS Elemental MediaConnect did not find the resource that you specified in the request. |
420 |
ResponseError |
Your account already contains the maximum number of 20 flows per account, per Region. For more information, contact AWS Customer Support. |
429 |
ResponseError |
You have exceeded the service request rate limit for your AWS Elemental MediaConnect account. |
500 |
ResponseError |
AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition. |
503 |
ResponseError |
AWS Elemental MediaConnect is currently unavailable. Try again later. |
Schemas
Request Bodies
Example POST
{ "outputs": [ { "protocol": enum, "encryption": { "resourceId": "string", "roleArn": "string", "secretArn": "string", "constantInitializationVector": "string", "keyType": enum, "region": "string", "deviceId": "string", "url": "string", "algorithm": enum }, "streamId": "string", "port": integer, "destination": "string", "maxLatency": integer, "name": "string", "description": "string", "smoothingLatency": integer, "cidrAllowList": [ "string" ], "remoteId": "string" } ] }
Response Bodies
Example AddFlowOutputsResponse
{ "outputs": [ { "outputArn": "string", "encryption": { "resourceId": "string", "roleArn": "string", "secretArn": "string", "constantInitializationVector": "string", "keyType": enum, "region": "string", "deviceId": "string", "url": "string", "algorithm": enum }, "port": integer, "destination": "string", "name": "string", "description": "string", "dataTransferSubscriberFeePercent": integer, "entitlementArn": "string", "transport": { "protocol": enum, "streamId": "string", "maxLatency": integer, "maxBitrate": integer, "smoothingLatency": integer, "cidrAllowList": [ "string" ], "remoteId": "string" }, "mediaLiveInputArn": "string" } ], "flowArn": "string" }
Example ResponseError
{ "message": "string" }
Properties
AddFlowOutputsRequest
Adds outputs to an existing flow. You can create up to 20 outputs per flow.
Property | Type | Required | Description |
---|---|---|---|
outputs |
Array of type AddOutputRequest |
True |
A list of outputs that you want to add. |
AddFlowOutputsResponse
The result of a successful AddOutput request. The response includes the details of the newly added outputs.
Property | Type | Required | Description |
---|---|---|---|
outputs |
Array of type Output |
True |
The details of the newly added outputs. |
flowArn |
string |
True |
The ARN of the flow that these outputs are associated with. |
AddOutputRequest
The output that you want to add to the flow.
Encryption
Information about the encryption of the flow.
Output
The settings for an output.
ResponseError
An exception raised by AWS Elemental MediaConnect when you submit a request that cannot be completed. For more information, see the error message and documentation for the operation.
Transport
Attributes that are related to the transport stream.
See Also
For more information about using this API in one of the language-specific AWS SDKs and references, see the following: