addBridgeOutputs method
Adds outputs to an existing bridge.
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 outputs :
The outputs that you want to add to this bridge.
Implementation
Future<AddBridgeOutputsResponse> addBridgeOutputs({
required String bridgeArn,
required List<AddBridgeOutputRequest> outputs,
}) async {
final $payload = <String, dynamic>{
'outputs': outputs,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/v1/bridges/${Uri.encodeComponent(bridgeArn)}/outputs',
exceptionFnMap: _exceptionFns,
);
return AddBridgeOutputsResponse.fromJson(response);
}