MediaConnect / Client / update_bridge_state

update_bridge_state#

MediaConnect.Client.update_bridge_state(**kwargs)#

Updates the bridge state

See also: AWS API Documentation

Request Syntax

response = client.update_bridge_state(
    BridgeArn='string',
    DesiredState='ACTIVE'|'STANDBY'|'DELETED'
)
Parameters:
  • BridgeArn (string) – [REQUIRED] The ARN of the bridge that you want to update.

  • DesiredState (string) – [REQUIRED]

Return type:

dict

Returns:

Response Syntax

{
    'BridgeArn': 'string',
    'DesiredState': 'ACTIVE'|'STANDBY'|'DELETED'
}

Response Structure

  • (dict) – AWS Elemental MediaConnect updated the bridge successfully.

    • BridgeArn (string) – The Amazon Resource Number (ARN) of the bridge.

    • DesiredState (string) – The state of the bridge. ACTIVE or STANDBY.

Exceptions

  • MediaConnect.Client.exceptions.BadRequestException

  • MediaConnect.Client.exceptions.InternalServerErrorException

  • MediaConnect.Client.exceptions.ForbiddenException

  • MediaConnect.Client.exceptions.NotFoundException

  • MediaConnect.Client.exceptions.ServiceUnavailableException

  • MediaConnect.Client.exceptions.TooManyRequestsException

  • MediaConnect.Client.exceptions.ConflictException