deleteBridge method
Deletes a bridge. Before you can delete a bridge, you must stop the 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 delete.
Implementation
Future<DeleteBridgeResponse> deleteBridge({
required String bridgeArn,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/v1/bridges/${Uri.encodeComponent(bridgeArn)}',
exceptionFnMap: _exceptionFns,
);
return DeleteBridgeResponse.fromJson(response);
}