updateBridgeOutput method
Updates an existing bridge output.
May throw BadRequestException.
May throw ConflictException.
May throw ForbiddenException.
May throw InternalServerErrorException.
May throw NotFoundException.
May throw ServiceUnavailableException.
May throw TooManyRequestsException.
Parameter bridgeArn :
The Amazon Resource Name (ARN) of the bridge that you want to update.
Parameter outputName :
Tname of the output that you want to update.
Parameter networkOutput :
The network of the bridge output.
Implementation
Future<UpdateBridgeOutputResponse> updateBridgeOutput({
required String bridgeArn,
required String outputName,
UpdateBridgeNetworkOutputRequest? networkOutput,
}) async {
final $payload = <String, dynamic>{
if (networkOutput != null) 'networkOutput': networkOutput,
};
final response = await _protocol.send(
payload: $payload,
method: 'PUT',
requestUri:
'/v1/bridges/${Uri.encodeComponent(bridgeArn)}/outputs/${Uri.encodeComponent(outputName)}',
exceptionFnMap: _exceptionFns,
);
return UpdateBridgeOutputResponse.fromJson(response);
}