removeBridgeSource method

Future<RemoveBridgeSourceResponse> removeBridgeSource({
  1. required String bridgeArn,
  2. required String sourceName,
})

Removes a source from a 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 sourceName : The name of the bridge source that you want to remove.

Implementation

Future<RemoveBridgeSourceResponse> removeBridgeSource({
  required String bridgeArn,
  required String sourceName,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/v1/bridges/${Uri.encodeComponent(bridgeArn)}/sources/${Uri.encodeComponent(sourceName)}',
    exceptionFnMap: _exceptionFns,
  );
  return RemoveBridgeSourceResponse.fromJson(response);
}