Gateway bridge state: update - AWS Elemental MediaConnect

Gateway bridge state: update

URI

/v1/bridges/bridgeArn/state

HTTP methods

PUT

Operation ID: UpdateBridgeState

Updates the bridge state.

We recommend activating no more than 10 bridges at one time. If you need to activate more than 10 bridges, use multiple requests.

Path parameters
NameTypeRequiredDescription
bridgeArnStringTrue

The ARN of the bridge that you want to describe.

Responses
Status codeResponse modelDescription
202UpdateBridgeStateResponse

MediaConnect is starting the flow.

400ResponseError

The request that you submitted is not valid.

403ResponseError

You don't have the required permissions to perform this operation.

404ResponseError

MediaConnect did not find the resource that you specified in the request.

409ResponseError

There was a conflict when trying to add the requested output

429ResponseError

You have exceeded the service request rate limit for your MediaConnect account.

500ResponseError

MediaConnect can't fulfill your request because it encountered an unexpected condition.

503ResponseError

MediaConnect is currently unavailable. Try again later.

Schemas

Request bodies

{ "desiredState": enum }

Response bodies

{ "bridgeArn": "string", "desiredState": enum }
{ "message": "string" }

Properties

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.

PropertyTypeRequiredDescription
message

string

True

The specific error message that MediaConnect returns to help you understand the reason that the request did not succeed.

UpdateBridgeStateRequest

Update the state of a bridge. ACTIVE or STANDBY.

PropertyTypeRequiredDescription
desiredState

string

Values: ACTIVE | STANDBY | DELETED

True

UpdateBridgeStateResponse

The bridge state has been updated.

PropertyTypeRequiredDescription
bridgeArn

string

True

The Amazon Resource Number (ARN) of the bridge.

desiredState

string

Values: ACTIVE | STANDBY | DELETED

True

The state of the bridge. ACTIVE or STANDBY.

See also

For more information about using this API in one of the language-specific AWS SDKs and references, see the following:

UpdateBridgeState