Gateway bridge sources: add
URI
/v1/bridges/
bridgeArn
/sources
HTTP methods
POST
Operation ID: AddBridgeSources
Adds sources to an existing bridge.
Name | Type | Required | Description |
---|---|---|---|
bridgeArn | String | True | The ARN of the bridge that you want to describe. |
Status code | Response model | Description |
---|---|---|
202 | AddBridgeSourcesResponse | MediaConnect is starting the flow. |
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 | MediaConnect did not find the resource that you specified in the request. |
409 | ResponseError | There was a conflict when trying to add the requested output |
429 | ResponseError | You have exceeded the service request rate limit for your MediaConnect account. |
500 | ResponseError | MediaConnect can't fulfill your request because it encountered an unexpected condition. |
503 | ResponseError | MediaConnect is currently unavailable. Try again later. |
Schemas
Request bodies
{ "sources": [ { "networkSource": { "protocol": enum, "port": integer, "name": "string", "networkName": "string", "multicastIp": "string" }, "flowSource": { "flowArn": "string", "name": "string", "flowVpcInterfaceAttachment": { "vpcInterfaceName": "string" } } } ] }
Response bodies
{ "bridgeArn": "string", "sources": [ { "networkSource": { "protocol": enum, "port": integer, "name": "string", "networkName": "string", "multicastIp": "string" }, "flowSource": { "outputArn": "string", "flowArn": "string", "name": "string", "flowVpcInterfaceAttachment": { "vpcInterfaceName": "string" } } } ] }
{ "message": "string" }
Properties
AddBridgeFlowSourceRequest
Add a flow source to an existing bridge.
Property | Type | Required | Description |
---|---|---|---|
flowArn | string | True | The Amazon Resource Number (ARN) of the cloud flow to use as a source of this bridge. |
flowVpcInterfaceAttachment | False | The name of the VPC interface attachment to use for this source. | |
name | string | True | The name of the flow source. This name is used to reference the source and must be unique among sources in this bridge. |
AddBridgeNetworkSourceRequest
Add a network source to an existing bridge.
Property | Type | Required | Description |
---|---|---|---|
multicastIp | string | True | The network source multicast IP. |
name | string | True | The name of the network source. This name is used to reference the source and must be unique among sources in this bridge. |
networkName | string | True | The network source's gateway network name. |
port | integer | True | The network source port. |
protocol | string Values: | True | The network source protocol. |
AddBridgeSourceRequest
Add a source to an existing bridge.
Property | Type | Required | Description |
---|---|---|---|
flowSource | False | ||
networkSource | False |
AddBridgeSourcesRequest
Add sources to an existing bridge. You can create up to 2 sources per bridge.
Property | Type | Required | Description |
---|---|---|---|
sources | Array of type AddBridgeSourceRequest | True | The sources that you want to add to this bridge. |
AddBridgeSourcesResponse
The sources were successfully added to the bridge.
Property | Type | Required | Description |
---|---|---|---|
bridgeArn | string | True | The Amazon Resource Number (ARN) of the bridge. |
sources | Array of type BridgeSource | True | The sources that you added to this bridge. |
BridgeFlowSource
The source of the bridge. A flow source originates in MediaConnect as an existing cloud flow.
Property | Type | Required | Description |
---|---|---|---|
flowArn | string | True | The ARN of the cloud flow used as a source of this bridge. |
flowVpcInterfaceAttachment | False | The name of the VPC interface attachment to use for this source. | |
name | string | True | The name of the flow source. |
outputArn | string | False | The Amazon Resource Number (ARN) of the output. |
BridgeNetworkSource
The source of the bridge. A network source originates at your premises.
Property | Type | Required | Description |
---|---|---|---|
multicastIp | string | True | The network source multicast IP. |
name | string | True | The name of the network source. This name is used to reference the source and must be unique among sources in this bridge. |
networkName | string | True | The network source's gateway network name. |
port | integer | True | The network source port. |
protocol | string Values: | True | The network source protocol. |
BridgeSource
The bridge's source.
Property | Type | Required | Description |
---|---|---|---|
flowSource | False | ||
networkSource | False |
ResponseError
An exception raised by MediaConnect when you submit a request that cannot be completed. For more information, see the error message and documentation for the operation.
Property | Type | Required | Description |
---|---|---|---|
message | string | True | The specific error message that MediaConnect returns to help you understand the reason that the request did not succeed. |
VpcInterfaceAttachment
The VPC interface that you want to send your output to.
Property | Type | Required | Description |
---|---|---|---|
vpcInterfaceName | string | False | The name of the VPC interface that you want to send your output to. |
See also
For more information about using this API in one of the language-specific AWS SDKs and references, see the following: