---
title: "PUT /v1/bridges/{bridgeArn}"
method: PUT
path: "/v1/bridges/{bridgeArn}"
---

# PUT /v1/bridges/{bridgeArn}

`PUT /v1/bridges/{bridgeArn}`

Updates the bridge

## Path parameters

- `bridgeArn` string, required

## Request body

- object
  - `egressGatewayBridge` object
    - `MaxBitrate` integer — Update an existing egress-type bridge.
  - `ingressGatewayBridge` object
    - `MaxBitrate` integer — The maximum expected bitrate (in bps).
    - `MaxOutputs` integer — The maximum number of expected outputs.
  - `sourceFailoverConfig` object — The settings for source failover.
    - `FailoverMode` 'MERGE' | 'FAILOVER' — The type of failover you choose for this flow. MERGE combines the source streams into a single stream, allowing graceful recovery from any single-source loss. FAILOVER allows switching between different streams.
    - `RecoveryWindow` integer — Recovery window time to look for dash-7 packets
    - `SourcePriority` object — The priority you want to assign to a source. You can have a primary stream and a backup stream or two equally prioritized streams.
      - `PrimarySource` string — The name of the source you choose as the primary source for this flow.
    - `State` 'ENABLED' | 'DISABLED'

## Response `202`

Success

- UpdateBridgeResponse
  - `Bridge` object — A Bridge is the connection between your datacenter's Instances and the AWS cloud. A bridge can be used to send video from the AWS cloud to your datacenter or from your datacenter to the AWS cloud.
    - `BridgeArn` string, required — The Amazon Resource Number (ARN) of the bridge.
    - `BridgeMessages` MessageDetail[]
      - `Code` string, required — The error code.
      - `Message` string, required — The specific error message that MediaConnect returns to help you understand the reason that the request did not succeed.
      - `ResourceName` string — The name of the resource.
    - `BridgeState` 'CREATING' | 'STANDBY' | 'STARTING' | 'DEPLOYING' | 'ACTIVE' | 'STOPPING' | 'DELETING' | 'DELETED' | 'START_FAILED' | 'START_PENDING' | 'STOP_FAILED' | 'UPDATING', required
    - `EgressGatewayBridge` object
      - `InstanceId` string — The ID of the instance running this bridge.
      - `MaxBitrate` integer, required — The maximum expected bitrate (in bps) of the egress bridge.
    - `IngressGatewayBridge` object
      - `InstanceId` string — The ID of the instance running this bridge.
      - `MaxBitrate` integer, required — The maximum expected bitrate (in bps) of the ingress bridge.
      - `MaxOutputs` integer, required — The maximum number of outputs on the ingress bridge.
    - `Name` string, required — The name of the bridge.
    - `Outputs` BridgeOutput[] — The outputs on this bridge.
      - `FlowOutput` object — The output of the bridge. A flow output is delivered to the AWS cloud.
        - `FlowArn` string, required — The Amazon Resource Number (ARN) of the cloud flow.
        - `FlowSourceArn` string, required — The Amazon Resource Number (ARN) of the flow source.
        - `Name` string, required — The name of the bridge's output.
      - `NetworkOutput` object — The output of the bridge. A network output is delivered to your premises.
        - `IpAddress` string, required — The network output IP Address.
        - `Name` string, required — The network output name.
        - `NetworkName` string, required — The network output's gateway network name.
        - `Port` integer, required — The network output port.
        - `Protocol` 'zixi-push' | 'rtp-fec' | 'rtp' | 'zixi-pull' | 'rist' | 'st2110-jpegxs' | 'cdi' | 'srt-listener' | 'srt-caller' | 'fujitsu-qos' | 'udp', required — The network output protocol.
        - `Ttl` integer, required — The network output TTL.
    - `PlacementArn` string, required — The placement Amazon Resource Number (ARN) of the bridge.
    - `SourceFailoverConfig` object — The settings for source failover.
      - `FailoverMode` 'MERGE' | 'FAILOVER' — The type of failover you choose for this flow. MERGE combines the source streams into a single stream, allowing graceful recovery from any single-source loss. FAILOVER allows switching between different streams.
      - `RecoveryWindow` integer — Search window time to look for dash-7 packets
      - `SourcePriority` object — The priority you want to assign to a source. You can have a primary stream and a backup stream or two equally prioritized streams.
        - `PrimarySource` string — The name of the source you choose as the primary source for this flow.
      - `State` 'ENABLED' | 'DISABLED'
    - `Sources` BridgeSource[] — The sources on this bridge.
      - `FlowSource` object — The source of the bridge. A flow source originates in MediaConnect as an existing cloud flow.
        - `FlowArn` string, required — The ARN of the cloud flow used as a source of this bridge.
        - `FlowVpcInterfaceAttachment` object — The name of the VPC interface attachment to use for this source.
          - `VpcInterfaceName` string — The name of the VPC interface to use for this resource.
        - `Name` string, required — The name of the flow source.
        - `OutputArn` string — The Amazon Resource Number (ARN) of the output.
      - `NetworkSource` object — The source of the bridge. A network source originates at your premises.
        - `MulticastIp` string, required — The network source multicast IP.
        - `Name` string, required — The name of the network source.
        - `NetworkName` string, required — The network source's gateway network name.
        - `Port` integer, required — The network source port.
        - `Protocol` 'zixi-push' | 'rtp-fec' | 'rtp' | 'zixi-pull' | 'rist' | 'st2110-jpegxs' | 'cdi' | 'srt-listener' | 'srt-caller' | 'fujitsu-qos' | 'udp', required — The network source protocol.

## Other responses

- `480` — BadRequestException
- `481` — InternalServerErrorException
- `482` — ForbiddenException
- `483` — NotFoundException
- `484` — ServiceUnavailableException
- `485` — TooManyRequestsException
- `486` — ConflictException

---

[API](https://skmtc.net/aws/apis/mediaconnect.md) · [All operations](https://skmtc.net/aws/apis/mediaconnect/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/mediaconnect/versions/695822d698d7/schema)
