import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaConnectClient"; import type { UpdateBridgeRequest, UpdateBridgeResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link UpdateBridgeCommand}. */ export interface UpdateBridgeCommandInput extends UpdateBridgeRequest { } /** * @public * * The output of {@link UpdateBridgeCommand}. */ export interface UpdateBridgeCommandOutput extends UpdateBridgeResponse, __MetadataBearer { } declare const UpdateBridgeCommand_base: { new (input: UpdateBridgeCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: UpdateBridgeCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Updates the bridge.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MediaConnectClient, UpdateBridgeCommand } from "@aws-sdk/client-mediaconnect"; // ES Modules import * // const { MediaConnectClient, UpdateBridgeCommand } = require("@aws-sdk/client-mediaconnect"); // CommonJS import * // import type { MediaConnectClientConfig } from "@aws-sdk/client-mediaconnect"; * const config = {}; // type is MediaConnectClientConfig * const client = new MediaConnectClient(config); * const input = { // UpdateBridgeRequest * BridgeArn: "STRING_VALUE", // required * EgressGatewayBridge: { // UpdateEgressGatewayBridgeRequest * MaxBitrate: Number("int"), * }, * IngressGatewayBridge: { // UpdateIngressGatewayBridgeRequest * MaxBitrate: Number("int"), * MaxOutputs: Number("int"), * }, * SourceFailoverConfig: { // UpdateFailoverConfig * FailoverMode: "MERGE" || "FAILOVER", * RecoveryWindow: Number("int"), * SourcePriority: { // SourcePriority * PrimarySource: "STRING_VALUE", * }, * State: "ENABLED" || "DISABLED", * }, * }; * const command = new UpdateBridgeCommand(input); * const response = await client.send(command); * // { // UpdateBridgeResponse * // Bridge: { // Bridge * // BridgeArn: "STRING_VALUE", // required * // BridgeMessages: [ // __listOfMessageDetail * // { // MessageDetail * // Code: "STRING_VALUE", // required * // Message: "STRING_VALUE", // required * // ResourceName: "STRING_VALUE", * // }, * // ], * // BridgeState: "CREATING" || "STANDBY" || "STARTING" || "DEPLOYING" || "ACTIVE" || "STOPPING" || "DELETING" || "DELETED" || "START_FAILED" || "START_PENDING" || "STOP_FAILED" || "UPDATING", // required * // EgressGatewayBridge: { // EgressGatewayBridge * // InstanceId: "STRING_VALUE", * // MaxBitrate: Number("int"), // required * // }, * // IngressGatewayBridge: { // IngressGatewayBridge * // InstanceId: "STRING_VALUE", * // MaxBitrate: Number("int"), // required * // MaxOutputs: Number("int"), // required * // }, * // Name: "STRING_VALUE", // required * // Outputs: [ // __listOfBridgeOutput * // { // BridgeOutput * // FlowOutput: { // BridgeFlowOutput * // FlowArn: "STRING_VALUE", // required * // FlowSourceArn: "STRING_VALUE", // required * // Name: "STRING_VALUE", // required * // }, * // NetworkOutput: { // BridgeNetworkOutput * // IpAddress: "STRING_VALUE", // required * // Name: "STRING_VALUE", // required * // NetworkName: "STRING_VALUE", // required * // Port: Number("int"), // required * // Protocol: "zixi-push" || "rtp-fec" || "rtp" || "zixi-pull" || "rist" || "st2110-jpegxs" || "cdi" || "srt-listener" || "srt-caller" || "fujitsu-qos" || "udp" || "ndi-speed-hq", // required * // Ttl: Number("int"), // required * // }, * // }, * // ], * // PlacementArn: "STRING_VALUE", // required * // SourceFailoverConfig: { // FailoverConfig * // FailoverMode: "MERGE" || "FAILOVER", * // RecoveryWindow: Number("int"), * // SourcePriority: { // SourcePriority * // PrimarySource: "STRING_VALUE", * // }, * // State: "ENABLED" || "DISABLED", * // }, * // Sources: [ // __listOfBridgeSource * // { // BridgeSource * // FlowSource: { // BridgeFlowSource * // FlowArn: "STRING_VALUE", // required * // FlowVpcInterfaceAttachment: { // VpcInterfaceAttachment * // VpcInterfaceName: "STRING_VALUE", * // }, * // Name: "STRING_VALUE", // required * // OutputArn: "STRING_VALUE", * // }, * // NetworkSource: { // BridgeNetworkSource * // MulticastIp: "STRING_VALUE", // required * // MulticastSourceSettings: { // MulticastSourceSettings * // MulticastSourceIp: "STRING_VALUE", * // }, * // Name: "STRING_VALUE", // required * // NetworkName: "STRING_VALUE", // required * // Port: Number("int"), // required * // Protocol: "zixi-push" || "rtp-fec" || "rtp" || "zixi-pull" || "rist" || "st2110-jpegxs" || "cdi" || "srt-listener" || "srt-caller" || "fujitsu-qos" || "udp" || "ndi-speed-hq", // required * // }, * // }, * // ], * // }, * // }; * * ``` * * @param UpdateBridgeCommandInput - {@link UpdateBridgeCommandInput} * @returns {@link UpdateBridgeCommandOutput} * @see {@link UpdateBridgeCommandInput} for command's `input` shape. * @see {@link UpdateBridgeCommandOutput} for command's `response` shape. * @see {@link MediaConnectClientResolvedConfig | config} for MediaConnectClient's `config` shape. * * @throws {@link BadRequestException} (client fault) *

This exception is thrown if the request contains a semantic error. The precise meaning depends on the API, and is documented in the error message.

* * @throws {@link ConflictException} (client fault) *

The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.

* * @throws {@link ForbiddenException} (client fault) *

You do not have sufficient access to perform this action.

* * @throws {@link InternalServerErrorException} (server fault) *

The server encountered an internal error and is unable to complete the request.

* * @throws {@link NotFoundException} (client fault) *

One or more of the resources in the request does not exist in the system.

* * @throws {@link ServiceUnavailableException} (server fault) *

The service is currently unavailable or busy.

* * @throws {@link TooManyRequestsException} (client fault) *

The request was denied due to request throttling.

* * @throws {@link MediaConnectServiceException} *

Base exception class for all service exceptions from MediaConnect service.

* * * @public */ export declare class UpdateBridgeCommand extends UpdateBridgeCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateBridgeRequest; output: UpdateBridgeResponse; }; sdk: { input: UpdateBridgeCommandInput; output: UpdateBridgeCommandOutput; }; }; }